Skip to content

Commit

Permalink
v131
Browse files Browse the repository at this point in the history
  • Loading branch information
ije committed Aug 15, 2023
1 parent 49033fb commit 1bd7365
Show file tree
Hide file tree
Showing 13 changed files with 183 additions and 174 deletions.
2 changes: 1 addition & 1 deletion .github/docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
#######################################
FROM golang:1.20-alpine AS build-stage

ENV ESM_SH_VERSION v130
ENV ESM_SH_VERSION v131
ENV ESM_SH_GIT_URL https://github.com/esm-dev/esm.sh

RUN apk update && apk add --no-cache git
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/docker-push-stable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,4 +37,4 @@ jobs:
context: ./.github/docker
platforms: linux/amd64,linux/arm64
push: true
tags: ghcr.io/esm-dev/esm.sh:latest,ghcr.io/esm-dev/esm.sh:v130
tags: ghcr.io/esm-dev/esm.sh:latest,ghcr.io/esm-dev/esm.sh:v131
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# Changelog

## v131

- Add cache layer for the `/build` API
- Fix dts transformer resolver ignoring `*.mjs` url
- fix `?external` option ignoring sub-modules
- Use raw order of the `exports` in package.json (close #705)
- Redirect old build path (`.js`) to new build path (`.mjs`) (close #703)
- Upgrade esbuild to **0.19.2**

## v130

- esm-cjs-lexer: support minified UMD exports (#689)
Expand Down
4 changes: 2 additions & 2 deletions HOSTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ esm.sh provides an official docker image for deployment. You can pull the contai

```bash
docker pull ghcr.io/esm-dev/esm.sh # latest version
docker pull ghcr.io/esm-dev/esm.sh:v130 # specific version
docker pull ghcr.io/esm-dev/esm.sh:v131 # specific version
docker pull ghcr.io/esm-dev/esm.sh:dev # latest development version
```

Expand Down Expand Up @@ -112,5 +112,5 @@ More details check [esm-worker](./packages/esm-worker/README.md).
We also provide a server for [Deno](https://deno.land) which is powered by the [esm-worker](./packages/esm-worker/README.md).

```bash
deno run -A https://esm.sh/v130/server --port=8080
deno run -A https://esm.sh/v131/server --port=8080
```
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -258,8 +258,8 @@ package version.
```json
{
"imports": {
"react-dom": "https://esm.sh/[email protected]?pin=v130&dev",
"react-dom/": "https://esm.sh/[email protected]&pin=v130&dev/"
"react-dom": "https://esm.sh/[email protected]?pin=v131&dev",
"react-dom/": "https://esm.sh/[email protected]&pin=v131&dev/"
}
}
```
Expand Down Expand Up @@ -424,9 +424,9 @@ 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.

```js
import React from "https://esm.sh/react-dom?pin=v130";
import React from "https://esm.sh/react-dom?pin=v131";
// or use version prefix
import React from "https://esm.sh/v130/react-dom";
import React from "https://esm.sh/v131/react-dom";
```

By using the `?pin` query in the import statement, you can rest assured that the
Expand Down
2 changes: 1 addition & 1 deletion packages/esm-worker/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ all requests of esm.sh at the edge(earth).
## Installation

```bash
npm install esm-worker@^0.130.0
npm install esm-worker@^0.131.0
```

## Configuration
Expand Down
8 changes: 4 additions & 4 deletions packages/esm-worker/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "esm-worker",
"description": "A Cloudflare worker handles all requests of esm.sh at the edge(earth).",
"version": "0.130.4",
"version": "0.131.0",
"type": "module",
"module": "dist/index.js",
"types": "types/index.d.ts",
Expand All @@ -13,10 +13,10 @@
"types/index.d.ts"
],
"devDependencies": {
"@cloudflare/workers-types": "4.20230724.0",
"@cloudflare/workers-types": "4.20230814.0",
"@types/ua-parser-js": "0.7.36",
"compare-versions": "6.0.0",
"esbuild": "0.18.17",
"compare-versions": "6.1.0",
"esbuild": "0.19.2",
"ua-parser-js": "1.0.35"
},
"repository": "https://github.com/esm-dev/esm.sh",
Expand Down
Loading

0 comments on commit 1bd7365

Please sign in to comment.