Skip to content

Commit 739a60b

Browse files
v0.4.0
1 parent 287cee3 commit 739a60b

File tree

2 files changed

+97
-1
lines changed

2 files changed

+97
-1
lines changed

CHANGELOG.md

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

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

5101
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)