Skip to content

Releases: alpancs/protoc-gen-pubsub-schema

v1.6.0

10 Nov 15:49
2233007
Compare
Choose a tag to compare

What's Changed

Full Changelog: v1.5.0...v1.6.0

v1.5.0 Preserve Package

08 Nov 04:36
a6e79ed
Compare
Choose a tag to compare

Changelog

  • Preserving package name

Fix Non-nested Enum Bug

05 Nov 17:32
6651aa2
Compare
Choose a tag to compare

v1.4.4 Release Note

Fix

  • Non-nested enum definitions were not generated.

Changelog

  • Separate enum Role from nested type inside message User into a different file.
  • Refactor message builder implementation.

Handle Enumerations

07 Sep 16:19
Compare
Choose a tag to compare

Fixes

  • Handle Enum properly (previously treated enum as a scalar type)

Refactor

  • Refactor the implementation of content builder: avoid debts

DO NOT EDIT Comment

23 Aug 07:50
Compare
Choose a tag to compare

Added DO NOT EDIT comment in the generated files.

Type Naming Refinement

15 Aug 09:43
bc30ff1
Compare
Choose a tag to compare

This release refines the type naming for nested types, for example, the type name ExampleUserAddCommentUser becomes User.

Updated Terms and Bug Fixes

15 Aug 07:42
4cb7763
Compare
Choose a tag to compare

Updated terms

  1. output file extension from .pubsub.proto to .pps (pubsub proto schema)
  2. protoc param from --pubsub-schema_opt=encoding=... to --pubsub-schema_opt=message-encoding=...
  3. protoc param from --pubsub-schema_opt=syntax=... to --pubsub-schema_opt=schema-syntax=...

Bug fixes

  1. Duplicate nested type definitions in a single message type

Default Output in proto2 Syntax

11 Aug 11:20
2c3cb4c
Compare
Choose a tag to compare

Generated proto files are now using "proto2" syntax by default.
To get output in "proto3" syntax, use protoc param --pubsub-schema_opt=syntax=proto3. See README.md for the usage.

JSON Encoding Support

11 Aug 09:25
Compare
Choose a tag to compare

New features:

  • added --pubsub-schema_opt=encoding=json protoc param to generate output that accepts JSON encoding

Error Message Refinement

03 Aug 05:07
Compare
Choose a tag to compare

This release refines the error message when protoc-gen-pubsub-schema processes a file that doesn't contain exactly one message type.