Skip to content

Commit c223771

Browse files
committed
publish 0.15.0 to npm
1 parent a0b752e commit c223771

File tree

26 files changed

+48
-48
lines changed

26 files changed

+48
-48
lines changed

CHANGELOG.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Changelog
22

3-
## Unreleased
3+
## 0.15.0
44

55
**This release contains backwards-incompatible changes.** Since esbuild is before version 1.0.0, these changes have been released as a new minor version to reflect this (as [recommended by npm](https://docs.npmjs.com/cli/v6/using-npm/semver/)). You should either be pinning the exact version of `esbuild` in your `package.json` file or be using a version range syntax that only accepts patch upgrades such as `~0.14.0`. See the documentation about [semver](https://docs.npmjs.com/cli/v6/using-npm/semver/) for more information.
66

@@ -12,7 +12,7 @@
1212

1313
Previously the workaround for using esbuild with Plug'n'Play was to use the [`@yarnpkg/esbuild-plugin-pnp`](https://www.npmjs.com/package/@yarnpkg/esbuild-plugin-pnp) plugin with esbuild's JavaScript API. However, this wasn't great because the plugin needed to potentially intercept every single import path and file load to check whether it was a Plug'n'Play package, which has an unusually high performance cost. It also meant that certain subtleties of path resolution rules within a `.zip` file could differ slightly from the way esbuild normally works since path resolution inside `.zip` files was implemented by Yarn, not by esbuild (which is due to a limitation of esbuild's plugin API).
1414

15-
With this release, esbuild now contains an independent implementation of Yarn's Plug'n'Play algorithm (which is used when esbuild finds a `.pnp.js`, `.pnp.cjs`, or `.pnp.data.json` file in the directory tree). Creating additional implementations of this algorithm recently became possible because Yarn's package manifest format was recently documented: https://yarnpkg.com/advanced/pnp-spec/. This should mean that you can now use esbuild to bundle Plug'n'Play projects without any additional configuration (so you shouldn't need `@yarnpkg/esbuild-plugin-pnp` anymore). Bundling these projects should now happen much faster as Yarn no longer even needs to be run at all. And path resolution rules within Yarn packages should now be consistent with how esbuild handles regular Node packages. For example, fields such as `module` and `browser` in `package.json` files within `.zip` files should now be respected.
15+
With this release, esbuild now contains an independent implementation of Yarn's Plug'n'Play algorithm (which is used when esbuild finds a `.pnp.js`, `.pnp.cjs`, or `.pnp.data.json` file in the directory tree). Creating additional implementations of this algorithm recently became possible because Yarn's package manifest format was recently documented: https://yarnpkg.com/advanced/pnp-spec/. This should mean that you can now use esbuild to bundle Plug'n'Play projects without any additional configuration (so you shouldn't need `@yarnpkg/esbuild-plugin-pnp` anymore). Bundling these projects should now happen much faster as Yarn no longer even needs to be run at all. Bundling the Yarn codebase itself with esbuild before and after this change seems to demonstrate over a 10x speedup (3.4s to 0.24s). And path resolution rules within Yarn packages should now be consistent with how esbuild handles regular Node packages. For example, fields such as `module` and `browser` in `package.json` files within `.zip` files should now be respected.
1616

1717
Keep in mind that this is brand new code and there may be some initial issues to work through before esbuild's implementation is solid. Yarn's Plug'n'Play specification is also brand new and may need some follow-up edits to guide new implementations to match Yarn's exact behavior. If you try this out, make sure to test it before committing to using it, and let me know if anything isn't working as expected. Should you need to debug esbuild's path resolution, you may find `--log-level=verbose` helpful.
1818

cmd/esbuild/version.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
package main
22

3-
const esbuildVersion = "0.14.54"
3+
const esbuildVersion = "0.15.0"

npm/@esbuild/linux-loong64/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@esbuild/linux-loong64",
3-
"version": "0.14.54",
3+
"version": "0.15.0",
44
"description": "The Linux LoongArch 64-bit binary for esbuild, a JavaScript bundler.",
55
"repository": "https://github.com/evanw/esbuild",
66
"license": "MIT",

npm/esbuild-android-64/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "esbuild-android-64",
3-
"version": "0.14.54",
3+
"version": "0.15.0",
44
"description": "A WebAssembly shim for esbuild on Android x64.",
55
"repository": "https://github.com/evanw/esbuild",
66
"license": "MIT",

npm/esbuild-android-arm64/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "esbuild-android-arm64",
3-
"version": "0.14.54",
3+
"version": "0.15.0",
44
"description": "The Android ARM 64-bit binary for esbuild, a JavaScript bundler.",
55
"repository": "https://github.com/evanw/esbuild",
66
"license": "MIT",

npm/esbuild-darwin-64/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "esbuild-darwin-64",
3-
"version": "0.14.54",
3+
"version": "0.15.0",
44
"description": "The macOS 64-bit binary for esbuild, a JavaScript bundler.",
55
"repository": "https://github.com/evanw/esbuild",
66
"license": "MIT",

npm/esbuild-darwin-arm64/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "esbuild-darwin-arm64",
3-
"version": "0.14.54",
3+
"version": "0.15.0",
44
"description": "The macOS ARM 64-bit binary for esbuild, a JavaScript bundler.",
55
"repository": "https://github.com/evanw/esbuild",
66
"license": "MIT",

npm/esbuild-freebsd-64/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "esbuild-freebsd-64",
3-
"version": "0.14.54",
3+
"version": "0.15.0",
44
"description": "The FreeBSD 64-bit binary for esbuild, a JavaScript bundler.",
55
"repository": "https://github.com/evanw/esbuild",
66
"license": "MIT",

npm/esbuild-freebsd-arm64/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "esbuild-freebsd-arm64",
3-
"version": "0.14.54",
3+
"version": "0.15.0",
44
"description": "The FreeBSD ARM 64-bit binary for esbuild, a JavaScript bundler.",
55
"repository": "https://github.com/evanw/esbuild",
66
"license": "MIT",

npm/esbuild-linux-32/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "esbuild-linux-32",
3-
"version": "0.14.54",
3+
"version": "0.15.0",
44
"description": "The Linux 32-bit binary for esbuild, a JavaScript bundler.",
55
"repository": "https://github.com/evanw/esbuild",
66
"license": "MIT",

npm/esbuild-linux-64/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "esbuild-linux-64",
3-
"version": "0.14.54",
3+
"version": "0.15.0",
44
"description": "The Linux 64-bit binary for esbuild, a JavaScript bundler.",
55
"repository": "https://github.com/evanw/esbuild",
66
"license": "MIT",

npm/esbuild-linux-arm/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "esbuild-linux-arm",
3-
"version": "0.14.54",
3+
"version": "0.15.0",
44
"description": "The Linux ARM binary for esbuild, a JavaScript bundler.",
55
"repository": "https://github.com/evanw/esbuild",
66
"license": "MIT",

npm/esbuild-linux-arm64/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "esbuild-linux-arm64",
3-
"version": "0.14.54",
3+
"version": "0.15.0",
44
"description": "The Linux ARM 64-bit binary for esbuild, a JavaScript bundler.",
55
"repository": "https://github.com/evanw/esbuild",
66
"license": "MIT",

npm/esbuild-linux-mips64le/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "esbuild-linux-mips64le",
3-
"version": "0.14.54",
3+
"version": "0.15.0",
44
"description": "The Linux MIPS 64-bit Little Endian binary for esbuild, a JavaScript bundler.",
55
"repository": "https://github.com/evanw/esbuild",
66
"license": "MIT",

npm/esbuild-linux-ppc64le/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "esbuild-linux-ppc64le",
3-
"version": "0.14.54",
3+
"version": "0.15.0",
44
"description": "The Linux PowerPC 64-bit Little Endian binary for esbuild, a JavaScript bundler.",
55
"repository": "https://github.com/evanw/esbuild",
66
"license": "MIT",

npm/esbuild-linux-riscv64/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "esbuild-linux-riscv64",
3-
"version": "0.14.54",
3+
"version": "0.15.0",
44
"description": "The Linux RISC-V 64-bit binary for esbuild, a JavaScript bundler.",
55
"repository": "https://github.com/evanw/esbuild",
66
"license": "MIT",

npm/esbuild-linux-s390x/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "esbuild-linux-s390x",
3-
"version": "0.14.54",
3+
"version": "0.15.0",
44
"description": "The Linux IBM Z 64-bit Big Endian binary for esbuild, a JavaScript bundler.",
55
"repository": "https://github.com/evanw/esbuild",
66
"license": "MIT",

npm/esbuild-netbsd-64/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "esbuild-netbsd-64",
3-
"version": "0.14.54",
3+
"version": "0.15.0",
44
"description": "The NetBSD AMD64 binary for esbuild, a JavaScript bundler.",
55
"repository": "https://github.com/evanw/esbuild",
66
"license": "MIT",

npm/esbuild-openbsd-64/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "esbuild-openbsd-64",
3-
"version": "0.14.54",
3+
"version": "0.15.0",
44
"description": "The OpenBSD 64-bit binary for esbuild, a JavaScript bundler.",
55
"repository": "https://github.com/evanw/esbuild",
66
"license": "MIT",

npm/esbuild-sunos-64/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "esbuild-sunos-64",
3-
"version": "0.14.54",
3+
"version": "0.15.0",
44
"description": "The illumos 64-bit binary for esbuild, a JavaScript bundler.",
55
"repository": "https://github.com/evanw/esbuild",
66
"license": "MIT",

npm/esbuild-wasm/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "esbuild-wasm",
3-
"version": "0.14.54",
3+
"version": "0.15.0",
44
"description": "The cross-platform WebAssembly binary for esbuild, a JavaScript bundler.",
55
"repository": "https://github.com/evanw/esbuild",
66
"license": "MIT",

npm/esbuild-windows-32/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "esbuild-windows-32",
3-
"version": "0.14.54",
3+
"version": "0.15.0",
44
"description": "The Windows 32-bit binary for esbuild, a JavaScript bundler.",
55
"repository": "https://github.com/evanw/esbuild",
66
"license": "MIT",

npm/esbuild-windows-64/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "esbuild-windows-64",
3-
"version": "0.14.54",
3+
"version": "0.15.0",
44
"description": "The Windows 64-bit binary for esbuild, a JavaScript bundler.",
55
"repository": "https://github.com/evanw/esbuild",
66
"license": "MIT",

npm/esbuild-windows-arm64/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "esbuild-windows-arm64",
3-
"version": "0.14.54",
3+
"version": "0.15.0",
44
"description": "The Windows ARM 64-bit binary for esbuild, a JavaScript bundler.",
55
"repository": "https://github.com/evanw/esbuild",
66
"license": "MIT",

npm/esbuild/package.json

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "esbuild",
3-
"version": "0.14.54",
3+
"version": "0.15.0",
44
"description": "An extremely fast JavaScript and CSS bundler and minifier.",
55
"repository": "https://github.com/evanw/esbuild",
66
"scripts": {
@@ -15,27 +15,27 @@
1515
"esbuild": "bin/esbuild"
1616
},
1717
"optionalDependencies": {
18-
"@esbuild/linux-loong64": "0.14.54",
19-
"esbuild-android-64": "0.14.54",
20-
"esbuild-android-arm64": "0.14.54",
21-
"esbuild-darwin-64": "0.14.54",
22-
"esbuild-darwin-arm64": "0.14.54",
23-
"esbuild-freebsd-64": "0.14.54",
24-
"esbuild-freebsd-arm64": "0.14.54",
25-
"esbuild-linux-32": "0.14.54",
26-
"esbuild-linux-64": "0.14.54",
27-
"esbuild-linux-arm": "0.14.54",
28-
"esbuild-linux-arm64": "0.14.54",
29-
"esbuild-linux-mips64le": "0.14.54",
30-
"esbuild-linux-ppc64le": "0.14.54",
31-
"esbuild-linux-riscv64": "0.14.54",
32-
"esbuild-linux-s390x": "0.14.54",
33-
"esbuild-netbsd-64": "0.14.54",
34-
"esbuild-openbsd-64": "0.14.54",
35-
"esbuild-sunos-64": "0.14.54",
36-
"esbuild-windows-32": "0.14.54",
37-
"esbuild-windows-64": "0.14.54",
38-
"esbuild-windows-arm64": "0.14.54"
18+
"@esbuild/linux-loong64": "0.15.0",
19+
"esbuild-android-64": "0.15.0",
20+
"esbuild-android-arm64": "0.15.0",
21+
"esbuild-darwin-64": "0.15.0",
22+
"esbuild-darwin-arm64": "0.15.0",
23+
"esbuild-freebsd-64": "0.15.0",
24+
"esbuild-freebsd-arm64": "0.15.0",
25+
"esbuild-linux-32": "0.15.0",
26+
"esbuild-linux-64": "0.15.0",
27+
"esbuild-linux-arm": "0.15.0",
28+
"esbuild-linux-arm64": "0.15.0",
29+
"esbuild-linux-mips64le": "0.15.0",
30+
"esbuild-linux-ppc64le": "0.15.0",
31+
"esbuild-linux-riscv64": "0.15.0",
32+
"esbuild-linux-s390x": "0.15.0",
33+
"esbuild-netbsd-64": "0.15.0",
34+
"esbuild-openbsd-64": "0.15.0",
35+
"esbuild-sunos-64": "0.15.0",
36+
"esbuild-windows-32": "0.15.0",
37+
"esbuild-windows-64": "0.15.0",
38+
"esbuild-windows-arm64": "0.15.0"
3939
},
4040
"license": "MIT"
4141
}

version.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.14.54
1+
0.15.0

0 commit comments

Comments
 (0)