@remix-run/deno
Advanced tools
Comparing version 0.0.0-nightly-6ec38fa-20240125 to 0.0.0-nightly-6ee69c13d-20241003
182
CHANGELOG.md
# `@remix-run/deno` | ||
## 2.12.1 | ||
### Patch Changes | ||
- Single Fetch: Re-export `interface Future` through | ||
`@remix-run/node`/`@remix-run/cloudflare`/`@remix-run/deno` packages so that | ||
`pnpm` doesn't complain about `@remix-run/server-runtime` not being a | ||
dependency ([#9982](https://github.com/remix-run/remix/pull/9982)) | ||
- Updated dependencies: | ||
- `@remix-run/server-runtime@2.12.1` | ||
## 2.12.0 | ||
### Patch Changes | ||
- Single Fetch: Improved typesafety | ||
([#9893](https://github.com/remix-run/remix/pull/9893)) | ||
If you were already using previously released unstable single-fetch types: | ||
- Remove `"@remix-run/react/future/single-fetch.d.ts"` override from | ||
`tsconfig.json` > `compilerOptions` > `types` | ||
- Remove `defineLoader`, `defineAction`, `defineClientLoader`, | ||
`defineClientAction` helpers from your route modules | ||
- Replace `UIMatch_SingleFetch` type helper with `UIMatch` | ||
- Replace `MetaArgs_SingleFetch` type helper with `MetaArgs` | ||
Then you are ready for the new typesafety setup: | ||
```ts | ||
// vite.config.ts | ||
declare module "@remix-run/server-runtime" { | ||
interface Future { | ||
unstable_singleFetch: true; // 👈 enable _types_ for single-fetch | ||
} | ||
} | ||
export default defineConfig({ | ||
plugins: [ | ||
remix({ | ||
future: { | ||
unstable_singleFetch: true, // 👈 enable single-fetch | ||
}, | ||
}), | ||
], | ||
}); | ||
``` | ||
For more information, see | ||
[Guides > Single Fetch](https://remix.run/docs/en/dev/guides/single-fetch) in | ||
our docs. | ||
- Updated dependencies: | ||
- `@remix-run/server-runtime@2.12.0` | ||
## 2.11.2 | ||
### Patch Changes | ||
- Updated dependencies: | ||
- `@remix-run/server-runtime@2.11.2` | ||
## 2.11.1 | ||
### Patch Changes | ||
- Updated dependencies: | ||
- `@remix-run/server-runtime@2.11.1` | ||
## 2.11.0 | ||
### Minor Changes | ||
- Single Fetch: Add a new `unstable_data()` API as a replacement for | ||
`json`/`defer` when custom `status`/`headers` are needed | ||
([#9769](https://github.com/remix-run/remix/pull/9769)) | ||
- Add a new `replace(url, init?)` alternative to `redirect(url, init?)` that | ||
performs a `history.replaceState` instead of a `history.pushState` on | ||
client-side navigation redirects | ||
([#9764](https://github.com/remix-run/remix/pull/9764)) | ||
### Patch Changes | ||
- Updated dependencies: | ||
- `@remix-run/server-runtime@2.11.0` | ||
## 2.10.3 | ||
### Patch Changes | ||
- Updated dependencies: | ||
- `@remix-run/server-runtime@2.10.3` | ||
## 2.10.2 | ||
### Patch Changes | ||
- Updated dependencies: | ||
- `@remix-run/server-runtime@2.10.2` | ||
## 2.10.1 | ||
### Patch Changes | ||
- Updated dependencies: | ||
- `@remix-run/server-runtime@2.10.1` | ||
## 2.10.0 | ||
### Patch Changes | ||
- Updated dependencies: | ||
- `@remix-run/server-runtime@2.10.0` | ||
## 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/server-runtime@2.9.2` | ||
## 2.9.1 | ||
### Patch Changes | ||
- Updated dependencies: | ||
- `@remix-run/server-runtime@2.9.1` | ||
## 2.9.0 | ||
### Patch Changes | ||
- Updated dependencies: | ||
- `@remix-run/server-runtime@2.9.0` | ||
## 2.8.1 | ||
### Patch Changes | ||
- Updated dependencies: | ||
- `@remix-run/server-runtime@2.8.1` | ||
## 2.8.0 | ||
### Patch Changes | ||
- Updated dependencies: | ||
- `@remix-run/server-runtime@2.8.0` | ||
## 2.7.2 | ||
### Patch Changes | ||
- Updated dependencies: | ||
- `@remix-run/server-runtime@2.7.2` | ||
## 2.7.1 | ||
### Patch Changes | ||
- Updated dependencies: | ||
- `@remix-run/server-runtime@2.7.1` | ||
## 2.7.0 | ||
### Patch Changes | ||
- Updated dependencies: | ||
- `@remix-run/server-runtime@2.7.0` | ||
## 2.6.0 | ||
### Patch Changes | ||
- Updated dependencies: | ||
- `@remix-run/server-runtime@2.6.0` | ||
## 2.5.1 | ||
@@ -4,0 +186,0 @@ |
@@ -27,4 +27,6 @@ import "./globals.ts"; | ||
redirectDocument, | ||
replace, | ||
unstable_composeUploadHandlers, | ||
unstable_createMemoryUploadHandler, | ||
unstable_data, | ||
unstable_parseMultipartFormData, | ||
@@ -45,2 +47,3 @@ } from "@remix-run/server-runtime"; | ||
ErrorResponse, | ||
Future, | ||
HandleDataRequestFunction, | ||
@@ -47,0 +50,0 @@ HandleDocumentRequestFunction, |
{ | ||
"name": "@remix-run/deno", | ||
"version": "0.0.0-nightly-6ec38fa-20240125", | ||
"version": "0.0.0-nightly-6ee69c13d-20241003", | ||
"description": "Deno platform abstractions for Remix", | ||
@@ -18,3 +18,3 @@ "homepage": "https://remix.run", | ||
"dependencies": { | ||
"@remix-run/server-runtime": "0.0.0-nightly-6ec38fa-20240125", | ||
"@remix-run/server-runtime": "0.0.0-nightly-6ee69c13d-20241003", | ||
"mime": "^3.0.0" | ||
@@ -33,2 +33,2 @@ }, | ||
} | ||
} | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
30633
447
+ Added@remix-run/router@1.19.2(transitive)
+ Added@remix-run/server-runtime@0.0.0-nightly-6ee69c13d-20241003(transitive)
+ Addedturbo-stream@2.4.0(transitive)
- Removed@remix-run/router@1.14.2(transitive)
- Removed@remix-run/server-runtime@0.0.0-nightly-6ec38fa-20240125(transitive)
Updated@remix-run/server-runtime@0.0.0-nightly-6ee69c13d-20241003