Skip to content

Commit

Permalink
announcement: File Plugin 8.1.2
Browse files Browse the repository at this point in the history
  • Loading branch information
breautek committed Oct 28, 2024
1 parent fc9eafd commit ecae38e
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 0 deletions.
2 changes: 2 additions & 0 deletions www/_posts/2024-10-23-cordova-plugin-file-8.1.1.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 `[email protected]` 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!

<!--more-->
Expand Down
36 changes: 36 additions & 0 deletions www/_posts/2024-10-28-cordova-plugin-file-8.1.2.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
---
layout: post
author:
name: Norman Breau
url: https://breautek.com
title: "File Plugin 8.1.1 Released!"
categories: announcements
tags: news releases
---

We are happy to announce that we have just released an update for `cordova-plugin-file`!

* [[email protected]](https://www.npmjs.com/package/cordova-plugin-file)

**To upgrade:**

```bash
cordova plugin remove cordova-plugin-file
cordova plugin add [email protected]
```

## Release Highlights

This patch is a regression fix. To see [8.1.1](https://cordova.apache.org/announcements/2024/10/23/cordova-plugin-file-8.1.1.html) higlights for full 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 this [How to File a Bug](https://github.com/apache/cordova#filing-a-bug) guide!

<!--more-->
# Changes include:

**Fixes:**
* [GH-640](https://github.com/apache/cordova-plugin-file/pull/640) fix(android): Regression breaking resolved DOM-usable file:// paths (#640)

0 comments on commit ecae38e

Please sign in to comment.