Skip to content

Releases: bincode-org/bincode

v2.0.1

10 Mar 18:29
4673360
Compare
Choose a tag to compare

What's Changed

  • Update unty requirement from 0.0.3 to 0.0.4 by @dependabot in #753
  • Use qualified path for Result::Ok in bincode_derive by @nhaef in #757
  • Fix issue when a foreign Err pollutes scope by @ZoeyR in #758
  • Derive Debug for Configuration by @ZoeyR in #759
  • bump version to 2.0.1 by @ZoeyR in #760

New Contributors

Full Changelog: v2.0.0...v2.0.1

v2.0.0

06 Mar 17:10
a338109
Compare
Choose a tag to compare

Stable! Finally! After 4 years in development! Many changes have made it in since rc.3, including (unfortunately) some last minute breaking changes. But documentation has been cleaned up to a point where we finally feel comfortable committing to things as they are.

If you haven't been following along with the 2.0 changes here is a brief overview

  • Completely rewritten API decoupled from serde
  • no_std support
  • Official format specification
  • Default configuration changes
  • Increase MSRV to 1.85.0

What's Changed since 1.3.1

Read more

V2.0.0-rc.3

30 Mar 14:13
aada4bb
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v2.0.0-rc.2...v2.0.0-rc.3

v2.0.0-rc.2

04 Oct 11:30
6c219e9
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v2.0.0-rc.1...v2.0.0-rc.2

v2.0.0-rc.1

04 Mar 11:16
3d50bab
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v2.0.0-beta.3...v2.0.0-rc.1

v2.0.0-beta.3

16 Feb 11:56
8f4fcf5
Compare
Choose a tag to compare
v2.0.0-beta.3 Pre-release
Pre-release

What's Changed

New Contributors

Full Changelog: v2.0.0-beta.2...v2.0.0-beta.3

v2.0.0-beta.2

23 Jan 09:16
1299cca
Compare
Choose a tag to compare
v2.0.0-beta.2 Pre-release
Pre-release

What's Changed

  • Run code coverage on all features by @ZoeyR in #485
  • Added #[serde(untagged)] to the documentation of attributes that don't work by @VictorKoenders in #486
  • Fixed an error in bincode derive where it would implement the wrong trait if a generic parameter is present by @VictorKoenders in #487
  • Release v2.0.0-beta.2 by @VictorKoenders in #488

Full Changelog: v2.0.0-beta.1...v2.0.0-beta.2

V2.0.0-beta.1

19 Jan 18:14
f653f8a
Compare
Choose a tag to compare
V2.0.0-beta.1 Pre-release
Pre-release

What's Changed

New Contributors

Full Changelog: v2.0.0-beta.0...v2.0.0-beta.1

V2.0.0-beta.0

08 Jan 14:45
4fea079
Compare
Choose a tag to compare
V2.0.0-beta.0 Pre-release
Pre-release

What's Changed

New Contributors

Full Changelog: V2.0.0-alpha.2...v2.0.0-beta.0

V2.0.0-alpha.2

14 Dec 14:33
dd7fbd8
Compare
Choose a tag to compare
V2.0.0-alpha.2 Pre-release
Pre-release

Breaking:

  • All decode_from_slice functions now also return the number of bytes read #445
  • Bincode-derive now auto-implements T: Encode when implementing #[derive(Encode)] (same for Decode/DecodeBorrowed)
    • See #451 for more information

Config integer limit

Bincode now supports size limits again. Size limits can be configured as followed:

let config = Configuration::standard() // or ::legacy()
    .with_limit::<10000>();

Other changes:

  • Added Decode/Encode for HashMap<K, V>: #438
  • Added test case for a borrowed str: #441
  • Fixed clippy warnings: #447
  • Impl BorrowDecode for Option<&[u8]> and Option<&str>: #446
  • Extract virtue: #443
  • Made the CI also check the benchmarks, fixed compile issue in benchmarks: #449
  • Made the derive macros automatically implement the required traits on generic arguments: #454

Full Changelog: v2.0.0-alpha.1...V2.0.0-alpha.2