Skip to content

Releases: atlassian-labs/react-resource-router

v0.21.2

19 Dec 21:45
Compare
Choose a tag to compare

Bug fixes

  • Improved Link prefetch to not cause actual changes in resources (invalidation, update, ...) but instead keep the data separate until navigation is confirmed. This should also solve unnecessary re-renders when interacting with prefetching links

v0.21.1

14 Dec 03:36
Compare
Choose a tag to compare

Improvements & bug fixes

Fix missing type export

v0.21.0

16 Nov 06:43
Compare
Choose a tag to compare

Improvements

  • Bump react-sweet-state to v2.6.4 #162
  • Add support to additional route attributes #164
  • Add compatibility for goBack and goForward with history@5 #163
  • Modifies the prefetch delay from 300ms -> 225ms. #169
  • Extends prefetch="hover" to fire prefetch on focus and pointerDown events. #169

v0.20.1

19 Aug 06:10
Compare
Choose a tag to compare

Flowtype fixes

  • Undo adding the props type provided by the 'withRouter' component. #159

v0.20.0

21 Jun 02:50
Compare
Choose a tag to compare

New features

  • Dependent resources: It allows relationships between resources that exist in some well defined list,
    such as the route resources list. For more details, please see README.md. #153

Improvements & bug fixes

  • Bump eventsource from 1.1.0 to 1.1.1. #154
  • Bump nanoid from 3.1.21 to 3.3.3. #148

v0.19.3

31 May 00:33
Compare
Choose a tag to compare

Improvements & bug fixes

  • Fix some inconsistencies and update the doc. #152

v0.19.2

28 Apr 06:25
Compare
Choose a tag to compare

Improvements & bug fixes

  • Changes the TypeScript typings for ResourceStoreContext to be an empty interface instead of an any typed type, so that consumers of the library can do a module declaration to extend the ResourceStoreContext to type their own code. #142
  • Compile typescript with isolatedModules to remove types from runtime code. #147

v0.19.1

17 Mar 03:58
Compare
Choose a tag to compare

Improvements & bug fixes

  • Upgrade url-parse from ^1.5.6 to ^1.5.10 #138
  • Use url-parse instead of window.URL for better compatibility #140

v0.19.0

18 Feb 01:44
Compare
Choose a tag to compare

Breaking changes

  • Treat null as valid resource data. #107

New features

Flowtype fixes

Bug fixes

  • Ensure prefetching resources are not prematurely cleared. #115
  • Ensure Links with preload do not trigger fetch request for resources on current route. #125

v0.18.1

24 Aug 23:42
Compare
Choose a tag to compare

Bug fixes

  • Fix delete resource potentially erroring when resource cache was not created