Skip to content

Commit

Permalink
chore: Update version for release (pre) (#8463)
Browse files Browse the repository at this point in the history
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
github-actions[bot] and github-actions[bot] authored Jan 9, 2024
1 parent 6fc6cdd commit 5cfee34
Show file tree
Hide file tree
Showing 32 changed files with 320 additions and 33 deletions.
14 changes: 13 additions & 1 deletion .changeset/pre.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,17 @@
"@remix-run/server-runtime": "2.4.1",
"@remix-run/testing": "2.4.1"
},
"changesets": []
"changesets": [
"bright-kiwis-yawn",
"dry-books-hug",
"fair-bobcats-walk",
"five-peaches-attend",
"flat-toys-hope",
"giant-terms-fry",
"isbot-version-four",
"large-berries-sin",
"ninety-ducks-sin",
"spa-mode",
"wicked-suits-heal"
]
}
6 changes: 6 additions & 0 deletions packages/create-remix/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# `create-remix`

## 2.5.0-pre.0

### Patch Changes

- Only update `*` versions for Remix dependencies ([#8458](https://github.com/remix-run/remix/pull/8458))

## 2.4.1

### Patch Changes
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.4.1",
"version": "2.5.0-pre.0",
"description": "Create a new Remix app",
"homepage": "https://remix.run",
"bugs": {
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`

## 2.5.0-pre.0

### Patch Changes

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

## 2.4.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": "2.4.1",
"version": "2.5.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": "2.4.1",
"@remix-run/node": "2.5.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`

## 2.5.0-pre.0

### Patch Changes

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

## 2.4.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": "2.4.1",
"version": "2.5.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": "2.4.1"
"@remix-run/cloudflare": "2.5.0-pre.0"
},
"devDependencies": {
"@cloudflare/workers-types": "^4.20230518.0",
Expand Down
7 changes: 7 additions & 0 deletions packages/remix-cloudflare-workers/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# `@remix-run/cloudflare-workers`

## 2.5.0-pre.0

### Patch Changes

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

## 2.4.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": "2.4.1",
"version": "2.5.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": "2.4.1"
"@remix-run/cloudflare": "2.5.0-pre.0"
},
"devDependencies": {
"@cloudflare/workers-types": "^4.20230518.0",
Expand Down
7 changes: 7 additions & 0 deletions packages/remix-cloudflare/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# `@remix-run/cloudflare`

## 2.5.0-pre.0

### Patch Changes

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

## 2.4.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": "2.4.1",
"version": "2.5.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": "2.4.1"
"@remix-run/server-runtime": "2.5.0-pre.0"
},
"devDependencies": {
"@cloudflare/workers-types": "^4.20230518.0",
Expand Down
2 changes: 2 additions & 0 deletions packages/remix-css-bundle/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# @remix-run/css-bundle

## 2.5.0-pre.0

## 2.4.1

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.4.1.
Expand Down
2 changes: 1 addition & 1 deletion 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": "2.4.1",
"version": "2.5.0-pre.0",
"description": "CSS bundle href when using CSS bundling features in Remix",
"homepage": "https://remix.run",
"bugs": {
Expand Down
7 changes: 7 additions & 0 deletions packages/remix-deno/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# `@remix-run/deno`

## 2.5.0-pre.0

### Patch Changes

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

## 2.4.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": "2.4.1",
"version": "2.5.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": "2.4.1",
"@remix-run/server-runtime": "2.5.0-pre.0",
"mime": "^3.0.0"
},
"peerDependencies": {
Expand Down
80 changes: 80 additions & 0 deletions packages/remix-dev/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,85 @@
# `@remix-run/dev`

## 2.5.0-pre.0

### Minor Changes

- Add `unstable_serverBundles` option to Vite plugin to support splitting server code into multiple request handlers. ([#8332](https://github.com/remix-run/remix/pull/8332))

This is an advanced feature designed for hosting provider integrations. When compiling your app into multiple server bundles, there will need to be a custom routing layer in front of your app directing requests to the correct bundle. This feature is currently unstable and only designed to gather early feedback.

**Example usage:**

```ts
import { unstable_vitePlugin as remix } from "@remix-run/dev";
import { defineConfig } from "vite";

export default defineConfig({
plugins: [
remix({
unstable_serverBundles: ({ branch }) => {
const isAuthenticatedRoute = branch.some(
(route) => route.id === "routes/_authenticated"
);

return isAuthenticatedRoute ? "authenticated" : "unauthenticated";
},
}),
],
});
```

- Add unstable support for "SPA Mode" ([#8457](https://github.com/remix-run/remix/pull/8457))

You can opt into SPA Mode by setting `unstable_ssr: false` in your Remix Vite plugin config:

```js
// vite.config.ts
import { unstable_vitePlugin as remix } from "@remix-run/dev";
import { defineConfig } from "vite";

export default defineConfig({
plugins: [remix({ unstable_ssr: false })],
});
```

Development in SPA Mode is just like a normal Remix app, and still uses the Remix dev server for HMR/HDR:

```sh
remix vite:dev
```

Building in SPA Mode will generate an `index.html` file in your client assets directory:

```sh
remix vite:build
```

To run your SPA, you serve your client assets directory via an HTTP server:

```sh
npx http-server build/client
```

For more information, please refer to the [SPA Mode docs][https://reactrouter.com/en/main/guides/spa-mode].

### Patch Changes

- Vite: Fix HMR issues when altering exports for non-rendered routes ([#8157](https://github.com/remix-run/remix/pull/8157))
- Vite: Default `NODE_ENV` to `"production"` when running `remix vite:build` command ([#8405](https://github.com/remix-run/remix/pull/8405))
- Remove Vite plugin config option `serverBuildPath` in favor of separate `serverBuildDirectory` and `serverBuildFile` options ([#8332](https://github.com/remix-run/remix/pull/8332))
- Vite: Loosen strict route exports restriction, reinstating support for non-Remix route exports ([#8420](https://github.com/remix-run/remix/pull/8420))
- Fix issue with `isbot` v4 released on 1/1/2024 ([#8415](https://github.com/remix-run/remix/pull/8415))

- `remix dev` wil now add `"isbot": "^4"` to `package.json` instead of using `latest`
- Update built-in `entry.server` files to work with both `isbot@3` and `isbot@4` for backwards-compatibility with Remix apps that have pinned `isbot` to v3
- Templates are updated to use `isbot@4` moving forward via `create-remix`

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

## 2.4.1

### Patch Changes
Expand Down
10 changes: 5 additions & 5 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": "2.4.1",
"version": "2.5.0-pre.0",
"description": "Dev tools and CLI for Remix",
"homepage": "https://remix.run",
"bugs": {
Expand Down Expand Up @@ -28,9 +28,9 @@
"@babel/types": "^7.22.5",
"@mdx-js/mdx": "^2.3.0",
"@npmcli/package-json": "^4.0.1",
"@remix-run/node": "2.4.1",
"@remix-run/node": "2.5.0-pre.0",
"@remix-run/router": "1.14.2-pre.0",
"@remix-run/server-runtime": "2.4.1",
"@remix-run/server-runtime": "2.5.0-pre.0",
"@types/mdx": "^2.0.5",
"@vanilla-extract/integration": "^6.2.0",
"arg": "^5.0.1",
Expand Down Expand Up @@ -73,7 +73,7 @@
"ws": "^7.4.5"
},
"devDependencies": {
"@remix-run/serve": "2.4.1",
"@remix-run/serve": "2.5.0-pre.0",
"@types/cacache": "^17.0.0",
"@types/cross-spawn": "^6.0.2",
"@types/gunzip-maybe": "^1.4.0",
Expand All @@ -94,7 +94,7 @@
"vite": "^5.0.0"
},
"peerDependencies": {
"@remix-run/serve": "^2.4.1",
"@remix-run/serve": "^2.5.0-pre.0",
"typescript": "^5.1.0",
"vite": "^5.0.0"
},
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`

## 2.5.0-pre.0

## 2.4.1

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.4.1.
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": "2.4.1",
"version": "2.5.0-pre.0",
"description": "ESLint configuration for Remix projects",
"bugs": {
"url": "https://github.com/remix-run/remix/issues"
Expand Down
7 changes: 7 additions & 0 deletions packages/remix-express/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# `@remix-run/express`

## 2.5.0-pre.0

### Patch Changes

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

## 2.4.1

### Patch Changes
Expand Down
4 changes: 2 additions & 2 deletions packages/remix-express/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@remix-run/express",
"version": "2.4.1",
"version": "2.5.0-pre.0",
"description": "Express server request handler for Remix",
"bugs": {
"url": "https://github.com/remix-run/remix/issues"
Expand All @@ -14,7 +14,7 @@
"main": "dist/index.js",
"typings": "dist/index.d.ts",
"dependencies": {
"@remix-run/node": "2.4.1"
"@remix-run/node": "2.5.0-pre.0"
},
"devDependencies": {
"@types/express": "^4.17.9",
Expand Down
7 changes: 7 additions & 0 deletions packages/remix-node/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# `@remix-run/node`

## 2.5.0-pre.0

### Patch Changes

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

## 2.4.1

### Patch Changes
Expand Down
Loading

0 comments on commit 5cfee34

Please sign in to comment.