Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: release #217

Merged
merged 1 commit into from
Sep 26, 2023
Merged

chore: release #217

merged 1 commit into from
Sep 26, 2023

Conversation

frol
Copy link
Collaborator

@frol frol commented Sep 9, 2023

🤖 New release

  • borsh: 1.0.0-alpha.4 -> 1.0.0-alpha.5 (✓ API compatible changes)
  • borsh-derive: 1.0.0-alpha.4 -> 1.0.0-alpha.5
Changelog

borsh

1.0.0-alpha.5 - 2023-09-26

Added

  • [breaking] add DiscriminantValue to Definition::Enum::variants tuples (#232)
  • [breaking] add length_width to schema::Definition::Sequence (#229)
  • add definition of String/str (#226)
  • [breaking] add Definition::Sequence::length_range field (#220)
  • [breaking] add Definition::Primitive (#222)
  • max_size: various small refactoring (#223)
  • check Definition::Enum’s tag_width when validating schema (#224)
  • add (de)serialisation + schema for more core::ops::Range... types (full, open-ended, inclusive) (#213)
  • add BorshSchema implementation for core::num::NonZero... integers (#214)
  • [breaking] introduce borsh::io with either items of std:io or private borsh::nostd_io module reexported (std or no_std) (#212)
  • Introduce borsh::max_serialized_size function, borsh::schema::BorshSchemaContainer::for_type method (#209)

Other

  • [breaking] rename "Tuple<T0, T1, T2...>" -> "(T0, T1, T2...)" (schema::Declaration) (#234)
  • [breaking] rename "nil" -> "()", "string" -> "String", "nonzero_u16" -> "NonZeroU16" (schema::Declaration) (#233)
  • [breaking] rename "Array<T0, N>" -> "[T0; N]" (schema::Declaration) (#235)
  • [breaking] split ValidationError from MaxSizeError; validate and max_serialized_size made BorshSchemaContainer's methods (#219)
  • [breaking] declare and rename schema feature to be unstable__ (may break in 1.x versions)
  • Add Definition::Enum::tag_width field (#215)


This PR was generated with release-plz.

@frol frol requested a review from dj8yfo as a code owner September 9, 2023 14:47
@frol frol force-pushed the release-plz/2023-09-09T14-47-17Z branch 6 times, most recently from 2c0d115 to 58b78fd Compare September 15, 2023 07:35
@frol frol force-pushed the release-plz/2023-09-09T14-47-17Z branch 6 times, most recently from e75f2dd to 3292fbf Compare September 23, 2023 08:25
@frol frol force-pushed the release-plz/2023-09-09T14-47-17Z branch 3 times, most recently from 760fdca to c79c36d Compare September 26, 2023 19:03
Signed-off-by: release-plz <[email protected]>
@frol frol force-pushed the release-plz/2023-09-09T14-47-17Z branch from c79c36d to 97d0df1 Compare September 26, 2023 19:23
@dj8yfo dj8yfo merged commit d2c63ac into master Sep 26, 2023
7 checks passed
@dj8yfo dj8yfo deleted the release-plz/2023-09-09T14-47-17Z branch September 26, 2023 19:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants