Skip to content

Releases: join-com/protoc-gen-ts

2.3.1

08 Oct 17:00
e4f00bb
Compare
Choose a tag to compare

Add possibility to have a Message with only a single required field

Add possibility to have a required field of enum type

2.3.0

10 Aug 13:18
b32914f
Compare
Choose a tag to compare

New features

  • Add field masks support

2.2.1

28 Feb 12:46
efa59c2
Compare
Choose a tag to compare

Fixes

  • Fixes duplicated type in Root error when locally generated files (without custom Root) are imported after the ones from another package (with custom Root)

2.2.0

17 Feb 08:18
e9910b5
Compare
Choose a tag to compare

New features

  • Generates new client interface with error handler and without a custom trace.
  • Removed custom decorator for common types. Requires to define a new Root instance when a new gRPC package is registered.

2.1.1

28 Jan 16:24
f1fa0f2
Compare
Choose a tag to compare

Fixes

  • Error can not read property encode of undefined when google.protobuf.Empty class is used multiple times

2.1.0

18 Oct 11:05
a1b9e0a
Compare
Choose a tag to compare

New features

  • Version number is included in generated files

Fixes

  • Redundant imports don't cause runtime errors anymore

2.0.5

08 Oct 08:48
8ed6800
Compare
Choose a tag to compare

Fixes

  • extend fix introduced in 2.0.4 from interfaces to their related classes.

2.0.4

07 Oct 15:40
6950541
Compare
Choose a tag to compare

Fixes

  • add JSDoc @deprecated annotations for generated fields related to deprecated proto fields.

2.0.3

14 Jul 21:39
9a5c7a6
Compare
Choose a tag to compare

Fixes

  • Under some circumstances, missing values in nested objects might be mistakenly decoded as the "zero value" for their correspondent type. This was due to an optimization that tried to avoid calling the internal method .asInterface() when possible. In an ideal world, that would be OK, but the desired behavior goes against how proto3 is supposed to work, so calling .asInterface seems to be unavoidable.

2.0.2

13 Jul 08:37
87a0d12
Compare
Choose a tag to compare

Fixes

  • Now missing enum fields are returned as undefined.