Skip to content

Releases: complex64/protoc-gen-gorm

v2.0.2

18 Feb 13:52
Compare
Choose a tag to compare

Addresses security alerts raised by Dependot.

v2.0.1

27 Jan 12:30
Compare
Choose a tag to compare

Patched

  • Treats values of (time.time{}) as null, as hinted to in v2.0.0

v2.0.0

27 Jan 12:04
Compare
Choose a tag to compare

Breaking

  • Uses ToProto and ToModel instead of AsModel and AsProto
  • timestamppb.Timestamp is encoded as sql.NullTime likewise

Added

  • Adds support for wrapped types (google.golang.org/protobuf/types/known/wrapperspb)
    • Implemented originally by @bencurio - Thanks!
    • Adapted here to be nullable, as intended by the types; we map to some type type sql.Null*
    • Adds tests

Upgrading

  • Replace AsModel with ToModel
  • Replace AsProto with ToProto
  • Handle "false nulls" of time.Time{}

v1.0.0

24 Jan 18:48
Compare
Choose a tag to compare

Initial working version with production use in the gaming industry.