Breaking Changes:
- GH-360 feat(android)!: bump
cordova-plugin-file@8.0.0
&cordova-android >= 12.0.0
- GH-346 feat(windows)!: remove deprecated platform Windows
- GH-307 feat!: remove deprecated
whitelist
usage - GH-270 feat!: remove deprecated platforms (Amazon Fire OS, BlackBerry, Windows Phone, Firefox OS, Windows 8)
- GH-370 dep(server)!: bump
forever@4.0.3
,iconv@3.0.1
,busboy@1.6.0
& rebuiltpackage-lock
Fixes:
- GH-372 fix(tests): Use
https
on file urls - GH-371 fix(tests): change default server port
- GH-361 fix: test version
- GH-310 fix(android): enable download functionality with Android Q
- GH-313 fix: incorrect asset file paths in test
- GH-287 fix(ios): remove hardcoded
X-Requested-With
header - GH-284 fix(ios): headers are not being sent
- GH-268 fix(ios): re-implement user agent overwrite
- GH-199 fix(windows): js error "The parameter is incorrect"
Chores:
- GH-373 chore: add missing license header
- GH-368 chore: remove windows leftovers
- GH-335 chore: remove use-permission
WRITE_EXTERNAL_STORAGE
- GH-324 chore:
package-lock
upgrade - GH-323 chore: .npmrc
- GH-299 chore: bump 'protective' entry for major release 2.0 to come
- GH-274 chore: adds
package-lock
file - GH-272 chore: package cleanup
- GH-269 chore(npm): adds ignore list
Dependencies, CI, and Doc:
- GH-369 dep: bump
@cordova/eslint-config@5.0.0
& rebuiltpackage-lock
- GH-344 dep(npm): bump
package-lock
v2 & rebuilt - GH-341 dep(server): bump
i
from0.3.6
to0.3.7
- GH-329 dep: bump
minimist
from1.2.5
to1.2.6
- GH-362 ci: sync github action workflow w/ paramedic base configs
- GH-348 ci: sync workflow with paramedic
- GH-343 ci(android): update java requirement for
cordova-android@11
- GH-318 ci(ios): update workflow w/ iOS 15
- GH-315 ci: add action-badge
- GH-314 ci: remove
travis
&appveyor
- GH-311 ci: add
gh-actions
workflows - GH-280 doc: Improve
progressEvent
documentation - GH-267 doc: undeprecate the plugin
- GH-211 doc: remove outdated translations
- CB-13749 Add build-tools-26.0.2 to travis
- Updated
README
with Deprecated Status - CB-13472 (CI) Fixed Travis Android builds again
- CB-12809 Google Play Blocker: Unsafe SSL TrustManager Defined
- CB-7995 document that
FileTransferError.exception
on iOS is never defined. - CB-13000 (CI) Speed up Android builds
- CB-12847 added
bugs
entry topackage.json
.
- CB-12353 Corrected merges usage in
plugin.xml
- CB-12369 Add plugin typings from
DefinitelyTyped
- CB-12363 Added build badges for iOS 9.3 and iOS 10.0
- CB-12230 Removed Windows 8.1 build badges
- CB-12224 Updated version and RELEASENOTES.md for release 1.6.1
- CB-12154 file-transfer progressEvent.total = -1 on iOS
- CB-10974 Cordova file transfer Content-Length header problem
- Don't crash on low memory devices
- CB-12100 (ios) Fixed test plugin install at platform add on cordova@6.3.1
- CB-11959 Fixed the jshint issues
- CB-11959 Increased the array length for ios and winstore even more
- CB-11959 Fixed filetransfer.spec.21 test failure on iOS and Windows Store when using local server
- CB-11917 - Remove pull request template checklist item: "iCLA has been submitted…"
- CB-11926 Tests can use local server
- CB-11832 Incremented plugin version.
- CB-11795 Add 'protective' entry to cordovaDependencies
- CB-9022 Fix exception thrown by call to
remapApi
on main thread - Plugin uses
Android Log class
and notCordova LOG class
- CB-9022 Resolve source URI on background thread
- CB-11316 windows: Added
content-type
for files - Close invalid PRs
- CB-11497 Use
cordova-vm
for testing 304 errors - Add badges for paramedic builds on Jenkins
- documentation with a wrong log message in
fileTransfer.download
function - added link to sample
- Add pull request template.
- CB-10974 Cordova file transfer
Content-Length
header problem - Add fenced code blocks to help code formatting
- CB-11165 removed peer dependency
- CB-11003 Adding sample section to documentation.
- CB-10996 Adding front matter to README.md
- CB-10536 Removing flaky test assertions about abort callback latency
- Removing the expectation in
spec.34
for the transfer method to be called. - CB-10978 Fix
file-transfer.tests
JSHint issues - CB-10782 Occasional failure in file transfer tests causing mobilespec crash
- CB-10771 Fixing failure when empty string passed as a value for option parameter in upload function
- CB-10636 Add
JSHint
for plugins
- CB-10208 Fix
file-transfer
multipart form data upload format on Windows - CB-9837 Add data
URI
support tofile-transfer
upload on iOS - CB-9600
FileUploadOptions
params not posted on iOS - CB-9840 Fallback
file-transfer
uploadResponse
encoding tolatin1
in case not encoded withUTF-8
on iOS - CB-9840 Fallback
file-transfer
upload/download response encoding tolatin1
in case not encoded withUTF-8
on iOS - CB-8641 Windows Phone 8.1 Some
file-transfer
plugin tests occasionally fail inmobilespec
- Adding linting and fixing linter warnings. Reducing timeouts to 7 seconds.
- CB-10100 updated file dependency to not grab new majors
- CB-7006 Empty file is created on file transfer if server response is 304
- CB-10098
filetransfer.spec.33
is faulty - CB-9969 Filetransfer upload error deletes original file
- CB-10088
filetransfer spec.10
andspec.11
test is faulty - CB-9969 Filetransfer upload error deletes original file
- CB-10086 There are two
spec.31
tests forfile-transfer
tests - CB-10037 Add progress indicator to file-transfer manual tests
- CB-9563 Mulptipart form data is used even a header named
Content-Type
is present - CB-8863 fix block usage of self
- CB-10035 Updated
RELEASENOTES
to be newest to oldest - CB-9879
getCookie
s can cause unhandledNullPointerException
- CB-6928 Wrong behaviour transferring cacheable content
- CB-51 FileTransfer - Support
PUT
Method - CB-9906 cleanup duplicate code, removed 2nd
isWP8
declaration. - CB-9950 Unpend Filetransfer spec.27 on wp8 as custom headers are now supported
- CB-9843 Added wp8 quirk to test spec 12
- Fixing contribute link.
- CB-8431 File Transfer tests crash on Android Lolipop
- CB-9790 Align
FileUploadOptions
fileName
andmimeType
default parameter values to the docs on iOS - CB-9385 Return
FILE_NOT_FOUND_ERR
when receiving404
code on iOS - CB-9791 Decreased download and upload tests timeout
- Found issue where : is accepted as a valid header, this is obviously wrong
- CB-9562 Fixed incorrect headers handling on Android
- Fixing headers so they don't accept non-ASCII
- updated tests to use cordova apache vm
- CB-9493 Fix file paths in file-transfer manual tests
- CB-8816 Add cdvfile:// support on windows
- CB-9376 Fix FileTransfer plugin manual tests issue - 'undefined' in paths
- CB-9275 [WP8] Fix build failure on WP8 by using reflection to detect presence of JSON.NET based serialization
- Updated code per code review.
- Updated documentation for browser
- Added option to allow for passing cookies automatically in the browser
- CB-9128 cordova-plugin-file-transfer documentation translation: cordova-plugin-file-transfer
- CB-6503: Null pointer check for headers in upload (This closes #27)
- CB-6503: Allow payload content-types other than multipart/form-data to be used for upload
- Fix NoSuchMethodException looking up cookies.
- fix npm md issue
- CB-8951 (wp8) Handle exceptions in download() and upload() again
- [wp8] Relaxed engine version requirement, using reflection to see if methods are available
- Check for the existence of Json.net assembly to determin how we deserialize our headers.
- relax engine requirement to allow -dev versions
- Remove verbose console log messages
- fix bad commit (mine) for cordova-wp8@4.0.0 engine req
- bump required cordova-wp8 version to 4.0.0
- This closes #80, This closes #12
- fix failing test resulting from overlapping async calls
- CB-8721 Fixes incorrect headers and upload params parsing on wp8
- Replace all slashes in windows path
- CB-8951 Fixed crash related to headers parsing on wp8
- CB-8933 Increased download and upload test timeout
- CB-6313 wp8: Extra boundary in upload
- CB-8761 wp8: Copy cookies from WebBrowser
- CB-8746 bumped version of file dependency
- CB-8746 gave plugin major version bump
- CB-8641 Fixed tests to pass on windows and wp8
- CB-8583 Forces download to overwrite existing target file
- CB-8589 Fixes upload failure when server's response doesn't contain any data
- CB-8747 updated dependency, added peer dependency
- CB-8683 changed plugin-id to pacakge-name
- CB-8653 properly updated translated docs to use new id
- CB-8653 updated translated docs to use new id
- Use TRAVIS_BUILD_DIR, install paramedic by npm
- CB-8653 Updated Readme
- CB-8654 Note WP8 download requests caching in docs
- CB-8590 (Windows) Fixed download.onprogress.lengthComputable
- CB-8566 Integrate TravisCI
- CB-8438 cordova-plugin-file-transfer documentation translation: cordova-plugin-file-transfer
- CB-8538 Added package.json file
- CB-8495 Fixed wp8 and wp81 test failures
- CB-7957 Adds support for
browser
platform - CB-8429 Updated version and RELEASENOTES.md for release 0.5.0 (take 2)
- Fixes typo, introduced in https://github.com/apache/cordova-plugin-file-transfer/commit/bc43b46
- CB-8407 Use File proxy to construct valid FileEntry for download success callback
- CB-8407 Removes excess path to native path conversion in download method
- CB-8429 Updated version and RELEASENOTES.md for release 0.5.0
- CB-7957 Adds support for
browser
platform - CB-8095 Fixes JSHint and formatting issues
- CB-8095 Updates tests and documentation
- CB-8095 Rewrite upload method to support progress events properly
- android: Fix error reporting for unknown uri type on sourceUri instead of targetUri
- CB-8407 windows: Fix download of
ms-appdata:///
URIs - CB-8095 windows: Rewrite upload method to support progress events properly
- CB-5059 android: Add a CookieManager abstraction for pluggable webviews
- ios: Fix compile warning about implicity int conversion
- CB-8351 ios: Use argumentForIndex rather than NSArray extension
- CB-8351 ios: Use a local copy of DLog macro rather than CordovaLib version
- CB-8296 ios: Fix crash when upload fails and file is not yet created (close #57)
- Document "body" property on FileTransferError
- CB-7912 ios, android: Update to work with whitelist plugins in Cordova 4.x
- Error callback should always be called with the FileTransferError object, and not just the code
- windows: alias appData to Windows.Storage.ApplicationData.current
- CB-8093 Fixes incorrect FileTransferError returned in case of download failure
- CB-8021 - adds documentation for
httpMethod
todoc/index.md
. However, translations still need to be addressed. - CB-7223 spec.27 marked pending for wp8
- CB-6900 fixed
spec.7
for wp8 - CB-7944 Pended unsupported auto tests for Windows
- CB-7977 Mention
deviceready
in plugin docs - CB-7700 cordova-plugin-file-transfer documentation translation: cordova-plugin-file-transfer
- Construct proper FileEntry with nativeURL property set
- CB-7532 Handle non-existent download dirs properly
- CB-7529 Adds support for 'ms-appdata' URIs for windows
- CB-7471 cordova-plugin-file-transfer documentation translation
- CB-7249 cordova-plugin-file-transfer documentation translation
- CB-7423 fix spec28,29 lastProgressEvent not visible to afterEach function
- Amazon related changes.
- Remove dupe file windows+windows8 both use the same one
- CB-7316 Updates docs with actual information.
- CB-7316 Adds support for Windows platform, moves *Proxy files to proper directory.
- CB-7316 Improves current specs compatibility:
- added documentation for new test
- CB-6466 Fix failing test due to recent url change
- CB-6466 created mobile-spec test
- Renamed test dir, added nested plugin.xml and test
- Fixed failing spec.19 on wp8
- added documentation to manual tests
- CB-6961 port file-transfer tests to framework
- Upload parameters out of order
- FirefoxOS initial implementation
- CB-6781: Expose FileTransferError.exception to application
- CB-6928: Add new error code to documentation
- CB-6928: Handle 304 status code
- CB-6928: Open output stream only if it's necessary.
- [BlackBerry10] Minor doc correction
- CB-6127 Updated translations for docs
- [Windows8] upload uses the provided fileName or the actual fileName
- CB-2420 [Windows8] honor fileKey and param options. This closes #15
- CB-6781: Update new docs to match AlexNennker's changes in PR30
- CB-6781: Continue previous commit with one new instance (This closes #30)
- CB-6781: add the exception text to the error object
- CB-6890: Fix pluginManager access for 4.0.x branch
- CB-6127 Spanish and French Translations added. Github close #21
- ubuntu: support 'cdvfile' URI
- CB-6802 Add license
- Upload progress now works also for second file
- CB-6706: Relax dependency on file plugin
- CB-3440 [BlackBerry10] Update implementation to use modules from file plugin
- CB-6378 Use connection.disconnect() instead of stream.close() for thread-safety
- CB-6491 add CONTRIBUTING.md
- CB-6466 Auto-create directories in download
- CB-6494 android: Fix upload of KitKat content URIs
- Upleveled from android port with following commits: 3c1ff16 Andrew Grieve - CB-5762 android: Fix lengthComputable set wrong for gzip downloads 8374b3d Colin Mahoney - CB-5631 Removed SimpleTrackingInputStream.read(byte[] buffer) 6f91ac3 Bas Bosman - CB-4907 Close stream when we're finished with it 651460f Christoph Neumann - CB-6000 Nginx rejects Content-Type without a space before "boundary". 35f80e4 Ian Clelland - CB-6050: Use instance method on actual file plugin object to get FileEntry to return on download
- CB-5980 Updated version and RELEASENOTES.md for release 0.4.1
- CB-6422 [windows8] use cordova/exec/proxy
- iOS: Fix error where files were not removed on abort
- CB-5175: [ios] CDVFileTransfer asynchronous download (Fixes #24)
- [ios] Cast id references to NSURL to avoid compiler warnings (Fixes: #18)
- CB-6212: [iOS] fix warnings compiled under arm64 64-bit
- CB-5762: [FireOS] android: Fix lengthComputable set wrong for gzip downloads
- CB-5631: [FireOS] Removed SimpleTrackingInputStream.read(byte[] buffer)
- CB-4907: [FireOS] Close stream when we're finished with it
- CB-6000: [FireOS] Nginx rejects Content-Type without a space before "boundary".
- CB-6050: [FireOS] Use instance method on actual file plugin object to get FileEntry to return on download
- CB-6460: Update license headers
- CB-6106 Ensure that nativeURL is used by file transfer download
- iOS: Fix default value for trustAllHosts on iOS (YES->NO)
- CB-6059 iOS: Stop FileTransfer.download doing IO on the UI thread.
- CB-5588 iOS: Add response headers to upload result
- CB-2190 iOS: Make backgroundTaskId apply to downloads as well. Move backgroundTaskId to the delegate.
- CB-6050 Android: Use instance method on actual file plugin object to get FileEntry to return on download
- CB-6000 Android: Nginx rejects Content-Type without a space before "boundary".
- CB-4907 Android: Close stream when we're finished with it
- CB-6022 Add backwards-compatibility notes to doc
- CB-5365 Remove unused exception var to prevent warnings?
- CB-2421 explicitly write the bytesSent,responseCode,result to the FileUploadResult pending release of cordova-plugin-file dependency, added some sanity checks for callbacks
- iOS: Update for new file plugin api
- CB-5631 Removed SimpleTrackingInputStream.read(byte[] buffer)
- CB-5762 android: Fix lengthComputable set wrong for gzip downloads
- CB-4899 [BlackBerry10] Improve binary file transfer download
- Delete stale test/ directory
- CB-5722 [BlackBerry10] Update upload function to use native file object
- CB-5658 Delete stale snapshot of plugin docs
- Remove @1 designation from file plugin dependency until pushed to npm
- CB-5466: Update to work with filesystem URLs
- CB-5466: Partial revert; we're not ready yet for FS urls
- add ubuntu platform
- CB-5466: Minor version bump
- CB-5466: Update FileTransfer plugin to accept filesystem urls
- Added amazon-fireos platform. Change to use amazon-fireos as the platform if the user agen string contains 'cordova-amazon-fireos'
- CB-5128: added repo + issue tag to plugin.xml for file transfer plugin
- CB-5010 Incremented plugin version on dev branch.
- removed un-needed undef check
- Fix missing headers in Windows 8 upload proxy
- Fix missing headers in Windows 8 Proxy
- Fix Windows 8 HTMLAnchorElement return host:80 which force Basic Auth Header to replace options Auth Header
- CB-4915 Incremented plugin version on dev branch.