Skip to content

Commit

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

* fix

* fix
  • Loading branch information
chenyan-dfinity authored Nov 17, 2022
1 parent 1581b5d commit 28a9fe8
Show file tree
Hide file tree
Showing 7 changed files with 16 additions and 14 deletions.
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.

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

# Changelog

## 2022-11-17 (Rust 0.8.3 -- 0.8.4)

* Bug fix in TS bindings
* Pretty print numbers

## 2022-10-06 (Rust 0.8.2)

* Downgrade `serde_dhall` for license issue.
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.8.3"
version = "0.8.4"
edition = "2018"
authors = ["DFINITY Team"]
description = "Candid is an interface description language (IDL) for interacting with canisters running on the Internet Computer."
Expand Down
5 changes: 4 additions & 1 deletion rust/candid/src/bindings/motoko.rs
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ fn is_tuple(t: &Type) -> bool {
_ => false,
}
}
static KEYWORDS: [&str; 42] = [
static KEYWORDS: [&str; 45] = [
"actor",
"and",
"async",
Expand All @@ -42,6 +42,7 @@ static KEYWORDS: [&str; 42] = [
"false",
"flexible",
"for",
"from_candid",
"func",
"if",
"in",
Expand All @@ -64,10 +65,12 @@ static KEYWORDS: [&str; 42] = [
"system",
"try",
"throw",
"to_candid",
"true",
"type",
"var",
"while",
"with",
];
fn escape(id: &str, is_method: bool) -> RcDoc {
if KEYWORDS.contains(&id) {
Expand Down
2 changes: 1 addition & 1 deletion tools/didc/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "didc"
version = "0.1.5"
version = "0.1.6"
authors = ["DFINITY Team"]
edition = "2018"

Expand Down
6 changes: 0 additions & 6 deletions tools/ui/dfx.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,5 @@
]
}
},
"networks": {
"local": {
"bind": "localhost:8000",
"type": "ephemeral"
}
},
"version": 1
}
6 changes: 3 additions & 3 deletions tools/ui/src/didjs/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ path = "lib.rs"
crate-type = ["cdylib"]

[dependencies]
ic-cdk = "0.5"
ic-cdk-macros = "0.5"
candid = "0.7"
ic-cdk = "0.6"
ic-cdk-macros = "0.6"
candid = "0.8"
serde = "1.0"
serde_bytes = "0.11"

0 comments on commit 28a9fe8

Please sign in to comment.