Skip to content

Releases: ffrostfall/ByteNet

v0.4.3

10 Mar 20:53
Compare
Choose a tag to compare
v0.4.3 Pre-release
Pre-release

0.4.3

Fixes

  • Fixed i16 allocating 8 bytes instead of 2.

Improvements

  • Significant optimization to optional types
  • Array serialization is roughly ~2x as efficient
  • All data type write functions now directly reference the buffer writer. This means all allocation calls are inlined, and there are roughly ~3x less function calls.

v0.4.2

08 Mar 04:14
Compare
Choose a tag to compare
v0.4.2 Pre-release
Pre-release

Fixes

  • Fixed sending unreliable events from client -> server

v0.4.0

07 Mar 01:46
Compare
Choose a tag to compare
v0.4.0 Pre-release
Pre-release

0.4.0

Added

  • Namespaces have been added.
  • Structs have been added.
  • Three new data types: Instance, unknown, and nothing. The "nothing" type is to allow for packets without any contents.
  • Added wait() to packets.

Improvements

  • Arrays are now forced to have number indexes
  • Packets are now based off closures, instead of metatables. This means you now have to use . indexxing instead of : to call methods.
  • You can now have duplicate packet contents
  • Packets now take a single value (Which can be a struct) instead of being "special".
  • Significant optimization: Packets are now singular values that can be structs, which reduces complexity, thus increasing performance.
  • Buffers are now reused, preventing resizing from being necessary. This should result in massive performance gains.

Fixes

  • Added sendTo() to the Packet type. This fixes autocomplete.

v0.3.1

17 Feb 20:31
Compare
Choose a tag to compare
v0.3.1 Pre-release
Pre-release

version 0.3.1

Improvements

  • Rewrote serialization to use an allocator w/ resizing instead of using "deferred write" functions. Should be an incredibly large performance boost.

v0.3.0

15 Feb 22:53
Compare
Choose a tag to compare
v0.3.0 Pre-release
Pre-release

version 0.3.0

Added

  • Types: Vector2, CFrame, Array, Optional, Map

Improvements

  • Rewrote client/server processing. Should drastically improve stability and performance.
  • Completely re-did how serialization happens to be a lot more stable, and to allow a lot of room for improvement.
  • Many type improvements
  • Removed only dependency

version-0.1.0

08 Dec 04:27
Compare
Choose a tag to compare
version-0.1.0 Pre-release
Pre-release
Fix docs