Skip to content

Commit

Permalink
chore: Update version for release (#9416)
Browse files Browse the repository at this point in the history
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Matt Brophy <[email protected]>
  • Loading branch information
3 people authored May 10, 2024
1 parent 07b61f9 commit ff06e16
Show file tree
Hide file tree
Showing 47 changed files with 64 additions and 630 deletions.
5 changes: 0 additions & 5 deletions .changeset/five-planets-grin.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/happy-ladybugs-smoke.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/hip-doors-hope.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/hot-suits-jam.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/nasty-pandas-accept.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/nasty-vans-brake.md

This file was deleted.

43 changes: 0 additions & 43 deletions .changeset/pre.json

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/rare-dodos-push.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/rich-spoons-draw.md

This file was deleted.

54 changes: 0 additions & 54 deletions .changeset/rotten-geckos-yawn.md

This file was deleted.

6 changes: 0 additions & 6 deletions .changeset/sharp-bags-call.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/slimy-shrimps-roll.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/slow-peaches-matter.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/tame-otters-clap.md

This file was deleted.

6 changes: 3 additions & 3 deletions integration/helpers/vite-cloudflare-template/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@
"typecheck": "tsc"
},
"dependencies": {
"@remix-run/cloudflare": "2.9.2-pre.2",
"@remix-run/cloudflare-pages": "2.9.2-pre.2",
"@remix-run/react": "2.9.2-pre.2",
"@remix-run/cloudflare": "2.9.2",
"@remix-run/cloudflare-pages": "2.9.2",
"@remix-run/react": "2.9.2",
"isbot": "^4.1.0",
"miniflare": "^3.20231030.4",
"react": "^18.2.0",
Expand Down
6 changes: 2 additions & 4 deletions packages/create-remix/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
# `create-remix`

## 2.9.2-pre.2
## 2.9.2

## 2.9.2-pre.1

## 2.9.2-pre.0
No significant changes to this package were made in this release. [See the repo `CHANGELOG.md`](https://github.com/remix-run/remix/blob/main/CHANGELOG.md) for an overview of all changes in v2.9.2.

## 2.9.1

Expand Down
2 changes: 1 addition & 1 deletion packages/create-remix/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "create-remix",
"version": "2.9.2-pre.2",
"version": "2.9.2",
"description": "Create a new Remix app",
"homepage": "https://remix.run",
"bugs": {
Expand Down
18 changes: 2 additions & 16 deletions packages/remix-architect/CHANGELOG.md
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

Expand Down
2 changes: 1 addition & 1 deletion packages/remix-architect/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@remix-run/architect",
"version": "2.9.2-pre.2",
"version": "2.9.2",
"description": "Architect server request handler for Remix",
"bugs": {
"url": "https://github.com/remix-run/remix/issues"
Expand Down
18 changes: 2 additions & 16 deletions packages/remix-cloudflare-pages/CHANGELOG.md
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

Expand Down
2 changes: 1 addition & 1 deletion 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": "2.9.2-pre.2",
"version": "2.9.2",
"description": "Cloudflare Pages request handler for Remix",
"bugs": {
"url": "https://github.com/remix-run/remix/issues"
Expand Down
18 changes: 2 additions & 16 deletions packages/remix-cloudflare-workers/CHANGELOG.md
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

Expand Down
2 changes: 1 addition & 1 deletion 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": "2.9.2-pre.2",
"version": "2.9.2",
"description": "Cloudflare worker request handler for Remix",
"bugs": {
"url": "https://github.com/remix-run/remix/issues"
Expand Down
66 changes: 3 additions & 63 deletions packages/remix-cloudflare/CHANGELOG.md
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

Expand Down
2 changes: 1 addition & 1 deletion packages/remix-cloudflare/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@remix-run/cloudflare",
"version": "2.9.2-pre.2",
"version": "2.9.2",
"description": "Cloudflare platform abstractions for Remix",
"bugs": {
"url": "https://github.com/remix-run/remix/issues"
Expand Down
Loading

0 comments on commit ff06e16

Please sign in to comment.