Skip to content

Releases: birdofpreyru/react-native-fs

v2.30.3

12 Jan 20:42
Compare
Choose a tag to compare
  • [#70] Fixed resolution of TypeScript types in the environments that rely on the types field of package.jsonThanks to @Bengejd for PR #97.
  • Update of dependencies.

v2.30.2

27 Dec 11:13
Compare
Choose a tag to compare
  • For Android:
    • [#92] Fix to avoid Google.Play detecting an invalid issue during publication of host apps.
    • [#93] Patches downloadFile() to decode GZip-compressed responses if accept-encoding header is set to gzip, which matches function behavior for other platforms. — Thanks to @meza-jhonathan for discovering the issue, and PR #94.
  • Update of dependencies.

v2.30.1

29 Nov 18:01
Compare
Choose a tag to compare

Thanks to @pcprinz for these fixes & updates (PRs #87, #88, #90).


  • Update of dependencies.

v2.30.0

16 Nov 22:56
Compare
Choose a tag to compare

Breaking Changes

  • [#81] iOS, macOS: Fixes .isDirectory() and .isFile() checks of readDir() results. Presumably, they were broken due to a regression in v2.27.1, and both were always evaluating false since then.
  • [#82][#85] iOS, macOS: Improves support of special characters in paths, which alters paths returned by readDir(), if they have special characters.

Other Updates

  • [#79] Minor code improvements.
  • Update of dependencies.

v2.29.1

28 Oct 22:49
Compare
Choose a tag to compare
  • Android:
    • Fixes copyFileAssets() implementation for Android SDKs older than v35.
    • Slightly corrects the error code & message thrown by stat() when the specified path is not found.
    • Minor code clean-up, guided by Android Studio's code analysis.
  • Update of dependencies.

v2.29.0

27 Oct 22:10
Compare
Choose a tag to compare

Breaking Changes

  • [#76] Upgrade to [email protected] for Android, iOS, macOS.

  • [#75] iOS, macOS: Fixed support of «Bookmark URLs» by hash() and stat() methods.

    • At least for now, dropped mode (UNIX file mode) value from the stat()'s result, StatResultT; it now equals undefined on all platforms.

Other Updates

  • Update of dependencies.

v2.28.1

29 Sep 18:29
Compare
Choose a tag to compare
  • [#40] Support of native macOS builds — thanks to PR #69 by @hsjoberg
  • Update of dependencies, including among other stuff:
    • PR #67 by @christianchown (moves eslint-plugin-ft-flow to dev dependencies)
    • [#66] Demand specific versions for react-native (^0.75.2) and react-native-windows (^0.75.0) peer dependencies (both were required as * before).

v2.28.0

25 Aug 12:14
Compare
Choose a tag to compare

Breaking Changes

Other Updates

  • Update of dependencies.

v2.27.1

15 Jun 14:52
Compare
Choose a tag to compare
  • iOS, macOS: readDir() is refactored to support security-scoped «Bookmark URLs» (see pickFile() documentation for additional details re. such URLs). — with contribution by @zenoxs (PR #52)

v2.27.0

12 Jun 21:38
Compare
Choose a tag to compare

Breaking Changes

  • [#48] uploadFiles() is patched / updated for all platforms to ensure:

    • Uniform handling of HTTP errors — in case of HTTP response having 4xx or 5xx status code the upload promise is rejected with a proper Error instance, with its message set to the human-readable error HTTP error reason (according to http-status-codes), and UploadResultT object attached to the .result field of that error.
    • Ensures statusCode value in UploadResultT is a number on all platforms (it was already promised so by TypeScript definitions, but it turned out it was string during runtime on Windows).

    Thanks to @Crare for help with troubleshooting this, and PR #49!

Other Updates

  • Update of dependencies.