From ddd1fa69be3e6c6a8b2f18af8f8f5607106188db Mon Sep 17 00:00:00 2001 From: X Date: Mon, 26 Dec 2022 06:04:03 +0800 Subject: [PATCH] v100 --- CHANGELOG.md | 15 ++++++++++++++- README.md | 2 +- server/consts.go | 2 +- 3 files changed, 16 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index fba4410b..48b2bc02 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,9 +1,22 @@ # Change Log +## v100 + +- Improve self-hosting configuration. check [HOSTING.md](./HOSTING.md) for more details. +- Support `browser` field when it's an es6 module (close [#381](https://github.com/ije/esm.sh/issues/381)). +- Purge headers from unpkg.com to avoid repeated `Access-Control-Allow-Origin` header (close [#453](https://github.com/ije/esm.sh/issues/453)). +- Fix content compression (close [#460](https://github.com/ije/esm.sh/issues/460)). +- Fix alias export (close [#471](https://github.com/ije/esm.sh/issues/471)). +- Fix cycle importing (close [#464](https://github.com/ije/esm.sh/issues/464)). +- Fix scenarios where module/es2015 are shims (maps). +- Fix worker cors issue. +- Upgrade `esbuild` to **0.16.10**. +- Upgrade `deno/std` to **0.170.0**. + ## v99 - Improve CDN cache performance, now you can get faster response time of `.d.ts`, `.wasm` and other static files. -- Remove `?deps` purge (close [#422](https://github.com/ije/esm.sh/issues/420)) +- Remove `?deps` purge (close [#420](https://github.com/ije/esm.sh/issues/420)) - Remove `?export` query of sub build task - Upgrade `deno/std` to **0.165.0**. diff --git a/README.md b/README.md index 5df113e6..b6cdfbbe 100644 --- a/README.md +++ b/README.md @@ -212,7 +212,7 @@ import unescape from "https://esm.sh/lodash/unescape?no-dts" Since we update esm.sh server frequently, sometime we may break packages that work fine previously by mistake, the server will rebuild all modules when the patch pushed. To avoid this, you can **pin** the build version by the `?pin=BUILD_VERSON` query. This will give you an **immutable** cached module. ```javascript -import React from "https://esm.sh/react@17.0.2?pin=v99" +import React from "https://esm.sh/react@17.0.2?pin=v100" ``` ## Global CDN diff --git a/server/consts.go b/server/consts.go index f99086d3..dd934efe 100644 --- a/server/consts.go +++ b/server/consts.go @@ -2,7 +2,7 @@ package server const ( // esm.sh build version - VERSION = 99 + VERSION = 100 nodejsMinVersion = 16 denoStdVersion = "0.170.0" nodejsLatestLTS = "16.18.1"