Releases: paritytech/parity-scale-codec
Releases · paritytech/parity-scale-codec
v3.6.3
What's Changed
- Bump paste from 1.0.6 to 1.0.12 by @dependabot in #411
- Array size by @burdges in #413
- Bump ci image by @altaua in #422
- Move back to parity-scale-codec:production image by @altaua in #423
- Make tests build by @ggwpez in #429
- Add
ConstEncodedLen
by @ggwpez in #428 - Bump quote from 1.0.10 to 1.0.26 by @dependabot in #420
- Bump proc-macro-crate from 1.1.0 to 1.1.3 by @dependabot in #356
- Bump bumpalo from 3.8.0 to 3.12.0 by @dependabot in #402
- Bump serde_derive from 1.0.130 to 1.0.162 by @dependabot in #430
- Bump byte-slice-cast from 1.2.1 to 1.2.2 by @dependabot in #431
- Bump serde from 1.0.139 to 1.0.162 by @dependabot in #433
- Bump trybuild from 1.0.63 to 1.0.80 by @dependabot in #434
- Bump proc-macro2 from 1.0.54 to 1.0.56 by @dependabot in #436
- Implement
MaxEncodedLen
forArc<T>
by @koute in #439 - Bump quote from 1.0.26 to 1.0.27 by @dependabot in #438
- Bump proc-macro2 from 1.0.56 to 1.0.58 by @dependabot in #440
- Bump serde_derive from 1.0.162 to 1.0.163 by @dependabot in #441
- Bump serde from 1.0.162 to 1.0.163 by @dependabot in #442
- Bump bytes from 1.1.0 to 1.4.0 by @dependabot in #437
- Bump generic-array from 0.14.5 to 0.14.7 by @dependabot in #444
- Bump honggfuzz from 0.5.54 to 0.5.55 by @dependabot in #443
- Bump proptest from 1.1.0 to 1.2.0 by @dependabot in #445
- Bump proc-macro2 from 1.0.58 to 1.0.59 by @dependabot in #447
- Bump quote from 1.0.27 to 1.0.28 by @dependabot in #446
- Bump proc-macro2 from 1.0.59 to 1.0.60 by @dependabot in #450
- Bump serde from 1.0.163 to 1.0.164 by @dependabot in #449
- Rework decoding of
Box
es,Rc
s,Arc
s, arrays and enums (stack overflow fix) by @koute in #426 - Bump arrayvec from 0.7.2 to 0.7.3 by @dependabot in #452
- Fix all clippy warnings and add clippy to the CI by @koute in #455
- Bump arrayvec from 0.7.3 to 0.7.4 by @dependabot in #460
- Bump quote from 1.0.28 to 1.0.29 by @dependabot in #463
- Fix stack overflow when decoding big array newtypes wrapped in a
Box
by @koute in #462 - Fix prelude imports in
decode_into
by @pmikolajczyk41 in #464
New Contributors
- @burdges made their first contribution in #413
- @altaua made their first contribution in #422
- @ggwpez made their first contribution in #429
- @pmikolajczyk41 made their first contribution in #464
Full Changelog: v3.4.0...v3.6.3
SCALE v3.5.0
What's Changed
- Added custom
Decode::skip
for arrays. #413 - Added
ConstEncodedLen
marker trait for types that implementMaxEncodedLen
. #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
Version 3.3.0
What's Changed
This release exports decode_vec_with_len
to support custom decoding of Vec
s.
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
What's Changed
- Bump bitvec from 1.0.0 to 1.0.1 by @dependabot in #365
- Document encode_bound, decode_bound and mel_bound by @KiChjang in #374
- [ci] add cargo-nono by @alvicsam in #389
- update compact encoding link by @ashWhiteHat in #394
- Bump derive to include
codec(skip)
support for MEL by @bkchr in #401
New Contributors
- @ashWhiteHat made their first contribution in #394
Full Changelog: parity-scale-codec-3.2.1...parity-scale-codec-v3.2.2
Version 3.2.1
This release fixes compilation on no-std envs.
- Use core RangeInclusive instead of std #378
Version 3.2.0
Version 3.1.2
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
- 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 forVecDeque