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

release #392

Merged
merged 3 commits into from
Nov 17, 2022
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
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"