|
1 | | -# Changelog |
| 1 | +# Server Changelog |
| 2 | + |
| 3 | +## v137 |
| 4 | + |
| 5 | +* Introduce `esm.sh/x` - ts/jsx/vue/svelte just works™️ in browser. |
| 6 | + ```html |
| 7 | + <!-- use build tools like Vite, Webpack, etc. --> |
| 8 | + <script type="module" src="app.tsx"></script> |
| 9 | + |
| 10 | + <!-- use esm.sh/x without build tools --> |
| 11 | + <script src="https://esm.sh/x" href="app.tsx"></script> |
| 12 | + ``` |
| 13 | +* Introduce date(`yyyy-mm-dd`) versioning |
| 14 | + ```js |
| 15 | + import * as myPackage from "https://esm.sh/my-package@2026-01-02"; |
| 16 | + ``` |
| 17 | +* Introduce `?meta` API that allows you to get the module build metadata. |
| 18 | + ``` |
| 19 | + $ curl https://esm.sh/react?meta |
| 20 | + { |
| 21 | + "name": "react", |
| 22 | + "version": "19.2.4", |
| 23 | + "module": "/react@19.2.4/es2022/react.mjs", |
| 24 | + "integrity": "sha384-xPv1wRGmRBj4tIrN16FDkSIeMntFCfG+8ptsnx5wqrM+0zp/oKtoyJ0QqCJAAeVm", |
| 25 | + "dts": "/@types/react@~19.2.9/index.d.ts", |
| 26 | + "exports": ["./jsx-runtime", "./jsx-dev-runtime", "./compiler-runtime"], |
| 27 | + } |
| 28 | + ``` |
| 29 | +* Other Changes: |
| 30 | + * Upgrade `esbuild` to 0.27.3 |
| 31 | + * Upgrade `unenv` to 2.0.0-rc.22 |
| 32 | + * Support import with `{ type: "json" }` (#1202) |
| 33 | + * Support import with `{ type: "css" }` (#1193) |
| 34 | + * Support `.d.cts` types (#987) |
| 35 | + * Support namespace-based external marking (#1188) |
| 36 | + * Optimize storage (#1260) |
| 37 | + * Remove unsafe `x-zone-id` and `x-npmrc` headers (#1235) |
| 38 | + * Ban urls with `/../` segments in path (#1271) |
| 39 | + * Reserve semantic version of dependencies (#1313) |
| 40 | + * Cache npm registry "not found" responses (#1297) |
| 41 | + * Add `npmBackupRegistry` config for rate limitation (#1296) |
| 42 | + * Fix sub-modules end with `.map` (#1311) |
| 43 | + * Fix tree-shaking with exports query (#1310) |
| 44 | + * Fix memory leak (#1157) |
| 45 | + * Fix S3 Storage signature with `/#/` path (#1022) |
| 46 | + * Fix forward build deps for Typescript types (#1244) |
| 47 | + * Fix `pkg.pr.new` redirects (#1204) |
| 48 | + * Fix SSRF (#1149) |
| 49 | + * Fix `*.css?module` XSS (#1237) |
| 50 | + * Fix dts_lexer: bufio.Scanner: token too long (#1139) |
| 51 | + * Fix cjs-module-lexer timeout (#1265) |
2 | 52 |
|
3 | 53 | ## v136 |
4 | 54 |
|
|
0 commit comments