Skip to content

Releases: atlassian-labs/react-resource-router

v0.26.0

07 Feb 02:44
Compare
Choose a tag to compare

What's Changed

  • React 18 upgrade #221

Full Changelog: v0.25.0...v0.26.0

v0.25.0

14 Sep 00:14
Compare
Choose a tag to compare

New features

  • Added state to .push, .replace, pushTo, replaceTo, and Link. #215

0.24.2

16 Aug 05:43
Compare
Choose a tag to compare

Improvements

  • Make Route.component prop optional
  • Export isSameRouteMatch from react-resource-router/utils

v0.24.1

12 Jul 05:29
Compare
Choose a tag to compare

Improvements

  • Re-export resources from root for backward compatibility with 0.20.x

v0.24.0

28 Jun 05:03
Compare
Choose a tag to compare

New features

Breaking changes

const resourcesPlugin = createResourcesPlugin({});

...

<Router plugins={[resourcesPlugin]}>

v0.23.1

23 May 06:05
Compare
Choose a tag to compare

Bug fixes

  • Fix react-resource-router#use-resource-imports codemod import error

v0.23.0

16 May 05:17
Compare
Choose a tag to compare

Improvements

  • Moving react-resource-router resources code under a separate package entrypoint react-resource-router/resources

New features

  • Route EXPERIMENTAL__shouldReload API to avoid plugins reload when staying within the same route

v0.22.2

26 Apr 03:01
Compare
Choose a tag to compare

Improvements

  • Fixed mismatch between react-resource-router and react-resource-router/resources exported types

v0.22.1

24 Apr 03:59
Compare
Choose a tag to compare

Breaking changes

  • Plugin beforeRouteLoad and routeLoad methods will be called only if Route path/params/query change
  • Plugin API now requires id prop

Improvements

  • Plugin type is an interface now and can be extended with extra props

v0.22.0

23 Feb 02:44
Compare
Choose a tag to compare

Breaking changes

  • StaticRouter has been removed in favour of Router
  • isStatic prop has been removed as node environments are now automatically detected
  • history prop is required in Router
  • resourceData prop has been removed from MemoryRouter

New features

  • Introduce plugins and extract resources as a plugin