Change Log
This release is the first for the migration from `jtd-to-proto` to `py-to-proto`. It includes the following changes:
* Refactor into generic `ConverterBase` (45)
* Support for `dataclass_to_proto` (46)
* Top-level rename (47)
Additionally, since it's a new library name, the versioning has started over at `0.1.0` for clarity in `pypi`
jtd-to-proto-0.12.1
Change Log
* Render `optionalProperties` as `optional` fields in protobuf (44)
* Fixed a bug related to iterable types in `optionalProperties` (44)
jtd-to-proto-0.12.0
Change Log
* Add support for `optionalProperties` (42)
jtd-to-proto-0.11.5
Change Log
* Fix support for `protobuf==3.20.*` (41)
jtd-to-proto-0.11.4
Change Log
* Create the protobuf output dir if it doesn't exist (40)
jtd-to-proto-0.11.3
Change Log
* Add backwards compatibility for protobuf 3.19
jtd-to-proto-0.11.2
Change Log
* Fix support for validation with protobuf descriptor types (38)
jtd-to-proto-0.11.1
Change Log
* Fix registration of duplicate services (37)
jtd-to-proto-0.11.0
Change Log
* Remove `jtd` dependency and replace with internal JTD validation (36)
jtd-to-proto-0.10.1
On second thought we need validation, we'll have a subsequent release up that does this without using the `jtd` package
jtd-to-proto-0.9.0
Change Log
* Add `.to_proto_file` to generated service classes (31)
jtd-to-proto-0.10.0
Description
* Remove logic for using the `jtd` package to perform validation (33)
jtd-to-proto-0.8.2
Change Log
* Fix the collision check when imported protobufs collide in the descriptor pool (29)
jtd-to-proto-0.8.1
Change Log
* Better solution to handling duplicate descriptors that is more compatible with generated `_pb2` files (28)
jtd-to-proto-0.8.0
Change Log
* By default use a `DescriptorPool` scoped to `jtd_to_proto` (27)
jtd-to-proto-0.7.1
Description
* Fix bug in the output type specifier for an rpc (26)
jtd-to-proto-0.7.0
Change Log
* (Major Feature!) Add `json_to_service` for creating `gRPC` service definitions and helpers using a json schema (23)
* Big thanks to joerunde and evaline-ju for the contribution!
jtd-to-proto-0.6.1
Change Log
* Fix missing `to_proto_file` and `write_proto_file` functions for enums returned by `descriptor_to_message_class` (21)
jtd-to-proto-0.6.0
Change Log
* Add support for `EnumDescriptor` references as types (19)
jtd-to-proto-0.5.0
Change Log
* Add support for top-level enums (17)
jtd-to-proto-0.4.0
Change Log
* Add support for `int64` and `uint64` (16)
* Fix logging error on `debug3` (14)
jtd-to-proto-0.3.1
Change Log
* Fix creation of nested message classes (8)
jtd-to-proto-0.3.0
Change Log
* Add support for referencing in-memory descriptors as types (3)
* Add support for `bytes` fields (5)
jtd-to-proto-0.2.0
Change Log
* Correctly list the requirements in the built wheel (2)
jtd-to-proto-0.1.0
Change Log
This is the initial release! The features include:
* `jtd_to_proto`: Convert a JSON Typedef dict into a protobuf `Descriptor`
* `descriptor_to_message_class`: Take a `Descriptor` and create a usable message class
* `descriptor_to_file`: Generate a `.proto` file from a `Descriptor`