Skip to content

Latest commit

 

History

History
360 lines (242 loc) · 14.8 KB

CHANGELOG.md

File metadata and controls

360 lines (242 loc) · 14.8 KB

Changelog

[Unreleased]

Backward compatibility

Version 3.0 is backward incompatible with 2.0 version. Changes are listed here:

New features

[2.14] - Unreleased

[2.14.0] - 2020-04-12

  • Rename protoc_rust::Args to protoc_rust::Codegen
  • Rename protobuf_codegen_pure::Args to protobuf_codegen_pure::Codegen
  • protoc-bin-vendored crate introduced

[2.13.0] - 2020-04-09

[2.12.0] - 2020-03-26

  • Generated code for reflection now references messages by Protobuf name, not by Rust name.

[2.11.0] - 2020-03-23

Backward compatibility

  • Rename ProtobufValueRef to ReflectValueRef. Old name is kept for a while.

Other changes

  • Generated code now uses associated constant Lazy::INIT for Lazy intialization instead of initializing fields directly.

[2.10.3] - 2020-03-23

  • Oneof names are escaped now in generated code

[2.10.2] - 2020-03-01

  • Added dyn to a list of rust keyword needed escaping

[2.10.1] - 2020-01-14

[2.10.0] - 2020-01-01

Backward compatibility

Other changes

[2.9] - Unreleased

Changes in 2.9 branch are not included in 2.10.

[2.9.0] - (2019-09-30) yanked

Backward compatibility

  • Minimum supported Rust version is 1.34.2 now
  • Generated code by protobuf compiler is now compatible only with exactly the same version of protobuf library. Note you can use pure rust protobuf compiler to avoid dependency on protoc binary.
  • UnknownFields::fields field is no longer public

Big changes

  • Text format and JSON printing and parsing is now implemented
  • Mutation reflection is implemented
  • All fields are public now except optional or repeated fields when syntax = "proto2", but message fields are public even when syntax = "proto2"

Other changes

  • Box<dyn Message> now implements Clone
  • Generated code is slightly cleaner now (does not use use statements)
  • Generated code no longer uses unsafe (protobuf library still does)
  • Add a couple functions to reflection

[2.8] - Unreleased

[2.8.2] - 2019-12-31

[2.8.1] - 2019-09-06

[2.8.0] - 2019-07-22

[2.7.0] - 2019-07-02

[2.6.2] - 2019-06-03

[2.6.1] - 2019-05-27

[2.6.0] - 2019-05-19

[2.5.0] - 2019-04-15

[2.4.2] - 2019-03-29

[2.3.1] - 2019-03-05

[2.3.0] - 2019-01-30

[2.2.5] - 2019-01-20

[2.2.4] - 2019-01-13

[2.2.2] - 2018-12-29

[2.2.1] - 2018-12-25

[2.2.0] - 2018-11-17

  • Implement From<Option<T>> for SingularPtrField<T>

[2.1.5] - 2019-01-13

[2.1.4] - 2018-11-01

  • Revert clippy annotations

[2.1.3] - 2018-10-31

[2.1.2] - 2018-10-28

[2.1.1] - 2018-10-09

[2.1.0] - 2018-10-06

[2.0.6] - 2019-01-13

[2.0.5] - 2018-09-21

[2.0.4] - 2018-07-19

  • Minimum bytes version is 0.4 now (since protobuf doesn't work with 0.3 anyway)

[2.0.3] - 2018-07-11

[2.0.2] - 2018-05-29

  • Make rust-protobuf compatible with rust 1.23.0

[2.0.1] - 2018-05-27

[2.0.0] - 2018-05-17

[1.7.5] - 2018-05-20

[1.7.4] - 2018-07-11

[1.7.3] - 2018-05-29

  • Make rust-protobuf compatible with rust 1.23.0

[1.7.2] - 2018-05-27

[1.7.1] - 2018-05-17

[1.6.0] - 2018-05-11

Republished as 2.0.0

New features

Backward compatibility issues

[1.5.1] - 2018-04-02

[1.5.0] - 2018-03-25

[1.4.5] - 2018-04-02

[1.4.4] - 2018-03-05

[1.4.3] - 2017-12-03

[1.4.2] - 2017-10-14

[1.4.1] - 2017-06-24

[1.4] - 2017-06-24

  • Start of changelog