Releases: bufbuild/protobuf-es
Releases · bufbuild/protobuf-es
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)