eigerco / lumina

Wasm friendly Celestia light node implementation in Rust
Apache License 2.0
122 stars 36 forks source link

chore: release #456

Closed zvolin closed 4 weeks ago

zvolin commented 1 month ago

🤖 New release

⚠️ celestia-types breaking changes

--- failure constructible_struct_adds_private_field: struct no longer constructible due to new private field ---

Description:
A struct constructible with a struct literal has a new non-public field. It can no longer be constructed using a struct literal outside of its crate.
        ref: https://doc.rust-lang.org/reference/expressions/struct-expr.html
       impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.36.0/src/lints/constructible_struct_adds_private_field.ron

Failed in:
  field Share.is_parity in /tmp/.tmpgYUz4U/lumina/types/src/share.rs:43

--- failure enum_variant_added: enum variant added on exhaustive enum ---

Description:
A publicly-visible enum without #[non_exhaustive] has a new variant.
        ref: https://doc.rust-lang.org/cargo/reference/semver.html#enum-variant-new
       impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.36.0/src/lints/enum_variant_added.ron

Failed in:
  variant Error:MissingShares in /tmp/.tmpgYUz4U/lumina/types/src/error.rs:63
  variant Error:ExpectedShareWithSequenceStart in /tmp/.tmpgYUz4U/lumina/types/src/error.rs:189
  variant Error:UnexpectedReservedNamespace in /tmp/.tmpgYUz4U/lumina/types/src/error.rs:193
  variant Error:UnexpectedSequenceStart in /tmp/.tmpgYUz4U/lumina/types/src/error.rs:197
  variant Error:BlobSharesMetadataMismatch in /tmp/.tmpgYUz4U/lumina/types/src/error.rs:201

--- failure function_parameter_count_changed: pub fn parameter count changed ---

Description:
A publicly-visible function now takes a different number of parameters.
        ref: https://doc.rust-lang.org/cargo/reference/semver.html#fn-change-arity
       impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.36.0/src/lints/function_parameter_count_changed.ron

Failed in:
  celestia_types::test_utils::generate_eds now takes 2 parameters instead of 1, in /tmp/.tmpgYUz4U/lumina/types/src/test_utils.rs:394

--- failure method_parameter_count_changed: pub method parameter count changed ---

Description:
A publicly-visible method now takes a different number of parameters.
        ref: https://doc.rust-lang.org/cargo/reference/semver.html#fn-change-arity
       impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.36.0/src/lints/method_parameter_count_changed.ron

Failed in:
  celestia_types::Commitment::from_blob now takes 4 parameters instead of 3, in /tmp/.tmpgYUz4U/lumina/types/src/blob/commitment.rs:58
  celestia_types::Commitment::from_shares now takes 3 parameters instead of 2, in /tmp/.tmpgYUz4U/lumina/types/src/blob/commitment.rs:69
  celestia_types::blob::Commitment::from_blob now takes 4 parameters instead of 3, in /tmp/.tmpgYUz4U/lumina/types/src/blob/commitment.rs:58
  celestia_types::blob::Commitment::from_shares now takes 3 parameters instead of 2, in /tmp/.tmpgYUz4U/lumina/types/src/blob/commitment.rs:69
  celestia_types::ExtendedDataSquare::new now takes 3 parameters instead of 2, in /tmp/.tmpgYUz4U/lumina/types/src/eds.rs:159
  celestia_types::ExtendedDataSquare::from_ods now takes 2 parameters instead of 1, in /tmp/.tmpgYUz4U/lumina/types/src/eds.rs:275
  celestia_types::Blob::new now takes 3 parameters instead of 2, in /tmp/.tmpgYUz4U/lumina/types/src/blob.rs:67
  celestia_types::Blob::validate now takes 2 parameters instead of 1, in /tmp/.tmpgYUz4U/lumina/types/src/blob.rs:125
  celestia_types::blob::Blob::new now takes 3 parameters instead of 2, in /tmp/.tmpgYUz4U/lumina/types/src/blob.rs:67
  celestia_types::blob::Blob::validate now takes 2 parameters instead of 1, in /tmp/.tmpgYUz4U/lumina/types/src/blob.rs:125
  celestia_types::DataAvailabilityHeader::new now takes 3 parameters instead of 2, in /tmp/.tmpgYUz4U/lumina/types/src/data_availability_header.rs:70

--- failure pub_module_level_const_missing: pub module-level const is missing ---

Description:
A public const is missing, renamed, or changed from const to static.
        ref: https://doc.rust-lang.org/cargo/reference/semver.html#item-remove
       impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.36.0/src/lints/pub_module_level_const_missing.ron

Failed in:
  SUBTREE_ROOT_THRESHOLD in file /tmp/.tmpjsrZv2/celestia-types/src/consts.rs:32
  SQUARE_SIZE_UPPER_BOUND in file /tmp/.tmpjsrZv2/celestia-types/src/consts.rs:34
  MAX_EXTENDED_SQUARE_WIDTH in file /tmp/.tmpjsrZv2/celestia-types/src/consts.rs:100

