Skip to content

Commit

Permalink
release beta (#222)
Browse files Browse the repository at this point in the history
* release beta

* changelog

* update changelog
  • Loading branch information
chenyan-dfinity authored Apr 23, 2021
1 parent 6e62bbf commit c597333
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

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

21 changes: 21 additions & 0 deletions Changelog.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,27 @@

# Changelog

## 2021-04-22 (Rust 0.7.0-beta.1)

### Breaking changes

* Update spec to introduce subtyping check in deserialization [#168](https://github.com/dfinity/candid/pull/168)
* Deserialization requires both `Deserialize` and `CandidType` trait
* `de::ArgumentDecoder`, `ser::ArgumentEncoder` moved to `utils::{ArgumentDecoder, ArgumentEncoder}`
* `types::subtype` returns `Result<()>` instead of `bool` for better error message
* Disable subtyping conversion for opt rules in `IDLValue.annotate_type`

### Non-breaking changes

* Better error messages in deserialization
* Update test suite to conform with the new spec

### Pending issues

* Update opt rule for subtyping and coercion
* Performance regression in decoding struct type
* Integration test with production canisters

## 2021-04-07 (Rust 0.6.19 -- 0.6.21)

* Fix a bug for serializing recursive values in Rust CDK [#210](https://github.com/dfinity/candid/pull/210)
Expand Down
2 changes: 1 addition & 1 deletion rust/candid/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "candid"
version = "0.6.21"
version = "0.7.0-beta.1"
edition = "2018"
authors = ["DFINITY Team"]
description = "Candid is an interface description language (IDL) for interacting with canisters running on the Internet Computer."
Expand Down

0 comments on commit c597333

Please sign in to comment.