Skip to content

protoc_plugin-19.1.0

Choose a tag to compare

@mraleph mraleph released this 12 Nov 08:44
d428804

19.1.0

  • Emit depreciation of generated copyWith and clone methods.

  • Emit exports of GeneratedMessageGenericExtensions from pb.dart files.

  • Make protobuf enum names dependent on a fromEnvironment constant.

    This will allow configuring the omission of the names in the final build.

    If a target is built with dart_env = {"protobuf.omit_enum_names": "true"}
    enum names will not be present in the compiled binary.

  • Make message and field names dependenc on a fromEnvironment constants
    protobuf.omit_message_names and protobuf.omit_field_names respectively.

  • Omit type on a left hand side of generated static fields for extensions,
    which results in stricter type (Extension<ExtensionType> instead of just
    Extension).

  • Fix escaping of string default values.

19.0.3-dev

  • Ignore annotate_overrides in generated files.
  • Requires sdk 2.3.0
  • Update pedantic to 1.9.2

19.0.2

  • Fix: escape the special character $ in descriptor's json_name.