Skip to content

Commit 4eea3f7

Browse files
committed
0.13.0
1 parent 490703b commit 4eea3f7

File tree

7 files changed

+698
-402
lines changed

7 files changed

+698
-402
lines changed

CHANGELOG.md

+149
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,32 @@
22

33
## 🤍 Unreleased
44

5+
## ☀️ 0.13.0
6+
7+
- ### ✨ Features
8+
9+
- **Add option to skip optimization with wasm-opt - [sisou], [pull/1321]**
10+
11+
This feature introduces the `--no-opt` option to wasm-pack, providing a significant improvement in build efficiency for projects requiring multiple wasm-pack executions.
12+
13+
[pull/1321]: https://github.com/rustwasm/wasm-pack/pull/1321
14+
[sisou]: https://github.com/sisou
15+
16+
- **Add support geckodriver for linux-aarch64 - [EstebanBorai], [pull/1371]**
17+
18+
Introduces support to download Geckodriver in Linux aarch64.
19+
20+
[pull/1371]: https://github.com/rustwasm/wasm-pack/pull/1371
21+
[EstebanBorai]: https://github.com/EstebanBorai
22+
23+
- **Add wasm-opt linux aarch64 condition - [dkristia], [issue/1392], [pull/1393]**
24+
25+
A linux aarch64 build for wasm-opt exists in the newest binaryen versions.
26+
27+
[issue/1392]: https://github.com/rustwasm/wasm-pack/issues/1392
28+
[pull/1393]: https://github.com/rustwasm/wasm-pack/pull/1393
29+
[dkristia]: https://github.com/dkristia
30+
531
- ### 🤕 Fixes
632

733
- **Fix passing relative paths to cargo - [dfaust], [issue/704], [issue/1156], [issue/1252], [pull/1331]**
@@ -14,6 +40,129 @@
1440
[pull/1331]: https://github.com/rustwasm/wasm-pack/pull/1331
1541
[dfaust]: https://github.com/dfaust
1642

