@remix-run/router 1.16.0 → 1.16.1

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,11 @@
1
1
  # `@remix-run/router`
2
2
 
3
+ ## 1.16.1
4
+
5
+ ### Patch Changes
6
+
7
+ - Support `unstable_dataStrategy` on `staticHandler.queryRoute` ([#11515](https://github.com/remix-run/react-router/pull/11515))
8
+
3
9
  ## 1.16.0
4
10
 
5
11
  ### Minor Changes
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @remix-run/router v1.16.0
2
+ * @remix-run/router v1.16.1
3
3
  *
4
4
  * Copyright (c) Remix Software Inc.
5
5
  *
@@ -3456,7 +3456,8 @@ function createStaticHandler(routes, opts) {
3456
3456
  async function queryRoute(request, _temp4) {
3457
3457
  let {
3458
3458
  routeId,
3459
- requestContext
3459
+ requestContext,
3460
+ unstable_dataStrategy
3460
3461
  } = _temp4 === void 0 ? {} : _temp4;
3461
3462
  let url = new URL(request.url);
3462
3463
  let method = request.method;
@@ -3485,7 +3486,7 @@ function createStaticHandler(routes, opts) {
3485
3486
  pathname: location.pathname
3486
3487
  });
3487
3488
  }
3488
- let result = await queryImpl(request, location, matches, requestContext, null, false, match);
3489
+ let result = await queryImpl(request, location, matches, requestContext, unstable_dataStrategy || null, false, match);
3489
3490
  if (isResponse(result)) {
3490
3491
  return result;
3491
3492
  }