@react-router/node 0.0.0-experimental-b3337fc38 → 0.0.0-experimental-909c02f10

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,5 +1,12 @@
1
1
  # `@react-router/node`
2
2
 
3
+ ## 7.7.0
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies:
8
+ - `react-router@7.7.0`
9
+
3
10
  ## 7.6.3
4
11
 
5
12
  ### Patch Changes
@@ -148,7 +155,6 @@
148
155
  - Remove single fetch future flag. ([#11522](https://github.com/remix-run/react-router/pull/11522))
149
156
 
150
157
  - For Remix consumers migrating to React Router, the `crypto` global from the [Web Crypto API](https://developer.mozilla.org/en-US/docs/Web/API/Web_Crypto_API) is now required when using cookie and session APIs. This means that the following APIs are provided from `react-router` rather than platform-specific packages: ([#11837](https://github.com/remix-run/react-router/pull/11837))
151
-
152
158
  - `createCookie`
153
159
  - `createCookieSessionStorage`
154
160
  - `createMemorySessionStorage`
@@ -157,7 +163,6 @@
157
163
  For consumers running older versions of Node, the `installGlobals` function from `@remix-run/node` has been updated to define `globalThis.crypto`, using [Node's `require('node:crypto').webcrypto` implementation.](https://nodejs.org/api/webcrypto.html)
158
164
 
159
165
  Since platform-specific packages no longer need to implement this API, the following low-level APIs have been removed:
160
-
161
166
  - `createCookieFactory`
162
167
  - `createSessionStorageFactory`
163
168
  - `createCookieSessionStorageFactory`
@@ -170,7 +175,6 @@
170
175
  - node package no longer re-exports from react-router ([#11702](https://github.com/remix-run/react-router/pull/11702))
171
176
 
172
177
  - Drop support for Node 18, update minimum Node vestion to 20 ([#12171](https://github.com/remix-run/react-router/pull/12171))
173
-
174
178
  - Remove `installGlobals()` as this should no longer be necessary
175
179
 
176
180
  ### Patch Changes
@@ -317,7 +321,6 @@
317
321
  - Stop exporting the `fetch` API in favor of using the version in the global scope - which can be polyfilled via `installGlobals` ([#7293](https://github.com/remix-run/remix/pull/7293))
318
322
 
319
323
  - Removed/adjusted types to prefer `unknown` over `any` and to align with underlying React Router types ([#7319](https://github.com/remix-run/remix/pull/7319), [#7354](https://github.com/remix-run/remix/pull/7354)):
320
-
321
324
  - Renamed the `useMatches()` return type from `RouteMatch` to `UIMatch`
322
325
  - Renamed `LoaderArgs`/`ActionArgs` to `LoaderFunctionArgs`/`ActionFunctionArgs`
323
326
  - `AppData` changed from `any` to `unknown`
@@ -329,11 +332,9 @@
329
332
  - `AppData`/`RouteHandle` are no longer exported as they are just aliases for `unknown`
330
333
 
331
334
  - The route `meta` API now defaults to the new "V2 Meta" API ([#6958](https://github.com/remix-run/remix/pull/6958))
332
-
333
335
  - Please refer to the ([docs](https://remix.run/docs/en/2.0.0/route/meta) and [Preparing for V2](https://remix.run/docs/en/2.0.0/start/v2#route-meta) guide for more information.
334
336
 
335
337
  - For preparation of using Node's built in fetch implementation, installing the fetch globals is now a responsibility of the app server ([#7009](https://github.com/remix-run/remix/pull/7009))
336
-
337
338
  - If you are using `remix-serve`, nothing is required
338
339
  - If you are using your own app server, you will need to install the globals yourself
339
340
 
@@ -344,7 +345,6 @@
344
345
  ```
345
346
 
346
347
  - `source-map-support` is now a responsibility of the app server ([#7009](https://github.com/remix-run/remix/pull/7009))
347
-
348
348
  - If you are using `remix-serve`, nothing is required
349
349
  - If you are using your own app server, you will need to install [`source-map-support`](https://www.npmjs.com/package/source-map-support) yourself.
350
350
 
@@ -478,7 +478,6 @@
478
478
  ### Minor Changes
479
479
 
480
480
  - We have made a few changes to the API for route module `meta` functions when using the `future.v2_meta` flag. **These changes are _only_ breaking for users who have opted in.** ([#5746](https://github.com/remix-run/remix/pull/5746))
481
-
482
481
  - `V2_HtmlMetaDescriptor` has been renamed to `V2_MetaDescriptor`
483
482
  - The `meta` function's arguments have been simplified
484
483
  - `parentsData` has been removed, as each route's loader data is available on the `data` property of its respective `match` object
@@ -571,12 +570,10 @@
571
570
  - Introduces the `defer()` API from `@remix-run/router` with support for server-rendering and HTTP streaming. This utility allows you to defer values returned from `loader` functions by returning promises instead of resolved values. This has been refered to as _"sending a promise over the wire"_. ([#4920](https://github.com/remix-run/remix/pull/4920))
572
571
 
573
572
  Informational Resources:
574
-
575
573
  - <https://gist.github.com/jacob-ebey/9bde9546c1aafaa6bc8c242054b1be26>
576
574
  - <https://github.com/remix-run/remix/blob/main/decisions/0004-streaming-apis.md>
577
575
 
578
576
  Documentation Resources (better docs specific to Remix are in the works):
579
-
580
577
  - <https://reactrouter.com/en/main/utils/defer>
581
578
  - <https://reactrouter.com/en/main/components/await>
582
579
  - <https://reactrouter.com/en/main/hooks/use-async-value>
package/dist/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @react-router/node v0.0.0-experimental-b3337fc38
2
+ * @react-router/node v0.0.0-experimental-909c02f10
3
3
  *
4
4
  * Copyright (c) Remix Software Inc.
5
5
  *
package/dist/index.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @react-router/node v0.0.0-experimental-b3337fc38
2
+ * @react-router/node v0.0.0-experimental-909c02f10
3
3
  *
4
4
  * Copyright (c) Remix Software Inc.
5
5
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@react-router/node",
3
- "version": "0.0.0-experimental-b3337fc38",
3
+ "version": "0.0.0-experimental-909c02f10",
4
4
  "description": "Node.js platform abstractions for React Router",
5
5
  "bugs": {
6
6
  "url": "https://github.com/remix-run/react-router/issues"
@@ -52,11 +52,11 @@
52
52
  "tsup": "^8.3.0",
53
53
  "typescript": "^5.1.6",
54
54
  "wireit": "0.14.9",
55
- "react-router": "0.0.0-experimental-b3337fc38"
55
+ "react-router": "0.0.0-experimental-909c02f10"
56
56
  },
57
57
  "peerDependencies": {
58
58
  "typescript": "^5.1.0",
59
- "react-router": "0.0.0-experimental-b3337fc38"
59
+ "react-router": "0.0.0-experimental-909c02f10"
60
60
  },
61
61
  "peerDependenciesMeta": {
62
62
  "typescript": {