Releases: protobufjs/protobuf.js
Releases · protobufjs/protobuf.js
v6.9.0-beta.0 Pre-release
This is a pre-release for testing purposes of #1374.
Install by running npm install protobufjs@next
5.0.3
6.8.6
This is a security patch:
- Fixes
typeRefRe
used in the parser (1.X-6.8.5) being vulnerable to ReDoS as reported by James Davis. Relevant where a user is allowed to provide .proto sources for parsing. Applications using trusted .proto definitions, JSON descriptors or static code exclusively are not affected.
protobuf.js 6.8.0
Experimental decorators, a lot of general fixes and an overhaul of typings generated by pbts
.
protobuf.js 6.7.0
General API cleanup and a lot of fixes, improved spec compliance, static code, typings and documentation.
protobuf.js 6.6.0
- Builds are now named full, light (was noparse) and minimal (was runtime), each now with full browserify support
- (Streaming) services work exactly the same with reflection and static code now
- Major reflection performance pass
All details: CHANGELOG
protobuf.js 6.5.0
- Converters are first class codegen citizens now (includes a default toJSON implementation)
- Encodes everything explicitly set on the wire for compatibility with official (c++/java) libraries
- Added protoc-gen-doc-like .proto documentation support that translates to generated static code
- Lots of improvements to generated static code style
- Various fixes and improvements
Breaking:
- asJSON is now toObject
- Removed now unused utility: arrayNe, longNe
All details: CHANGELOG
protobuf.js 6.4.0
- Dropped IE8 support
- Better TypeScript definitions
- Static codegen now has asJSON/from
- pbjs and pbts now support data from stdin
- Micro modules now also have TypeScript definitions
All details: CHANGELOG
protobuf.js 6.0.0
- New API with a flat module structure
- Lightning fast through code generation
- Exhaustive browser support
- No more null values
- Default values on prototypes (i.e. checking if present on the wire through .hasOwnProperty)
- Browserify build process
- Friendly to code generation and custom classes
- Better docs that actually work
- Absolutely no required dependencies
- CLI sets up itself when invoked for the first time
- Generated TypeScript definitions through tsd-jsdoc
PRs welcome!
3.0.0 using ByteBuffer 3
ProtoBuf.js 3 release