@remix-run/router
Advanced tools
Comparing version 1.0.4-pre.1 to 1.0.4
# `@remix-run/router` | ||
## 1.0.4-pre.1 | ||
## 1.0.4 | ||
### Patch Changes | ||
- Respect `replace` behavior on external redirects ([#9654](https://github.com/remix-run/react-router/pull/9654)) | ||
## 1.0.4-pre.0 | ||
### Patch Changes | ||
- Properly handle redirects to external domains ([#9590](https://github.com/remix-run/react-router/pull/9590)) | ||
- Throw an error if an `action`/`loader` function returns `undefined` as revalidations need to know whether the loader has previously been executed. `undefined` also causes issues during SSR stringification for hydration. You should always ensure you `loader`/`action` returns a value, and you may return `null` if you don't wish to return anything. ([#9511](https://github.com/remix-run/react-router/pull/9511)) | ||
- Properly handle redirects to external domains ([#9590](https://github.com/remix-run/react-router/pull/9590), [#9654](https://github.com/remix-run/react-router/pull/9654)) | ||
- Preserve the HTTP method on 307/308 redirects ([#9597](https://github.com/remix-run/react-router/pull/9597)) | ||
- Support `basename` in static data routers ([#9591](https://github.com/remix-run/react-router/pull/9591)) | ||
- Throw an error if an `action`/`loader` function returns `undefined` as revalidations need to know whether the loader has previously been executed. `undefined` also causes issues during SSR stringification for hydration. You should always ensure your `loader`/`action` return a value, and you may return `null` if you don't wish to return anything. ([#9511](https://github.com/remix-run/react-router/pull/9511)) | ||
- Enhanced `ErrorResponse` bodies to contain more descriptive text in internal 403/404/405 scenarios ([#9511](https://github.com/remix-run/react-router/pull/9511)) | ||
- Enhanced `ErrorResponse` bodies to contain more descriptive text in internal 403/404/405 scenarios | ||
@@ -19,0 +13,0 @@ ## 1.0.3 |
/** | ||
* @remix-run/router v1.0.4-pre.1 | ||
* @remix-run/router v1.0.4 | ||
* | ||
@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc. |
{ | ||
"name": "@remix-run/router", | ||
"version": "1.0.4-pre.1", | ||
"version": "1.0.4", | ||
"description": "Nested/Data-driven/Framework-agnostic Routing", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
1
1592204