@capacitor/filesystem
Advanced tools
Comparing version 1.0.7 to 1.1.0
@@ -6,2 +6,18 @@ # Change Log | ||
# [1.1.0](https://github.com/ionic-team/capacitor-plugins/compare/@capacitor/filesystem@1.0.7...@capacitor/filesystem@1.1.0) (2022-01-19) | ||
### Bug Fixes | ||
* inline source code in esm map files ([#760](https://github.com/ionic-team/capacitor-plugins/issues/760)) ([a960489](https://github.com/ionic-team/capacitor-plugins/commit/a960489a19db0182b90d187a50deff9dfbe51038)) | ||
### Features | ||
* **filesystem:** support Library directory ([#666](https://github.com/ionic-team/capacitor-plugins/issues/666)) ([ce7ee95](https://github.com/ionic-team/capacitor-plugins/commit/ce7ee958b141f1dd4f86493923455f8264d0b6db)) | ||
## [1.0.7](https://github.com/ionic-team/capacitor-plugins/compare/@capacitor/filesystem@1.0.6...@capacitor/filesystem@1.0.7) (2022-01-10) | ||
@@ -8,0 +24,0 @@ |
@@ -991,5 +991,16 @@ { | ||
], | ||
"docs": "The Data directory\nOn iOS it will use the Documents directory\nOn Android it's the directory holding application files.\nFiles will be deleted when the application is uninstalled." | ||
"docs": "The Data directory\nOn iOS it will use the Documents directory.\nOn Android it's the directory holding application files.\nFiles will be deleted when the application is uninstalled." | ||
}, | ||
{ | ||
"name": "Library", | ||
"value": "'LIBRARY'", | ||
"tags": [ | ||
{ | ||
"text": "1.1.0", | ||
"name": "since" | ||
} | ||
], | ||
"docs": "The Library directory\nOn iOS it will use the Library directory.\nOn Android it's the directory holding application files.\nFiles will be deleted when the application is uninstalled." | ||
}, | ||
{ | ||
"name": "Cache", | ||
@@ -996,0 +1007,0 @@ "value": "'CACHE'", |
@@ -21,3 +21,3 @@ import type { PermissionState } from '@capacitor/core'; | ||
* The Data directory | ||
* On iOS it will use the Documents directory | ||
* On iOS it will use the Documents directory. | ||
* On Android it's the directory holding application files. | ||
@@ -30,2 +30,11 @@ * Files will be deleted when the application is uninstalled. | ||
/** | ||
* The Library directory | ||
* On iOS it will use the Library directory. | ||
* On Android it's the directory holding application files. | ||
* Files will be deleted when the application is uninstalled. | ||
* | ||
* @since 1.1.0 | ||
*/ | ||
Library = "LIBRARY", | ||
/** | ||
* The Cache directory | ||
@@ -32,0 +41,0 @@ * Can be deleted in cases of low memory, so use this directory to write app-specific files |
@@ -18,3 +18,3 @@ export var Directory; | ||
* The Data directory | ||
* On iOS it will use the Documents directory | ||
* On iOS it will use the Documents directory. | ||
* On Android it's the directory holding application files. | ||
@@ -27,2 +27,11 @@ * Files will be deleted when the application is uninstalled. | ||
/** | ||
* The Library directory | ||
* On iOS it will use the Library directory. | ||
* On Android it's the directory holding application files. | ||
* Files will be deleted when the application is uninstalled. | ||
* | ||
* @since 1.1.0 | ||
*/ | ||
Directory["Library"] = "LIBRARY"; | ||
/** | ||
* The Cache directory | ||
@@ -29,0 +38,0 @@ * Can be deleted in cases of low memory, so use this directory to write app-specific files |
@@ -24,3 +24,3 @@ 'use strict'; | ||
* The Data directory | ||
* On iOS it will use the Documents directory | ||
* On iOS it will use the Documents directory. | ||
* On Android it's the directory holding application files. | ||
@@ -33,2 +33,11 @@ * Files will be deleted when the application is uninstalled. | ||
/** | ||
* The Library directory | ||
* On iOS it will use the Library directory. | ||
* On Android it's the directory holding application files. | ||
* Files will be deleted when the application is uninstalled. | ||
* | ||
* @since 1.1.0 | ||
*/ | ||
Directory["Library"] = "LIBRARY"; | ||
/** | ||
* The Cache directory | ||
@@ -35,0 +44,0 @@ * Can be deleted in cases of low memory, so use this directory to write app-specific files |
@@ -21,3 +21,3 @@ var capacitorFilesystem = (function (exports, core) { | ||
* The Data directory | ||
* On iOS it will use the Documents directory | ||
* On iOS it will use the Documents directory. | ||
* On Android it's the directory holding application files. | ||
@@ -30,2 +30,11 @@ * Files will be deleted when the application is uninstalled. | ||
/** | ||
* The Library directory | ||
* On iOS it will use the Library directory. | ||
* On Android it's the directory holding application files. | ||
* Files will be deleted when the application is uninstalled. | ||
* | ||
* @since 1.1.0 | ||
*/ | ||
Directory["Library"] = "LIBRARY"; | ||
/** | ||
* The Cache directory | ||
@@ -32,0 +41,0 @@ * Can be deleted in cases of low memory, so use this directory to write app-specific files |
{ | ||
"name": "@capacitor/filesystem", | ||
"version": "1.0.7", | ||
"version": "1.1.0", | ||
"description": "The Filesystem API provides a NodeJS-like API for working with files on the device.", | ||
@@ -82,3 +82,3 @@ "main": "dist/plugin.cjs.js", | ||
}, | ||
"gitHead": "e5b333320426ee120d4504c68c02bd5538b21c51" | ||
"gitHead": "f18ee6482e1ec8e5fb0290d51f598397133af990" | ||
} |
@@ -493,3 +493,4 @@ # @capacitor/filesystem | ||
| **`Documents`** | <code>'DOCUMENTS'</code> | The Documents directory On iOS it's the app's documents directory. Use this directory to store user-generated content. On Android it's the Public Documents folder, so it's accessible from other apps. It's not accesible on Android 10 unless the app enables legacy External Storage by adding `android:requestLegacyExternalStorage="true"` in the `application` tag in the `AndroidManifest.xml`. It's not accesible on Android 11 or newer. | 1.0.0 | | ||
| **`Data`** | <code>'DATA'</code> | The Data directory On iOS it will use the Documents directory On Android it's the directory holding application files. Files will be deleted when the application is uninstalled. | 1.0.0 | | ||
| **`Data`** | <code>'DATA'</code> | The Data directory On iOS it will use the Documents directory. On Android it's the directory holding application files. Files will be deleted when the application is uninstalled. | 1.0.0 | | ||
| **`Library`** | <code>'LIBRARY'</code> | The Library directory On iOS it will use the Library directory. On Android it's the directory holding application files. Files will be deleted when the application is uninstalled. | 1.1.0 | | ||
| **`Cache`** | <code>'CACHE'</code> | The Cache directory Can be deleted in cases of low memory, so use this directory to write app-specific files that your app can re-create easily. | 1.0.0 | | ||
@@ -496,0 +497,0 @@ | **`External`** | <code>'EXTERNAL'</code> | The external directory On iOS it will use the Documents directory On Android it's the directory on the primary shared/external storage device where the application can place persistent files it owns. These files are internal to the applications, and not typically visible to the user as media. Files will be deleted when the application is uninstalled. | 1.0.0 | |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
333796
4207
509
25
309