- Update protodef.js to remove lodash.get (#167) (thanks @rom1504)
- Update commands.yml to use GITHUB_TOKEN (#164) (thanks @extremeheat)
- Add additional varint types and bitflags (#163) (thanks @extremeheat)
- Create commands.yml (thanks @rom1504)
- Add Optional
skipChecks
to Disable Array Size Check (#154) (thanks @bdkopen) - add benchmark to ci (thanks @rom1504)
- Fix anon containers
- update protodef definitions
- Replace varint assert with exception
- Fix 64-bit BigInt sign handling (@extremeheat)
- Add string encoding option (@extremeheat)
- Show BigInt instead of BigIntExtended when using console.log (@extremeheat)
- Allow JSON stringified buffers to be converted to Buffer when serializing (@extremeheat)
- Add primitive variables (@extremeheat)
- add fullBuffer to parsePacketBuffer return
- update to protodef 1.0.0
- Fix issue with anon bitfield in compiler
- compiler: add some more reserved keywords (@extremeheat)
- exposed CompiledProtodef
- compiler: Don't read abnormally large arrays (@extremeheat)
- BigInt writing support, and support reading from buffer offset (@extremeheat)
- in full packet parser don't error out in case of missing bytes
- fixed aliases in compiler for write and size (thanks @Karang)
- fixed to aliases in compiler (thanks @Karang)
- add option not to log partial packets in full chunk parser
- remove closure compiler
- fix option in compiler
- Add js compiler protodef implementation, that is 10x faster (thanks @Karang for this huge improvement !)
- include .json files with the suffix
- use standard style
- update deps
- stringify packet data before displaying it for an error of wrong length for fullpacketserializer
- fix release
- fix fullpacketparser error emission in case of partial packet
- improve fullpacketparser error
- fix fullpacketparser error
- improve fullpacketparser error
- fix FullPacketParser hiding errors
- add full packet parser
- fix optional validation
- validation is now optional (opt-out)
- implement aliases
- fix countType : now behave as an ordinary type, remove undocumented countTypeArgs
- validate types against type schemas using the protodef validator
- fix sendCount : write return the offset, not the size, add a test for this
- stop swallowing errors in parser and serializer
- add li8, lu8 and u64, lu64 for consistency
- all datatypes are tested
- fix cstring
- fix PartialReadError in i64
- remove special count
- use protodef spec
- add little endian numerical types
- allow hex values in mappings
- update some more dependencies
- update to babel6, remove some dependencies
- fix slice the buffer in parsePacketBuffer
- slice the buffer in parsePacketBuffer
- let the parser error out without crashing on errors
- change the name of numerical types
- add doc
- add partial packet support
- add compareToValue (optional) option to switch
- fix small error in switch
- get back the example file as one file for simplicity and for tonic
- fix a small mistake in mapping error
- improve internal code
- improve example
- integrate with tonicdev
- Fix writeOption : the offset wasn't properly updated
- Anon fields may now be null/undefined.
- add createPacketBuffer and parsePacketBuffer to ProtoDef class
- expose utils functions
- add mapper and pstring datatypes
- add the serializer and parser
- expose the default datatypes
- add an example
- basic version, mostly contain the ProtoDef class and the datatype