- Updated dependencies []:
- @shopify/[email protected]
- Updated dependencies []:
- @shopify/[email protected]
- Updated dependencies []:
- @shopify/[email protected]
- Updated dependencies [
d691952
]:- @shopify/[email protected]
-
#2785
97f8f6cf5
Thanks @vsumner! - Drop support for node 14 and 16. Support node LTS and up. -
#2787
f50049004
Thanks @vsumner! - Drop support for React 17
- Updated dependencies [
97f8f6cf5
,f50049004
]:- @shopify/[email protected]
-
#2718
591e65366
Thanks @dependabot! - Bump @babel/traverse from 7.17.9 to 7.23.2 -
Updated dependencies [
591e65366
]:- @shopify/[email protected]
- Updated dependencies []:
- @shopify/[email protected]
- Updated dependencies []:
- @shopify/[email protected]
- Updated dependencies [
ba4da84d5
]:- @shopify/[email protected]
- Updated dependencies [
2f731db68
,93ec0a0e5
]:- @shopify/[email protected]
- Updated dependencies []:
- @shopify/[email protected]
- Updated dependencies []:
- @shopify/[email protected]
- Updated dependencies []:
- @shopify/[email protected]
- Updated dependencies []:
- @shopify/[email protected]
-
#2422
8af87f4e4
Thanks @devonpmack! -@shopify/react-router
is nowreact-router
v6 compatible; support forreact-router
v5 is dropped. In order to distinguish what comes fromreact-router-dom
and what comes from@shopify/react-router
, we have removed re-exports fromreact-router-dom
.react-router-dom
is now a peer dependency of this package. TheLink
component has been removed.Consumers should add
react-router-dom
as a dependency alongside@shopify/react-router
, and all imports aside fromRouter
andRedirect
should be updated to imported fromreact-router-dom
. See Polaris' documentation for how to create a meaningfulLink
component that handles external urls.
- Updated dependencies []:
- @shopify/[email protected]
- Updated dependencies []:
- @shopify/[email protected]
- Updated dependencies []:
- @shopify/[email protected]
-
#2389
03c1abc8c
Thanks @BPScott! - Add types field to package.json export maps to support typescript consumers that usemoduleResolution: "node16"
-
Updated dependencies [
03c1abc8c
]:- @shopify/[email protected]
- Updated dependencies []:
- @shopify/[email protected]
- Updated dependencies []:
- @shopify/[email protected]
- Updated dependencies []:
- @shopify/[email protected]
- No updates. Transitive dependency bump.
- Drop support for node 12 and Safari 10, 11 and 12. Remove wildcard export in exports field. [#2277]
- No updates. Transitive dependency bump.
- No updates. Transitive dependency bump.
- No updates. Transitive dependency bump.
- Correct wildcard export to
./*
[#2209]
- No updates. Transitive dependency bump.
- No updates. Transitive dependency bump.
- Use
./*
instead of./
in package.json exports to fix deprecation warning. [#2184]
- Add generatePath export. [#2183]
- No updates. Transitive dependency bump.
- No updates. Transitive dependency bump.
- No updates. Transitive dependency bump.
- Rerelease after failed publish. No code changes.
- No updates. Transitive dependency bump.
- Minor: Add RouteProps type export to be able to extend it in projects. [#2143]
- No updates. Transitive dependency bump.
- No updates. Transitive dependency bump.
- No updates. Transitive dependency bump.
- No updates. Transitive dependency bump.
- No updates. Transitive dependency bump.
- Fixed babel helpers file being generated with incorrect filename in esm build. [#2082]
- No updates. Transitive dependency bump.
- Migrate from
sewing-kit-next
toloom
for building - package build output remains identical. [#2039]
- No updates. Transitive dependency bump.
- Enable type checking in tests and fix type errors. [#2034]
- No updates. Transitive dependency bump.
- Updated build tooling, types are now compiled with TypeScript 4.3. [#1997]
- Update to latest sewing-kit-next for build. Update
types
/typesVersions
fields to point directly into the build folder [#1980]
- Officially supports React
17.x
1969
- No updates. Transitive dependency bump.
- Update minimum supported node version to 12.14.0. Add engines field to help enforce usage of this version. #1906
- Removed dependency on tslib, as we no-longer compile with
tsc
. #1829
- Added new
basename
prop toRouter
to match behaviour of React-Router components #1757
- Exported values for
MemoryRouter
,useRouteMatch
,useParams
,useLocation
anduseHistory
, which were previously only exporting their types since 0.2.0 #1804
- Updated multi-build outputs to include mandatory extensions to fix "Module not found" issues reported by ESM supported bundlers #1759
- Add new build outputs (CommonJS, ESM, esnext, Node) for greater tree-shakability #1698
- Added
tslib@^1.14.1
in the list of dependencies. #1657
- Fix typing of Link so it supports the same props as react-router's Link. 1645
- Export
MemoryRouter
. 1645 - Reexport
useRouteMatch
,useParams
,useLocation
anduseHistory
hooks. 1646
- Pass in object with pathname (ie.
/test123
) and search to StaticRouter. The strange behaviour is cause by a react-router using spread operator to copy object. 1589
- ❗️ This version is broken and deprecated. Do not use ❗️
- Fix bug where passing URL object would cause server router to page incorrectly 1567
- Change the Router location prop to accept URL as well as string. 1423
- The
<Router />
component will now give a more useful error message when not given alocation
on the server
- Adds
RouterChildContext
to exported types
- Fix Redirect component
- Fix component to explicitly accept a children prop to delegate to the underlying link from
react-router
. 1073
- Move the types to depenedencies
- Add more stock
react-router
components
- Fix type error in consuming projects with the props of
<Redirect />
@shopify/react-router
package