From c6da2c3aa2b1321be3fdacd1e53566c5f24ee702 Mon Sep 17 00:00:00 2001 From: Evan Wallace Date: Mon, 6 May 2024 22:51:35 -0400 Subject: [PATCH] publish 0.21.0 to npm --- CHANGELOG.md | 6 ++- cmd/esbuild/version.go | 2 +- npm/@esbuild/aix-ppc64/package.json | 2 +- npm/@esbuild/android-arm/package.json | 2 +- npm/@esbuild/android-arm64/package.json | 2 +- npm/@esbuild/android-x64/package.json | 2 +- npm/@esbuild/darwin-arm64/package.json | 2 +- npm/@esbuild/darwin-x64/package.json | 2 +- npm/@esbuild/freebsd-arm64/package.json | 2 +- npm/@esbuild/freebsd-x64/package.json | 2 +- npm/@esbuild/linux-arm/package.json | 2 +- npm/@esbuild/linux-arm64/package.json | 2 +- npm/@esbuild/linux-ia32/package.json | 2 +- npm/@esbuild/linux-loong64/package.json | 2 +- npm/@esbuild/linux-mips64el/package.json | 2 +- npm/@esbuild/linux-ppc64/package.json | 2 +- npm/@esbuild/linux-riscv64/package.json | 2 +- npm/@esbuild/linux-s390x/package.json | 2 +- npm/@esbuild/linux-x64/package.json | 2 +- npm/@esbuild/netbsd-x64/package.json | 2 +- npm/@esbuild/openbsd-x64/package.json | 2 +- npm/@esbuild/sunos-x64/package.json | 2 +- npm/@esbuild/win32-arm64/package.json | 2 +- npm/@esbuild/win32-ia32/package.json | 2 +- npm/@esbuild/win32-x64/package.json | 2 +- npm/esbuild-wasm/package.json | 2 +- npm/esbuild/package.json | 48 ++++++++++++------------ version.txt | 2 +- 28 files changed, 54 insertions(+), 52 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b40d407af88..f9190626a22 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,10 +1,12 @@ # Changelog -## Unreleased +## 0.21.0 + +This release doesn't contain any deliberately-breaking changes. However, it contains a very complex new feature and while all of esbuild's tests pass, I would not be surprised if an important edge case turns out to be broken. So I'm releasing this as a breaking change release to avoid causing any trouble. As usual, make sure to test your code when you upgrade. * Implement the JavaScript decorators proposal ([#104](https://github.com/evanw/esbuild/issues/104)) - With this release, esbuild now contains an implementation of the upcoming [JavaScript decorators proposal](https://github.com/tc39/proposal-decorators). This is the same feature that shipped in [TypeScript 5.0](https://devblogs.microsoft.com/typescript/announcing-typescript-5-0/#decorators). You can read more about them in that blog post and in this other (now slightly outdated) extensive blog post here: https://2ality.com/2022/10/javascript-decorators.html. Here's a quick example: + With this release, esbuild now contains an implementation of the upcoming [JavaScript decorators proposal](https://github.com/tc39/proposal-decorators). This is the same feature that shipped in [TypeScript 5.0](https://devblogs.microsoft.com/typescript/announcing-typescript-5-0/#decorators) and has been highly-requested on esbuild's issue tracker. You can read more about them in that blog post and in this other (now slightly outdated) extensive blog post here: https://2ality.com/2022/10/javascript-decorators.html. Here's a quick example: ```js const log = (fn, context) => function() { diff --git a/cmd/esbuild/version.go b/cmd/esbuild/version.go index 949573d6f70..94b1efbb712 100644 --- a/cmd/esbuild/version.go +++ b/cmd/esbuild/version.go @@ -1,3 +1,3 @@ package main -const esbuildVersion = "0.20.2" +const esbuildVersion = "0.21.0" diff --git a/npm/@esbuild/aix-ppc64/package.json b/npm/@esbuild/aix-ppc64/package.json index 135c9f01da0..4f91dc5ec8b 100644 --- a/npm/@esbuild/aix-ppc64/package.json +++ b/npm/@esbuild/aix-ppc64/package.json @@ -1,6 +1,6 @@ { "name": "@esbuild/aix-ppc64", - "version": "0.20.2", + "version": "0.21.0", "description": "The IBM AIX PowerPC 64-bit binary for esbuild, a JavaScript bundler.", "repository": { "type": "git", diff --git a/npm/@esbuild/android-arm/package.json b/npm/@esbuild/android-arm/package.json index 2496aee89c8..842e98d4b2c 100644 --- a/npm/@esbuild/android-arm/package.json +++ b/npm/@esbuild/android-arm/package.json @@ -1,6 +1,6 @@ { "name": "@esbuild/android-arm", - "version": "0.20.2", + "version": "0.21.0", "description": "A WebAssembly shim for esbuild on Android ARM.", "repository": { "type": "git", diff --git a/npm/@esbuild/android-arm64/package.json b/npm/@esbuild/android-arm64/package.json index ecaac067a64..1a6fae267ff 100644 --- a/npm/@esbuild/android-arm64/package.json +++ b/npm/@esbuild/android-arm64/package.json @@ -1,6 +1,6 @@ { "name": "@esbuild/android-arm64", - "version": "0.20.2", + "version": "0.21.0", "description": "The Android ARM 64-bit binary for esbuild, a JavaScript bundler.", "repository": { "type": "git", diff --git a/npm/@esbuild/android-x64/package.json b/npm/@esbuild/android-x64/package.json index aa2167b5719..a8f58e5528f 100644 --- a/npm/@esbuild/android-x64/package.json +++ b/npm/@esbuild/android-x64/package.json @@ -1,6 +1,6 @@ { "name": "@esbuild/android-x64", - "version": "0.20.2", + "version": "0.21.0", "description": "A WebAssembly shim for esbuild on Android x64.", "repository": "https://github.com/evanw/esbuild", "license": "MIT", diff --git a/npm/@esbuild/darwin-arm64/package.json b/npm/@esbuild/darwin-arm64/package.json index 9299e1f95dc..23db271cd67 100644 --- a/npm/@esbuild/darwin-arm64/package.json +++ b/npm/@esbuild/darwin-arm64/package.json @@ -1,6 +1,6 @@ { "name": "@esbuild/darwin-arm64", - "version": "0.20.2", + "version": "0.21.0", "description": "The macOS ARM 64-bit binary for esbuild, a JavaScript bundler.", "repository": { "type": "git", diff --git a/npm/@esbuild/darwin-x64/package.json b/npm/@esbuild/darwin-x64/package.json index 63a2fa90a71..9f1ae2233eb 100644 --- a/npm/@esbuild/darwin-x64/package.json +++ b/npm/@esbuild/darwin-x64/package.json @@ -1,6 +1,6 @@ { "name": "@esbuild/darwin-x64", - "version": "0.20.2", + "version": "0.21.0", "description": "The macOS 64-bit binary for esbuild, a JavaScript bundler.", "repository": { "type": "git", diff --git a/npm/@esbuild/freebsd-arm64/package.json b/npm/@esbuild/freebsd-arm64/package.json index be85eabd937..cea42f59b14 100644 --- a/npm/@esbuild/freebsd-arm64/package.json +++ b/npm/@esbuild/freebsd-arm64/package.json @@ -1,6 +1,6 @@ { "name": "@esbuild/freebsd-arm64", - "version": "0.20.2", + "version": "0.21.0", "description": "The FreeBSD ARM 64-bit binary for esbuild, a JavaScript bundler.", "repository": { "type": "git", diff --git a/npm/@esbuild/freebsd-x64/package.json b/npm/@esbuild/freebsd-x64/package.json index c4ed389c6e6..0e2d8a81132 100644 --- a/npm/@esbuild/freebsd-x64/package.json +++ b/npm/@esbuild/freebsd-x64/package.json @@ -1,6 +1,6 @@ { "name": "@esbuild/freebsd-x64", - "version": "0.20.2", + "version": "0.21.0", "description": "The FreeBSD 64-bit binary for esbuild, a JavaScript bundler.", "repository": { "type": "git", diff --git a/npm/@esbuild/linux-arm/package.json b/npm/@esbuild/linux-arm/package.json index 73ea82fa04d..33c12945da0 100644 --- a/npm/@esbuild/linux-arm/package.json +++ b/npm/@esbuild/linux-arm/package.json @@ -1,6 +1,6 @@ { "name": "@esbuild/linux-arm", - "version": "0.20.2", + "version": "0.21.0", "description": "The Linux ARM binary for esbuild, a JavaScript bundler.", "repository": { "type": "git", diff --git a/npm/@esbuild/linux-arm64/package.json b/npm/@esbuild/linux-arm64/package.json index e19688c4305..7e7c72f8424 100644 --- a/npm/@esbuild/linux-arm64/package.json +++ b/npm/@esbuild/linux-arm64/package.json @@ -1,6 +1,6 @@ { "name": "@esbuild/linux-arm64", - "version": "0.20.2", + "version": "0.21.0", "description": "The Linux ARM 64-bit binary for esbuild, a JavaScript bundler.", "repository": { "type": "git", diff --git a/npm/@esbuild/linux-ia32/package.json b/npm/@esbuild/linux-ia32/package.json index c55854316fa..f27b07d6d5a 100644 --- a/npm/@esbuild/linux-ia32/package.json +++ b/npm/@esbuild/linux-ia32/package.json @@ -1,6 +1,6 @@ { "name": "@esbuild/linux-ia32", - "version": "0.20.2", + "version": "0.21.0", "description": "The Linux 32-bit binary for esbuild, a JavaScript bundler.", "repository": { "type": "git", diff --git a/npm/@esbuild/linux-loong64/package.json b/npm/@esbuild/linux-loong64/package.json index f4b0905d483..445c0d13b0b 100644 --- a/npm/@esbuild/linux-loong64/package.json +++ b/npm/@esbuild/linux-loong64/package.json @@ -1,6 +1,6 @@ { "name": "@esbuild/linux-loong64", - "version": "0.20.2", + "version": "0.21.0", "description": "The Linux LoongArch 64-bit binary for esbuild, a JavaScript bundler.", "repository": { "type": "git", diff --git a/npm/@esbuild/linux-mips64el/package.json b/npm/@esbuild/linux-mips64el/package.json index afe314f5473..feb9c34d19b 100644 --- a/npm/@esbuild/linux-mips64el/package.json +++ b/npm/@esbuild/linux-mips64el/package.json @@ -1,6 +1,6 @@ { "name": "@esbuild/linux-mips64el", - "version": "0.20.2", + "version": "0.21.0", "description": "The Linux MIPS 64-bit Little Endian binary for esbuild, a JavaScript bundler.", "repository": { "type": "git", diff --git a/npm/@esbuild/linux-ppc64/package.json b/npm/@esbuild/linux-ppc64/package.json index 9548d7839e6..a443bfc2ed2 100644 --- a/npm/@esbuild/linux-ppc64/package.json +++ b/npm/@esbuild/linux-ppc64/package.json @@ -1,6 +1,6 @@ { "name": "@esbuild/linux-ppc64", - "version": "0.20.2", + "version": "0.21.0", "description": "The Linux PowerPC 64-bit Little Endian binary for esbuild, a JavaScript bundler.", "repository": { "type": "git", diff --git a/npm/@esbuild/linux-riscv64/package.json b/npm/@esbuild/linux-riscv64/package.json index 5ef93aec64f..f1d093713ac 100644 --- a/npm/@esbuild/linux-riscv64/package.json +++ b/npm/@esbuild/linux-riscv64/package.json @@ -1,6 +1,6 @@ { "name": "@esbuild/linux-riscv64", - "version": "0.20.2", + "version": "0.21.0", "description": "The Linux RISC-V 64-bit binary for esbuild, a JavaScript bundler.", "repository": { "type": "git", diff --git a/npm/@esbuild/linux-s390x/package.json b/npm/@esbuild/linux-s390x/package.json index 7465bb39851..040c367ab4b 100644 --- a/npm/@esbuild/linux-s390x/package.json +++ b/npm/@esbuild/linux-s390x/package.json @@ -1,6 +1,6 @@ { "name": "@esbuild/linux-s390x", - "version": "0.20.2", + "version": "0.21.0", "description": "The Linux IBM Z 64-bit Big Endian binary for esbuild, a JavaScript bundler.", "repository": { "type": "git", diff --git a/npm/@esbuild/linux-x64/package.json b/npm/@esbuild/linux-x64/package.json index 4140d1d5207..097a63630a9 100644 --- a/npm/@esbuild/linux-x64/package.json +++ b/npm/@esbuild/linux-x64/package.json @@ -1,6 +1,6 @@ { "name": "@esbuild/linux-x64", - "version": "0.20.2", + "version": "0.21.0", "description": "The Linux 64-bit binary for esbuild, a JavaScript bundler.", "repository": { "type": "git", diff --git a/npm/@esbuild/netbsd-x64/package.json b/npm/@esbuild/netbsd-x64/package.json index c8275b7e807..c7a09f72c0c 100644 --- a/npm/@esbuild/netbsd-x64/package.json +++ b/npm/@esbuild/netbsd-x64/package.json @@ -1,6 +1,6 @@ { "name": "@esbuild/netbsd-x64", - "version": "0.20.2", + "version": "0.21.0", "description": "The NetBSD AMD64 binary for esbuild, a JavaScript bundler.", "repository": { "type": "git", diff --git a/npm/@esbuild/openbsd-x64/package.json b/npm/@esbuild/openbsd-x64/package.json index b29ef8276e1..bfff96592f9 100644 --- a/npm/@esbuild/openbsd-x64/package.json +++ b/npm/@esbuild/openbsd-x64/package.json @@ -1,6 +1,6 @@ { "name": "@esbuild/openbsd-x64", - "version": "0.20.2", + "version": "0.21.0", "description": "The OpenBSD 64-bit binary for esbuild, a JavaScript bundler.", "repository": { "type": "git", diff --git a/npm/@esbuild/sunos-x64/package.json b/npm/@esbuild/sunos-x64/package.json index c323c85428e..0c3f80793f5 100644 --- a/npm/@esbuild/sunos-x64/package.json +++ b/npm/@esbuild/sunos-x64/package.json @@ -1,6 +1,6 @@ { "name": "@esbuild/sunos-x64", - "version": "0.20.2", + "version": "0.21.0", "description": "The illumos 64-bit binary for esbuild, a JavaScript bundler.", "repository": { "type": "git", diff --git a/npm/@esbuild/win32-arm64/package.json b/npm/@esbuild/win32-arm64/package.json index a65b4879931..4c65621df84 100644 --- a/npm/@esbuild/win32-arm64/package.json +++ b/npm/@esbuild/win32-arm64/package.json @@ -1,6 +1,6 @@ { "name": "@esbuild/win32-arm64", - "version": "0.20.2", + "version": "0.21.0", "description": "The Windows ARM 64-bit binary for esbuild, a JavaScript bundler.", "repository": { "type": "git", diff --git a/npm/@esbuild/win32-ia32/package.json b/npm/@esbuild/win32-ia32/package.json index 1c78bc85080..a2c2dbb2315 100644 --- a/npm/@esbuild/win32-ia32/package.json +++ b/npm/@esbuild/win32-ia32/package.json @@ -1,6 +1,6 @@ { "name": "@esbuild/win32-ia32", - "version": "0.20.2", + "version": "0.21.0", "description": "The Windows 32-bit binary for esbuild, a JavaScript bundler.", "repository": { "type": "git", diff --git a/npm/@esbuild/win32-x64/package.json b/npm/@esbuild/win32-x64/package.json index 194dfae6b33..b827dd82764 100644 --- a/npm/@esbuild/win32-x64/package.json +++ b/npm/@esbuild/win32-x64/package.json @@ -1,6 +1,6 @@ { "name": "@esbuild/win32-x64", - "version": "0.20.2", + "version": "0.21.0", "description": "The Windows 64-bit binary for esbuild, a JavaScript bundler.", "repository": { "type": "git", diff --git a/npm/esbuild-wasm/package.json b/npm/esbuild-wasm/package.json index 71556b5a148..8806c338934 100644 --- a/npm/esbuild-wasm/package.json +++ b/npm/esbuild-wasm/package.json @@ -1,6 +1,6 @@ { "name": "esbuild-wasm", - "version": "0.20.2", + "version": "0.21.0", "description": "The cross-platform WebAssembly binary for esbuild, a JavaScript bundler.", "repository": { "type": "git", diff --git a/npm/esbuild/package.json b/npm/esbuild/package.json index c3da5a8a11b..6f50788b96b 100644 --- a/npm/esbuild/package.json +++ b/npm/esbuild/package.json @@ -1,6 +1,6 @@ { "name": "esbuild", - "version": "0.20.2", + "version": "0.21.0", "description": "An extremely fast JavaScript and CSS bundler and minifier.", "repository": { "type": "git", @@ -18,29 +18,29 @@ "esbuild": "bin/esbuild" }, "optionalDependencies": { - "@esbuild/aix-ppc64": "0.20.2", - "@esbuild/android-arm": "0.20.2", - "@esbuild/android-arm64": "0.20.2", - "@esbuild/android-x64": "0.20.2", - "@esbuild/darwin-arm64": "0.20.2", - "@esbuild/darwin-x64": "0.20.2", - "@esbuild/freebsd-arm64": "0.20.2", - "@esbuild/freebsd-x64": "0.20.2", - "@esbuild/linux-arm": "0.20.2", - "@esbuild/linux-arm64": "0.20.2", - "@esbuild/linux-ia32": "0.20.2", - "@esbuild/linux-loong64": "0.20.2", - "@esbuild/linux-mips64el": "0.20.2", - "@esbuild/linux-ppc64": "0.20.2", - "@esbuild/linux-riscv64": "0.20.2", - "@esbuild/linux-s390x": "0.20.2", - "@esbuild/linux-x64": "0.20.2", - "@esbuild/netbsd-x64": "0.20.2", - "@esbuild/openbsd-x64": "0.20.2", - "@esbuild/sunos-x64": "0.20.2", - "@esbuild/win32-arm64": "0.20.2", - "@esbuild/win32-ia32": "0.20.2", - "@esbuild/win32-x64": "0.20.2" + "@esbuild/aix-ppc64": "0.21.0", + "@esbuild/android-arm": "0.21.0", + "@esbuild/android-arm64": "0.21.0", + "@esbuild/android-x64": "0.21.0", + "@esbuild/darwin-arm64": "0.21.0", + "@esbuild/darwin-x64": "0.21.0", + "@esbuild/freebsd-arm64": "0.21.0", + "@esbuild/freebsd-x64": "0.21.0", + "@esbuild/linux-arm": "0.21.0", + "@esbuild/linux-arm64": "0.21.0", + "@esbuild/linux-ia32": "0.21.0", + "@esbuild/linux-loong64": "0.21.0", + "@esbuild/linux-mips64el": "0.21.0", + "@esbuild/linux-ppc64": "0.21.0", + "@esbuild/linux-riscv64": "0.21.0", + "@esbuild/linux-s390x": "0.21.0", + "@esbuild/linux-x64": "0.21.0", + "@esbuild/netbsd-x64": "0.21.0", + "@esbuild/openbsd-x64": "0.21.0", + "@esbuild/sunos-x64": "0.21.0", + "@esbuild/win32-arm64": "0.21.0", + "@esbuild/win32-ia32": "0.21.0", + "@esbuild/win32-x64": "0.21.0" }, "license": "MIT" } diff --git a/version.txt b/version.txt index 727d97b9bb2..885415662ff 100644 --- a/version.txt +++ b/version.txt @@ -1 +1 @@ -0.20.2 +0.21.0