Skip to content

Commit

Permalink
chore: release v0.5.2 (#128)
Browse files Browse the repository at this point in the history
## 🤖 New release
* `cargo-near`: 0.5.1 -> 0.5.2 (⚠️ API breaking changes)

### ⚠️ `cargo-near` breaking changes

```
--- failure struct_missing: pub struct removed or renamed ---

Description:
A publicly-visible struct cannot be imported by its prior path. A `pub use` may have been removed, or the struct itself 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.27.0/src/lints/struct_missing.ron

Failed in:
  struct cargo_near::types::utf8_path_buf::Utf8PathBufInner, previously in file /tmp/.tmpdQgrcT/cargo-near/src/types/utf8_path_buf.rs:13
```

<details><summary><i><b>Changelog</b></i></summary><p>

<blockquote>

##
[0.5.2](cargo-near-v0.5.1...cargo-near-v0.5.2)
- 2024-01-27

### Other
- Updated "feature flag" for near-cli-rs (ledger)
([#126](#126))
- Updated near-sdk-rs to 5.0.0-alpha.2 in the new project template
([#127](#127))
</blockquote>


</p></details>

---
This PR was generated with
[release-plz](https://github.com/MarcoIeni/release-plz/).

---------

Signed-off-by: Vlad <304265+frol@users.noreply.github.com>
Co-authored-by: Vlad <304265+frol@users.noreply.github.com>
  • Loading branch information
frol and frol committed Jan 27, 2024
1 parent 313f722 commit 48c7b48
Show file tree
Hide file tree
Showing 6 changed files with 47 additions and 43 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/release-plz.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,6 @@ jobs:
fetch-depth: 0
submodules: recursive
token: ${{ secrets.MY_GITHUB_TOKEN }}
- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@stable
- name: Install packages (Linux)
if: runner.os == 'Linux'
run: sudo apt-get update && sudo apt-get install --assume-yes libudev-dev
Expand Down
37 changes: 37 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,43 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [0.5.2](https://github.com/near/cargo-near/compare/cargo-near-v0.5.1...cargo-near-v0.5.2) - 2024-01-27

### Other
- Updated "feature flag" for near-cli-rs (ledger) ([#126](https://github.com/near/cargo-near/pull/126))
- Updated near-sdk-rs to 5.0.0-alpha.2 in the new project template ([#127](https://github.com/near/cargo-near/pull/127))

## [0.5.1](https://github.com/near/cargo-near/compare/cargo-near-v0.5.0...cargo-near-v0.5.1) - 2024-01-25

### Other
- Upgraded NEAR crates to 0.20.0 release ([#125](https://github.com/near/cargo-near/pull/125))
- Updated binary releases pipeline to use cargo-dist v0.7.2 (previously v0.3.0) ([#122](https://github.com/near/cargo-near/pull/122))

## [0.5.0](https://github.com/near/cargo-near/compare/cargo-near-v0.4.1...cargo-near-v0.5.0) - 2023-11-20

### Added
- New command to initialize a new smart contract project ([#117](https://github.com/near/cargo-near/pull/117))

### Other
- update `near-sdk`, `near-abi`, `borsh` version ([#109](https://github.com/near/cargo-near/pull/109))

## [0.4.1](https://github.com/near/cargo-near/compare/cargo-near-v0.4.0...cargo-near-v0.4.1) - 2023-10-19

### Added
- New command - deploy ([#113](https://github.com/near/cargo-near/pull/113))
- New command - create-dev-account ([#108](https://github.com/near/cargo-near/pull/108))

### Fixed
- `cargo near build` now works on Windows ([#110](https://github.com/near/cargo-near/pull/110))

### Other
- remove `#[ignore]` from parts of test suite, using `near-workspaces` ([#111](https://github.com/near/cargo-near/pull/111))

## [0.4.0](https://github.com/near/cargo-near/compare/cargo-near-v0.3.1...cargo-near-v0.4.0) - 2023-10-01

### Other
- [**breaking**] Re-implemented cargo-near to use interactive-clap and near-cli-rs features ([#103](https://github.com/near/cargo-near/pull/103))

## [0.3.1] - 2023-06-23

- Exposed `build` and `abi` modules to make them reusable when cargo-near is used as a crate. <https://github.com/near/cargo-near/pull/97>
Expand Down
4 changes: 2 additions & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

38 changes: 0 additions & 38 deletions cargo-near/CHANGELOG.md

This file was deleted.

2 changes: 1 addition & 1 deletion cargo-near/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "cargo-near"
version = "0.5.1"
version = "0.5.2"
authors = ["Near Inc <hello@nearprotocol.com>"]
edition = "2021"
rust-version = "1.72.0"
Expand Down
7 changes: 7 additions & 0 deletions release-plz.toml
Original file line number Diff line number Diff line change
@@ -1,2 +1,9 @@
[workspace]
git_release_enable = false
# Use `cargo-near` crate CHANGELOG as top-level one
changelog_update = false

[[package]]
name = "cargo-near"
changelog_update = true
changelog_path = "./CHANGELOG.md"

0 comments on commit 48c7b48

Please sign in to comment.