Skip to content
Open

Release #11259

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions packages/assets/.changes/minor.expand-script-targets.md

This file was deleted.

3 changes: 0 additions & 3 deletions packages/assets/.changes/minor.hoist-compiler-options.md

This file was deleted.

1 change: 0 additions & 1 deletion packages/assets/.changes/minor.styles-support.md

This file was deleted.

This file was deleted.

This file was deleted.

22 changes: 22 additions & 0 deletions packages/assets/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,28 @@

This is the changelog for [`assets`](https://github.com/remix-run/remix/tree/main/packages/assets). It follows [semantic versioning](https://semver.org/).

## v0.2.0

### Minor Changes

- BREAKING CHANGE: `target` configuration is now configured at the top level with an object format, supporting `es` version targets along with browser version targets.

Browser targets are configured with string versions such as `target: { chrome: '109', safari: '16.4' }`, and scripts can specify `es` as a year of `2015` or higher such as `target: { es: '2020' }`.

To migrate existing script configuration, replace `scripts.target` options like `scripts: { target: 'es2020' }` with `target: { es: '2020' }`.

- BREAKING CHANGE: Shared compiler options are now provided at the top level of `createAssetServer()`. Use `sourceMaps`, `sourceMapSourcePaths`, and `minify` directly on the asset server options instead of being nested under `scripts`. This allows these options to also be used for styles as well as scripts.

To migrate existing configuration, move `scripts.minify`, `scripts.sourceMaps`, `scripts.sourceMapSourcePaths` to the top-level asset server options.

- `createAssetServer()` now compiles and serves `.css` files alongside scripts, including local `@import` rewriting, fingerprinting, and shared compiler options for minification, source maps, and browser compatibility targeting.

### Patch Changes

- Fix matching of dot-prefixed files and directories in `allow` and `deny` globs

- Improve asset server import errors to include the resolved file path when a resolved import is later rejected by validation for allow/deny rules, supported file types and `fileMap` configuration.

## v0.1.0

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/assets/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@remix-run/assets",
"version": "0.1.0",
"version": "0.2.0",
"description": "Fetch-based server for compiling browser JS/TS and CSS assets on demand",
"author": "Michael Jackson <mjijackson@gmail.com>",
"license": "MIT",
Expand Down
3 changes: 0 additions & 3 deletions packages/auth/.changes/minor.refresh-external-auth.md

This file was deleted.

8 changes: 8 additions & 0 deletions packages/auth/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,14 @@

This is the changelog for [`auth`](https://github.com/remix-run/remix/tree/main/packages/auth). It follows [semantic versioning](https://semver.org/).

## v0.2.0

### Minor Changes

- Added `refreshExternalAuth()` to `@remix-run/auth` so apps can exchange stored refresh tokens for fresh OAuth and OIDC token bundles.

The built-in OIDC providers and X now implement refresh-token exchange. Refreshed token bundles preserve the existing refresh token when the provider omits a rotated value.

## v0.1.1

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/auth/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@remix-run/auth",
"version": "0.1.1",
"version": "0.2.0",
"description": "Browser login, OAuth, and OIDC helpers for Remix",
"author": "Michael Jackson <mjijackson@gmail.com>",
"license": "MIT",
Expand Down
68 changes: 0 additions & 68 deletions packages/component/.changes/minor.handle-props.md

This file was deleted.

73 changes: 73 additions & 0 deletions packages/component/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,79 @@

This is the changelog for [`component`](https://github.com/remix-run/remix/tree/main/packages/component). It follows [semantic versioning](https://semver.org/).

## v0.8.0

### Minor Changes

- BREAKING CHANGE: Components now receive props through a stable `handle.props` object using `Handle<Props, Context>` instead of receiving a separate `setup` argument and render callback props. Move initialization values that previously used `<Component setup={...} />` onto regular props, and read all props from `handle.props` in both the component function and render callback.

Before:

```tsx
function Counter(handle: Handle<CounterContext>, setup: { initialCount: number }) {
let count = setup.initialCount

return (props: { label: string }) => (
<button>
{props.label}: {count}
</button>
)
}

;<Counter setup={{ initialCount: 10 }} label="Count" />
```

After:

```tsx
function Counter(handle: Handle<{ initialCount: number; label: string }, CounterContext>) {
let count = handle.props.initialCount

return () => (
<button>
{handle.props.label}: {count}
</button>
)
}

;<Counter initialCount={10} label="Count" />
```

The `handle.props` object keeps the same identity for the component lifetime while its values are updated before each render, so destructuring `let { props, update } = handle` remains safe. The `setup` prop is no longer special and is treated like any other prop.

This also removes the old pattern where setup-scope helpers had to read from a mutable variable that was reassigned inside the render callback:

```tsx
function Listbox(handle: Handle<ListboxContext>) {
let props: ListboxProps

function select(value: string) {
props.onSelect(value)
}

handle.context.set({ select })

return (nextProps: ListboxProps) => {
props = nextProps
return props.children
}
}
```

Helpers can now read the current props directly from the stable handle:

```tsx
function Listbox(handle: Handle<ListboxProps, ListboxContext>) {
function select(value: string) {
handle.props.onSelect(value)
}

handle.context.set({ select })

return () => handle.props.children
}
```

## v0.7.0

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/component/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@remix-run/component",
"version": "0.7.0",
"version": "0.8.0",
"description": "UI components for Remix",
"author": "Ryan Florence <rpflorence@gmail.com>",
"license": "MIT",
Expand Down
8 changes: 8 additions & 0 deletions packages/compression-middleware/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,14 @@

This is the changelog for [`compression-middleware`](https://github.com/remix-run/remix/tree/main/packages/compression-middleware). It follows [semantic versioning](https://semver.org/).

## v0.1.6

### Patch Changes

- Bumped `@remix-run/*` dependencies:
- [`mime@0.4.1`](https://github.com/remix-run/remix/releases/tag/mime@0.4.1)
- [`response@0.3.3`](https://github.com/remix-run/remix/releases/tag/response@0.3.3)

## v0.1.5

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/compression-middleware/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@remix-run/compression-middleware",
"version": "0.1.5",
"version": "0.1.6",
"description": "Middleware for compressing HTTP responses",
"author": "Michael Jackson <mjijackson@gmail.com>",
"license": "MIT",
Expand Down
1 change: 0 additions & 1 deletion packages/data-schema/.changes/minor.schema-transform.md

This file was deleted.

6 changes: 6 additions & 0 deletions packages/data-schema/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@

This is the changelog for [`data-schema`](https://github.com/remix-run/remix/tree/main/packages/data-schema). It follows [semantic versioning](https://semver.org/).

## v0.3.0

### Minor Changes

- Add `Schema.transform()` for mapping validated schema outputs to new values and output types.

## v0.2.0

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/data-schema/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@remix-run/data-schema",
"version": "0.2.0",
"version": "0.3.0",
"description": "Tiny, standards-aligned schema validation",
"author": "Michael Jackson <mjijackson@gmail.com>",
"license": "MIT",
Expand Down

This file was deleted.

6 changes: 6 additions & 0 deletions packages/data-table-sqlite/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@

This is the changelog for [`data-table-sqlite`](https://github.com/remix-run/remix/tree/main/packages/data-table-sqlite). It follows [semantic versioning](https://semver.org/).

## v0.4.0

### Minor Changes

- Widened `createSqliteDatabaseAdapter` to accept synchronous SQLite clients that match the shared `prepare`/`exec` surface used by Node's `node:sqlite`, Bun's `bun:sqlite`, and compatible clients. The package no longer requires `better-sqlite3` as an optional peer dependency.

## v0.3.0

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/data-table-sqlite/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@remix-run/data-table-sqlite",
"version": "0.3.0",
"version": "0.4.0",
"description": "SQLite adapter for remix/data-table",
"author": "Michael Jackson <mjijackson@gmail.com>",
"license": "MIT",
Expand Down
1 change: 0 additions & 1 deletion packages/fetch-proxy/.changes/minor.x-forwarded-port.md

This file was deleted.

6 changes: 6 additions & 0 deletions packages/fetch-proxy/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@

This is the changelog for [`fetch-proxy`](https://github.com/remix-run/remix/tree/main/packages/fetch-proxy). It follows [semantic versioning](https://semver.org/).

## v0.8.0

### Minor Changes

- Add an `X-Forwarded-Port` header when `xForwardedHeaders` is enabled.

## v0.7.1

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/fetch-proxy/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@remix-run/fetch-proxy",
"version": "0.7.1",
"version": "0.8.0",
"description": "An HTTP proxy for the web Fetch API",
"author": "Michael Jackson <mjijackson@gmail.com>",
"license": "MIT",
Expand Down
7 changes: 7 additions & 0 deletions packages/file-storage-s3/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,13 @@

This is the changelog for [`file-storage-s3`](https://github.com/remix-run/remix/tree/main/packages/file-storage-s3). It follows [semantic versioning](https://semver.org/).

## v0.1.1

### Patch Changes

- Bumped `@remix-run/*` dependencies:
- [`file-storage@0.13.4`](https://github.com/remix-run/remix/releases/tag/file-storage@0.13.4)

## v0.1.0

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/file-storage-s3/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@remix-run/file-storage-s3",
"version": "0.1.0",
"version": "0.1.1",
"description": "S3 backend for remix/file-storage",
"author": "Michael Jackson <mjijackson@gmail.com>",
"repository": {
Expand Down
8 changes: 8 additions & 0 deletions packages/file-storage/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,14 @@

This is the changelog for [`file-storage`](https://github.com/remix-run/remix/tree/main/packages/file-storage). It follows [semantic versioning](https://semver.org/).

## v0.13.4

### Patch Changes

- Bumped `@remix-run/*` dependencies:
- [`fs@0.4.3`](https://github.com/remix-run/remix/releases/tag/fs@0.4.3)
- [`lazy-file@5.0.3`](https://github.com/remix-run/remix/releases/tag/lazy-file@5.0.3)

## v0.13.3

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/file-storage/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@remix-run/file-storage",
"version": "0.13.3",
"version": "0.13.4",
"description": "Key/value storage for JavaScript File objects",
"author": "Michael Jackson <mjijackson@gmail.com>",
"repository": {
Expand Down
7 changes: 7 additions & 0 deletions packages/form-data-middleware/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,13 @@

This is the changelog for [`form-data-middleware`](https://github.com/remix-run/remix/tree/main/packages/form-data-middleware). It follows [semantic versioning](https://semver.org/).

## v0.2.2

### Patch Changes

- Bumped `@remix-run/*` dependencies:
- [`form-data-parser@0.17.0`](https://github.com/remix-run/remix/releases/tag/form-data-parser@0.17.0)

## v0.2.1

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/form-data-middleware/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@remix-run/form-data-middleware",
"version": "0.2.1",
"version": "0.2.2",
"description": "Middleware for parsing FormData from request bodies",
"author": "Michael Jackson <mjijackson@gmail.com>",
"license": "MIT",
Expand Down

This file was deleted.

This file was deleted.

Loading
Loading