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

refactor!: move Rust code generation logic from candid_parser. #480

Merged
merged 3 commits into from
Apr 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions Cargo.lock

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

24 changes: 19 additions & 5 deletions src/ic-cdk-bindgen/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,23 +6,37 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [unreleased]

- Re-generate bindings if the canister ids changed (e.g. when switching networks) or when the path to the candid file of a dependency changed.
### Changed

- Refactor!: move Rust code generation logic from candid_parser. (#480)

### Fixed

- Re-generate bindings if the canister ids changed (e.g. when switching networks) or when the path to the candid file of a dependency changed. (#479)

## [0.1.3] - 2024-02-27

- Resolve CANISTER_CANDID_PATH and CANISTER_ID from standardized environment variables (uppercase canister names).
### Added

- Resolve CANISTER_CANDID_PATH and CANISTER_ID from standardized environment variables (uppercase canister names). (#467)
- The support for legacy (non-uppercase) env vars is kept.
- It will be removed in next major release (v0.2).

## [0.1.2] - 2023-11-23

- Change `candid` dependency to the new `candid_parser` library.
### Changed

- Change `candid` dependency to the new `candid_parser` library. (#448)
More details here: https://github.com/dfinity/candid/blob/master/Changelog.md#2023-11-16-rust-0100

## [0.1.1] - 2023-09-18

- Update `candid` dependency to 0.9.6 which change the Rust bindings.
### Changed

- Update `candid` dependency to 0.9.6 which change the Rust bindings. (#424)

## [0.1.0] - 2023-07-13

- First release.
### Added

- First release. (#416)
3 changes: 3 additions & 0 deletions src/ic-cdk-bindgen/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,7 @@ keywords = ["internet-computer", "types", "dfinity", "canister", "cdk"]
include = ["src", "Cargo.toml", "LICENSE", "README.md"]

[dependencies]
candid.workspace = true
candid_parser.workspace = true
convert_case = "0.6"
pretty = "0.12"
Loading