-
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.
- Loading branch information
Showing
26 changed files
with
9 additions
and
437 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
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
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 was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"@remix-run/server-runtime": patch | ||
--- | ||
|
||
Fixed an issue where a loader's `Request` object reflected `method: "POST"` on document submissions |
This file was deleted.
Oops, something went wrong.
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,20 +1,5 @@ | ||
# `create-remix` | ||
|
||
## 1.9.0-pre.1 | ||
|
||
### Patch Changes | ||
|
||
- Update react-router ([`31bb30741`](https://github.com/remix-run/remix/commit/31bb307419f733d9cfd2c16e74890a075eac7682)) | ||
- Updated dependencies: | ||
- `@remix-run/[email protected]` | ||
|
||
## 1.9.0-pre.0 | ||
|
||
### Patch Changes | ||
|
||
- Updated dependencies: | ||
- `@remix-run/[email protected]` | ||
|
||
## 1.8.2 | ||
|
||
### 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,5 @@ | ||
# `@remix-run/architect` | ||
|
||
## 1.9.0-pre.1 | ||
|
||
### Patch Changes | ||
|
||
- Update react-router ([`31bb30741`](https://github.com/remix-run/remix/commit/31bb307419f733d9cfd2c16e74890a075eac7682)) | ||
- Updated dependencies: | ||
- `@remix-run/[email protected]` | ||
|
||
## 1.9.0-pre.0 | ||
|
||
### Patch Changes | ||
|
||
- Updated dependencies: | ||
- `@remix-run/[email protected]` | ||
|
||
## 1.8.2 | ||
|
||
### 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,5 @@ | ||
# `@remix-run/cloudflare-pages` | ||
|
||
## 1.9.0-pre.1 | ||
|
||
### Patch Changes | ||
|
||
- Update react-router ([`31bb30741`](https://github.com/remix-run/remix/commit/31bb307419f733d9cfd2c16e74890a075eac7682)) | ||
- Updated dependencies: | ||
- `@remix-run/[email protected]` | ||
|
||
## 1.9.0-pre.0 | ||
|
||
### Patch Changes | ||
|
||
- Updated dependencies: | ||
- `@remix-run/[email protected]` | ||
|
||
## 1.8.2 | ||
|
||
### 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,5 @@ | ||
# `@remix-run/cloudflare-workers` | ||
|
||
## 1.9.0-pre.1 | ||
|
||
### Patch Changes | ||
|
||
- Update react-router ([`31bb30741`](https://github.com/remix-run/remix/commit/31bb307419f733d9cfd2c16e74890a075eac7682)) | ||
- Updated dependencies: | ||
- `@remix-run/[email protected]` | ||
|
||
## 1.9.0-pre.0 | ||
|
||
### Patch Changes | ||
|
||
- Updated dependencies: | ||
- `@remix-run/[email protected]` | ||
|
||
## 1.8.2 | ||
|
||
### 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,5 @@ | ||
# `@remix-run/cloudflare` | ||
|
||
## 1.9.0-pre.1 | ||
|
||
### Patch Changes | ||
|
||
- Update react-router ([`31bb30741`](https://github.com/remix-run/remix/commit/31bb307419f733d9cfd2c16e74890a075eac7682)) | ||
- Updated dependencies: | ||
- `@remix-run/[email protected]` | ||
|
||
## 1.9.0-pre.0 | ||
|
||
### Patch Changes | ||
|
||
- Updated dependencies: | ||
- `@remix-run/[email protected]` | ||
|
||
## 1.8.2 | ||
|
||
### 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,5 @@ | ||
# `@remix-run/deno` | ||
|
||
## 1.9.0-pre.1 | ||
|
||
### Patch Changes | ||
|
||
- Update react-router ([`31bb30741`](https://github.com/remix-run/remix/commit/31bb307419f733d9cfd2c16e74890a075eac7682)) | ||
- Updated dependencies: | ||
- `@remix-run/[email protected]` | ||
|
||
## 1.9.0-pre.0 | ||
|
||
### Patch Changes | ||
|
||
- Fix types for request handler context ([#4715](https://github.com/remix-run/remix/pull/4715)) | ||
- Updated dependencies: | ||
- `@remix-run/[email protected]` | ||
|
||
## 1.8.2 | ||
|
||
### 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,63 +1,5 @@ | ||
# `@remix-run/dev` | ||
|
||
## 1.9.0-pre.1 | ||
|
||
### Patch Changes | ||
|
||
- Update react-router ([`31bb30741`](https://github.com/remix-run/remix/commit/31bb307419f733d9cfd2c16e74890a075eac7682)) | ||
- Updated dependencies: | ||
- `@remix-run/[email protected]` | ||
|
||
## 1.9.0-pre.0 | ||
|
||
### Minor Changes | ||
|
||
- allow defining multiple routes for the same route module file ([#3970](https://github.com/remix-run/remix/pull/3970)) | ||
|
||
### Patch Changes | ||
|
||
- Support Typescript 4.9 features (like `satisfies`) in Remix `app/` code ([#4754](https://github.com/remix-run/remix/pull/4754)) | ||
|
||
esbuild 0.15.13 added support for parsing TS 4.9 `satisfies`, so upgrading to esbuild 0.16.3 adds that ability to the Remix compiler | ||
|
||
- Optimize `parentRouteId` lookup in `defineConventionalRoutes` ([#4800](https://github.com/remix-run/remix/pull/4800)) | ||
|
||
Local runs of production Remix builds: | ||
|
||
- Realistic project w/ 700 routes: 10-15s -> <1s (>10x faster) | ||
- Example project w/ 1,111 routes: 27s -> 0.104s (259x faster) | ||
|
||
- Convention for Remix optional segments ([#4706](https://github.com/remix-run/remix/pull/4706)) | ||
|
||
Note that this only set ups the convention conversion for React Router. | ||
Optional segments won't be available in Remix until Remix is built on top of React Router v6.5 | ||
|
||
Converts segments surrounded by parenthesis into optional segments for React Router. | ||
For example `/($lang)/about` will be converted to `/:lang?/about` in React Router. | ||
|
||
This means `/($lang)/about` would match: | ||
|
||
``` | ||
/en/about | ||
/fr/about | ||
/about | ||
``` | ||
|
||
Another example: `/(one)/($two)/(three).($four)` route would match all of the following: | ||
|
||
``` | ||
/ | ||
/one | ||
/one/param1 | ||
/one/param1/three | ||
/one/param1/three/param2 | ||
``` | ||
|
||
- fixes a bug in ts -> js conversion on windows by using a relative unix style path as fast-glob uses unix style paths ([#4718](https://github.com/remix-run/remix/pull/4718)) | ||
- Updated dependencies: | ||
- `@remix-run/[email protected]` | ||
- `@remix-run/[email protected]` | ||
|
||
## 1.8.2 | ||
|
||
### 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,20 +1,5 @@ | ||
# `@remix-run/express` | ||
|
||
## 1.9.0-pre.1 | ||
|
||
### Patch Changes | ||
|
||
- Update react-router ([`31bb30741`](https://github.com/remix-run/remix/commit/31bb307419f733d9cfd2c16e74890a075eac7682)) | ||
- Updated dependencies: | ||
- `@remix-run/[email protected]` | ||
|
||
## 1.9.0-pre.0 | ||
|
||
### Patch Changes | ||
|
||
- Updated dependencies: | ||
- `@remix-run/[email protected]` | ||
|
||
## 1.8.2 | ||
|
||
### 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,5 @@ | ||
# `@remix-run/netlify` | ||
|
||
## 1.9.0-pre.1 | ||
|
||
### Patch Changes | ||
|
||
- Update react-router ([`31bb30741`](https://github.com/remix-run/remix/commit/31bb307419f733d9cfd2c16e74890a075eac7682)) | ||
- Updated dependencies: | ||
- `@remix-run/[email protected]` | ||
|
||
## 1.9.0-pre.0 | ||
|
||
### Patch Changes | ||
|
||
- Updated dependencies: | ||
- `@remix-run/[email protected]` | ||
|
||
## 1.8.2 | ||
|
||
### 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,5 @@ | ||
# `@remix-run/node` | ||
|
||
## 1.9.0-pre.1 | ||
|
||
### Patch Changes | ||
|
||
- Update react-router ([`31bb30741`](https://github.com/remix-run/remix/commit/31bb307419f733d9cfd2c16e74890a075eac7682)) | ||
- Updated dependencies: | ||
- `@remix-run/[email protected]` | ||
|
||
## 1.9.0-pre.0 | ||
|
||
### Patch Changes | ||
|
||
- Updated dependencies: | ||
- `@remix-run/[email protected]` | ||
|
||
## 1.8.2 | ||
|
||
### 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1,5 @@ | ||
# `@remix-run/react` | ||
|
||
## 1.9.0-pre.1 | ||
|
||
### Patch Changes | ||
|
||
- Update react-router ([`31bb30741`](https://github.com/remix-run/remix/commit/31bb307419f733d9cfd2c16e74890a075eac7682)) | ||
|
||
## 1.9.0-pre.0 | ||
|
||
### Patch Changes | ||
|
||
- Update `@remix-run/react` to use `Router` from `[email protected]` ([#4731](https://github.com/remix-run/remix/pull/4731)) | ||
- Allow pass-through props to be passed to the script rendered by `ScrollRestoration` ([#2879](https://github.com/remix-run/remix/pull/2879)) | ||
- Bump RR deps ([#4868](https://github.com/remix-run/remix/pull/4868)) | ||
- adds a new testing package to allow easier testing of components using Remix specific apis like useFetcher, useActionData, etc. ([#4539](https://github.com/remix-run/remix/pull/4539)) | ||
- Fixed a problem with live reload and firefox infinitely reloading the page ([#4725](https://github.com/remix-run/remix/pull/4725)) | ||
|
||
The problem is: | ||
|
||
1. Firefox is calling `ws.onclose` immediately upon connecting (?!) | ||
2. Then we’re trying to reconnect, and upon reconnection, we reload the page. | ||
3. Firefox then calls `ws.onclose` again after reconnecting and the loop starts over | ||
|
||
This fix is to check `event.code === 1006` before actually trying to reconnect and the reload the page. 1006 means the connection was closed abnormally (https://www.rfc-editor.org/rfc/rfc6455#section-7.4.1). In our case, that means the server was shut down in local dev and then the socket can reconnect again when the server is back up. | ||
|
||
It’s unclear to me why Firefox is calling `onclose` immediately upon connecting to the web socket, but it does. | ||
|
||
## 1.8.2 | ||
|
||
No significant changes to this package were made in this release. [See the releases page on GitHub](https://github.com/remix-run/remix/releases/tag/remix%401.8.2) for an overview of all changes in v1.8.2. | ||
|
Oops, something went wrong.