Releases: birdofpreyru/react-native-fs
Releases Β· birdofpreyru/react-native-fs
v2.28.1
- [#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
) andreact-native-windows
(^0.75.0
) peer dependencies (both were required as*
before).
- PR #67 by @christianchown (moves
v2.28.0
Breaking Changes
- [#60] The library and its Example App have been migrated from [email protected] to the latest [email protected].
- This breaks builds targeting macOS (Catalyst) (#65).
- Support of the old RN architecture has not been tested.
Other Updates
- Update of dependencies.
v2.27.1
- 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
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!
- 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
Other Updates
- Update of dependencies.
v2.26.0
- 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
v2.25.1
- [#44] iOS, macOS: Fix of pickFile() crashing host apps when using bridge-less mode of the RN's new arch.
- Update of dependencies.
v2.25.0
- [#39] Upgrade to [email protected].
- Android: Minor code clean-up.
v2.24.6
- [#32] iOS: Patch of the privacy manifest (adds
NSPrivacyCollectedDataTypes
key) β Thanks to PR #38 by @raphaelheinz
v2.24.5
- [#36] README improvement.
- [#37] Android: Fixes pickFile() (broken in the previous release).