-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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 (#9416)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: Matt Brophy <[email protected]>
- Loading branch information
1 parent
07b61f9
commit ff06e16
Showing
47 changed files
with
64 additions
and
630 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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
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,25 +1,11 @@ | ||
# `@remix-run/architect` | ||
|
||
## 2.9.2-pre.2 | ||
## 2.9.2 | ||
|
||
### Patch Changes | ||
|
||
- Updated dependencies: | ||
- `@remix-run/[email protected]` | ||
|
||
## 2.9.2-pre.1 | ||
|
||
### Patch Changes | ||
|
||
- Updated dependencies: | ||
- `@remix-run/[email protected]` | ||
|
||
## 2.9.2-pre.0 | ||
|
||
### Patch Changes | ||
|
||
- Updated dependencies: | ||
- `@remix-run/[email protected]` | ||
- `@remix-run/[email protected]` | ||
|
||
## 2.9.1 | ||
|
||
|
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,25 +1,11 @@ | ||
# `@remix-run/cloudflare-pages` | ||
|
||
## 2.9.2-pre.2 | ||
## 2.9.2 | ||
|
||
### Patch Changes | ||
|
||
- Updated dependencies: | ||
- `@remix-run/[email protected]` | ||
|
||
## 2.9.2-pre.1 | ||
|
||
### Patch Changes | ||
|
||
- Updated dependencies: | ||
- `@remix-run/[email protected]` | ||
|
||
## 2.9.2-pre.0 | ||
|
||
### Patch Changes | ||
|
||
- Updated dependencies: | ||
- `@remix-run/[email protected]` | ||
- `@remix-run/[email protected]` | ||
|
||
## 2.9.1 | ||
|
||
|
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,25 +1,11 @@ | ||
# `@remix-run/cloudflare-workers` | ||
|
||
## 2.9.2-pre.2 | ||
## 2.9.2 | ||
|
||
### Patch Changes | ||
|
||
- Updated dependencies: | ||
- `@remix-run/[email protected]` | ||
|
||
## 2.9.2-pre.1 | ||
|
||
### Patch Changes | ||
|
||
- Updated dependencies: | ||
- `@remix-run/[email protected]` | ||
|
||
## 2.9.2-pre.0 | ||
|
||
### Patch Changes | ||
|
||
- Updated dependencies: | ||
- `@remix-run/[email protected]` | ||
- `@remix-run/[email protected]` | ||
|
||
## 2.9.1 | ||
|
||
|
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,72 +1,12 @@ | ||
# `@remix-run/cloudflare` | ||
|
||
## 2.9.2-pre.2 | ||
## 2.9.2 | ||
|
||
### Patch Changes | ||
|
||
- Typesafety for single-fetch: `defineLoader`, `defineClientLoader`, `defineAction`, `defineClientAction` ([#9372](https://github.com/remix-run/remix/pull/9372), [#9404](https://github.com/remix-run/remix/pull/9404)) | ||
- Updated dependencies: | ||
- `@remix-run/[email protected]` | ||
|
||
## 2.9.2-pre.1 | ||
|
||
### Patch Changes | ||
|
||
- Updated dependencies: | ||
- `@remix-run/[email protected]` | ||
|
||
## 2.9.2-pre.0 | ||
|
||
### Patch Changes | ||
|
||
- Typesafety for single-fetch: defineLoader, defineClientLoader, defineAction, defineClientAction ([#9372](https://github.com/remix-run/remix/pull/9372)) | ||
|
||
`defineLoader` and `defineAction` are helpers for authoring `loader`s and `action`s. | ||
They are identity functions; they don't modify your loader or action at runtime. | ||
Rather, they exist solely for typesafety by providing types for args and by ensuring valid return types. | ||
|
||
```ts | ||
export let loader = defineLoader(({ request }) => { | ||
// ^? Request | ||
return { a: 1, b: () => 2 }; | ||
// ^ type error: `b` is not serializable | ||
}); | ||
``` | ||
|
||
Note that `defineLoader` and `defineAction` are not technically necessary for defining loaders and actions if you aren't concerned with typesafety: | ||
|
||
```ts | ||
// this totally works! and typechecking is happy too! | ||
export let loader = () => { | ||
return { a: 1 }; | ||
}; | ||
``` | ||
|
||
This means that you can opt-in to `defineLoader` incrementally, one loader at a time. | ||
|
||
You can return custom responses via the `json`/`defer` utilities, but doing so will revert back to the old JSON-based typesafety mechanism: | ||
|
||
```ts | ||
let loader1 = () => { | ||
return { a: 1, b: new Date() }; | ||
}; | ||
function Component() { | ||
let data1 = useLoaderData<typeof loader1>(); | ||
// ^? {a: number, b: Date} | ||
} | ||
let loader2 = () => { | ||
return json({ a: 1, b: new Date() }); // this opts-out of turbo-stream | ||
}; | ||
function Component2() { | ||
let data2 = useLoaderData<typeof loader2>(); | ||
// ^? JsonifyObject<{a: number, b: Date}> which is really {a: number, b: string} | ||
} | ||
``` | ||
|
||
You can also continue to return totally custom responses with `Response` though this continues to be outside of the typesystem since the built-in `Response` type is not generic | ||
|
||
- Updated dependencies: | ||
- `@remix-run/[email protected]` | ||
- `@remix-run/[email protected]` | ||
|
||
## 2.9.1 | ||
|
||
|
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.