diff --git a/.changeset/odd-kids-buy.md b/.changeset/odd-kids-buy.md index 62d89fd4b4..35c8d8cdf5 100644 --- a/.changeset/odd-kids-buy.md +++ b/.changeset/odd-kids-buy.md @@ -2,4 +2,4 @@ "react-router": patch --- -fix initialEntries type in createMemoryRouter +fix `initialEntries` type in `createMemoryRouter` diff --git a/.changeset/pre.json b/.changeset/pre.json index 501e9d184f..08e6e40082 100644 --- a/.changeset/pre.json +++ b/.changeset/pre.json @@ -13,9 +13,13 @@ "fluffy-buttons-push", "funny-hotels-repeat", "funny-shirts-admire", + "green-dragons-vanish", "hot-badgers-grow", "metal-drinks-melt", "moody-bulldogs-enjoy", + "nine-apricots-notice", + "ninety-countries-cheat", + "odd-kids-buy", "smart-ants-decide", "weak-lizards-occur" ] diff --git a/package.json b/package.json index b8f4abe777..1ce68898d3 100644 --- a/package.json +++ b/package.json @@ -106,8 +106,8 @@ "node": ">=14" }, "filesize": { - "packages/router/dist/router.js": { - "none": "108 kB" + "packages/router/dist/router.umd.min.js": { + "none": "34 kB" }, "packages/react-router/dist/react-router.production.min.js": { "none": "12.5 kB" diff --git a/packages/react-router-dom-v5-compat/CHANGELOG.md b/packages/react-router-dom-v5-compat/CHANGELOG.md index aafc7bcd99..3eb96c0427 100644 --- a/packages/react-router-dom-v5-compat/CHANGELOG.md +++ b/packages/react-router-dom-v5-compat/CHANGELOG.md @@ -1,5 +1,13 @@ # `react-router-dom-v5-compat` +## 6.4.3-pre.1 + +### Patch Changes + +- Updated dependencies: + - `react-router@6.4.3-pre.1` + - `react-router-dom@6.4.3-pre.1` + ## 6.4.3-pre.0 ### Patch Changes diff --git a/packages/react-router-dom-v5-compat/package.json b/packages/react-router-dom-v5-compat/package.json index 5bdcd52f0f..99d4dd213c 100644 --- a/packages/react-router-dom-v5-compat/package.json +++ b/packages/react-router-dom-v5-compat/package.json @@ -1,6 +1,6 @@ { "name": "react-router-dom-v5-compat", - "version": "6.4.3-pre.0", + "version": "6.4.3-pre.1", "description": "Migration path to React Router v6 from v4/5", "keywords": [ "react", @@ -24,7 +24,7 @@ "types": "./dist/index.d.ts", "dependencies": { "history": "^5.3.0", - "react-router": "6.4.3-pre.0" + "react-router": "6.4.3-pre.1" }, "peerDependencies": { "react": ">=16.8", diff --git a/packages/react-router-dom/CHANGELOG.md b/packages/react-router-dom/CHANGELOG.md index 7cb0ee257b..8ea704dead 100644 --- a/packages/react-router-dom/CHANGELOG.md +++ b/packages/react-router-dom/CHANGELOG.md @@ -1,5 +1,13 @@ # `react-router-dom` +## 6.4.3-pre.1 + +### Patch Changes + +- Updated dependencies: + - `@remix-run/router@1.0.3-pre.1` + - `react-router@6.4.3-pre.1` + ## 6.4.3-pre.0 ### Patch Changes diff --git a/packages/react-router-dom/package.json b/packages/react-router-dom/package.json index 8971d831af..1bfc4f82b5 100644 --- a/packages/react-router-dom/package.json +++ b/packages/react-router-dom/package.json @@ -1,6 +1,6 @@ { "name": "react-router-dom", - "version": "6.4.3-pre.0", + "version": "6.4.3-pre.1", "description": "Declarative routing for React web applications", "keywords": [ "react", @@ -23,8 +23,8 @@ "module": "./dist/index.js", "types": "./dist/index.d.ts", "dependencies": { - "@remix-run/router": "1.0.3-pre.0", - "react-router": "6.4.3-pre.0" + "@remix-run/router": "1.0.3-pre.1", + "react-router": "6.4.3-pre.1" }, "devDependencies": { "react": "^18.2.0", diff --git a/packages/react-router-native/CHANGELOG.md b/packages/react-router-native/CHANGELOG.md index 696d697331..0896a5e71f 100644 --- a/packages/react-router-native/CHANGELOG.md +++ b/packages/react-router-native/CHANGELOG.md @@ -1,5 +1,12 @@ # `react-router-native` +## 6.4.3-pre.1 + +### Patch Changes + +- Updated dependencies: + - `react-router@6.4.3-pre.1` + ## 6.4.3-pre.0 ### Patch Changes diff --git a/packages/react-router-native/package.json b/packages/react-router-native/package.json index 4f043a6a12..3759196c5e 100644 --- a/packages/react-router-native/package.json +++ b/packages/react-router-native/package.json @@ -1,6 +1,6 @@ { "name": "react-router-native", - "version": "6.4.3-pre.0", + "version": "6.4.3-pre.1", "description": "Declarative routing for React Native applications", "keywords": [ "react", @@ -22,7 +22,7 @@ "types": "./dist/index.d.ts", "dependencies": { "@ungap/url-search-params": "^0.1.4", - "react-router": "6.4.3-pre.0" + "react-router": "6.4.3-pre.1" }, "devDependencies": { "react": "^18.2.0", diff --git a/packages/react-router/CHANGELOG.md b/packages/react-router/CHANGELOG.md index fe7f351913..7b11742a50 100644 --- a/packages/react-router/CHANGELOG.md +++ b/packages/react-router/CHANGELOG.md @@ -1,5 +1,14 @@ # `react-router` +## 6.4.3-pre.1 + +### Patch Changes + +- `useRoutes` should be able to return `null` when passing `locationArg` ([#9485](https://github.com/remix-run/react-router/pull/9485)) +- fix `initialEntries` type in `createMemoryRouter` ([#9498](https://github.com/remix-run/react-router/pull/9498)) +- Updated dependencies: + - `@remix-run/router@1.0.3-pre.1` + ## 6.4.3-pre.0 ### Patch Changes diff --git a/packages/react-router/package.json b/packages/react-router/package.json index 0f92b579db..47283caa7c 100644 --- a/packages/react-router/package.json +++ b/packages/react-router/package.json @@ -1,6 +1,6 @@ { "name": "react-router", - "version": "6.4.3-pre.0", + "version": "6.4.3-pre.1", "description": "Declarative routing for React", "keywords": [ "react", @@ -23,7 +23,7 @@ "module": "./dist/index.js", "types": "./dist/index.d.ts", "dependencies": { - "@remix-run/router": "1.0.3-pre.0" + "@remix-run/router": "1.0.3-pre.1" }, "devDependencies": { "react": "^18.2.0" diff --git a/packages/router/CHANGELOG.md b/packages/router/CHANGELOG.md index 9fe96881b6..2fb4075c86 100644 --- a/packages/router/CHANGELOG.md +++ b/packages/router/CHANGELOG.md @@ -1,5 +1,12 @@ # `@remix-run/router` +## 1.0.3-pre.1 + +### Patch Changes + +- fix `createURL` in local file execution in Firefox ([#9464](https://github.com/remix-run/react-router/pull/9464)) +- make url-encoding history-aware ([#9496](https://github.com/remix-run/react-router/pull/9496)) + ## 1.0.3-pre.0 ### Patch Changes diff --git a/packages/router/package.json b/packages/router/package.json index 100e198a92..05a5c32024 100644 --- a/packages/router/package.json +++ b/packages/router/package.json @@ -1,6 +1,6 @@ { "name": "@remix-run/router", - "version": "1.0.3-pre.0", + "version": "1.0.3-pre.1", "description": "Nested/Data-driven/Framework-agnostic Routing", "keywords": [ "remix",