Skip to content

Commit

Permalink
publish 0.21.0 to npm
Browse files Browse the repository at this point in the history
  • Loading branch information
evanw committed May 7, 2024
1 parent 4bc834c commit c6da2c3
Show file tree
Hide file tree
Showing 28 changed files with 54 additions and 52 deletions.
6 changes: 4 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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() {
Expand Down
2 changes: 1 addition & 1 deletion cmd/esbuild/version.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
package main

const esbuildVersion = "0.20.2"
const esbuildVersion = "0.21.0"
2 changes: 1 addition & 1 deletion npm/@esbuild/aix-ppc64/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
2 changes: 1 addition & 1 deletion npm/@esbuild/android-arm/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
2 changes: 1 addition & 1 deletion npm/@esbuild/android-arm64/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
2 changes: 1 addition & 1 deletion npm/@esbuild/android-x64/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
2 changes: 1 addition & 1 deletion npm/@esbuild/darwin-arm64/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
2 changes: 1 addition & 1 deletion npm/@esbuild/darwin-x64/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
2 changes: 1 addition & 1 deletion npm/@esbuild/freebsd-arm64/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
2 changes: 1 addition & 1 deletion npm/@esbuild/freebsd-x64/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
2 changes: 1 addition & 1 deletion npm/@esbuild/linux-arm/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
2 changes: 1 addition & 1 deletion npm/@esbuild/linux-arm64/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
2 changes: 1 addition & 1 deletion npm/@esbuild/linux-ia32/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
2 changes: 1 addition & 1 deletion npm/@esbuild/linux-loong64/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
2 changes: 1 addition & 1 deletion npm/@esbuild/linux-mips64el/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
2 changes: 1 addition & 1 deletion npm/@esbuild/linux-ppc64/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
2 changes: 1 addition & 1 deletion npm/@esbuild/linux-riscv64/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
2 changes: 1 addition & 1 deletion npm/@esbuild/linux-s390x/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
2 changes: 1 addition & 1 deletion npm/@esbuild/linux-x64/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
2 changes: 1 addition & 1 deletion npm/@esbuild/netbsd-x64/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
2 changes: 1 addition & 1 deletion npm/@esbuild/openbsd-x64/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
2 changes: 1 addition & 1 deletion npm/@esbuild/sunos-x64/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
2 changes: 1 addition & 1 deletion npm/@esbuild/win32-arm64/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
2 changes: 1 addition & 1 deletion npm/@esbuild/win32-ia32/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
2 changes: 1 addition & 1 deletion npm/@esbuild/win32-x64/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
2 changes: 1 addition & 1 deletion npm/esbuild-wasm/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
48 changes: 24 additions & 24 deletions npm/esbuild/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand All @@ -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"
}
2 changes: 1 addition & 1 deletion version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.20.2
0.21.0

0 comments on commit c6da2c3

Please sign in to comment.