Releases: pmmp/NBT
Releases · pmmp/NBT
0.2.16
0.2.15
Changes since 0.2.14
- Cleaned out useless @param and @return annotations that didn't provide any information not already visible from native types.
- Code is now analysed using PHPStan level 8 and phpstan-strict-rules.
NBTStream->read()
now throwsUnexpectedValueException
instead ofInvalidArgumentException
when encountering aTAG_End
at the beginning of a NBT buffer.NBTStream->readCompressed()
now throwsUnexpectedValueException()
on decompression failures instead of passingfalse
toread()
and exploding things.- Fixed some issues with
NBTStream::fromArray()
andNBTStream::toArray()
mishandlingIntArrayTag
s. CompoundTag
andListTag
now throwOutOfBoundsException
when callingcurrent()
orkey()
when their iterators are invalid.
0.2.13
0.2.12
0.2.11
0.2.10
0.2.9
0.2.8
0.2.7
0.2.6
Changes since 0.2.5
JsonNbtParser
now throws more specific exceptions.NBTStream->read()
now accepts a reference$offset
parameter which can be used to start reading from a specific point in a string payload.- Tag names are now explicitly limited to 32767 bytes. Previously this was allowed but would crash when attempting to encode.