--- failure struct_pub_field_missing: pub struct's pub field removed or renamed ---

Description:
A publicly-visible struct has at least one public field that is no longer available under its prior name. It may have been renamed or removed entirely.
        ref: https://doc.rust-lang.org/cargo/reference/semver.html#item-remove
       impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.36.0/src/lints/struct_pub_field_missing.ron

Failed in:
  field data of struct Share, previously in file /tmp/.tmpjsrZv2/celestia-types/src/share.rs:42

--- failure struct_pub_field_now_doc_hidden: pub struct field is now #[doc(hidden)] ---

Description:
A pub field of a pub struct is now marked #[doc(hidden)] and is no longer part of the public API.
        ref: https://doc.rust-lang.org/rustdoc/write-documentation/the-doc-attribute.html#hidden
       impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.36.0/src/lints/struct_pub_field_now_doc_hidden.ron

Failed in:
  field Share.data in file /tmp/.tmpgYUz4U/lumina/types/src/share.rs:40

⚠️ lumina-node breaking changes

--- failure constructible_struct_adds_field: externally-constructible struct adds field ---

Description:
A pub struct constructible with a struct literal has a new pub field. Existing struct literals must be updated to include the new field.
        ref: https://doc.rust-lang.org/reference/expressions/struct-expr.html
       impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.36.0/src/lints/constructible_struct_adds_field.ron

Failed in:
  field NodeConfig.custom_syncing_window in /tmp/.tmpgYUz4U/lumina/node/src/node.rs:80
  field NodeConfig.custom_syncing_window in /tmp/.tmpgYUz4U/lumina/node/src/node.rs:80
Changelog

## `lumina-cli`

## [0.5.0](https://github.com/eigerco/lumina/compare/lumina-cli-v0.4.1...lumina-cli-v0.5.0) - 2024-10-25 ### Added - *(node,node-wasm)* [**breaking**] Allow customising syncing window size ([#442](https://github.com/eigerco/lumina/pull/442))
## `celestia-rpc`
## [0.7.0](https://github.com/eigerco/lumina/compare/celestia-rpc-v0.6.0...celestia-rpc-v0.7.0) - 2024-10-25 ### Added - *(types)* [**breaking**] Add versioned consts ([#412](https://github.com/eigerco/lumina/pull/412)) - *(types)* [**breaking**] add blob reconstruction from shares ([#450](https://github.com/eigerco/lumina/pull/450)) - *(types,rpc,node)* [**breaking**] refactor Share to work for parity and data ([#443](https://github.com/eigerco/lumina/pull/443))
## `celestia-types`
## [0.7.0](https://github.com/eigerco/lumina/compare/celestia-types-v0.6.1...celestia-types-v0.7.0) - 2024-10-25 ### Added - *(types)* [**breaking**] Add versioned consts ([#412](https://github.com/eigerco/lumina/pull/412)) - *(types)* [**breaking**] add blob reconstruction from shares ([#450](https://github.com/eigerco/lumina/pull/450)) - *(types,rpc,node)* [**breaking**] refactor Share to work for parity and data ([#443](https://github.com/eigerco/lumina/pull/443)) ### Fixed - *(types)* axis type for eds new error reporting ([#447](https://github.com/eigerco/lumina/pull/447)) ### Other - *(types)* [**breaking**] Rename `rsmt2d` module to `eds` ([#449](https://github.com/eigerco/lumina/pull/449))
## `celestia-proto`
## [0.5.0](https://github.com/eigerco/lumina/compare/celestia-proto-v0.4.1...celestia-proto-v0.5.0) - 2024-10-25 ### Added - *(types,rpc,node)* [**breaking**] refactor Share to work for parity and data ([#443](https://github.com/eigerco/lumina/pull/443))
## `lumina-node`
## [0.6.0](https://github.com/eigerco/lumina/compare/lumina-node-v0.5.1...lumina-node-v0.6.0) - 2024-10-25 ### Added - *(types)* [**breaking**] Add versioned consts ([#412](https://github.com/eigerco/lumina/pull/412)) - *(types)* [**breaking**] add blob reconstruction from shares ([#450](https://github.com/eigerco/lumina/pull/450)) - *(node,node-wasm)* [**breaking**] Allow customising syncing window size ([#442](https://github.com/eigerco/lumina/pull/442)) - *(types,rpc,node)* [**breaking**] refactor Share to work for parity and data ([#443](https://github.com/eigerco/lumina/pull/443))
## `lumina-node-wasm`
## [0.6.0](https://github.com/eigerco/lumina/compare/lumina-node-wasm-v0.5.2...lumina-node-wasm-v0.6.0) - 2024-10-25 ### Added - *(node,node-wasm)* [**breaking**] Allow customising syncing window size ([#442](https://github.com/eigerco/lumina/pull/442))


This PR was generated with release-plz.