Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

announcement: File Plugin 8.1.2 #1373

Merged
merged 3 commits into from
Oct 30, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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)
Loading