Skip to content

Releases: fdeantoni/prost-wkt

v0.6.0

29 Jul 05:51
Compare
Choose a tag to compare

Release 0.6.0

What's Changed

Breakting Changes

  • All Prost 0.12 to 0.13 breaking changes
  • The From<DateTime> for Timestamp has been replaced by TryFrom.

Full Changelog: v0.5.1...v0.6.0

Release 0.5.1

13 Apr 14:06
Compare
Choose a tag to compare

What's Changed

  • Updated Prost to 0.12.3
  • Fixed chrono to 0.4.27 minimum
  • implement serialize/deserialize for Duration type in accordance with protobuf JSON spec by @chrnorm in #61
  • MSRV is now 1.70

Full Changelog: v0.5.0...v0.5.1

v0.5.0

09 Oct 06:56
Compare
Choose a tag to compare

Update to Prost 0.12.x series. This implements the new Name trait which can provide the type url in future. It is only partially implemented for now. Once fully stabilized, we need to see if it can potentially replace the type url method in MessageSerde (#53).

What's Changed

  • added implementations for FieldMask by @qingshan in #44
  • Update protox requirement from 0.3.1 to 0.4.1 by @dependabot in #46
  • Fix deprecated use of DateTime::from_utc() by @Leulz in #55
  • Update protox requirement from 0.4.1 to 0.5.0 by @dependabot in #52
  • Update prost from 0.11.9 to 0.12.0 by @dragonnn in #53

Full Changelog: v0.4.2...v0.5.0

v0.4.2

22 May 20:17
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.4.1...v0.4.2

v0.4.1

28 Feb 12:39
Compare
Choose a tag to compare

Added google.protobuf.Empty (#30), and fixed serialization of Struct and ListValue (#33).

v0.4.0

10 Jan 14:52
Compare
Choose a tag to compare

Breaking Changes

MOPA Removed

Removed dependency on unmaintained crate mopa. Version 0.2.2 contains an unsound implementation (see 13) which was addressed in the git repo, but was never published to crates.io.

To remove the dependency on the mopa crate, MessageSerde now implements the needed functions directly. The implementation has been directly copied from std::any::Any. As a consequence though, two methods are no longer by available on dyn MessageSerde which were originally provided by mopa, but are not part of std::any::Any:

  • downcast
  • downcast_unchecked

If you used any of the above methods, please use downcast_ref and downcast_ref_unchecked instead.

Deprecated Methods Removed

The deprecated method encoded has also been removed. Please use try_encoded instead.

v0.3.5

08 Jan 22:29
Compare
Choose a tag to compare

Remove dependency on deprecated time crate, updated rust edition, and upgraded Prost dependencies to latest.

v0.3.4

19 Nov 12:55
Compare
Choose a tag to compare

Updated Prost to 0.11.2

Release 0.3.3

17 Sep 13:09
a4e0dd8
Compare
Choose a tag to compare

What's Changed

  • Switch to using heck for message formatting by @mattoni in #22
  • Successful Any::try_unpack() without #[serde(default)] by @rnbguy in #23

Full Changelog: v0.3.2...v0.3.3

Release 0.3.2

29 May 11:25
Compare
Choose a tag to compare

This release addresses the following:

  • Weird capitalization (#19)
  • Qualify derives (#11)
  • Should not require network access (#8)