You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

455 lines
36 KiB

  1. <!--
  2. #
  3. # Licensed to the Apache Software Foundation (ASF) under one
  4. # or more contributor license agreements. See the NOTICE file
  5. # distributed with this work for additional information
  6. # regarding copyright ownership. The ASF licenses this file
  7. # to you under the Apache License, Version 2.0 (the
  8. # "License"); you may not use this file except in compliance
  9. # with the License. You may obtain a copy of the License at
  10. #
  11. # http://www.apache.org/licenses/LICENSE-2.0
  12. #
  13. # Unless required by applicable law or agreed to in writing,
  14. # software distributed under the License is distributed on an
  15. # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
  16. # KIND, either express or implied. See the License for the
  17. # specific language governing permissions and limitations
  18. # under the License.
  19. #
  20. -->
  21. # Release Notes
  22. ### 4.3.3 (Apr 27, 2017)
  23. * [CB-12622](https://issues.apache.org/jira/browse/CB-12622) Added **Android 6.0** build badge to `README`
  24. * [CB-12685](https://issues.apache.org/jira/browse/CB-12685) added `package.json` to tests folder
  25. ### 4.3.2 (Feb 28, 2017)
  26. * [CB-12353](https://issues.apache.org/jira/browse/CB-12353) Corrected merges usage in `plugin.xml`
  27. * [CB-12369](https://issues.apache.org/jira/browse/CB-12369) Add plugin typings from `DefinitelyTyped`
  28. * [CB-12363](https://issues.apache.org/jira/browse/CB-12363) Added build badges for **iOS 9.3** and **iOS 10.0**
  29. * [CB-12230](https://issues.apache.org/jira/browse/CB-12230) Removed **Windows 8.1** build badges
  30. ### 4.3.1 (Dec 07, 2016)
  31. * [CB-12224](https://issues.apache.org/jira/browse/CB-12224) Updated version and RELEASENOTES.md for release 4.3.1
  32. * [CB-12112](https://issues.apache.org/jira/browse/CB-12112) windows: Make available to move folder trees
  33. * fix ENCODING_ERR for applicationDirectory
  34. * [CB-11848](https://issues.apache.org/jira/browse/CB-11848) windows: Remove duplicate slash after file system path
  35. * [CB-11917](https://issues.apache.org/jira/browse/CB-11917) - Remove pull request template checklist item: "iCLA has been submitted…"
  36. * [CB-11947](https://issues.apache.org/jira/browse/CB-11947) fixed typo that occurs when adding file-transfer plugin
  37. * [CB-11832](https://issues.apache.org/jira/browse/CB-11832) Incremented plugin version.
  38. ### 4.3.0 (Sep 08, 2016)
  39. * [CB-11795](https://issues.apache.org/jira/browse/CB-11795) Add 'protective' entry to cordovaDependencies
  40. * Add handling for `SecurityException`
  41. * [CB-11368](https://issues.apache.org/jira/browse/CB-11368) **android**: Resolve content `URLs` produced by contacts plugin
  42. * Plugin uses `Android Log class` and not `Cordova LOG class`
  43. * [CB-11693](https://issues.apache.org/jira/browse/CB-11693) **ios**: Run copy and move operations in the background thread
  44. * [CB-11699](https://issues.apache.org/jira/browse/CB-11699) Read files as Data URLs properly
  45. * [CB-11305](https://issues.apache.org/jira/browse/CB-11305) Enable `cdvfile: assets fs root` for `DOM` requests
  46. * [CB-11385](https://issues.apache.org/jira/browse/CB-11385) android: Import java.nio.charset.Charset in LocalFileSystem class
  47. * Add badges for paramedic builds on Jenkins
  48. * [CB-11407](https://issues.apache.org/jira/browse/CB-11407) ios: added extern keyword to constants to fix phonegap-webview-ios template issue.
  49. * [CB-11385](https://issues.apache.org/jira/browse/CB-11385) **android**: Does not pass sonarqube scan
  50. * Add pull request template.
  51. * Minor edits to the `README.md`
  52. * [CB-11142](https://issues.apache.org/jira/browse/CB-11142) Fix the `NeedPermission` code for the case when external media is not mounted in Android
  53. * [CB-11003](https://issues.apache.org/jira/browse/CB-11003) Adding samples to Readme.
  54. * [CB-10996](https://issues.apache.org/jira/browse/CB-10996) Adding front matter to README.md
  55. * [CB-11115](https://issues.apache.org/jira/browse/CB-11115) **android**: Removing dependency on FileDescriptor toString in content provider tests
  56. ### 4.2.0 (Apr 15, 2016)
  57. * [CB-10960](https://issues.apache.org/jira/browse/CB-10960) Uncaught `#<FileError>` in `write()` when `readyState != WRITING ?`
  58. * Replace `PermissionHelper.java` with `cordova-plugin-compat`
  59. * [CB-10977](https://issues.apache.org/jira/browse/CB-10977) **Android** Removing global state used for permission requests
  60. * CB-10798, [CB-10384](https://issues.apache.org/jira/browse/CB-10384) Fixing permissions for **Marshmallow**.
  61. * Fix test failure on **WP 8.1**
  62. * [CB-10577](https://issues.apache.org/jira/browse/CB-10577) **Windows** `resolveLocalFileSystemURL` should omit trailing slash for file
  63. * [CB-7862](https://issues.apache.org/jira/browse/CB-7862) `FileReader` reads large files in chunks with progress.
  64. * [CB-10577](https://issues.apache.org/jira/browse/CB-10577) **Android** `resolveLocalFileSystemURL` should detect directory vs file.
  65. * [CB-9753](https://issues.apache.org/jira/browse/CB-9753) index out of bounds on `requestFileSystem`.
  66. * Remove `warning` emoji, as it doesn't correctly display in the docs website: cordova.apache.org/docs/en/dev/cordova-plugin-file/index.html. This closes #166
  67. * [CB-10636](https://issues.apache.org/jira/browse/CB-10636) Add `JSHint` for plugins
  68. * [CB-10411](https://issues.apache.org/jira/browse/CB-10411) Error in `file.spec.129` of `cordova-plugin-file`
  69. ### 4.1.1 (Feb 09, 2016)
  70. * Edit package.json license to match SPDX id
  71. * [CB-10419](https://issues.apache.org/jira/browse/CB-10419) cordova-plugin-file 4.0.0 error with browserify workflow
  72. ### 4.1.0 (Jan 15, 2016)
  73. * added `.ratignore` file
  74. * [CB-10319](https://issues.apache.org/jira/browse/CB-10319) **android** Adding reflective helper methods for permission requests
  75. * [CB-10023](https://issues.apache.org/jira/browse/CB-10023) Fix `proxy not found error` on Chrome.
  76. * [CB-8863](https://issues.apache.org/jira/browse/CB-8863) **ios** Fix block usage of self
  77. ### 4.0.0 (Nov 18, 2015)
  78. * [CB-10035](https://issues.apache.org/jira/browse/CB-10035) Updated `RELEASENOTES` to be newest to oldest
  79. * [CB-8497](https://issues.apache.org/jira/browse/CB-8497) Fix handling of file paths with `#` character
  80. * Do not inject default `AndroidPersistentFileLocation` into `config.xml`
  81. * [CB-9891](https://issues.apache.org/jira/browse/CB-9891): Fix permission errors due to `URI encoding` inconsistency on **Android**
  82. * Fixed `NullPointer Exception` in **Android 5** and above due to invalid column name on cursor
  83. * Fix default persistent file location
  84. * fix `applicationDirectory` to use `ms-appx:///`
  85. * Add **Windows** paths to `cordova.file` object
  86. * [CB-9851](https://issues.apache.org/jira/browse/CB-9851) Document `cdvfile` protocol quirk - using `cdvfile://` in the `DOM` is not supported on **Windows**
  87. * [CB-9752](https://issues.apache.org/jira/browse/CB-9752) `getDirectory` fails on valid directory with assets filesystem
  88. * [CB-7253](https://issues.apache.org/jira/browse/CB-7253) `requestFileSystem` fails when no external storage is present
  89. * Adding permissions for **Marshmallow**. Now supports **Anrdoid 6.0**
  90. * Fixing contribute link.
  91. * always use setters to fix memory issues without `ARC` for **iOS**
  92. * [CB-9331](https://issues.apache.org/jira/browse/CB-9331) `getFreeDiskSpace` **iOS**.
  93. * override `resolveLocalFileSystemURL` by `webkitResolveLocalFileSystemURL` for **browser** platform add `.project` into git ignore list
  94. * Fail with `FileError.ENCODING_ERR` on encoding exception.
  95. * [CB-9544](https://issues.apache.org/jira/browse/CB-9544) Add file plugin for **OSX**
  96. * [CB-9539](https://issues.apache.org/jira/browse/CB-9539) Fixed test failure on **Android** emulator
  97. * Added docs on `CSP` rules needed for using `cdvfile` in DOM src. This closes #120
  98. * Added `cdvfile` protocol purpose description and examples
  99. ### 3.0.0 (Aug 18, 2015)
  100. * Make Android default persistent file location internal
  101. * Fixed issue with file paths not existing when using browserify
  102. * [CB-9251](https://issues.apache.org/jira/browse/CB-9251): Changed from Intents to Preferences object as per the issue
  103. * [CB-9215](https://issues.apache.org/jira/browse/CB-9215) Add cordova-plugin-file manual test for windows platform
  104. ### 2.1.0 (Jun 17, 2015)
  105. * added missing license header
  106. * [CB-9128](https://issues.apache.org/jira/browse/CB-9128) cordova-plugin-file documentation translation: cordova-plugin-file
  107. * fix npm md
  108. * [CB-8844](https://issues.apache.org/jira/browse/CB-8844) Increased timeout for asset tests
  109. * Updated resolveFileSystem.js so it can be parsed by uglifyJS
  110. * [CB-8860](https://issues.apache.org/jira/browse/CB-8860) cordova-plugin-file documentation translation: cordova-plugin-file
  111. * [CB-8792](https://issues.apache.org/jira/browse/CB-8792) Fixes reading of json files using readAsText
  112. ### 2.0.0 (Apr 15, 2015)
  113. * [CB-8849](https://issues.apache.org/jira/browse/CB-8849) Fixed ReadAsArrayBuffer to return ArrayBuffer and not Array on WP8
  114. * [CB-8819](https://issues.apache.org/jira/browse/CB-8819) Fixed FileReader's readAsBinaryString on wp8
  115. * [CB-8746](https://issues.apache.org/jira/browse/CB-8746) gave plugin major version bump
  116. * [CB-8683](https://issues.apache.org/jira/browse/CB-8683) android: Fix broken unit tests from plugin rename
  117. * [CB-8683](https://issues.apache.org/jira/browse/CB-8683) changed plugin-id to pacakge-name
  118. * [CB-8653](https://issues.apache.org/jira/browse/CB-8653) properly updated translated docs to use new id
  119. * [CB-8653](https://issues.apache.org/jira/browse/CB-8653) updated translated docs to use new id
  120. * Use TRAVIS_BUILD_DIR, install paramedic by npm
  121. * docs: added Windows to supported platforms
  122. * [CB-8699](https://issues.apache.org/jira/browse/CB-8699) [CB-6428](https://issues.apache.org/jira/browse/CB-6428) Fix uncompressed assets being copied as zero length files
  123. * [CB-6428](https://issues.apache.org/jira/browse/CB-6428) android: Fix assets FileEntry having size of -1
  124. * android: Move URLforFullPath into base class (and rename to localUrlforFullPath)
  125. * [CB-6428](https://issues.apache.org/jira/browse/CB-6428) Mention build-extras.gradle in README
  126. * [CB-7109](https://issues.apache.org/jira/browse/CB-7109) android: Parse arguments off of the main thread (close #97)
  127. * [CB-8695](https://issues.apache.org/jira/browse/CB-8695) ios: Fix `blob.slice()` for `asset-library` URLs (close #105)
  128. * Tweak build-extras.gradle to just read/write to main `assets/` instead of `build/`
  129. * [CB-8689](https://issues.apache.org/jira/browse/CB-8689) Fix NPE in makeEntryForNativeUri (was affecting file-transfer)
  130. * [CB-8675](https://issues.apache.org/jira/browse/CB-8675) Revert "CB-8351 ios: Use base64EncodedStringWithOptions instead of CordovaLib's class extension"
  131. * [CB-8653](https://issues.apache.org/jira/browse/CB-8653) Updated Readme
  132. * [CB-8659](https://issues.apache.org/jira/browse/CB-8659): ios: 4.0.x Compatibility: Remove use of initWebView method
  133. * Add a cache to speed up AssetFilesystem directory listings
  134. * [CB-8663](https://issues.apache.org/jira/browse/CB-8663) android: Don't notify MediaScanner of private files
  135. * Don't log stacktrace for normal exceptions (e.g. file not found)
  136. * android: Don't use LimitedInputStream when reading entire file (optimization)
  137. * [CB-6428](https://issues.apache.org/jira/browse/CB-6428) android: Add support for directory copies from assets -> filesystem
  138. * android: Add `listChildren()`: Java-consumable version of `readEntriesAtLocalURL()`
  139. * [CB-6428](https://issues.apache.org/jira/browse/CB-6428) android: Add support for file:///android_asset URLs
  140. * [CB-8642](https://issues.apache.org/jira/browse/CB-8642) android: Fix content URIs not working with resolve / copy
  141. * Tweak tests to fail if deleteEntry fails (rather than time out)
  142. * android: Ensure LocalFilesystemURL can only be created with "cdvfile" URLs
  143. * android: Move CordovaResourceApi into Filesystem base class
  144. * android: Use `CordovaResourceApi.mapUriToFile()` rather than own custom logic in ContentFilesystem
  145. * android: Use Uri.parse rather than manual parsing in resolveLocalFileSystemURI
  146. * Tweak test case that failed twice on error rather than just once
  147. * android: Delete invalid JavaDoc (lint errors)
  148. * android: Use CordovaResourceApi rather than FileHelper
  149. * [CB-8032](https://issues.apache.org/jira/browse/CB-8032) - File Plugin - Add nativeURL external method support for CDVFileSystem->makeEntryForPath:isDirectory: (closes #96)
  150. * [CB-8567](https://issues.apache.org/jira/browse/CB-8567) Integrate TravisCI
  151. * [CB-8438](https://issues.apache.org/jira/browse/CB-8438) cordova-plugin-file documentation translation: cordova-plugin-file
  152. * [CB-8538](https://issues.apache.org/jira/browse/CB-8538) Added package.json file
  153. * [CB-7956](https://issues.apache.org/jira/browse/CB-7956) Add cordova-plugin-file support for browser platform
  154. * [CB-8423](https://issues.apache.org/jira/browse/CB-8423) Corrected usage of done() in async tests
  155. * [CB-8459](https://issues.apache.org/jira/browse/CB-8459) Fixes spec 111 failure due to incorrect relative paths handling
  156. * Code cleanup, whitespace
  157. * Added nativeURL property to FileEntry, implemented readAsArrayBuffer and readAsBinaryString
  158. ### 1.3.3 (Feb 04, 2015)
  159. * [CB-7927](https://issues.apache.org/jira/browse/CB-7927) Encoding data to bytes instead of chars when writing a file.
  160. * ios: Fix compile warning about implicit int conversion
  161. * [CB-8351](https://issues.apache.org/jira/browse/CB-8351) ios: Use base64EncodedStringWithOptions instead of CordovaLib's class extension
  162. * [CB-8351](https://issues.apache.org/jira/browse/CB-8351) ios: Use argumentForIndex rather than NSArray extension
  163. * [CB-8351](https://issues.apache.org/jira/browse/CB-8351) ios: Use a local copy of valueForKeyIsNumber rather than CordovaLib's version
  164. * windows: Handle url's containing absolute windows path starting with drive letter and colon (encoded as %3A) through root FS
  165. * windows: Rework to use normal url form
  166. * android: refactor: Make Filesystem base class store its own name, rootUri, and rootEntry
  167. * android: Simplify code a bit by making makeEntryForPath not throw JSONException
  168. * [CB-6431](https://issues.apache.org/jira/browse/CB-6431) android: Fix plugin breaking content: URLs
  169. * [CB-7375](https://issues.apache.org/jira/browse/CB-7375) Never create new FileSystem instances (except on windows since they don't implement requestAllFileSystems())
  170. ### 1.3.2 (Dec 02, 2014)
  171. * Gets rid of thread block error in File plugin
  172. * [CB-7917](https://issues.apache.org/jira/browse/CB-7917) Made tests file.spec.114 - 116 pass for **Windows** platform
  173. * [CB-7977](https://issues.apache.org/jira/browse/CB-7977) Mention `deviceready` in plugin docs
  174. * [CB-7602](https://issues.apache.org/jira/browse/CB-7602): Fix `isCopyOnItself` logic
  175. * [CB-7700](https://issues.apache.org/jira/browse/CB-7700) cordova-plugin-file documentation translation: cordova-plugin-file
  176. * Use one proxy for both **Windows** and **Windows8** platforms
  177. * [CB-6994](https://issues.apache.org/jira/browse/CB-6994) Fixes result, returned by proxy's write method
  178. * [fxos] update `__format__` to match `pathsPrefix`
  179. * [CB-6994](https://issues.apache.org/jira/browse/CB-6994) Improves merged code to be able to write a File
  180. * Optimize `FileProxy` for **Windows** platforms
  181. * Synchronize changes with **Windows** platform
  182. * Fix function write for big files on **Windows 8**
  183. * Write file in background
  184. * [CB-7487](https://issues.apache.org/jira/browse/CB-7487) **Android** Broadcast file write This allows MTP USB shares to show the file immediately without reboot/manual refresh using 3rd party app.
  185. * [CB-7700](https://issues.apache.org/jira/browse/CB-7700) cordova-plugin-file documentation translation: cordova-plugin-file
  186. * [CB-7571](https://issues.apache.org/jira/browse/CB-7571) Bump version of nested plugin to match parent plugin
  187. ### 1.3.1 (Sep 17, 2014)
  188. * [CB-7471](https://issues.apache.org/jira/browse/CB-7471) cordova-plugin-file documentation translation
  189. * [CB-7272](https://issues.apache.org/jira/browse/CB-7272) Replace confusing "r/o" abbreviation with just "r"
  190. * [CB-7423](https://issues.apache.org/jira/browse/CB-7423) encode path before attempting to resolve
  191. * [CB-7375](https://issues.apache.org/jira/browse/CB-7375) Fix the filesystem name in resolveLocalFileSystemUri
  192. * [CB-7445](https://issues.apache.org/jira/browse/CB-7445) [BlackBerry10] resolveLocalFileSystemURI - change DEFAULT_SIZE to MAX_SIZE
  193. * [CB-7458](https://issues.apache.org/jira/browse/CB-7458) [BlackBerry10] resolveLocalFileSystemURL - add filesystem property
  194. * [CB-7445](https://issues.apache.org/jira/browse/CB-7445) [BlackBerry10] Add default file system size to prevent quota exceeded error on initial install
  195. * [CB-7431](https://issues.apache.org/jira/browse/CB-7431) Avoid calling done() twice in file.spec.109 test
  196. * [CB-7413](https://issues.apache.org/jira/browse/CB-7413) Adds support of 'ms-appdata://' URIs
  197. * [CB-7422](https://issues.apache.org/jira/browse/CB-7422) [File Tests] Use proper fileSystem to create fullPath
  198. * [CB-7375](https://issues.apache.org/jira/browse/CB-7375) [Entry] get proper filesystem in Entry
  199. * Amazon related changes.
  200. * [CB-7375](https://issues.apache.org/jira/browse/CB-7375) Remove leading slash statement from condition
  201. * Refactored much of the logic in FileMetadata constructor. Directory.size will return 0
  202. * [CB-7419](https://issues.apache.org/jira/browse/CB-7419) [WP8] Added support to get metada from dir
  203. * [CB-7418](https://issues.apache.org/jira/browse/CB-7418) [DirectoryEntry] Added fullPath variable as part of condition
  204. * [CB-7417](https://issues.apache.org/jira/browse/CB-7417) [File tests] added proper matcher to compare fullPath property
  205. * [CB-7375](https://issues.apache.org/jira/browse/CB-7375) Partial revert to resolve WP8 failures
  206. * Overwrite existing file on getFile when create is true
  207. * [CB-7375](https://issues.apache.org/jira/browse/CB-7375) [CB-6148](https://issues.apache.org/jira/browse/CB-6148): Ensure that return values from copy and move operations reference the correct filesystem
  208. * [CB-6724](https://issues.apache.org/jira/browse/CB-6724) changed style detail on documentation
  209. * Added new js files to amazon-fireos platform.
  210. * Adds Windows platform
  211. * Fixes multiple mobilespec tests errors
  212. * Removed test/tests.js module from main plugin.xml
  213. * [CB-7094](https://issues.apache.org/jira/browse/CB-7094) renamed folder to tests + added nested plugin.xml
  214. * added documentation for manual tests
  215. * [CB-6923](https://issues.apache.org/jira/browse/CB-6923) Adding support to handle relative paths
  216. * Style improvements on Manual tests
  217. * [CB-7094](https://issues.apache.org/jira/browse/CB-7094) Ported File manual tests
  218. ### 1.3.0 (Aug 06, 2014)
  219. * **FFOS** Remove unsupported paths from requestAllPaths
  220. * **FFOS** Support for resolve URI, request all paths and local app directory.
  221. * [CB-4263](https://issues.apache.org/jira/browse/CB-4263) set ready state to done before onload
  222. * [CB-7167](https://issues.apache.org/jira/browse/CB-7167) [BlackBerry10] copyTo - return wrapped entry rather than native
  223. * [CB-7167](https://issues.apache.org/jira/browse/CB-7167) [BlackBerry10] Add directory support to getFileMetadata
  224. * [CB-7167](https://issues.apache.org/jira/browse/CB-7167) [BlackBerry10] Fix tests detection of blob support (window.Blob is BlobConstructor object)
  225. * [CB-7161](https://issues.apache.org/jira/browse/CB-7161) [BlackBerry10] Add file system directory paths
  226. * [CB-7093](https://issues.apache.org/jira/browse/CB-7093) Create separate plugin.xml for new-style tests
  227. * [CB-7057](https://issues.apache.org/jira/browse/CB-7057) Docs update: elaborate on what directories are for
  228. * [CB-7093](https://issues.apache.org/jira/browse/CB-7093): Undo the effects of an old bad S&R command
  229. * [CB-7093](https://issues.apache.org/jira/browse/CB-7093): Remove a bunch of unneeded log messages
  230. * [CB-7093](https://issues.apache.org/jira/browse/CB-7093): Add JS module to plugin.xml file for auto-tests
  231. * [CB-7093](https://issues.apache.org/jira/browse/CB-7093) Ported automated file tests
  232. * **WINDOWS** remove extra function closure, not needed
  233. * **WINDOWS** remove check for undefined fail(), it is defined by the proxy and always exists
  234. * **WINDOWS** re-apply readAsBinaryString and readAsArrayBuffer
  235. * **WINDOWS** Moved similar calls to be the same calls, aliased long namespaced functions
  236. * [CB-6127](https://issues.apache.org/jira/browse/CB-6127) Updated translations for docs.
  237. * [CB-6571](https://issues.apache.org/jira/browse/CB-6571) Fix getParentForLocalURL to work correctly with directories with trailing '/' (This closes #58)
  238. * UTTypeCopyPreferredTagWithClass returns nil mimetype for css when there is no network
  239. * updated spec links in docs ( en only )
  240. * [CB-6571](https://issues.apache.org/jira/browse/CB-6571) add trailing space it is missing in DirectoryEnty constructor.
  241. * [CB-6980](https://issues.apache.org/jira/browse/CB-6980) Fixing filesystem:null property in Entry
  242. * Add win8 support for readAsBinaryString and readAsArrayBuffer
  243. * [FFOS] Update FileProxy.js
  244. * [CB-6940](https://issues.apache.org/jira/browse/CB-6940): Fixing up commit from dzeims
  245. * [CB-6940](https://issues.apache.org/jira/browse/CB-6940): Android: cleanup try/catch exception handling
  246. * [CB-6940](https://issues.apache.org/jira/browse/CB-6940): `context.getExternal*` methods return null if sdcard isn't in mounted state, causing exceptions that prevent startup from reaching readystate
  247. * Fix mis-handling of filesystem reference in Entry.moveTo ('this' used in closure).
  248. * [CB-6902](https://issues.apache.org/jira/browse/CB-6902): Use File.lastModified rather than .lastModifiedDate
  249. * [CB-6922](https://issues.apache.org/jira/browse/CB-6922): Remove unused getMetadata native code
  250. * [CB-6922](https://issues.apache.org/jira/browse/CB-6922): Use getFileMetadata consistently to get metadata
  251. * changed fullPath to self.rootDocsPath
  252. * [CB-6890](https://issues.apache.org/jira/browse/CB-6890): Fix pluginManager access for 4.0.x branch
  253. ### 1.2.1
  254. * [CB-6922](https://issues.apache.org/jira/browse/CB-6922) Fix inconsistent handling of lastModifiedDate and modificationTime
  255. * [CB-285](https://issues.apache.org/jira/browse/CB-285): Document filesystem root properties
  256. ### 1.2.0 (Jun 05, 2014)
  257. * [CB-6127](https://issues.apache.org/jira/browse/CB-6127) Spanish and French Translations added. Github close #31
  258. * updated this reference to window
  259. * Add missing semicolon (copy & paste error)
  260. * Fix compiler warning about symbol in interface not matching implementation
  261. * Fix sorting order in supported platforms
  262. * ubuntu: increase quota value
  263. * ubuntu: Change FS URL scheme to 'cdvfile'
  264. * ubuntu: Return size with Entry.getMetadata() method
  265. * [CB-6803](https://issues.apache.org/jira/browse/CB-6803) Add license
  266. * Initial implementation for Firefox OS
  267. * Small wording tweaks
  268. * Fixed toURL() toInternalURL() information in the doku
  269. * ios: Don't fail a write of zero-length payload.
  270. * [CB-285](https://issues.apache.org/jira/browse/CB-285) Docs for cordova.file.\*Directory properties
  271. * [CB-285](https://issues.apache.org/jira/browse/CB-285) Add cordova.file.\*Directory properties for iOS & Android
  272. * [CB-3440](https://issues.apache.org/jira/browse/CB-3440) [BlackBerry10] Proxy based implementation
  273. * Fix typo in docs "app-bundle" -> "bundle"
  274. * [CB-6583](https://issues.apache.org/jira/browse/CB-6583) ios: Fix failing to create entry when space in parent path
  275. * [CB-6571](https://issues.apache.org/jira/browse/CB-6571) android: Make DirectoryEntry.toURL() have a trailing /
  276. * [CB-6491](https://issues.apache.org/jira/browse/CB-6491) add CONTRIBUTING.md
  277. * [CB-6525](https://issues.apache.org/jira/browse/CB-6525) android, ios: Allow file: URLs in all APIs. Fixes FileTransfer.download not being called.
  278. * fix the Windows 8 implementation of the getFile method
  279. * Update File.js for typo: lastModifiedData --> lastModifiedDate (closes #38)
  280. * Add error codes.
  281. * [CB-5980](https://issues.apache.org/jira/browse/CB-5980) Updated version and RELEASENOTES.md for release 1.0.0
  282. * Add NOTICE file
  283. * [CB-6114](https://issues.apache.org/jira/browse/CB-6114) Updated version and RELEASENOTES.md for release 1.0.1
  284. * [CB-5980](https://issues.apache.org/jira/browse/CB-5980) Updated version and RELEASENOTES.md for release 1.0.0
  285. ### 1.1.0 (Apr 17, 2014)
  286. * [CB-4965](https://issues.apache.org/jira/browse/CB-4965): Remove tests from file plugin
  287. * Android: Allow file:/ URLs
  288. * [CB-6422](https://issues.apache.org/jira/browse/CB-6422): [windows8] use cordova/exec/proxy
  289. * [CB-6249](https://issues.apache.org/jira/browse/CB-6249): [android] Opportunistically resolve content urls to file
  290. * [CB-6394](https://issues.apache.org/jira/browse/CB-6394): [ios, android] Add extra filesystem roots
  291. * [CB-6394](https://issues.apache.org/jira/browse/CB-6394): [ios, android] Fix file resolution for the device root case
  292. * [CB-6394](https://issues.apache.org/jira/browse/CB-6394): [ios] Return ENCODING_ERR when fs name is not valid
  293. * [CB-6393](https://issues.apache.org/jira/browse/CB-6393): Change behaviour of toURL and toNativeURL
  294. * ios: Style: plugin initialization
  295. * ios: Fix handling of file URLs with encoded spaces
  296. * Always use Android's recommended temp file location for temporary file system
  297. * [CB-6352](https://issues.apache.org/jira/browse/CB-6352): Allow FileSystem objects to be serialized to JSON
  298. * [CB-5959](https://issues.apache.org/jira/browse/CB-5959): size is explicitly 0 if not set, file.spec.46&47 are testing the type of size
  299. * [CB-6242](https://issues.apache.org/jira/browse/CB-6242): [BlackBerry10] Add deprecated version of resolveLocalFileSystemURI
  300. * [CB-6242](https://issues.apache.org/jira/browse/CB-6242): [BlackBerry10] add file:/// prefix for toURI / toURL
  301. * [CB-6242](https://issues.apache.org/jira/browse/CB-6242): [BlackBerry10] Polyfill window.requestAnimationFrame for OS < 10.2
  302. * [CB-6242](https://issues.apache.org/jira/browse/CB-6242): [BlackBerry10] Override window.resolveLocalFileSystemURL
  303. * [CB-6212](https://issues.apache.org/jira/browse/CB-6212): [iOS] fix warnings compiled under arm64 64-bit
  304. * ios: Don't cache responses from CDVFile's URLProtocol
  305. * [CB-6199](https://issues.apache.org/jira/browse/CB-6199): [iOS] Fix toNativeURL() not escaping characters properly
  306. * [CB-6148](https://issues.apache.org/jira/browse/CB-6148): Fix cross-filesystem copy and move
  307. * fixed setMetadata() to use the formatted fullPath
  308. * corrected typo which leads to a "comma expression"
  309. * [CB-4952](https://issues.apache.org/jira/browse/CB-4952): ios: Resolve symlinks in file:// URLs
  310. * Add docs about the extraFileSystems preference
  311. * [CB-6460](https://issues.apache.org/jira/browse/CB-6460): Update license headers
  312. ### 1.0.1 (Feb 28, 2014)
  313. * [CB-6116](https://issues.apache.org/jira/browse/CB-6116) Fix error where resolveLocalFileSystemURL would fail
  314. * [CB-6106](https://issues.apache.org/jira/browse/CB-6106) Add support for nativeURL attribute on Entry objects
  315. * [CB-6110](https://issues.apache.org/jira/browse/CB-6110) iOS: Fix typo in filesystemPathForURL: method
  316. * Android: Use most specific FS match when resolving file: URIs
  317. * iOS: Update fileSystemURLforLocalPath: to return the most match url.
  318. * Allow third-party plugin registration, and the total count of fs type is not limited to just 4.
  319. * [CB-6097](https://issues.apache.org/jira/browse/CB-6097) Added missing files for amazon-fireos platform. Added onLoad flag to true.
  320. * [CB-6087](https://issues.apache.org/jira/browse/CB-6087) Android, iOS: Load file plugin on startup
  321. * [CB-6013](https://issues.apache.org/jira/browse/CB-6013) BlackBerry10: wrap webkit prefixed called in requestAnimationFrame
  322. * Update plugin writers' documentation
  323. * [CB-6080](https://issues.apache.org/jira/browse/CB-6080) Fix file copy when src and dst are on different local file systems
  324. * [CB-6057](https://issues.apache.org/jira/browse/CB-6057) Add methods for plugins to convert between URLs and paths
  325. * [CB-6050](https://issues.apache.org/jira/browse/CB-6050) Public method for returning a FileEntry from a device file path
  326. * [CB-2432](https://issues.apache.org/jira/browse/CB-2432) [CB-3185](https://issues.apache.org/jira/browse/CB-3185), [CB-5975](https://issues.apache.org/jira/browse/CB-5975): Fix Android handling of content:// URLs
  327. * [CB-6022](https://issues.apache.org/jira/browse/CB-6022) Add upgrade notes to doc
  328. * [CB-5233](https://issues.apache.org/jira/browse/CB-5233) Make asset-library urls work properly on iOS
  329. * [CB-6012](https://issues.apache.org/jira/browse/CB-6012) Preserve query strings on cdvfile:// URLs where necessary
  330. * [CB-6010](https://issues.apache.org/jira/browse/CB-6010) Test properly for presence of URLforFilesystemPath method
  331. * [CB-5959](https://issues.apache.org/jira/browse/CB-5959) Entry.getMetadata should return size attribute
  332. ### 1.0.0 (Feb 05, 2014)
  333. * [CB-5974](https://issues.apache.org/jira/browse/CB-5974): Use safe 'Compatibilty' mode by default
  334. * [CB-5915](https://issues.apache.org/jira/browse/CB-5915): [CB-5916](https://issues.apache.org/jira/browse/CB-5916): Reorganize preference code to make defaults possible
  335. * [CB-5974](https://issues.apache.org/jira/browse/CB-5974): Android: Don't allow File operations to continue when not configured
  336. * [CB-5960](https://issues.apache.org/jira/browse/CB-5960): ios: android: Properly handle parent references in getFile/getDirectory
  337. * [ubuntu] adopt to recent changes
  338. * Add default FS root to new FS objects
  339. * [CB-5899](https://issues.apache.org/jira/browse/CB-5899): Make DirectoryReader.readEntries return properly formatted Entry objects
  340. * Add constuctor params to FileUploadResult related to [CB-2421](https://issues.apache.org/jira/browse/CB-2421)
  341. * Fill out filesystem attribute of entities returned from resolveLocalFileSystemURL
  342. * [CB-5916](https://issues.apache.org/jira/browse/CB-5916): Create documents directories if they don't exist
  343. * [CB-5915](https://issues.apache.org/jira/browse/CB-5915): Create documents directories if they don't exist
  344. * [CB-5916](https://issues.apache.org/jira/browse/CB-5916): Android: Fix unfortunate NPE in config check
  345. * [CB-5916](https://issues.apache.org/jira/browse/CB-5916): Android: Add "/files/" to persistent files path
  346. * [CB-5915](https://issues.apache.org/jira/browse/CB-5915): ios: Update config preference (and docs) to match issue
  347. * [CB-5916](https://issues.apache.org/jira/browse/CB-5916): Android: Add config preference for Android persistent storage location
  348. * iOS: Add config preference for iOS persistent storage location
  349. * iOS: Android: Allow third-party plugin registration
  350. * Android: Expose filePlugin getter so that other plugins can register filesystems
  351. * Fix typos in deprecation message
  352. * Add backwards-compatibility shim for file-transfer
  353. * Android: Allow third-party plugin registration
  354. * [CB-5810](https://issues.apache.org/jira/browse/CB-5810) [BlackBerry10] resolve local:/// paths (application assets)
  355. * [CB-5774](https://issues.apache.org/jira/browse/CB-5774): create DirectoryEntry instead of FileEntry
  356. * Initial fix for [CB-5747](https://issues.apache.org/jira/browse/CB-5747)
  357. * Change default FS URL scheme to "cdvfile"
  358. * Android: Properly format content urls
  359. * Android, iOS: Replace "filesystem" protocol string with constant
  360. * Android: Allow absolute paths on Entry.getFile / Entry.getDirectory
  361. * Android: Make clear that getFile takes a path, not just a filename
  362. * [CB-5008](https://issues.apache.org/jira/browse/CB-5008): Rename resolveLocalFileSystemURI to resolveLocalFileSystemURL; deprecate original
  363. * Remove old file reference from plugin.xml
  364. * Android: Refactor File API
  365. * [CB-4899](https://issues.apache.org/jira/browse/CB-4899) [BlackBerry10] Fix resolve directories
  366. * [CB-5602](https://issues.apache.org/jira/browse/CB-5602) Windows8. Fix File Api mobile spec tests
  367. * Android: Better support for content urls and cross-filesystem copy/move ops
  368. * [CB-5699](https://issues.apache.org/jira/browse/CB-5699) [BlackBerry10] Update resolveLocalFileSystemURI implementation
  369. * [CB-5658](https://issues.apache.org/jira/browse/CB-5658) Update license comment formatting of doc/index.md
  370. * [CB-5658](https://issues.apache.org/jira/browse/CB-5658) Add doc.index.md for File plugin.
  371. * [CB-5658](https://issues.apache.org/jira/browse/CB-5658) Delete stale snapshot of plugin docs
  372. * [CB-5403](https://issues.apache.org/jira/browse/CB-5403): Backwards-compatibility with file:// urls where possible
  373. * [CB-5407](https://issues.apache.org/jira/browse/CB-5407): Fixes for ContentFilesystem
  374. * Android: Add method for testing backwards-compatibility of filetransfer plugin
  375. * iOS: Add method for testing backwards-compatiblity of filetransfer plugin
  376. * Android: Updates to allow FileTransfer to continue to work
  377. * Android: Clean up unclosed file objects
  378. * [CB-5407](https://issues.apache.org/jira/browse/CB-5407): Cleanup
  379. * [CB-5407](https://issues.apache.org/jira/browse/CB-5407): Add new Android source files to plugin.xml
  380. * [CB-5407](https://issues.apache.org/jira/browse/CB-5407): Move read, write and truncate methods into modules
  381. * [CB-5407](https://issues.apache.org/jira/browse/CB-5407): Move copy/move methods into FS modules
  382. * [CB-5407](https://issues.apache.org/jira/browse/CB-5407): Move getParent into FS modules
  383. * [CB-5407](https://issues.apache.org/jira/browse/CB-5407): Move getmetadata methods into FS modules
  384. * [CB-5407](https://issues.apache.org/jira/browse/CB-5407): Move readdir methods into FS modules
  385. * [CB-5407](https://issues.apache.org/jira/browse/CB-5407): Move remove methods into FS modules
  386. * [CB-5407](https://issues.apache.org/jira/browse/CB-5407): Move getFile into FS modules
  387. * [CB-5407](https://issues.apache.org/jira/browse/CB-5407): Start refactoring android code: Modular filesystems, rfs, rlfsurl
  388. * [CB-5407](https://issues.apache.org/jira/browse/CB-5407): Update android JS to use FS urls
  389. * [CB-5405](https://issues.apache.org/jira/browse/CB-5405): Use URL formatting for Entry.toURL
  390. * [CB-5532](https://issues.apache.org/jira/browse/CB-5532) Fix
  391. * Log file path for File exceptions.
  392. * Partial fix for iOS File compatibility with previous fileTransfer plugin
  393. * [CB-5532](https://issues.apache.org/jira/browse/CB-5532) WP8. Add binary data support to FileWriter
  394. * [CB-5531](https://issues.apache.org/jira/browse/CB-5531) WP8. File Api readAsText incorrectly handles position args
  395. * Added ubuntu platform support
  396. * Added amazon-fireos platform support
  397. * [CB-5118](https://issues.apache.org/jira/browse/CB-5118) [BlackBerry10] Add check for undefined error handler
  398. * [CB-5406](https://issues.apache.org/jira/browse/CB-5406): Extend public API for dependent plugins
  399. * [CB-5403](https://issues.apache.org/jira/browse/CB-5403): Bump File plugin major version
  400. * [CB-5406](https://issues.apache.org/jira/browse/CB-5406): Split iOS file plugin into modules
  401. * [CB-5406](https://issues.apache.org/jira/browse/CB-5406): Factor out filesystem providers in iOS
  402. * [CB-5408](https://issues.apache.org/jira/browse/CB-5408): Add handler for filesystem:// urls
  403. * [CB-5406](https://issues.apache.org/jira/browse/CB-5406): Update iOS native code to use filesystem URLs internally
  404. * [CB-5405](https://issues.apache.org/jira/browse/CB-5405): Update JS code to use URLs exclusively
  405. * [CB-4816](https://issues.apache.org/jira/browse/CB-4816) Fix file creation outside sandbox for BB10
  406. ### 0.2.5 (Oct 28, 2013)
  407. * [CB-5129](https://issues.apache.org/jira/browse/CB-5129): Add a consistent filesystem attribute to FileEntry and DirectoryEntry objects
  408. * [CB-5128](https://issues.apache.org/jira/browse/CB-5128): added repo + issue tag to plugin.xml for file plugin
  409. * [CB-5015](https://issues.apache.org/jira/browse/CB-5015) [BlackBerry10] Add missing dependency for File.slice
  410. * [CB-5010](https://issues.apache.org/jira/browse/CB-5010) Incremented plugin version on dev branch.
  411. ### 0.2.4 (Oct 9, 2013)
  412. * [CB-5020](https://issues.apache.org/jira/browse/CB-5020) - File plugin should execute on a separate thread
  413. * [CB-4915](https://issues.apache.org/jira/browse/CB-4915) Incremented plugin version on dev branch.
  414. * [CB-4504](https://issues.apache.org/jira/browse/CB-4504): Updating FileUtils.java to compensate for Java porting failures in the Android SDK. This fails because Java knows nothing about android_asset not being an actual filesystem
  415. ### 0.2.3 (Sept 25, 2013)
  416. * [CB-4889](https://issues.apache.org/jira/browse/CB-4889) bumping&resetting version
  417. * [CB-4903](https://issues.apache.org/jira/browse/CB-4903) File Plugin not loading Windows8
  418. * [CB-4903](https://issues.apache.org/jira/browse/CB-4903) File Plugin not loading Windows8
  419. * [CB-4889](https://issues.apache.org/jira/browse/CB-4889) renaming references
  420. * [CB-4889](https://issues.apache.org/jira/browse/CB-4889) renaming org.apache.cordova.core.file to org.apache.cordova.file
  421. * Rename CHANGELOG.md -> RELEASENOTES.md
  422. * [CB-4771](https://issues.apache.org/jira/browse/CB-4771) Expose TEMPORARY and PERSISTENT constants on window.
  423. * Fix compiler/lint warnings
  424. * [CB-4764](https://issues.apache.org/jira/browse/CB-4764) Move DirectoryManager.java into file plugin
  425. * [CB-4763](https://issues.apache.org/jira/browse/CB-4763) Copy FileHelper.java into the plugin.
  426. * [CB-2901](https://issues.apache.org/jira/browse/CB-2901) [BlackBerry10] Automatically unsandbox filesystem if path is not in app sandbox
  427. * [CB-4752](https://issues.apache.org/jira/browse/CB-4752) Incremented plugin version on dev branch.
  428. ### 0.2.1 (Sept 5, 2013)
  429. * [CB-4656](https://issues.apache.org/jira/browse/CB-4656) Don't add newlines in data urls within readAsDataUrl.
  430. * [CB-4514](https://issues.apache.org/jira/browse/CB-4514) Making DirectoryCopy Recursive
  431. * [iOS] Simplify the code in resolveLocalFileSystemURI