Skip to content

Bump to 0.2.47 #1608

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

Merged
merged 2 commits into from
Jun 19, 2019
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
31 changes: 31 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,37 @@ Released YYYY-MM-DD.

--------------------------------------------------------------------------------

## 0.2.47

Released 2019-06-19.

### Changed

* The `HtmlHyperlinkElement` should now include more native methods after a
small edit to the WebIDL.
[#1604](https://github.com/rustwasm/wasm-bindgen/pull/1604)

* Duplicate names for getters/setters now have a first-class `wasm-bindgen`
error.
[#1605](https://github.com/rustwasm/wasm-bindgen/pull/1605)

### Fixed

* TypeScript definition of `init` with `--target web` now reflects that the
first argument is optional.
[#1599](https://github.com/rustwasm/wasm-bindgen/pull/1599)

* A panic with the futures 0.3 support has been fixed.
[#1598](https://github.com/rustwasm/wasm-bindgen/pull/1598)

* More slice types are recognized as becoming immutable in some WebIDL methods.
[#1602](https://github.com/rustwasm/wasm-bindgen/pull/1602)

* The function table is now no longer too aggressively removed.
[#1606](https://github.com/rustwasm/wasm-bindgen/pull/1606)

--------------------------------------------------------------------------------

## 0.2.46

Released 2019-06-14.
Expand Down
8 changes: 4 additions & 4 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "wasm-bindgen"
version = "0.2.46"
version = "0.2.47"
authors = ["The wasm-bindgen Developers"]
license = "MIT/Apache-2.0"
readme = "README.md"
Expand Down Expand Up @@ -35,13 +35,13 @@ strict-macro = ["wasm-bindgen-macro/strict-macro"]
xxx_debug_only_print_generated_code = ["wasm-bindgen-macro/xxx_debug_only_print_generated_code"]

[dependencies]
wasm-bindgen-macro = { path = "crates/macro", version = "=0.2.46" }
wasm-bindgen-macro = { path = "crates/macro", version = "=0.2.47" }
serde = { version = "1.0", optional = true }
serde_json = { version = "1.0", optional = true }

[target.'cfg(target_arch = "wasm32")'.dev-dependencies]
js-sys = { path = 'crates/js-sys', version = '0.3.23' }
wasm-bindgen-test = { path = 'crates/test', version = '=0.2.46' }
js-sys = { path = 'crates/js-sys', version = '0.3.24' }
wasm-bindgen-test = { path = 'crates/test', version = '=0.2.47' }
serde_derive = "1.0"
wasm-bindgen-test-crate-a = { path = 'tests/crates/a', version = '0.1' }
wasm-bindgen-test-crate-b = { path = 'tests/crates/b', version = '0.1' }
Expand Down
5 changes: 3 additions & 2 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -252,8 +252,9 @@ jobs:
steps:
- template: ci/azure-install-rust.yml
- script: |
which mdbook || cargo install mdbook
which mdbook-linkcheck || cargo install mdbook-linkcheck
set -e
curl -L https://github.com/rust-lang-nursery/mdBook/releases/download/v0.3.0/mdbook-v0.3.0-x86_64-unknown-linux-gnu.tar.gz | tar xzf -
echo "##vso[task.prependpath]$PWD"
displayName: "Install mdbook"
- script: (cd guide && mv _theme theme && mdbook build)
- task: PublishPipelineArtifact@0
Expand Down
2 changes: 1 addition & 1 deletion crates/anyref-xform/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "wasm-bindgen-anyref-xform"
version = "0.2.46"
version = "0.2.47"
authors = ["The wasm-bindgen Developers"]
license = "MIT/Apache-2.0"
repository = "https://github.com/rustwasm/wasm-bindgen/tree/master/crates/anyref-xform"
Expand Down
4 changes: 2 additions & 2 deletions crates/backend/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "wasm-bindgen-backend"
version = "0.2.46"
version = "0.2.47"
authors = ["The wasm-bindgen Developers"]
license = "MIT/Apache-2.0"
repository = "https://github.com/rustwasm/wasm-bindgen/tree/master/crates/backend"
Expand All @@ -22,4 +22,4 @@ log = "0.4"
proc-macro2 = "0.4.8"
quote = '0.6'
syn = { version = '0.15', features = ['full'] }
wasm-bindgen-shared = { path = "../shared", version = "=0.2.46" }
wasm-bindgen-shared = { path = "../shared", version = "=0.2.47" }
10 changes: 5 additions & 5 deletions crates/cli-support/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "wasm-bindgen-cli-support"
version = "0.2.46"
version = "0.2.47"
authors = ["The wasm-bindgen Developers"]
license = "MIT/Apache-2.0"
repository = "https://github.com/rustwasm/wasm-bindgen/tree/master/crates/cli-support"
Expand All @@ -19,7 +19,7 @@ rustc-demangle = "0.1.13"
serde_json = "1.0"
tempfile = "3.0"
walrus = "0.8.0"
wasm-bindgen-anyref-xform = { path = '../anyref-xform', version = '=0.2.46' }
wasm-bindgen-shared = { path = "../shared", version = '=0.2.46' }
wasm-bindgen-threads-xform = { path = '../threads-xform', version = '=0.2.46' }
wasm-bindgen-wasm-interpreter = { path = "../wasm-interpreter", version = '=0.2.46' }
wasm-bindgen-anyref-xform = { path = '../anyref-xform', version = '=0.2.47' }
wasm-bindgen-shared = { path = "../shared", version = '=0.2.47' }
wasm-bindgen-threads-xform = { path = '../threads-xform', version = '=0.2.47' }
wasm-bindgen-wasm-interpreter = { path = "../wasm-interpreter", version = '=0.2.47' }
6 changes: 3 additions & 3 deletions crates/cli/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "wasm-bindgen-cli"
version = "0.2.46"
version = "0.2.47"
authors = ["The wasm-bindgen Developers"]
license = "MIT/Apache-2.0"
repository = "https://github.com/rustwasm/wasm-bindgen/tree/master/crates/cli"
Expand All @@ -25,8 +25,8 @@ serde = { version = "1.0", features = ['derive'] }
serde_derive = "1.0"
serde_json = "1.0"
walrus = "0.8.0"
wasm-bindgen-cli-support = { path = "../cli-support", version = "=0.2.46" }
wasm-bindgen-shared = { path = "../shared", version = "=0.2.46" }
wasm-bindgen-cli-support = { path = "../cli-support", version = "=0.2.47" }
wasm-bindgen-shared = { path = "../shared", version = "=0.2.47" }

[dev-dependencies]
assert_cmd = "0.11"
Expand Down
8 changes: 4 additions & 4 deletions crates/futures/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,19 +7,19 @@ license = "MIT/Apache-2.0"
name = "wasm-bindgen-futures"
repository = "https://github.com/rustwasm/wasm-bindgen/tree/master/crates/futures"
readme = "./README.md"
version = "0.3.23"
version = "0.3.24"
edition = "2018"

[dependencies]
futures = "0.1.20"
js-sys = { path = "../js-sys", version = '0.3.23' }
wasm-bindgen = { path = "../..", version = '0.2.46' }
js-sys = { path = "../js-sys", version = '0.3.24' }
wasm-bindgen = { path = "../..", version = '0.2.47' }
futures-util-preview = { version = "0.3.0-alpha.15", optional = true }
futures-channel-preview = { version = "0.3.0-alpha.15", optional = true }
lazy_static = { version = "1.3.0", optional = true }

[target.'cfg(target_arch = "wasm32")'.dev-dependencies]
wasm-bindgen-test = { path = '../test', version = '0.2.46' }
wasm-bindgen-test = { path = '../test', version = '0.2.47' }

[features]
futures_0_3 = ["futures-util-preview", "futures-channel-preview", "lazy_static"]
8 changes: 4 additions & 4 deletions crates/js-sys/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "js-sys"
version = "0.3.23"
version = "0.3.24"
authors = ["The wasm-bindgen Developers"]
readme = "./README.md"
categories = ["wasm"]
Expand All @@ -19,9 +19,9 @@ test = false
doctest = false

[dependencies]
wasm-bindgen = { path = "../..", version = "0.2.46" }
wasm-bindgen = { path = "../..", version = "0.2.47" }

[target.'cfg(target_arch = "wasm32")'.dev-dependencies]
futures = "0.1.20"
wasm-bindgen-test = { path = '../test', version = '=0.2.46' }
wasm-bindgen-futures = { path = '../futures', version = '=0.3.23' }
wasm-bindgen-test = { path = '../test', version = '=0.2.47' }
wasm-bindgen-futures = { path = '../futures', version = '=0.3.24' }
6 changes: 3 additions & 3 deletions crates/macro-support/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "wasm-bindgen-macro-support"
version = "0.2.46"
version = "0.2.47"
authors = ["The wasm-bindgen Developers"]
license = "MIT/Apache-2.0"
repository = "https://github.com/rustwasm/wasm-bindgen/tree/master/crates/macro-support"
Expand All @@ -20,5 +20,5 @@ strict-macro = []
syn = { version = '0.15.0', features = ['visit'] }
quote = '0.6'
proc-macro2 = "0.4.9"
wasm-bindgen-backend = { path = "../backend", version = "=0.2.46" }
wasm-bindgen-shared = { path = "../shared", version = "=0.2.46" }
wasm-bindgen-backend = { path = "../backend", version = "=0.2.47" }
wasm-bindgen-shared = { path = "../shared", version = "=0.2.47" }
6 changes: 3 additions & 3 deletions crates/macro/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "wasm-bindgen-macro"
version = "0.2.46"
version = "0.2.47"
authors = ["The wasm-bindgen Developers"]
license = "MIT/Apache-2.0"
repository = "https://github.com/rustwasm/wasm-bindgen/tree/master/crates/macro"
Expand All @@ -20,9 +20,9 @@ xxx_debug_only_print_generated_code = []
strict-macro = ["wasm-bindgen-macro-support/strict-macro"]

[dependencies]
wasm-bindgen-macro-support = { path = "../macro-support", version = "=0.2.46" }
wasm-bindgen-macro-support = { path = "../macro-support", version = "=0.2.47" }
quote = "0.6"

[dev-dependencies]
trybuild = "1.0"
wasm-bindgen = { path = "../..", version = "0.2.46", features = ['strict-macro'] }
wasm-bindgen = { path = "../..", version = "0.2.47", features = ['strict-macro'] }
2 changes: 1 addition & 1 deletion crates/shared/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "wasm-bindgen-shared"
version = "0.2.46"
version = "0.2.47"
authors = ["The wasm-bindgen Developers"]
license = "MIT/Apache-2.0"
repository = "https://github.com/rustwasm/wasm-bindgen/tree/master/crates/shared"
Expand Down
2 changes: 1 addition & 1 deletion crates/test-macro/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "wasm-bindgen-test-macro"
version = "0.2.46"
version = "0.2.47"
authors = ["The wasm-bindgen Developers"]
description = "Internal testing macro for wasm-bindgen"
license = "MIT/Apache-2.0"
Expand Down
10 changes: 5 additions & 5 deletions crates/test/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "wasm-bindgen-test"
version = "0.2.46"
version = "0.2.47"
authors = ["The wasm-bindgen Developers"]
description = "Internal testing crate for wasm-bindgen"
license = "MIT/Apache-2.0"
Expand All @@ -10,11 +10,11 @@ edition = "2018"
[dependencies]
console_error_panic_hook = '0.1'
futures = "0.1"
js-sys = { path = '../js-sys', version = '0.3.23' }
js-sys = { path = '../js-sys', version = '0.3.24' }
scoped-tls = "1.0"
wasm-bindgen = { path = '../..', version = '0.2.46' }
wasm-bindgen-futures = { path = '../futures', version = '0.3.23' }
wasm-bindgen-test-macro = { path = '../test-macro', version = '=0.2.46' }
wasm-bindgen = { path = '../..', version = '0.2.47' }
wasm-bindgen-futures = { path = '../futures', version = '0.3.24' }
wasm-bindgen-test-macro = { path = '../test-macro', version = '=0.2.47' }

[lib]
test = false
2 changes: 1 addition & 1 deletion crates/threads-xform/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "wasm-bindgen-threads-xform"
version = "0.2.46"
version = "0.2.47"
authors = ["The wasm-bindgen Developers"]
license = "MIT/Apache-2.0"
repository = "https://github.com/rustwasm/wasm-bindgen/tree/master/crates/threads-xform"
Expand Down
2 changes: 1 addition & 1 deletion crates/wasm-interpreter/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "wasm-bindgen-wasm-interpreter"
version = "0.2.46"
version = "0.2.47"
authors = ["The wasm-bindgen Developers"]
license = "MIT/Apache-2.0"
repository = "https://github.com/rustwasm/wasm-bindgen/tree/master/crates/wasm-interpreter"
Expand Down
12 changes: 6 additions & 6 deletions crates/web-sys/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "web-sys"
version = "0.3.23"
version = "0.3.24"
authors = ["The wasm-bindgen Developers"]
readme = "./README.md"
homepage = "https://rustwasm.github.io/wasm-bindgen/web-sys/index.html"
Expand All @@ -22,17 +22,17 @@ test = false
[build-dependencies]
env_logger = { version = "0.6.0", optional = true }
failure = "0.1.2"
wasm-bindgen-webidl = { path = "../webidl", version = "=0.2.46" }
wasm-bindgen-webidl = { path = "../webidl", version = "=0.2.47" }
sourcefile = "0.1"

[dependencies]
wasm-bindgen = { path = "../..", version = "0.2.46" }
js-sys = { path = '../js-sys', version = '0.3.23' }
wasm-bindgen = { path = "../..", version = "0.2.47" }
js-sys = { path = '../js-sys', version = '0.3.24' }

[target.'cfg(target_arch = "wasm32")'.dev-dependencies]
futures = "0.1"
wasm-bindgen-test = { path = '../test', version = '0.2.46' }
wasm-bindgen-futures = { path = '../futures', version = '0.3.23' }
wasm-bindgen-test = { path = '../test', version = '0.2.47' }
wasm-bindgen-futures = { path = '../futures', version = '0.3.24' }

# This list is generated by passing `__WASM_BINDGEN_DUMP_FEATURES=foo` when
# compiling this crate which dumps the total list of features to a file called
Expand Down
4 changes: 2 additions & 2 deletions crates/webidl/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "wasm-bindgen-webidl"
version = "0.2.46"
version = "0.2.47"
authors = ["The wasm-bindgen Developers"]
license = "MIT/Apache-2.0"
categories = ["wasm"]
Expand All @@ -19,5 +19,5 @@ log = "0.4.1"
proc-macro2 = "0.4.8"
quote = '0.6'
syn = { version = '0.15', features = ['full'] }
wasm-bindgen-backend = { version = "=0.2.46", path = "../backend" }
wasm-bindgen-backend = { version = "=0.2.47", path = "../backend" }
weedle = "0.9"
2 changes: 1 addition & 1 deletion examples/add/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ edition = "2018"
crate-type = ["cdylib"]

[dependencies]
wasm-bindgen = "0.2.46"
wasm-bindgen = "0.2.47"
4 changes: 2 additions & 2 deletions examples/canvas/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ edition = "2018"
crate-type = ["cdylib"]

[dependencies]
js-sys = "0.3.23"
wasm-bindgen = "0.2.46"
js-sys = "0.3.24"
wasm-bindgen = "0.2.47"

[dependencies.web-sys]
version = "0.3.4"
Expand Down
2 changes: 1 addition & 1 deletion examples/char/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ edition = "2018"
crate-type = ["cdylib"]

[dependencies]
wasm-bindgen = "0.2.46"
wasm-bindgen = "0.2.47"
4 changes: 2 additions & 2 deletions examples/closures/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ edition = "2018"
crate-type = ["cdylib"]

[dependencies]
wasm-bindgen = "0.2.46"
js-sys = "0.3.23"
wasm-bindgen = "0.2.47"
js-sys = "0.3.24"

[dependencies.web-sys]
version = "0.3.4"
Expand Down
4 changes: 2 additions & 2 deletions examples/console_log/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@ edition = "2018"
crate-type = ["cdylib"]

[dependencies]
wasm-bindgen = "0.2.46"
web-sys = { version = "0.3.23", features = ['console'] }
wasm-bindgen = "0.2.47"
web-sys = { version = "0.3.24", features = ['console'] }
2 changes: 1 addition & 1 deletion examples/dom/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ edition = "2018"
crate-type = ["cdylib"]

[dependencies]
wasm-bindgen = "0.2.46"
wasm-bindgen = "0.2.47"

[dependencies.web-sys]
version = "0.3.4"
Expand Down
2 changes: 1 addition & 1 deletion examples/duck-typed-interfaces/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ edition = "2018"
crate-type = ["cdylib"]

[dependencies]
wasm-bindgen = "0.2.46"
wasm-bindgen = "0.2.47"
6 changes: 3 additions & 3 deletions examples/fetch/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ crate-type = ["cdylib"]

[dependencies]
futures = "0.1.20"
wasm-bindgen = { version = "0.2.46", features = ["serde-serialize"] }
js-sys = "0.3.23"
wasm-bindgen-futures = "0.3.23"
wasm-bindgen = { version = "0.2.47", features = ["serde-serialize"] }
js-sys = "0.3.24"
wasm-bindgen-futures = "0.3.24"
serde = { version = "1.0.80", features = ["derive"] }
serde_derive = "^1.0.59"

Expand Down
2 changes: 1 addition & 1 deletion examples/guide-supported-types-examples/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ edition = "2018"
crate-type = ["cdylib"]

[dependencies]
wasm-bindgen = "0.2.46"
wasm-bindgen = "0.2.47"
Loading