Skip to content

Releases: birdofpreyru/react-native-fs

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.

v2.26.0

30 May 11:37
Compare
Choose a tag to compare
  • iOS (old arch), macOS (old arch): Fixes the transport of boolean arguments / options from JS into Native layer in a number of functions. It presumably fixes a subtle bug (#24) in downloadFile(), and may alter (fix) behavior of some other methods. — Thanks to @stetbern for identifying the issue, and contributing PR #47.

v2.25.2

27 May 12:44
Compare
Choose a tag to compare
  • [#45] Android: Patches types in getPickFileLauncher() code.