-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: Update version for release (pre) (#5243)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
- Loading branch information
1 parent
62fd402
commit 686e20d
Showing
36 changed files
with
510 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.