Skip to content

Commit d2c63ac

Browse files
frolrelease-plz
andauthored
chore: release (#217)
Signed-off-by: release-plz <[email protected]> Co-authored-by: release-plz <[email protected]>
1 parent 63cf36d commit d2c63ac

File tree

3 files changed

+25
-2
lines changed

3 files changed

+25
-2
lines changed

CHANGELOG.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,29 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
## [1.0.0-alpha.5](https://github.com/near/borsh-rs/compare/borsh-v1.0.0-alpha.4...borsh-v1.0.0-alpha.5) - 2023-09-26
11+
12+
### Added
13+
- [**breaking**] add `DiscriminantValue` to `Definition::Enum::variants` tuples ([#232](https://github.com/near/borsh-rs/pull/232))
14+
- [**breaking**] add `length_width` to `schema::Definition::Sequence` ([#229](https://github.com/near/borsh-rs/pull/229))
15+
- add definition of `String`/`str` ([#226](https://github.com/near/borsh-rs/pull/226))
16+
- [**breaking**] add `Definition::Sequence::length_range` field ([#220](https://github.com/near/borsh-rs/pull/220))
17+
- [**breaking**] add `Definition::Primitive` ([#222](https://github.com/near/borsh-rs/pull/222))
18+
- max_size: various small refactoring ([#223](https://github.com/near/borsh-rs/pull/223))
19+
- check `Definition::Enum`’s `tag_width` when validating schema ([#224](https://github.com/near/borsh-rs/pull/224))
20+
- add (de)serialisation + schema for more `core::ops::Range...` types (full, open-ended, inclusive) ([#213](https://github.com/near/borsh-rs/pull/213))
21+
- add `BorshSchema` implementation for `core::num::NonZero...` integers ([#214](https://github.com/near/borsh-rs/pull/214))
22+
- [**breaking**] introduce `borsh::io` with either items of `std:io` or private `borsh::nostd_io` module reexported (`std` or `no_std`) ([#212](https://github.com/near/borsh-rs/pull/212))
23+
- Introduce `borsh::max_serialized_size` function, `borsh::schema::BorshSchemaContainer::for_type` method ([#209](https://github.com/near/borsh-rs/pull/209))
24+
25+
### Other
26+
- [**breaking**] rename `"Tuple<T0, T1, T2...>"` -> `"(T0, T1, T2...)"` (`schema::Declaration`) ([#234](https://github.com/near/borsh-rs/pull/234))
27+
- [**breaking**] rename `"nil"` -> `"()"`, `"string"` -> `"String"`, `"nonzero_u16"` -> `"NonZeroU16"` (`schema::Declaration`) ([#233](https://github.com/near/borsh-rs/pull/233))
28+
- [**breaking**] rename `"Array<T0, N>"` -> `"[T0; N]"` (`schema::Declaration`) ([#235](https://github.com/near/borsh-rs/pull/235))
29+
- [**breaking**] split `ValidationError` from `MaxSizeError`; `validate` and `max_serialized_size` made `BorshSchemaContainer`'s methods ([#219](https://github.com/near/borsh-rs/pull/219))
30+
- [**breaking**] declare and rename schema feature to be unstable__ (may break in 1.x versions)
31+
- Add Definition::Enum::tag_width field ([#215](https://github.com/near/borsh-rs/pull/215))
32+
1033
## [1.0.0-alpha.4](https://github.com/near/borsh-rs/compare/borsh-v1.0.0-alpha.3...borsh-v1.0.0-alpha.4) - 2023-09-04
1134

1235
### Added

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@ members = ["borsh", "borsh-derive", "fuzz/fuzz-run", "benchmarks"]
33

44
[workspace.package]
55
# shared version of all public crates in the workspace
6-
version = "1.0.0-alpha.4"
6+
version = "1.0.0-alpha.5"
77
rust-version = "1.66.0"

borsh/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ required-features = ["std", "unstable__schema"]
2727
cfg_aliases = "0.1.0"
2828

2929
[dependencies]
30-
borsh-derive = { path = "../borsh-derive", version = "1.0.0-alpha.4", optional = true }
30+
borsh-derive = { path = "../borsh-derive", version = "1.0.0-alpha.5", optional = true }
3131

3232
# hashbrown can be used in no-std context.
3333
# NOTE: There is no reason to restrict use of older versions, but we don't want to get

0 commit comments

Comments
 (0)