Skip to content

Releases: protobufjs/protobuf.js

v6.9.0-beta.0 Pre-release

17 Apr 22:32
1e63d18
Compare
Choose a tag to compare
Pre-release

This is a pre-release for testing purposes of #1374.

Install by running npm install protobufjs@next

5.0.3

16 May 09:24
Compare
Choose a tag to compare

Backported the ReDoS fix originally in 6.8.6 to 5.0.3.

6.8.6

26 Feb 11:47
Compare
Choose a tag to compare

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

09 Jun 21:04
Compare
Choose a tag to compare

Experimental decorators, a lot of general fixes and an overhaul of typings generated by pbts.

Changelog

protobuf.js 6.7.0

02 Apr 13:58
Compare
Choose a tag to compare

General API cleanup and a lot of fixes, improved spec compliance, static code, typings and documentation.

Changelog

protobuf.js 6.6.0

24 Jan 04:15
Compare
Choose a tag to compare
  • 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

17 Jan 14:01
Compare
Choose a tag to compare
  • 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

03 Jan 15:48
Compare
Choose a tag to compare
  • 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

28 Nov 17:10
Compare
Choose a tag to compare
  • 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

08 Jul 15:21
Compare
Choose a tag to compare
ProtoBuf.js 3 release