v3.5.3
Caution
In this version two bugs have been introduced which cause CraftsNet to fail to resolve requirements correctly. Please use CraftsNet 3.5.4 instead!
Note
The systems labelled as preview in the previous releases are now stable and safe to use.
Major Updates
- Fix frame data duplication when sending by @CrAfTsArMy in 7d51576
- Fix frame data duplication when reading by @CrAfTsArMy in 2b860d0
- No more usage of inefficient Utils#getMethod by @CrAfTsArMy in f6395aa
- Remove mapping generic from Requirement by @CrAfTsArMy in fa54f01
- Fix middleware list duplication on each read by @CrAfTsArMy in 37e578e
- Use RequirementMethodLink to cache methods by @CrAfTsArMy in 29066e0
- Use CodecMethodLink to cache codec methods by @CrAfTsArMy in c96b86d
Minor Updates
- Speed up ClosureCode#fromInt by @CrAfTsArMy in cd6590c
- Speed up Opcode#fromInt by @CrAfTsArMy in 9268db0
- New methods in ClosureCode & Opcode by @CrAfTsArMy in 6d88069
- Use new check methods from ClosureCode by @CrAfTsArMy in 917ecac
- Add TypeUtils#convertTypeToClass by @CrAfTsArMy in d5a5af1
Bug Fixes
- Declared the main attribute as optional by @CrAfTsArMy in 0f8089f
- Fixed restrictToCallers by @CrAfTsArMy in 2a3203a
- Set read frames as end-masked by @CrAfTsArMy in 18e0f6b
- Add check for payload length by @CrAfTsArMy in 998b309
- Only sent back messages when connected by @CrAfTsArMy in 4ef1edc
- Create a unmodifiable view only once by @CrAfTsArMy in 7c0b801
This is not the complete changelog, there are some more small fixes and improvements. You can find the complete changelog here: v3.5.2...v3.5.3