Skip to content

Releases: paritytech/parity-scale-codec

v3.6.3

03 Jul 11:29
a7c0049
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v3.4.0...v3.6.3

SCALE v3.5.0

04 May 11:18
parity-scale-codec-v3.5.0
4502678
Compare
Choose a tag to compare

What's Changed

  • Added custom Decode::skip for arrays. #413
  • Added ConstEncodedLen marker trait for types that implement MaxEncodedLen. #428
  • Fixed test build for feature max-encoded-len. #429

New Contributors

Full Changelog: v3.4.0...parity-scale-codec-v3.5.0

v3.4.0

10 Feb 12:57
5100ef0
Compare
Choose a tag to compare

What's Changed

This release renders the full feature defunct. The implementations guarded behind this feature are now always provided.

Version 3.3.0

26 Jan 11:18
31078e5
Compare
Choose a tag to compare

What's Changed

This release exports decode_vec_with_len to support custom decoding of Vecs.

Added

  • Export decode_vec_with_len.

New Contributors

Full Changelog: parity-scale-codec-v3.2.2...parity-scale-codec-3.3.0

Version 3.2.2

18 Jan 22:41
4993588
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: parity-scale-codec-3.2.1...parity-scale-codec-v3.2.2

Version 3.2.1

14 Sep 15:14
4e8d1ab
Compare
Choose a tag to compare

This release fixes compilation on no-std envs.

  • Use core RangeInclusive instead of std #378

Version 3.2.0

13 Sep 16:54
c5c64ab
Compare
Choose a tag to compare

What's Changed

This release (specifically #375) bumps the MSRV to 1.60.0 as it depends on the Cargo.toml weak dependency feature.

  • Don't include bitvec with std feature unless asked for explicitly. #375
  • Implement MaxEncodedLen on more core lib types. #350

Version 3.1.2

23 Mar 09:56
5aab13d
Compare
Choose a tag to compare

What's Changed

  • Optimised the Decode::decode for [T; N] by @xgreenx in #299
  • Add some doc for the derive macro by @thiolliere in #301
  • Add bytes::Bytes implementation by @vorot93 in #309
  • Upgrade to BitVec 1.0 by @bkchr in #311
  • BREAKING CHANGE: DecodeLimit and DecodeAll extensions now advance input by @wigy-opensource-developer in #314
  • Make CompactRef public by @andrenth in #321
  • Add ability to re-export parity-scale-codec crate by @gshep in #325
  • BitVec: Improve the encoding and consolidate the implementations by @bkchr in #327
  • Fix crate access by putting a leading :: by @bkchr in #328

Be aware that version 3.0.0. up to 3.1.1 contained some bugs in the BitVec encoder that could lead to an invalid encoding. Thus, we yanked these crate version and it is advised to upgrade to 3.1.2. Any release before 3.0.0 wasn't affected by this bug.

SCALE 1.2.0

03 Mar 15:21
696a9c0
Compare
Choose a tag to compare
  • Multiple performance improvements for encoding/decoding vectors of primitive types
  • Make sure the capacity has an upper bound when decoding a vec
  • EncodeAppend is implemented for VecDeque

v3.0

22 Jan 15:06
9d4629d
Compare
Choose a tag to compare
  • Removes bound on Encode for HasCompact::Type
  • Use HasCompact::Type for #[codec(compact)] encoding/decoding