Changelog of @hackage/proto3-suite 0.7.0

0.7.0

  • Support GHC 9.2, 9.4.
  • Support proto files without a package declaration.
  • Modify "Eq (Enumerated a)" to identify "Enumerated (Right e)" with "Enumerated (Left (fromProtoEnum e))" because those two values encode to the same octet sequence. They are already equivalent as arguments to "isDefault @(Enumerated e)".
  • Derive Data and Generic instances for Protobuf AST types.

0.6.0

  • Support use of ShortText as the Haskell type of a protobuf string.
  • Replace OverrideToSchema with String and Bytes in order to clarify which instances of various type classes are selected, expecially ToSchema.
  • To disambiguate "String" in generated code, rename the qualified import of AST-related identifiers.
  • Improve test coverage.

0.5.2

  • Support numeric enumerator codes in JSONPB, as required by the protobuf standard.
  • Handle unrecognized enumerator codes within packed repeated enumeration fields in the same way as in other enumeration fields.
  • Avoid compilation errors in code generated for messages having BytesValue fields. The errors would trigger only when the "swagger-wrapper-format" Cabal flag of this package was False.
  • Code generated from a .proto file that imports the google.protobuf package no longer depends upon any Haskell module generated from "wrappers.proto". Instead the proto3-suite library provides the necessary functionality.

0.5.1

  • Support newer versions of proto3-wire, bytestring, and turtle
  • Increase minimum version of base for canonicalize-proto-file from 4.8 to 4.11

0.5.0