43+
- **Rewrite wasm_target to use target-libdir - [daidoji], [issue/1342], [pull/1343]**
44+
45+
Rewritten wasm_target to use target libdir from the rustc tool rather than looking through sysroot. This is to accomodate non-rustup installations.
46+
47+
[issue/1342]: https://github.com/rustwasm/wasm-pack/issues/1342
48+
[pull/1343]: https://github.com/rustwasm/wasm-pack/pull/1343
49+
[daidoji]: https://github.com/daidoji
50+
51+
- **Declare ES module in package.json - [gthb], [issue/1039], [pull/1061]**
52+
53+
In bundler mode, generate package.json with "type": "module" and use the "main" attribute instead of the "module" attribute.
54+
55+
This change makes the built ES module palatable to Node.js (when run with --experimental-vm-modules --experimental-wasm-modules),
56+
while it remains also palatable to webpack as illustrated in webpack/webpack#14313
57+
(where the pkg subfolder is generated with wasm-pack built with this change).
58+
This resolves the headache of using a wasm-pack-built package in a library that one needs to both run directly in Node and include in a webpack build.
59+
60+
[issue/1039]: https://github.com/rustwasm/wasm-pack/issues/1039
61+
[pull/1061]: https://github.com/rustwasm/wasm-pack/pull/1061
62+
[gthb]: https://github.com/gthb
63+
64+
- **Use new chromdriver endpoint and fix CI - [Myriad-Dreamin], [kade-robertson], [issue/1315], [issue/1390], [pull/1325], [pull/1391]**
65+
66+
[issue/1315]: https://github.com/rustwasm/wasm-pack/issues/1315
67+
[issue/1390]: https://github.com/rustwasm/wasm-pack/issues/1390
68+
[pull/1325]: https://github.com/rustwasm/wasm-pack/pull/1325
69+
[pull/1391]: https://github.com/rustwasm/wasm-pack/pull/1391
70+
[Myriad-Dreamin]: https://github.com/Myriad-Dreamin
71+
[kade-robertson]: https://github.com/kade-robertson
72+
73+
- **Add mingw support to npm package - [nathaniel-daniel], [issue/1354], [issue/1359], [pull/1363]**
74+
75+
Fixes the NPM package's platform detection for mingw.
76+
77+
[issue/1354]: https://github.com/rustwasm/wasm-pack/issues/1354
78+
[issue/1359]: https://github.com/rustwasm/wasm-pack/issues/1359
79+
[pull/1363]: https://github.com/rustwasm/wasm-pack/pull/1363
80+
[nathaniel-daniel]: https://github.com/nathaniel-daniel
81+
82+
- **pkg-dir option for pack and publish commands - [danielronnkvist], [issue/1369], [pull/1370]**
83+
84+
To be able to use these commands when the output directory option to the build command isn't the default pkg.
85+
86+
[issue/1369]: https://github.com/rustwasm/wasm-pack/issues/1369
87+
[pull/1370]: https://github.com/rustwasm/wasm-pack/pull/1370
88+
[danielronnkvist]: https://github.com/danielronnkvist
89+
90+
- **Optimize out-dir display - [ahaoboy], [issue/1395], [pull/1396]**
91+
92+
Optimize out-dir display.
93+
94+
from:
95+
96+
`[INFO]: 📦 Your wasm pkg is ready to publish at /root/code/fib-wasm/fib-rs/../fib-wasm/wasm.`
97+
98+
to:
99+
100+
`[INFO]: 📦 Your wasm pkg is ready to publish at /root/code/fib-wasm/fib-wasm/wasm.`
101+
102+
103+
[issue/1395]: https://github.com/rustwasm/wasm-pack/issues/1395
104+
[pull/1396]: https://github.com/rustwasm/wasm-pack/pull/1396
105+
[ahaoboy]: https://github.com/ahaoboy
106+
107+
- ### 🛠️ Maintenance
108+
- **Fix error and warnings in install script - [lucashorward], [issue/1159], [issue/1217], [issue/1283], [pull/1320]**
109+
110+
[issue/1159]: https://github.com/rustwasm/wasm-pack/issues/1159
111+
[issue/1217]: https://github.com/rustwasm/wasm-pack/issues/1217
112+
[issue/1283]: https://github.com/rustwasm/wasm-pack/issues/1283
113+
[pull/1320]: https://github.com/rustwasm/wasm-pack/pull/1320
114+
[lucashorward]: https://github.com/lucashorward
115+
116+
- **Bump follow-redirects from 1.14.9 to 1.15.6 in /npm - [dependabot], [pull/1375]**
117+
118+
[pull/1375]: https://github.com/rustwasm/wasm-pack/pull/1375
119+
120+
- **Bump rustls-webpki from 0.100.1 to 0.100.2 - [dependabot], [pull/1323]**
121+
122+
[pull/1341]: https://github.com/rustwasm/wasm-pack/pull/1341
123+
124+
- **Bump rustix from 0.37.20 to 0.37.25 - [dependabot], [pull/1341]**
125+
126+
[pull/1323]: https://github.com/rustwasm/wasm-pack/pull/1323
127+
[dependabot]: https://github.com/apps/dependabot
128+
129+
- **Bump rustls from 0.21.9 to 0.21.11 - [dependabot], [pull/1385]**
130+
131+
[pull/1385]: https://github.com/rustwasm/wasm-pack/pull/1385
132+
[dependabot]: https://github.com/apps/dependabot
133+
134+
- **Bump tar from 6.1.11 to 6.2.1 in /npm - [dependabot], [pull/1379]**
135+
136+
[pull/1379]: https://github.com/rustwasm/wasm-pack/pull/1379
137+
[dependabot]: https://github.com/apps/dependabot
138+
139+
- ### 📖 Documentation
140+
141+
- **Fix typo in README - [Lionelf329], [pull/1368]**
142+
143+
[pull/1268]: https://github.com/rustwasm/wasm-pack/pull/1368
144+
[Lionelf329]: https://github.com/Lionelf329
145+
146+
- **Add a description of build --target deno - [puxiao], [pull/1344]**
147+
148+
[pull/1344]: https://github.com/rustwasm/wasm-pack/pull/1344
149+
[puxiao]: https://github.com/puxiao
150+
151+
- **Document deno in build target - [sigmaSd], [pull/1348]**
152+
153+
[pull/1348]: https://github.com/rustwasm/wasm-pack/pull/1348
154+
[sigmaSd]: https://github.com/sigmaSd
155+
156+
- **Fix local navigation backing one step too far in docs - [SamuSoft], [pull/1387]**
157+
158+
[pull/1387]: https://github.com/rustwasm/wasm-pack/pull/1387
159+
[SamuSoft]: https://github.com/SamuSoft
160+
161+
- **Add --target web to quick start build command - [josephrocca], [pull/1367]**
162+
163+
[pull/1367]: https://github.com/rustwasm/wasm-pack/pull/1367
164+
[josephrocca]: https://github.com/josephrocca
165+
17166
## ☀️ 0.12.1
18167

19168
- ### 🤕 Fixes

0 commit comments

Comments
 (0)