Skip to content

Releases: bincode-org/bincode

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

v2.0.0-alpha.1

09 Nov 09:20
a7c8964
Compare
Choose a tag to compare
v2.0.0-alpha.1 Pre-release
Pre-release
  • Support for serde through Compat and BorrowCompat modules and serde-specific encode/decode functions.
  • Split bincode_derive's Decode and BorrowDecode
  • Fixed constraint on implementation for Cow<T>
  • Several minor bugfixes

v2.0.0-alpha.0

25 Oct 08:58
a63fb1b
Compare
Choose a tag to compare
v2.0.0-alpha.0 Pre-release
Pre-release

Complete rewrite of bincode. Refer to the documentation on how to use the current version. Migration guides and detailed changes coming later.