Bump to 0.2.15

This commit is contained in:
Nick Fitzgerald 2018-07-26 14:51:20 -07:00
parent a204c8d4b7
commit 9a0470b1c4
15 changed files with 96 additions and 33 deletions

View File

@ -2,6 +2,17 @@
--------------------------------------------------------------------------------
## 0.2.15
Released 2018-07-26.
### Fixed
* Fixed `wasm-bindgen` CLI version mismatch checks that got broken in the last
point release.
--------------------------------------------------------------------------------
## 0.2.14
Released 2018-07-25.

View File

@ -1,6 +1,6 @@
[package]
name = "wasm-bindgen"
version = "0.2.14"
version = "0.2.15"
authors = ["The wasm-bindgen Developers"]
license = "MIT/Apache-2.0"
readme = "README.md"
@ -27,12 +27,12 @@ serde-serialize = ["serde", "serde_json", "std"]
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.14" }
wasm-bindgen-macro = { path = "crates/macro", version = "=0.2.15" }
serde = { version = "1.0", optional = true }
serde_json = { version = "1.0", optional = true }
[dev-dependencies]
wasm-bindgen-test-project-builder = { path = "crates/test-project-builder", version = '=0.2.14' }
wasm-bindgen-test-project-builder = { path = "crates/test-project-builder", version = '=0.2.15' }
[workspace]
members = [

View File

@ -1,6 +1,6 @@
[package]
name = "wasm-bindgen-backend"
version = "0.2.14"
version = "0.2.15"
authors = ["The wasm-bindgen Developers"]
license = "MIT/Apache-2.0"
repository = "https://github.com/rustwasm/wasm-bindgen/tree/master/crates/backend"
@ -20,4 +20,4 @@ proc-macro2 = "0.4.8"
quote = '0.6'
serde_json = "1.0"
syn = { version = '0.14', features = ['full', 'visit-mut'] }
wasm-bindgen-shared = { path = "../shared", version = "=0.2.14" }
wasm-bindgen-shared = { path = "../shared", version = "=0.2.15" }

View File

@ -1,6 +1,6 @@
[package]
name = "wasm-bindgen-cli-support"
version = "0.2.14"
version = "0.2.15"
authors = ["The wasm-bindgen Developers"]
license = "MIT/Apache-2.0"
repository = "https://github.com/rustwasm/wasm-bindgen/tree/master/crates/cli-support"
@ -18,6 +18,6 @@ serde = "1.0"
serde_derive = "1.0"
serde_json = "1.0"
tempfile = "3.0"
wasm-bindgen-shared = { path = "../shared", version = '=0.2.14' }
wasm-bindgen-shared = { path = "../shared", version = '=0.2.15' }
wasm-gc-api = "0.1.9"
wasmi = "0.3"

View File

@ -1,6 +1,6 @@
[package]
name = "wasm-bindgen-cli"
version = "0.2.14"
version = "0.2.15"
authors = ["The wasm-bindgen Developers"]
license = "MIT/Apache-2.0"
repository = "https://github.com/rustwasm/wasm-bindgen/tree/master/crates/cli"
@ -17,6 +17,6 @@ docopt = "1.0"
failure = "0.1"
serde = "1.0"
serde_derive = "1.0"
wasm-bindgen-cli-support = { path = "../cli-support", version = "=0.2.14" }
wasm-bindgen-shared = { path = "../shared", version = "=0.2.14" }
wasm-bindgen-cli-support = { path = "../cli-support", version = "=0.2.15" }
wasm-bindgen-shared = { path = "../shared", version = "=0.2.15" }
parity-wasm = "0.31"

View File

@ -1,7 +1,7 @@
[package]
name = "js-sys"
version = "0.2.14"
authors = ["Alex Crichton <alex@alexcrichton.com>"]
version = "0.2.0"
authors = ["The wasm-bindgen Developers"]
readme = "./README.md"
categories = ["wasm"]
repository = "https://github.com/rustwasm/wasm-bindgen/tree/master/crates/js-sys"
@ -17,10 +17,10 @@ test = false
doctest = false
[dependencies]
wasm-bindgen = { path = "../..", version = "0.2.14" }
wasm-bindgen = { path = "../..", version = "0.2.15" }
[target.'cfg(target_arch = "wasm32")'.dev-dependencies]
wasm-bindgen-test = { path = '../test', version = '=0.2.14' }
wasm-bindgen-test = { path = '../test', version = '=0.2.15' }
[target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies]
wasm-bindgen-test-project-builder = { path = "../test-project-builder", version = '=0.2.14' }
wasm-bindgen-test-project-builder = { path = "../test-project-builder", version = '=0.2.15' }

View File

@ -1,6 +1,6 @@
[package]
name = "wasm-bindgen-macro"
version = "0.2.14"
version = "0.2.15"
authors = ["The wasm-bindgen Developers"]
license = "MIT/Apache-2.0"
repository = "https://github.com/rustwasm/wasm-bindgen/tree/master/crates/macro"
@ -21,5 +21,5 @@ xxx_debug_only_print_generated_code = []
syn = { version = '0.14', features = ['full'] }
quote = '0.6'
proc-macro2 = "0.4.9"
wasm-bindgen-backend = { path = "../backend", version = "=0.2.14" }
wasm-bindgen-shared = { path = "../shared", version = "=0.2.14" }
wasm-bindgen-backend = { path = "../backend", version = "=0.2.15" }
wasm-bindgen-shared = { path = "../shared", version = "=0.2.15" }

View File

@ -1,6 +1,6 @@
[package]
name = "wasm-bindgen-shared"
version = "0.2.14"
version = "0.2.15"
authors = ["The wasm-bindgen Developers"]
license = "MIT/Apache-2.0"
repository = "https://github.com/rustwasm/wasm-bindgen/tree/master/crates/shared"

View File

@ -1,6 +1,6 @@
[package]
name = "wasm-bindgen-test-macro"
version = "0.2.14"
version = "0.2.15"
authors = ["The wasm-bindgen Developers"]
[dependencies]

View File

@ -1,6 +1,6 @@
[package]
name = "wasm-bindgen-test-project-builder"
version = "0.2.14"
version = "0.2.15"
authors = ["The wasm-bindgen Developers"]
license = "MIT/Apache-2.0"
repository = "https://github.com/rustwasm/wasm-bindgen/tree/master/crates/test-project-builder"
@ -12,4 +12,4 @@ Internal test support for wasm-bindgen
[dependencies]
lazy_static = "1"
wasm-bindgen-cli-support = { path = "../cli-support", version = '=0.2.14' }
wasm-bindgen-cli-support = { path = "../cli-support", version = '=0.2.15' }

View File

@ -1,12 +1,12 @@
[package]
name = "wasm-bindgen-test"
version = "0.2.14"
version = "0.2.15"
authors = ["The wasm-bindgen Developers"]
[dependencies]
wasm-bindgen-test-macro = { path = '../test-macro', version = '=0.2.14' }
wasm-bindgen = { path = '../..', version = '0.2.14' }
js-sys = { path = '../js-sys', version = '0.2.14' }
wasm-bindgen-test-macro = { path = '../test-macro', version = '=0.2.15' }
wasm-bindgen = { path = '../..', version = '0.2.15' }
js-sys = { path = '../js-sys', version = '0.2.0' }
console_error_panic_hook = '0.1'
[lib]

View File

@ -1,17 +1,17 @@
[package]
name = "web-sys"
version = "0.1.0"
authors = ["Nick Fitzgerald <fitzgen@gmail.com>"]
authors = ["The wasm-bindgen Developers"]
readme = "./README.md"
[build-dependencies]
env_logger = "0.5.10"
failure = "0.1"
wasm-bindgen-webidl = { path = "../webidl", version = "=0.2.14" }
wasm-bindgen-webidl = { path = "../webidl", version = "=0.2.15" }
sourcefile = "0.1"
[dependencies]
wasm-bindgen = { path = "../..", version = "=0.2.14" }
wasm-bindgen = { path = "../..", version = "=0.2.15" }
[dev-dependencies]
wasm-bindgen-test-project-builder = { path = "../test-project-builder", version = '=0.2.14' }
wasm-bindgen-test-project-builder = { path = "../test-project-builder", version = '=0.2.15' }

View File

@ -1,6 +1,6 @@
[package]
name = "wasm-bindgen-webidl"
version = "0.2.14"
version = "0.2.15"
authors = ["The wasm-bindgen Developers"]
license = "MIT/Apache-2.0"
categories = ["wasm"]
@ -12,7 +12,7 @@ Support for parsing WebIDL specific to wasm-bindgen
"""
[dev-dependencies]
wasm-bindgen-test-project-builder = { path = "../test-project-builder", version = '=0.2.14' }
wasm-bindgen-test-project-builder = { path = "../test-project-builder", version = '=0.2.15' }
[dependencies]
failure = "0.1"
@ -22,5 +22,5 @@ log = "0.4.1"
proc-macro2 = "0.4.8"
quote = '0.6'
syn = { version = '0.14', features = ['full'] }
wasm-bindgen-backend = { version = "=0.2.14", path = "../backend" }
wasm-bindgen-backend = { version = "=0.2.15", path = "../backend" }
webidl = "0.7.0"

View File

@ -32,4 +32,5 @@
- [Testing](./web-sys/testing.md)
- [Logging](./web-sys/logging.md)
- [Supporting More Web APIs](./web-sys/supporting-more-web-apis.md)
- [Publishing](./publishing.md)
- [Team](./team.md)

51
guide/src/publishing.md Normal file
View File

@ -0,0 +1,51 @@
# Publishing New `wasm-bindgen` Releases
* [ ] Make sure that your git working copy is clean.
* [ ] Make sure that you are on the latest `master`:
```
git pull origin master
```
* [ ] Update `Cargo.toml` versions and dependency versions:
```
git ls-files | grep Cargo.toml | xargs sed -i '' -e 's/0\.X\.Y/0.X.Z/g'
```
where "0.X.Y" is the old version and "0.X.Z" is the new version.
* [ ] Write a "0.X.Z" entry in the CHANGELOG.md
* [ ] Run all the tests for sanity
```
cargo test
cargo test -p js-sys
cargo test -p js-sys --target wasm32-unknown-unknown
cargo test -p wasm-bindgen-webidl
cargo test -p web-sys
```
* [ ] Commit the version bump:
```
git commit -m "Bump to version 0.X.Z"
```
* [ ] Comment out the `[patch]` section in the root `Cargo.toml` that only
exists to make sure that `console_error_panic_hook` in tests is using
*this* `wasm-bindgen` rather than one from crates.io.
* [ ] Publish the crates in reverse dependency order:
```
cd crates/shared && cargo publish && cd -
cd crates/backend && cargo publish && cd -
cd crates/macro && cargo publish && cd -
cd crates/cli-support && cargo publish && cd -
cd crates/test-project-builder && cargo publish && cd -
cd crates/cli && cargo publish && cd -
cargo publish
```