Releases: bufbuild/protobuf-es
Releases · bufbuild/protobuf-es
v0.1.0
This release includes the following:
Enhancements
- Add rewrite_imports plugin option by @timostamm in #204
- Point to commonjs in
main
property by @smaye81 in #201 - Update protobuf to version
21.5
by @smaye81 in #200
Bugfixes
- Fix string-based fallback for 64-bit integral values by @timostamm in #202
- Fix
PlainMessage
type to correctly omit functions by @smaye81 in #195 - Fix
createRegistryFromDescriptors()
by @timostamm in #183
v0.0.10
v0.0.9
This release switches the code generator from Golang to a TypeScript implementation. There are breaking changes in the generated code and in the reflection API.
New features
createDescriptorSet()
provides a nice way to inspect a set of google.protobuf.FileDescriptorProto- @bufbuild/protoplugin provides an early version of an API to write your own code generator plugins in TypeScript
API changes
class TypeRegistry
is deprecated. Please usecreateRegistry()
instead.class DescriptorRegistry
has been replaced bycreateRegistryFromDescriptors()
. The old version is still available asclass LegacyDescriptorRegistry
class DescriptorSet
has been replaced bycreateDescriptorSet()
. The old version is still available asclass LegacyDescriptorSet
.- The signatures of
makeEnum()
,setEnumType()
andmakeEnumType()
have changed slightly for improved enum value names.
Changes in the generated code
v0.0.8
v0.0.7
This release fixes a bug where transpilation of projects using @bufbuild/protobuf would error when using TypeScript target lower than ES2020, because we left a bigint literal in the source that did not need to be there.
- Remove bigint literal in google.protobuf.Duration, clarify required target environment (#122)