Skip to content

Releases: georstat/react-native-image-cache

Release 3.1.0

06 Sep 21:31
Compare
Choose a tag to compare

Improvements

  • chore: added 408, 500 & 503 error codes in the retry function (e823000).
  • chore: use forEach instead of map in prefetch function (9ab5e91).

Release 3.0.0

06 Sep 20:56
Compare
Choose a tag to compare

New Features

  • feat: support local images via require, note that you must provide the imageStyle prop #62 thanks @saif-o99

Improvements

  • chore: removed lodash and tmpPath #63 thanks @saif-o99
  • chore: updated dev and example packages (b534f4f).
  • chore: removed husky, added lefthook (f6d0745).
  • chore: prettified, linted and a-b sorted some props (708340d).
  • chore: renamed animated style variables for better readability (3b7486b).
  • chore: use root on lefthook for example run (66e04eb).

Documentations

  • docs: added imageStyle prop and info about supporting local images (23e2a70).

Release 2.9.0

10 Aug 13:38
Compare
Choose a tag to compare

Features

  • feat: added retry logic on network failure #61

Fixes

  • fix: catch FileSystem.fetch network offline error #60 thanks @youniaogu !

Improvements

  • chore: updated dev and example packages (eba84f1).

Documentations

  • docs: added supports new Arch in Features (bd859ef).

Release 2.8.0

07 Aug 13:39
Compare
Choose a tag to compare

Improvements

  • chore: updated dev and example packages (8633bbb).
  • chore: import useRef instead of React.useRef (d02ea03).

Fixes:

Release 2.7.0

31 Jul 09:37
Compare
Choose a tag to compare

Improvements

  • chore: updated CHANGELOG.md (4b01561).

Fixes

  • fix: allow 0 as an animation duration on both source and thumbnail (071941c).

Release 2.6.0

31 Jul 08:55
Compare
Choose a tag to compare

Improvements

Fixes:

  • fix: check if path exist before clearing cache (clearCache) #56 thanks @itsramiel !

Release 2.5.0

12 Jun 10:22
Compare
Choose a tag to compare

Improvements

  • chore: updated dev end example packages (d2359c1).

Fixes

  • fix: fix for "Image source "null"" warning on Android devices (da8d3d7).

Release 2.4.0

12 May 12:59
Compare
Choose a tag to compare

Improvements

  • chore: updated example to [email protected], updated dev dependencies (c512549).
  • chore: added nullish check on sourceAnimationDuration from global config (f75ce87).
  • chore: added tintColor prop on source image (8c91921).

Fixes

  • fix: move reanimated and react-native-file-access to dev dependencies (4066952).
  • fix: use options for thumbnails & support token refresh
    (6c21996).

Documentations

  • docs: update README.md

  • added buy me a coffee link (2982b22).

  • docs: fix typo (bee2b26).

Release 2.3.0

09 Aug 10:40
Compare
Choose a tag to compare

Features

  • feat: Prefetch image and return the base64/blob string (47d537a).

Improvements

  • chore: updated dev and example packages (2f23710).

Release 2.2.0

20 Jun 09:50
Compare
Choose a tag to compare

Improvements

  • chore: updated dev packages (0e87709).
  • chore: updated example packages, added routes.tsx on .eslintignore (859a880).
  • chore: linted example and fixed a typo in a comment (f2237a6).
  • chore: a-b sorted types.d.ts (3698869).
  • chore: added getCustomCacheKey on CacheManager.config (970e037).

Documentations

  • docs: added testID prop and new getCustomCacheKey config option (c1dfdf0).
  • docs: mark prefetch options as optional on parameters (3db99cf).