Skip to content

Commit

Permalink
publish 0.20.0 to npm
Browse files Browse the repository at this point in the history
  • Loading branch information
evanw committed Jan 27, 2024
1 parent 0bccf08 commit 2af5ccf
Show file tree
Hide file tree
Showing 28 changed files with 56 additions and 52 deletions.
8 changes: 6 additions & 2 deletions CHANGELOG.md
@@ -1,10 +1,14 @@
# Changelog

## Unreleased
## 0.20.0

**This release deliberately contains backwards-incompatible changes.** To avoid automatically picking up releases like this, you should either be pinning the exact version of `esbuild` in your `package.json` file (recommended) or be using a version range syntax that only accepts patch upgrades such as `^0.19.0` or `~0.19.0`. See npm's documentation about [semver](https://docs.npmjs.com/cli/v6/using-npm/semver/) for more information.

This time there is only one breaking change, and it only matters for people using Deno. Deno tests that use esbuild will now fail unless you make the change described below.

* Work around API deprecations in Deno 1.40.x ([#3609](https://github.com/evanw/esbuild/issues/3609), [#3611](https://github.com/evanw/esbuild/pull/3611))

Deno 1.40.0 introduced run-time warnings about certain APIs that esbuild uses. With this release, esbuild will work around these run-time warnings by using newer APIs if they are present and falling back to the original APIs otherwise. This should avoid the warnings without breaking compatibility with older versions of Deno.
[Deno 1.40.0](https://deno.com/blog/v1.40) was just released and introduced run-time warnings about certain APIs that esbuild uses. With this release, esbuild will work around these run-time warnings by using newer APIs if they are present and falling back to the original APIs otherwise. This should avoid the warnings without breaking compatibility with older versions of Deno.

Unfortunately, doing this introduces a breaking change. The newer child process APIs lack a way to synchronously terminate esbuild's child process, so calling `esbuild.stop()` from within a Deno test is no longer sufficient to prevent Deno from failing a test that uses esbuild's API (Deno fails tests that create a child process without killing it before the test ends). To work around this, esbuild's `stop()` function has been changed to return a promise, and you now have to change `esbuild.stop()` to `await esbuild.stop()` in all of your Deno tests.

Expand Down
2 changes: 1 addition & 1 deletion cmd/esbuild/version.go
@@ -1,3 +1,3 @@
package main

const esbuildVersion = "0.19.12"
const esbuildVersion = "0.20.0"
2 changes: 1 addition & 1 deletion npm/@esbuild/aix-ppc64/package.json
@@ -1,6 +1,6 @@
{
"name": "@esbuild/aix-ppc64",
"version": "0.19.12",
"version": "0.20.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
@@ -1,6 +1,6 @@
{
"name": "@esbuild/android-arm",
"version": "0.19.12",
"version": "0.20.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
@@ -1,6 +1,6 @@
{
"name": "@esbuild/android-arm64",
"version": "0.19.12",
"version": "0.20.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
@@ -1,6 +1,6 @@
{
"name": "@esbuild/android-x64",
"version": "0.19.12",
"version": "0.20.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
@@ -1,6 +1,6 @@
{
"name": "@esbuild/darwin-arm64",
"version": "0.19.12",
"version": "0.20.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
@@ -1,6 +1,6 @@
{
"name": "@esbuild/darwin-x64",
"version": "0.19.12",
"version": "0.20.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
@@ -1,6 +1,6 @@
{
"name": "@esbuild/freebsd-arm64",
"version": "0.19.12",
"version": "0.20.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
@@ -1,6 +1,6 @@
{
"name": "@esbuild/freebsd-x64",
"version": "0.19.12",
"version": "0.20.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
@@ -1,6 +1,6 @@
{
"name": "@esbuild/linux-arm",
"version": "0.19.12",
"version": "0.20.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
@@ -1,6 +1,6 @@
{
"name": "@esbuild/linux-arm64",
"version": "0.19.12",
"version": "0.20.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
@@ -1,6 +1,6 @@
{
"name": "@esbuild/linux-ia32",
"version": "0.19.12",
"version": "0.20.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
@@ -1,6 +1,6 @@
{
"name": "@esbuild/linux-loong64",
"version": "0.19.12",
"version": "0.20.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
@@ -1,6 +1,6 @@
{
"name": "@esbuild/linux-mips64el",
"version": "0.19.12",
"version": "0.20.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
@@ -1,6 +1,6 @@
{
"name": "@esbuild/linux-ppc64",
"version": "0.19.12",
"version": "0.20.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
@@ -1,6 +1,6 @@
{
"name": "@esbuild/linux-riscv64",
"version": "0.19.12",
"version": "0.20.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
@@ -1,6 +1,6 @@
{
"name": "@esbuild/linux-s390x",
"version": "0.19.12",
"version": "0.20.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
@@ -1,6 +1,6 @@
{
"name": "@esbuild/linux-x64",
"version": "0.19.12",
"version": "0.20.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
@@ -1,6 +1,6 @@
{
"name": "@esbuild/netbsd-x64",
"version": "0.19.12",
"version": "0.20.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
@@ -1,6 +1,6 @@
{
"name": "@esbuild/openbsd-x64",
"version": "0.19.12",
"version": "0.20.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
@@ -1,6 +1,6 @@
{
"name": "@esbuild/sunos-x64",
"version": "0.19.12",
"version": "0.20.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
@@ -1,6 +1,6 @@
{
"name": "@esbuild/win32-arm64",
"version": "0.19.12",
"version": "0.20.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
@@ -1,6 +1,6 @@
{
"name": "@esbuild/win32-ia32",
"version": "0.19.12",
"version": "0.20.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
@@ -1,6 +1,6 @@
{
"name": "@esbuild/win32-x64",
"version": "0.19.12",
"version": "0.20.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
@@ -1,6 +1,6 @@
{
"name": "esbuild-wasm",
"version": "0.19.12",
"version": "0.20.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
@@ -1,6 +1,6 @@
{
"name": "esbuild",
"version": "0.19.12",
"version": "0.20.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.19.12",
"@esbuild/android-arm": "0.19.12",
"@esbuild/android-arm64": "0.19.12",
"@esbuild/android-x64": "0.19.12",
"@esbuild/darwin-arm64": "0.19.12",
"@esbuild/darwin-x64": "0.19.12",
"@esbuild/freebsd-arm64": "0.19.12",
"@esbuild/freebsd-x64": "0.19.12",
"@esbuild/linux-arm": "0.19.12",
"@esbuild/linux-arm64": "0.19.12",
"@esbuild/linux-ia32": "0.19.12",
"@esbuild/linux-loong64": "0.19.12",
"@esbuild/linux-mips64el": "0.19.12",
"@esbuild/linux-ppc64": "0.19.12",
"@esbuild/linux-riscv64": "0.19.12",
"@esbuild/linux-s390x": "0.19.12",
"@esbuild/linux-x64": "0.19.12",
"@esbuild/netbsd-x64": "0.19.12",
"@esbuild/openbsd-x64": "0.19.12",
"@esbuild/sunos-x64": "0.19.12",
"@esbuild/win32-arm64": "0.19.12",
"@esbuild/win32-ia32": "0.19.12",
"@esbuild/win32-x64": "0.19.12"
"@esbuild/aix-ppc64": "0.20.0",
"@esbuild/android-arm": "0.20.0",
"@esbuild/android-arm64": "0.20.0",
"@esbuild/android-x64": "0.20.0",
"@esbuild/darwin-arm64": "0.20.0",
"@esbuild/darwin-x64": "0.20.0",
"@esbuild/freebsd-arm64": "0.20.0",
"@esbuild/freebsd-x64": "0.20.0",
"@esbuild/linux-arm": "0.20.0",
"@esbuild/linux-arm64": "0.20.0",
"@esbuild/linux-ia32": "0.20.0",
"@esbuild/linux-loong64": "0.20.0",
"@esbuild/linux-mips64el": "0.20.0",
"@esbuild/linux-ppc64": "0.20.0",
"@esbuild/linux-riscv64": "0.20.0",
"@esbuild/linux-s390x": "0.20.0",
"@esbuild/linux-x64": "0.20.0",
"@esbuild/netbsd-x64": "0.20.0",
"@esbuild/openbsd-x64": "0.20.0",
"@esbuild/sunos-x64": "0.20.0",
"@esbuild/win32-arm64": "0.20.0",
"@esbuild/win32-ia32": "0.20.0",
"@esbuild/win32-x64": "0.20.0"
},
"license": "MIT"
}
2 changes: 1 addition & 1 deletion version.txt
@@ -1 +1 @@
0.19.12
0.20.0

0 comments on commit 2af5ccf

Please sign in to comment.