- Updated dependencies [
1171b00]:- @shopify/react-hooks@4.1.2
- @shopify/react-hydrate@3.1.4
- Updated dependencies [
2b70145]:- @shopify/react-hooks@4.1.1
- @shopify/react-hydrate@3.1.3
- Updated dependencies [
0fc2d54]:- @shopify/react-hooks@4.1.0
- @shopify/react-hydrate@3.1.2
- Updated dependencies [
5546b1d,d691952]:- @shopify/react-hooks@4.0.0
- @shopify/react-effect@5.2.0
- @shopify/useful-types@5.3.0
- @shopify/react-hydrate@3.1.1
-
#2785
97f8f6cf5Thanks @vsumner! - Drop support for node 14 and 16. Support node LTS and up. -
#2787
f50049004Thanks @vsumner! - Drop support for React 17
- Updated dependencies [
97f8f6cf5,f50049004]:- @shopify/async@4.1.0
- @shopify/react-effect@5.1.0
- @shopify/react-hooks@3.2.0
- @shopify/react-hydrate@3.1.0
- @shopify/react-idle@3.2.0
- @shopify/react-intersection-observer@4.1.0
- @shopify/useful-types@5.2.0
-
#2718
591e65366Thanks @dependabot! - Bump @babel/traverse from 7.17.9 to 7.23.2 -
Updated dependencies [
591e65366]:- @shopify/async@4.0.4
- @shopify/react-hooks@3.1.1
- @shopify/react-hydrate@3.0.12
- @shopify/react-idle@3.1.3
- Updated dependencies [
a4eae7db3]:- @shopify/react-hooks@3.1.0
- @shopify/react-hydrate@3.0.11
- #2684
20cbe440aThanks @melnikov-s! - Expose renderLoading on AsyncComponentType
- Updated dependencies [
a3b5c3fc0]:- @shopify/react-hooks@3.0.5
- @shopify/react-hydrate@3.0.10
-
#2608
ba4da84d5Thanks @BPScott! - Useimport typeeverywhere that we deal with importing types -
Updated dependencies [
ba4da84d5]:- @shopify/async@4.0.3
- @shopify/react-hooks@3.0.4
- @shopify/react-idle@3.1.2
- @shopify/react-intersection-observer@4.0.4
- @shopify/useful-types@5.1.2
- @shopify/react-hydrate@3.0.9
-
#2593
2f731db68Thanks @BPScott! - Remove unneededvoid 0class property initializations -
#2595
93ec0a0e5Thanks @BPScott! - Useimport typewhen importing types -
Updated dependencies [
2f731db68,93ec0a0e5]:- @shopify/react-effect@5.0.3
- @shopify/async@4.0.2
- @shopify/react-hydrate@3.0.8
- @shopify/react-idle@3.1.1
- @shopify/react-intersection-observer@4.0.3
- #2545
bd204450fThanks @devisscher! - Add a sensitivity check to the Prefetcher component
- Updated dependencies [
2aa32e8b8]:- @shopify/react-hooks@3.0.3
- @shopify/react-hydrate@3.0.7
- #2409
0bff6fad7Thanks @BPScott! - Update types to account changes in TypeScript 4.8 and 4.9. Propogate contstraints on generic types and update type usage relating toWindowandNavigator. Technically this makes some types stricter, as attempting to passnull|undefinedinto certain functions is now disallowed by TypeScript, but these were never expected runtime values in the first place.
- Updated dependencies []:
- @shopify/react-hydrate@3.0.6
-
#2408
2094cb39aThanks @BPScott! - Internal typing adjustments as a result of updating Typescript -
Updated dependencies []:
- @shopify/react-hydrate@3.0.5
- Updated dependencies []:
- @shopify/react-hydrate@3.0.4
-
#2389
03c1abc8cThanks @BPScott! - Add types field to package.json export maps to support typescript consumers that usemoduleResolution: "node16" -
Updated dependencies [
03c1abc8c]:- @shopify/async@4.0.1
- @shopify/react-effect@5.0.2
- @shopify/react-hooks@3.0.2
- @shopify/react-hydrate@3.0.3
- @shopify/react-idle@3.0.3
- @shopify/react-intersection-observer@4.0.2
- @shopify/useful-types@5.1.1
- Updated dependencies [
b42a99a7d]:- @shopify/useful-types@5.1.0
- @shopify/react-idle@3.0.2
- @shopify/react-hydrate@3.0.2
- No updates. Transitive dependency bump.
- Drop support for node 12 and Safari 10, 11 and 12. Remove wildcard export in exports field. [#2277]
- Explicitly type children in a component defined in a test [#2266]
- 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]
- Reduce usage of
@shopify/useful-typesby using built-in types. [#2163]
- No updates. Transitive dependency bump.
- Rerelease after failed publish. No code changes.
- 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-nexttoloomfor 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.
- Added file exclusion for tests to package.json. [#2005]
- Updated build tooling, types are now compiled with TypeScript 4.3. [#1997]
- Ensure
tsconfig.tsbuildinfofile is not uploaded to the npm registry. [#1982]
- Update to latest sewing-kit-next for build. Update
types/typesVersionsfields to point directly into the build folder [#1980]
- Officially supports React
17.x1969
- 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
- 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.1in the list of dependencies. #1657
- Removed dependency on deprecated
@shopify/javascript-utilitiespackage (#1560)
- Fixed a type issue with
usePreload,usePrefetch, anduseKeepFreshhook arguments (#1404)
- Exported some additional types that can be useful for creating objects that can be used with
usePreload,usePrefetch, anduseKeepFresh(#1153).
- Fixed an issue where async components would not be immediately available during server rendering
- Added the missing dependencies for
@shopify/react-idleand@shopify/react-hydrate
Complete rewrite to support progressive hydration and hook-based prefetching. Please refer to the migration guide for details.
- Prefetching now happens on
touchdownto improve perceived performance on touch devices (#708)
- Added a
useAsyncAssethook to register an identifier as used when not directly using theAsynccomponent (#702)
- Small refactor to export
resolveutility (#649)
This library now requires React 16.8 because of changes to @shopify/react-effect.
- Support the new
DeferTiming.InViewportstrategy (#576)
- The library now performs a more exhaustive obfuscation of
requireto reliably fool Webpack (#537)
- Fixed an issue where Webpack would complain about a dynamic
requirestatement (#533)
Asyncnow attempts to resolve theidof the component with a barerequirecall when it is available (#530)
createAsyncComponentnow accepts adeferproperty that dictates whether that component should wait until mount or idle to start loading the component (#517)- The component returned from
createAsyncComponentand its staticPreload,Prefetch, andKeepFreshcomponents all accept anasyncprop that is an object with an optionaldeferproperty, which controls the way loading is done for just that element (#517)
- Fixed an issue where the
<Prefetcher />would not watch user interactions by default.
- Fixed some broken API choices
- Initial release