Skip to content

Commit 0226473

Browse files
v0.4.0
1 parent 287cee3 commit 0226473

File tree

2 files changed

+93
-1
lines changed

2 files changed

+93
-1
lines changed

CHANGELOG.md

Lines changed: 92 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,97 @@
11
# Changelog
22

3+
## 🌟 0.4.0
4+
5+
### ✨ Features
6+
7+
- #### 🎏 New Flags
8+
9+
- **`--skip-build` flag for the init command - [kohensu], [pull/151]**
10+
11+
Sometimes you want to run some of the shorter meta-data steps that
12+
`wasm-pack init` does for you without all the longer build steps. Now
13+
you can! Additionally, this PR was a fantastic refactor that allows even
14+
more custom build configurations will be simple to implement!
15+
16+
[kohensu]: https://github.com/kohensu
17+
[pull/151]: https://github.com/ashleygwilliams/wasm-pack/pull/151
18+
19+
- **`--debug` flag for the init command - [clanehin], [pull/127]**
20+
21+
Find yourself needing to compile your Rust in `development` mode? You can now
22+
pass the `--debug` flag to do so! Thanks so much to [clanehin] for filing
23+
[issue/126] for this feature... and then implementing it!
24+
25+
[pull/127]: https://github.com/ashleygwilliams/wasm-pack/pull/127
26+
[issue/126]: https://github.com/ashleygwilliams/wasm-pack/issues/126
27+
[clanehin]: https://github.com/clanehin
28+
29+
30+
- #### ✅ New Checks
31+
32+
- **ensure you have `cdylib` crate type - [kendromelon], [pull/150]**
33+
34+
One of the biggest mistakes we've seen beginners make is forgetting to declare
35+
the `cdylib` crate type in their `Cargo.toml` before running `wasm-pack init`.
36+
This PR fixes that, and comes from someone who ran into this exact issue learning
37+
about `wasm-pack` at [JSConfEU]! Love when it works out like this.
38+
39+
[JSConfEU]: https://2018.jsconf.eu/
40+
[kendromelon]: https://github.com/kedromelon
41+
[pull/150]: https://github.com/ashleygwilliams/wasm-pack/pull/150
42+
43+
- **ensure you have declared wasm-bindgen as a dep - [robertohuertasm], [pull/162]**
44+
45+
Another easy mistake to make is to forget to declare `wasm-bindgen` as a
46+
dependency in your `Cargo.toml`. Now `wasm-pack` will check and make sure you
47+
have it set before doing a bunch of long build steps :)
48+
49+
[robertohuertasm]: https://github.com/robertohuertasm
50+
[pull/162]: https://github.com/ashleygwilliams/wasm-pack/pull/162
51+
52+
### 🤕 Fixes
53+
54+
- **fixed broken progress bar spinner - [migerh], [pull/164]**
55+
56+
Oh no! We broke the progress bar spinner in version 0.3.0. Thankfully, it's
57+
fixed now- with a thoughtful refactor that also makes the underlying code
58+
sounder overall.
59+
60+
[migerh]: https://github.com/migerh
61+
[pull/164]: https://github.com/ashleygwilliams/wasm-pack/pull/164
62+
63+
### 🛠️ Maintenance
64+
65+
- **wasm category for crates.io discovery- [TomasHubelbauer], [pull/149]**
66+
67+
[crates.io] has [categories] to help folks discover crates, be we weren't
68+
leveraging it! Now- if you explore the [`wasm` category] on [crates.io]
69+
you'll see `wasm-pack`!
70+
71+
[crates.io]: https://crates.io/
72+
[categories]: https://crates.io/categories
73+
[`wasm` category]: https://crates.io/categories/wasm
74+
[TomasHubelbauer]: https://github.com/TomasHubelbauer
75+
[pull/149]: https://github.com/ashleygwilliams/wasm-pack/pull/149
76+
77+
- **human panic is now 1.0.0 - [spacekookie], [pull/156]**
78+
79+
Congrats friends! We like what you do.
80+
81+
[pull/156]: https://github.com/ashleygwilliams/wasm-pack/pull/156
82+
[spacekookie]: https://github.com/spacekookie
83+
84+
### 📖 Documentation
85+
86+
- **cleaned up the README - [ashleygwilliams], [pull/155]**
87+
88+
Our `README` was struggling with a common problem- doing too much at once.
89+
More specifically, it wasn't clear who the audience was, contributers or
90+
end users? We've cleaned up our README and created a document specifically
91+
to help contributors get up and running.
92+
93+
[pull/155]: https://github.com/ashleygwilliams/wasm-pack/pull/155
94+
395
## 🌠 0.3.1
496

597
Babby's first point release! Are we a real project now?

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
name = "wasm-pack"
33
description = "pack up the wasm and publish it to npm!"
4-
version = "0.3.1"
4+
version = "0.4.0"
55
authors = ["Ashley Williams <[email protected]>"]
66
repository = "https://github.com/ashleygwilliams/wasm-pack.git"
77
license = "MIT/Apache-2.0"

0 commit comments

Comments
 (0)