near / cargo-near

Cargo extension for building Rust smart contracts on NEAR
Apache License 2.0
36 stars 17 forks source link

chore: release #223

Closed frol closed 1 month ago

frol commented 2 months ago

🤖 New release

⚠️ cargo-near 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.35.0/src/lints/constructible_struct_adds_field.ron

Failed in:
  field InteractiveClapContextScopeForBuildCommand.no_wasmopt in /tmp/.tmp9RlqrE/cargo-near/cargo-near/src/commands/build_command/mod.rs:5
  field InteractiveClapContextScopeForBuildCommand.env in /tmp/.tmp9RlqrE/cargo-near/cargo-near/src/commands/build_command/mod.rs:5
  field CliBuildCommand.no_wasmopt in /tmp/.tmp9RlqrE/cargo-near/cargo-near/src/commands/build_command/mod.rs:5
  field CliBuildCommand.env in /tmp/.tmp9RlqrE/cargo-near/cargo-near/src/commands/build_command/mod.rs:5

⚠️ cargo-near-build 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.35.0/src/lints/constructible_struct_adds_field.ron

Failed in:
  field Opts.no_wasmopt in /tmp/.tmp9RlqrE/cargo-near/cargo-near-build/src/types/near/build/input/mod.rs:34
  field Opts.env in /tmp/.tmp9RlqrE/cargo-near/cargo-near-build/src/types/near/build/input/mod.rs:51

--- 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.35.0/src/lints/method_parameter_count_changed.ron

Failed in:
  cargo_near_build::BuildOpts::get_cli_build_command_in_docker now takes 3 parameters instead of 2, in /tmp/.tmp9RlqrE/cargo-near/cargo-near-build/src/types/near/build/input/docker_context.rs:19
Changelog

## `cargo-near`

## [0.10.0](https://github.com/near/cargo-near/compare/cargo-near-v0.9.0...cargo-near-v0.10.0) - 2024-10-16 ### Added - [**breaking**] use `wasm-opt -O` (via wasm-opt-rs) as post-step of build ([#231](https://github.com/near/cargo-near/pull/231)) - `env` flag for external parameters of docker build and regular build ([#226](https://github.com/near/cargo-near/pull/226)) ### Other - Use Posthog instead of Mixpanel to collect stats on new projects creation ([#227](https://github.com/near/cargo-near/pull/227)) - Fix tracking usage ([#225](https://github.com/near/cargo-near/pull/225))
## `cargo-near-build`
## [0.2.0](https://github.com/near/cargo-near/compare/cargo-near-build-v0.1.1...cargo-near-build-v0.2.0) - 2024-10-16 ### Added - [**breaking**] use `wasm-opt -O` (via wasm-opt-rs) as post-step of build ([#231](https://github.com/near/cargo-near/pull/231)) - `env` flag for external parameters of docker build and regular build ([#226](https://github.com/near/cargo-near/pull/226)) ### Other - disable github release for `cargo-near-build` via cargo-dist ([#222](https://github.com/near/cargo-near/pull/222))


This PR was generated with release-plz.