Skip to content

Latest commit

 

History

History
498 lines (224 loc) · 28.2 KB

CHANGELOG.md

File metadata and controls

498 lines (224 loc) · 28.2 KB

Changelog

1.25.0 (2024-10-15)

Features

Bug Fixes

  • Construct messages with nested struct (#479) (aa4aa61)
  • Fix 'Couldn't build proto file' when using Python 3.13 (#492) (a48c39f)
  • Fix conda compatibility issue (#475) (e2f9c9d)
  • Fix issue with equality comparison of repeated field with None (#477) (3476348)
  • Remove check for Protobuf version (#474) (a1748a3)

Documentation

  • Fix typos in proto/message.py (#463) (4d8ee65)
  • Update message.py spelling error paylodpayload (e59fc9a)

1.24.0 (2024-06-11)

Features

  • Add always_print_fields_with_no_presence fields to to_json and to_dict (0f89372)

Bug Fixes

  • Add compatibility with protobuf==5.x (0f89372)
  • AttributeError module 'google._upb._message' has no attribute 'MessageMapContainer' (0f89372)
  • deps: Allow protobuf 5.x (#457) (62d74e3)
  • Drop python 3.6 (#456) (5a7666c)

Documentation

  • Deprecate field including_default_value_fields in to_json and to_dict (0f89372)

1.23.0 (2023-12-01)

Features

  • Add additional parameters to to_json() and to_dict() methods (#384) (8f13a46)
  • Add support for proto.version (#393) (48cd63f)
  • Add support for python 3.12 (#400) (1b3a96f)

Bug Fixes

  • Use setuptools.find_namespace_packages (#412) (30a6864)

Documentation

  • Add documentation on how to query the current oneof in a given message (#408) (d89d811)
  • Add example for protobuf module level attribute (#409) (6755884)

1.22.3 (2023-06-22)

Bug Fixes

  • Resolve issue where marshal fails with cross api dependency (#348) (0dcea18)

1.22.2 (2023-01-05)

Bug Fixes

Documentation

1.22.1 (2022-08-29)

Bug Fixes

1.22.0 (2022-08-10)

Features

Bug Fixes

  • Fix Timestamp, Duration and FieldMask marshaling in REST transport (a2e7300)
  • fixes bug in the test. (#332) (f85f470)

1.20.6 (2022-06-13)

Bug Fixes

Documentation

  • fix changelog header to consistent size (#319) (27d2003)

1.20.5 (2022-05-26)

Bug Fixes

  • deps: require google-api-core[grpc] >= 1.31.5 (1d13c41)
  • deps: require protobuf>= 3.15.0, <4.0.0dev (#315) (1d13c41)

1.20.4 (2022-05-02)

Bug Fixes

  • default proto package name is the module name, not "" (#309) (3148a1c)
  • lookup attribute instead of performing a deepcopy (#226) (e469059)

1.20.3 (2022-02-18)

Bug Fixes

  • additional logic to mitigate collisions with reserved terms (#301) (c9a77df)

1.20.2 (2022-02-17)

Bug Fixes

1.20.1 (2022-02-14)

Bug Fixes

1.20.0 (2022-02-07)

Features

  • add custom dir for messages and message classes (#289) (35e019e)

Bug Fixes

1.19.9 (2022-01-25)

Bug Fixes

  • add pickling support to proto messages (#280) (2b7be35)

1.19.8 (2021-11-09)

Documentation

1.19.7 (2021-10-27)

Bug Fixes

  • restore allowing None as value for stringy ints (#272) (a8991d7)

1.19.6 (2021-10-25)

Bug Fixes

  • setting 64bit fields from strings supported (#267) (ea7b911)

1.19.5 (2021-10-11)

Documentation

  • Clarify semantics of multiple oneof variants passed to msg ctor (#263) (6f8a5b2)

1.19.4 (2021-10-08)

Documentation

  • clarify that proto plus messages are not pickleable (#260) (6e691dc)

1.19.3 (2021-10-07)

Bug Fixes

  • setting bytes field from python string base64 decodes before assignment (#255) (b6f3eb6)

1.19.2 (2021-09-29)

Bug Fixes

1.19.1 (2021-09-29)

Bug Fixes

  • ensure enums are incomparable w other enum types (#248) (5927c14)

1.19.0 (2021-06-29)

Features

  • pass 'including_default_value_fields' through to 'Message.to_dict' method (#232) (15c2f47)

1.18.1 (2021-03-19)

Bug Fixes

1.18.0 (2021-03-16)

Features

  • add copy_from method for field assignment (#215) (11c3e58)

1.17.0 (2021-03-12)

Features

  • add preserving_proto_field_name to to_json (#213) (b2c245b)

1.16.0 (2021-03-12)

Features

  • add preserving_proto_field_name passthrough in MessageMeta.to_dict (#211) (7675a0c)

1.15.0 (2021-03-10)

Features

1.14.3 (2021-03-04)

Bug Fixes

  • adding enums to a repeated field does not raise a TypeError (#202) (2a10bbe)

1.14.2 (2021-02-26)

Bug Fixes

  • use the correct environment for uploading to pypi (#199) (babdc5c)

1.14.1 (2021-02-26)

Bug Fixes

1.14.0 (2021-02-24)

Features

Bug Fixes

  • proper setitem and insert for RepeatedComposite (#178) (1157a76)
  • proper native marshal for repeated enumeration fields (#180) (30265d6)

1.13.1 (2021-02-09)

Bug Fixes

1.13.0 (2020-12-04)

Features

1.12.0 (2020-11-20)

Features

  • add default values parameter to to_json (#164) (691f1b2)

1.11.0 (2020-10-19)

Features

1.10.2 (2020-10-14)

Documentation

1.10.1 (2020-10-08)

Bug Fixes

  • accessing an unset struct_pb2.Value field does not raise (#140) (d045cbf)
  • add LICENSE and tests to package (#146) (815c943)

1.10.0 (2020-09-24)

Bug Fixes

  • loosen tag match for publish_package (#123) (67441c9)
  • third party enums don't break first class enums (#118) (50b87af), closes #103

1.10.0-dev2 (2020-09-21)

Bug Fixes

  • loosen tag match for publish_package (#123) (67441c9)
  • third party enums don't break first class enums (#118) (50b87af), closes #103

1.9.1 (2020-09-08)

Reverts

  • Revert "feat: json serialization and deserialization support stringy enums (#112)" (#116) (91c6d7b), closes #112 #116

Documentation

1.9.0 (2020-09-02)

Features

  • json serialization and deserialization support stringy enums (#112) (8d2e3a3), closes #107

1.8.1 (2020-08-28)

Bug Fixes

  • revert "feat: allow enum strings in json serialization and deserialization" (#110) (bd3d50e), closes #107

1.8.0 (2020-08-28)

Features

  • allow enum strings in json serialization and deserialization (#107) (a082f85)

1.7.1 (2020-08-17)

Bug Fixes

  • revert algorithm for RepeatedComposite insertion. (#101) (ae946aa)

1.7.0 (2020-08-07)

Features

  • optimize insert for class RepeatedComposite. (#95) (86790e3)

1.6.0 (2020-08-05)

Features

1.5.3 (2020-08-04)

Bug Fixes

1.5.2 (2020-08-03)

Bug Fixes

1.5.1 (2020-07-30)

Bug Fixes

  • numerous small performance tweaks (#85) (7b5faf2)

1.5.0 (2020-07-29)

Features

  • support fixed filename salt to allow proto-plus use with schema registry tools (#61) (ea86eb9)

1.4.2 (2020-07-23)

Bug Fixes

  • getattr on an invalid field raises AttributeError (#73) (74ea8f0), closes #31

1.4.1 (2020-07-23)

Bug Fixes

1.4.0 (2020-07-23)

Features

  • prevent unnecessary copies when deserializing proto (#63) (5e1c061)

1.3.2 (2020-07-22)

Bug Fixes

1.3.1 (2020-07-21)

Bug Fixes

Documentation

1.3.0 (2020-07-16)

Features

  • add convenience methods to convert to/from json (#39) (2868946)
  • add DatetimeWithNanoseconds class to maintain Timestamp pb precision. (#40) (a17ccd5), closes #38
  • add support for proto3 optional fields (#35) (0eb5762)

Bug Fixes

  • Modify setup.py to indicate this is google maintained (#45) (96b3b00)