Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Update version for release (pre) #5243

Merged
merged 1 commit into from
Jan 25, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 14 additions & 1 deletion .changeset/pre.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,18 @@
"@remix-run/testing": "1.11.1",
"@remix-run/vercel": "1.11.1"
},
"changesets": []
"changesets": [
"afraid-hounds-join",
"breezy-dancers-lie",
"flat-cobras-beam",
"mean-clocks-bow",
"mighty-beans-judge",
"old-rice-drive",
"short-bobcats-switch",
"silent-cups-double",
"silver-rockets-remember",
"tender-turtles-wash",
"wild-foxes-wait",
"yellow-ligers-clean"
]
}
7 changes: 7 additions & 0 deletions packages/create-remix/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# `create-remix`

## 1.12.0-pre.0

### Patch Changes

- Updated dependencies:
- `@remix-run/[email protected]`

## 1.11.1

### Patch Changes
Expand Down
4 changes: 2 additions & 2 deletions packages/create-remix/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "create-remix",
"version": "1.11.1",
"version": "1.12.0-pre.0",
"description": "Create a new Remix app",
"homepage": "https://remix.run",
"bugs": {
Expand All @@ -17,7 +17,7 @@
"create-remix": "dist/cli.js"
},
"dependencies": {
"@remix-run/dev": "1.11.1"
"@remix-run/dev": "1.12.0-pre.0"
},
"engines": {
"node": ">=14"
Expand Down
7 changes: 7 additions & 0 deletions packages/remix-architect/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# `@remix-run/architect`

## 1.12.0-pre.0

### Patch Changes

- Updated dependencies:
- `@remix-run/[email protected]`

## 1.11.1

### Patch Changes
Expand Down
4 changes: 2 additions & 2 deletions packages/remix-architect/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@remix-run/architect",
"version": "1.11.1",
"version": "1.12.0-pre.0",
"description": "Architect server request handler for Remix",
"bugs": {
"url": "https://github.com/remix-run/remix/issues"
Expand All @@ -15,7 +15,7 @@
"typings": "dist/index.d.ts",
"dependencies": {
"@architect/functions": "^5.2.0",
"@remix-run/node": "1.11.1",
"@remix-run/node": "1.12.0-pre.0",
"@types/aws-lambda": "^8.10.82"
},
"devDependencies": {
Expand Down
7 changes: 7 additions & 0 deletions packages/remix-cloudflare-pages/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# `@remix-run/cloudflare-pages`

## 1.12.0-pre.0

### Patch Changes

- Updated dependencies:
- `@remix-run/[email protected]`

## 1.11.1

### Patch Changes
Expand Down
4 changes: 2 additions & 2 deletions packages/remix-cloudflare-pages/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@remix-run/cloudflare-pages",
"version": "1.11.1",
"version": "1.12.0-pre.0",
"description": "Cloudflare Pages request handler for Remix",
"bugs": {
"url": "https://github.com/remix-run/remix/issues"
Expand All @@ -15,7 +15,7 @@
"typings": "dist/index.d.ts",
"module": "dist/esm/index.js",
"dependencies": {
"@remix-run/cloudflare": "1.11.1"
"@remix-run/cloudflare": "1.12.0-pre.0"
},
"devDependencies": {
"@cloudflare/workers-types": "^3.4.0",
Expand Down
8 changes: 8 additions & 0 deletions packages/remix-cloudflare-workers/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# `@remix-run/cloudflare-workers`

## 1.12.0-pre.0

### Patch Changes

- Update Cloudflare Workers adapter's `RequestHandler` type to be in line with other adapters ([#4884](https://github.com/remix-run/remix/pull/4884))
- Updated dependencies:
- `@remix-run/[email protected]`

## 1.11.1

### Patch Changes
Expand Down
4 changes: 2 additions & 2 deletions packages/remix-cloudflare-workers/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@remix-run/cloudflare-workers",
"version": "1.11.1",
"version": "1.12.0-pre.0",
"description": "Cloudflare worker request handler for Remix",
"bugs": {
"url": "https://github.com/remix-run/remix/issues"
Expand All @@ -16,7 +16,7 @@
"module": "dist/esm/index.js",
"dependencies": {
"@cloudflare/kv-asset-handler": "^0.1.3",
"@remix-run/cloudflare": "1.11.1"
"@remix-run/cloudflare": "1.12.0-pre.0"
},
"devDependencies": {
"@cloudflare/workers-types": "^3.4.0"
Expand Down
13 changes: 13 additions & 0 deletions packages/remix-cloudflare/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,18 @@
# `@remix-run/cloudflare`

## 1.12.0-pre.0

### Minor Changes

- Rename `createCloudflareKVSessionStorage` to `createWorkersKVSessionStorage` ([#2542](https://github.com/remix-run/remix/pull/2542))

### Patch Changes

- Update Cloudflare Workers adapter's `RequestHandler` type to be in line with other adapters ([#4884](https://github.com/remix-run/remix/pull/4884))
- Export `JsonFunction` type in `@remix-run/cloudflare` and `@remix-run/deno` ([#5206](https://github.com/remix-run/remix/pull/5206))
- Updated dependencies:
- `@remix-run/[email protected]`

## 1.11.1

### Patch Changes
Expand Down
4 changes: 2 additions & 2 deletions packages/remix-cloudflare/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@remix-run/cloudflare",
"version": "1.11.1",
"version": "1.12.0-pre.0",
"description": "Cloudflare platform abstractions for Remix",
"bugs": {
"url": "https://github.com/remix-run/remix/issues"
Expand All @@ -15,7 +15,7 @@
"typings": "dist/index.d.ts",
"dependencies": {
"@cloudflare/kv-asset-handler": "^0.1.3",
"@remix-run/server-runtime": "1.11.1"
"@remix-run/server-runtime": "1.12.0-pre.0"
},
"devDependencies": {
"@cloudflare/workers-types": "^3.4.0"
Expand Down
7 changes: 7 additions & 0 deletions packages/remix-css-bundle/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# @remix-run/css-bundle

## 1.12.0-pre.0

### Patch Changes

- Updated dependencies:
- `@remix-run/[email protected]`

## 1.11.1

### Patch Changes
Expand Down
4 changes: 2 additions & 2 deletions packages/remix-css-bundle/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@remix-run/css-bundle",
"version": "1.11.1",
"version": "1.12.0-pre.0",
"description": "CSS bundle href when using CSS bundling features in Remix",
"homepage": "https://remix.run",
"bugs": {
Expand All @@ -20,6 +20,6 @@
"./dist/esm/server.js": "./dist/esm/browser.js"
},
"dependencies": {
"@remix-run/dev": "1.11.1"
"@remix-run/dev": "1.12.0-pre.0"
}
}
8 changes: 8 additions & 0 deletions packages/remix-deno/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# `@remix-run/deno`

## 1.12.0-pre.0

### Patch Changes

- Export `JsonFunction` type in `@remix-run/cloudflare` and `@remix-run/deno` ([#5206](https://github.com/remix-run/remix/pull/5206))
- Updated dependencies:
- `@remix-run/[email protected]`

## 1.11.1

### Patch Changes
Expand Down
4 changes: 2 additions & 2 deletions packages/remix-deno/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@remix-run/deno",
"version": "1.11.1",
"version": "1.12.0-pre.0",
"description": "Deno platform abstractions for Remix",
"homepage": "https://remix.run",
"main": "./index.ts",
Expand All @@ -15,7 +15,7 @@
"license": "MIT",
"sideEffects": false,
"dependencies": {
"@remix-run/server-runtime": "1.11.1",
"@remix-run/server-runtime": "1.12.0-pre.0",
"mime": "^3.0.0"
},
"engines": {
Expand Down
95 changes: 95 additions & 0 deletions packages/remix-dev/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,100 @@
# `@remix-run/dev`

## 1.12.0-pre.0

### Minor Changes

- # The new dev server ([#5133](https://github.com/remix-run/remix/pull/5133))

The new dev flow is to spin up the dev server _alongside_ your normal Remix app server:

```sh
# spin up the new dev server
remix dev

# spin up your app server in a separate tab or via `concurrently`
nodemon ./server.js
```

The dev server will build your app in dev mode and then rebuild whenever any app files change.
It will also wait for your app server to be "ready" (more on this later) before triggering a live reload in your browser.

## Benefits

- Navigations no longer wipe in-memory references (e.g. database connections, in-memory caches, etc...). That means no need to use `global` trick anymore.
- Supports _any_ app server, not just the Remix App Server.
- Automatically wires up the live reload port for you (no need for you to mess with env vars for that anymore)

## App server picks up changes

Use `nodemon` (or similar) so that your app server restarts and picks up changes after a rebuild finishes.

For example, you can use `wrangler --watch` for Cloudflare.

Alternatively, you can roll your own with `chokidar` (or similar) if you want to still use the `global` trick to persist in-memory stuff across rebuilds.

## Configure

To enable the new dev server with all defaults, set the `unstable_dev` future flag to `true`:

```js
// remix.config.js

module.exports = {
future: {
unstable_dev: true,
},
};
```

You can also set specific options:

```js
// remix.config.js

module.exports = {
future: {
unstable_dev: {
// Port to use for the dev server (i.e. the live reload websocket)
// Can be overridden by a CLI flag: `remix dev --port 3011`
// default: finds an empty port and uses that
port: 3010,

// Port for your running Remix app server
// Can be overridden by a CLI flag: `remix dev --app-server-port 3021`
// default: `3000`
appServerPort: 3020,

// Path to the Remix request handler in your app server
// Most app server will route all requests to the Remix request handler and will not need to set this option.
// If your app server _does_ route only certain request paths to the Remix request handler, then you'll need to set this.
// default: `""`
remixRequestHandlerPath: "/products",

// Milliseconds between "readiness" pings to your app server
// When a Remix rebuild finishes, the dev server will ping a special endpoint (`__REMIX_ASSETS_MANIFEST`)
// to check if your app server is serving up-to-date routes and assets.
// You can set this option to tune how frequently the dev server polls your app server.
// default: `50`
rebuildPollIntervalMs: 25,
},
},
};
```

### Patch Changes

- When running the dev server (current or `unstable_dev`), each rebuild wrote new files to `build/` and `public/build/`. ([#5223](https://github.com/remix-run/remix/pull/5223))
Since these files are not removed (unless the dev server crashes or is gracefully terminated),
thousands of files could accumulate as the dev server ran.
This causes performance issues and could be confusing.

Now, the dev server also cleans up the build directories whenever a rebuild starts.

- Updated dependencies:
- `@remix-run/[email protected]`
- `@remix-run/[email protected]`

## 1.11.1

### Patch Changes
Expand Down
8 changes: 4 additions & 4 deletions packages/remix-dev/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@remix-run/dev",
"version": "1.11.1",
"version": "1.12.0-pre.0",
"description": "Dev tools and CLI for Remix",
"homepage": "https://remix.run",
"bugs": {
Expand Down Expand Up @@ -29,7 +29,7 @@
"@babel/types": "^7.20.2",
"@esbuild-plugins/node-modules-polyfill": "^0.1.4",
"@npmcli/package-json": "^2.0.0",
"@remix-run/server-runtime": "1.11.1",
"@remix-run/server-runtime": "1.12.0-pre.0",
"@vanilla-extract/integration": "^6.0.2",
"arg": "^5.0.1",
"cacache": "^15.0.5",
Expand Down Expand Up @@ -70,7 +70,7 @@
"xdm": "^2.0.0"
},
"devDependencies": {
"@remix-run/serve": "1.11.1",
"@remix-run/serve": "1.12.0-pre.0",
"@types/cacache": "^15.0.0",
"@types/gunzip-maybe": "^1.4.0",
"@types/inquirer": "^8.2.0",
Expand All @@ -89,7 +89,7 @@
"type-fest": "^2.16.0"
},
"peerDependencies": {
"@remix-run/serve": "^1.11.1"
"@remix-run/serve": "^1.12.0-pre.0"
},
"peerDependenciesMeta": {
"@remix-run/serve": {
Expand Down
2 changes: 2 additions & 0 deletions packages/remix-eslint-config/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# `@remix-run/eslint-config`

## 1.12.0-pre.0

## 1.11.1

## 1.11.0
Expand Down
2 changes: 1 addition & 1 deletion packages/remix-eslint-config/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@remix-run/eslint-config",
"version": "1.11.1",
"version": "1.12.0-pre.0",
"description": "ESLint configuration for Remix projects",
"bugs": {
"url": "https://github.com/remix-run/remix/issues"
Expand Down
Loading