diff --git a/CHANGELOG.md b/CHANGELOG.md index d8bd75516..cf2ab7c0a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,13 @@ # Change Log +## v115 + +- Return JavaScript modules for `?module` query with `wasm` files +- Fix types transformer (close #581) +- Fix incorrect named import of cjs modules (close #583) +- Fix sumodule path resolving (close #584) +- Upgrade `@types/node` to 18 + ## v114 - Add `?conditions` query as esbuild option diff --git a/README.md b/README.md index 9c95bdc90..0b9492531 100644 --- a/README.md +++ b/README.md @@ -71,8 +71,8 @@ Import maps supports [**trailing slash**](https://github.com/WICG/import-maps#pa ```json { "imports": { - "react-dom": "https://esm.sh/react-dom@18.2.0?pin=v114&dev", - "react-dom/": "https://esm.sh/react-dom@18.2.0&pin=v114&dev/", + "react-dom": "https://esm.sh/react-dom@18.2.0?pin=v115&dev", + "react-dom/": "https://esm.sh/react-dom@18.2.0&pin=v115&dev/", } } ``` @@ -246,9 +246,9 @@ To ensure stable and consistent behavior, you may want to pin the build version The `?pin` query allows you to specify a specific build version of a module, which is an **immutable** cached version stored on the esm.sh CDN. ```javascript -import React from "https://esm.sh/react-dom?pin=v114" +import React from "https://esm.sh/react-dom?pin=v115" // or use version prefix -import React from "https://esm.sh/v114/react-dom" +import React from "https://esm.sh/v115/react-dom" ``` By using the `?pin` query in the import statement, you can rest assured that the version of the module you're using will not change, even if updates are pushed to the esm.sh server. This helps ensure the stability and reliability of your application. diff --git a/server/consts.go b/server/consts.go index 4206958c1..cc0295f81 100644 --- a/server/consts.go +++ b/server/consts.go @@ -2,7 +2,7 @@ package server const ( // esm.sh build version - VERSION = 114 + VERSION = 115 // esm.sh stable build version, used for UI libraries like react, to make sure the runtime is single copy // change this carefully STABLE_VERSION = 112 @@ -17,8 +17,8 @@ const ( // fix some package versions var fixedPkgVersions = map[string]string{ - "@types/react@17": "17.0.56", - "@types/react@18": "18.0.33", + "@types/react@17": "17.0.57", + "@types/react@18": "18.0.34", "isomorphic-ws@4": "5.0.0", }