Skip to content

Releases: atlassian-labs/react-loosely-lazy

react-loosely-lazy@1.2.1

23 Aug 04:51
bb67455
Compare
Choose a tag to compare

Patch Changes

  • c1ee4f7: Avoid accessing global at module initialization time.

@react-loosely-lazy/parcel-transformer@1.3.0

22 May 03:26
83446e7
Compare
Choose a tag to compare

Minor Changes

  • ce8ba1e: Use stable parcel version

@react-loosely-lazy/parcel-reporter-manifest@1.3.0

22 May 03:26
83446e7
Compare
Choose a tag to compare

Minor Changes

  • ce8ba1e: Use stable parcel version

Patch Changes

@react-loosely-lazy/babel-plugin@1.3.0

10 Nov 00:27
122da92
Compare
Choose a tag to compare

Minor Changes

  • bbee6b9: Add custom resolver support

v1.1.0

10 May 01:55
Compare
Choose a tag to compare

New features

  • Add a simple profiler for capturing load times #102

Bug fixes

  • Rework subscriptions to not cause re-renders #94
  • Revise server check #97
  • Add children to LazySuspenseProps #101
  • PlaceholderFallbackRender can call replacement effect twice #104
  • Update parcel transformer regex #109

More

  • Add security assistant config #87

Full Changelog: v1.0.0...v1.1.0

v1.0.0

23 Feb 23:32
Compare
Choose a tag to compare

We now consider RLL stable! 🥳
No API changes, mostly a re-structure of the project to be a monorepo.

v0.7.0

02 Jun 04:57
Compare
Choose a tag to compare

New features

  • Use Infinity over undefined for retry, and only accept a number type (#72)
  • Add manifest entrypoint (#76)

Bug fixes

  • Fix LazyWait when used with lazy (#78)

More

  • Update dependencies (#75)

Breaking changes

  • Update undefined option to retry as Infinity (#72)
  • Remove getAssets from webpack flow types, as it no longer exists (#76)
  • Remove Asset, and Manifest types from webpack entrypoint (#76)

v0.6.0

10 May 01:19
Compare
Choose a tag to compare

New features

  • Update lazy to load outside of phases, so that it behaves like React.lazy (#65). This change means that the next phase does not need to be manually started, for a lazy component to load.
  • The original error from the loader is thrown instead of a custom LoaderError, improving both the stack trace and messaging in the console and other reporters (#68)
  • Add resolverOptions configuration option to the babel plugin (#69)
  • LazyComponent.preload now returns a cleanup function, that removes any inserted link tags (#70)
  • Add retry support for the loader, and introduce a global retry configuration option (#71)

Bug fixes

  • Fix init default value handling when called multiple times (#65)
  • Ensure lazyAfterPaint components do not render during the paint phase, when falling back to the loader preloading (#65)
  • Automatically resolve TypeScript files in the babel plugin, when it is referenced in a loader import without the .ts or .tsx suffix (#69)
  • Cleanup lazyAfterPaint preload links when the component unmounts (#70)

Breaking changes

  • The LoaderError export has been removed, which should have minimal usages as isLoaderError should always be preferred (#68)
  • Error handling now uses a Symbol internally, which will require a polyfill for unsupported browsers like IE11 (#68)

v0.5.0

19 Apr 03:41
Compare
Choose a tag to compare

New features

  • Export getAssetUrlsFromId (#63)
  • Optimise webpack manifest output by splitting out the publicPath from the asset list (#63)
  • Add publicPath option to the webpack plugin (#63)

Breaking changes

  • This is considered a breaking change for consumers that access the internal webpack manifest file structure

v0.4.4

24 Feb 01:59
Compare
Choose a tag to compare

Bug fixes

Fix warning with Webpack 5 due to TS types exports