diff --git a/www/_posts/2024-10-23-cordova-plugin-file-8.1.1.md b/www/_posts/2024-10-23-cordova-plugin-file-8.1.1.md index 4574ec2cde..0dc955fd1b 100644 --- a/www/_posts/2024-10-23-cordova-plugin-file-8.1.1.md +++ b/www/_posts/2024-10-23-cordova-plugin-file-8.1.1.md @@ -31,6 +31,8 @@ By default, the `AndroidInsecureFileModeEnabled` preference is disabled. If your For iOS, there are no changes. +_Edit (2024-10-28)_: This patch introduces a regression on Android platforms when resolving `.toURL()` on some `file://` URIs. Please use upgrade to `cordova-plugin-file@8.1.2` instead. + Please report any issues you find by following the this [How to File a Bug](https://github.com/apache/cordova#filing-a-bug) guide! diff --git a/www/_posts/2024-10-28-cordova-plugin-file-8.1.2.md b/www/_posts/2024-10-28-cordova-plugin-file-8.1.2.md new file mode 100644 index 0000000000..e8149fa1dd --- /dev/null +++ b/www/_posts/2024-10-28-cordova-plugin-file-8.1.2.md @@ -0,0 +1,36 @@ +--- +layout: post +author: + name: Norman Breau + url: https://breautek.com +title: "File Plugin 8.1.2 Released!" +categories: announcements +tags: news releases +--- + +We are happy to announce that we have just released an update for `cordova-plugin-file`! + +* [cordova-plugin-file@8.1.2](https://www.npmjs.com/package/cordova-plugin-file) + +**To upgrade:** + +```bash +cordova plugin remove cordova-plugin-file +cordova plugin add cordova-plugin-file@8.1.2 +``` + +## Release Highlights + +This patch is a regression fix. See [8.1.1 release blog](https://cordova.apache.org/announcements/2024/10/23/cordova-plugin-file-8.1.1.html) post for more details. + +In 8.1.1, the `FileEntry.toURL()` method broke when used on any `file://` that didn't lead to the app's internal assets on Android. This is now corrected. + +This bug didn't effect iOS devices. + +Please report any issues you find by following the [How to File a Bug](https://github.com/apache/cordova#filing-a-bug) guide! + + +# Changes include: + +**Fixes:** +* [GH-640](https://github.com/apache/cordova-plugin-file/pull/640) fix(android): Regression breaking resolved DOM-usable file:// paths (#640)