@remix-run/router 1.0.4-pre.1 → 1.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,20 +1,14 @@
1
1
  # `@remix-run/router`
2
2
 
3
- ## 1.0.4-pre.1
3
+ ## 1.0.4
4
4
 
5
5
  ### Patch Changes
6
6
 
7
- - Respect `replace` behavior on external redirects ([#9654](https://github.com/remix-run/react-router/pull/9654))
8
-
9
- ## 1.0.4-pre.0
10
-
11
- ### Patch Changes
12
-
13
- - Properly handle redirects to external domains ([#9590](https://github.com/remix-run/react-router/pull/9590))
7
+ - 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))
8
+ - 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))
14
9
  - Preserve the HTTP method on 307/308 redirects ([#9597](https://github.com/remix-run/react-router/pull/9597))
15
10
  - Support `basename` in static data routers ([#9591](https://github.com/remix-run/react-router/pull/9591))
16
- - 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))
17
- - Enhanced `ErrorResponse` bodies to contain more descriptive text in internal 403/404/405 scenarios ([#9511](https://github.com/remix-run/react-router/pull/9511))
11
+ - Enhanced `ErrorResponse` bodies to contain more descriptive text in internal 403/404/405 scenarios
18
12
 
19
13
  ## 1.0.3
20
14
 
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @remix-run/router v1.0.4-pre.1
2
+ * @remix-run/router v1.0.4
3
3
  *
4
4
  * Copyright (c) Remix Software Inc.
5
5
  *
package/dist/router.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @remix-run/router v1.0.4-pre.1
2
+ * @remix-run/router v1.0.4
3
3
  *
4
4
  * Copyright (c) Remix Software Inc.
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @remix-run/router v1.0.4-pre.1
2
+ * @remix-run/router v1.0.4
3
3
  *
4
4
  * Copyright (c) Remix Software Inc.
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @remix-run/router v1.0.4-pre.1
2
+ * @remix-run/router v1.0.4
3
3
  *
4
4
  * Copyright (c) Remix Software Inc.
5
5
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@remix-run/router",
3
- "version": "1.0.4-pre.1",
3
+ "version": "1.0.4",
4
4
  "description": "Nested/Data-driven/Framework-agnostic Routing",
5
5
  "keywords": [
6
6
  "remix",