Skip to content

Latest commit

 

History

History
500 lines (335 loc) · 24.8 KB

CHANGELOG.md

File metadata and controls

500 lines (335 loc) · 24.8 KB

v3.0.3 (2020-04-15)

🐛 Bug Fix

  • #346 build targets for doc app should cover a wider browser range (@jelhan)

🏠 Internal

Committers: 1

v3.0.2 (2020-03-14)

🐛 Bug Fix

📝 Documentation

Committers: 1

v3.0.1 (2020-03-13)

📝 Documentation

  • #327 Improve YUIDoc comments and fix build warnings (@gilest)

Committers: 2

v3.0.0 (2020-03-12)

Upgrade Guide

upload test helper has been renamed to selectFiles and could only be imported from ember-file-upload/test-support.

These imports are not supported anymore:

import { upload } from 'ember-file-upload/test-support';
import upload from '<app-name>/tests/helpers/upload';

Please change both of them to:

import { selectFiles } from 'ember-file-upload/test-support';

The new selectFiles test helper expects a selector as first and one or many files as additional arguments. It does not take a file name as an argument. Please set the file name on the File instance:

await selectFiles('#selector', new File([], 'empty.txt'));

Please find more details in the updated documentation for testing.

💥 Breaking Change

  • #319 Drop official support for Internet Explorer 11 (@jelhan)
  • #322 Renamed upload test helper to selectFiles and dropped support for legacy import at app/tests/helpers/upload (@gilest)
  • #308 Drop support for node 8 (@gilest)
  • #275 Drop support for Ember 2.16 / helpful error message if invalid image is provided to mirage handler (@jelhan)
  • #276 Enable dropdown without upload (@gilest)
  • #257 Drop Node 6 support (@Alonski)

🚀 Enhancement

  • #275 helpful error message if invalid image is provided to mirage handler (@jelhan)
  • #274 request params are not passed through to mirage handler (@jelhan)
  • #276 Enable dropdown without upload (@gilest)

🐛 Bug Fix

  • #274 request params are not passed through to mirage handler (@jelhan)
  • #254 Prevent trying to call splice on an array key that might not exist (@happydude)

📝 Documentation

🏠 Internal

Committers: 6

Ember FileUpload Changelog

v2.7.0 (2019-05-15)

🐛 Bug Fix

📝 Documentation

🏠 Internal

Committers: 6

v2.6.0 (2019-01-30)

🐛 Bug Fix

  • #204 Added a possibility to run tests that use 'upload' test-helper in Microsoft browsers (@kazimirchuk)
  • #200 files that were cancelled can be uploaded again (@toovy)

🏠 Internal

Committers: 3

2.2.5 (2018-03-01)

🐛 Bug Fix

  • #111 Support for files without extension. e.g: "FILE" (@janmisek)

Committers: 2

2.2.4 (2017-11-30)

🐛 Bug Fix

Committers: 1

2.2.1 (2017-11-27)

🐛 Bug Fix

  • #82 uploadPromise.then was lost as it was not returned (@janmisek)

Committers: 2

2.2.0 (2017-11-09)

🐛 Bug Fix

Committers: 3

2.1.3 (2017-10-26)

🚀 Enhancement

  • #74 Add support for circle svg element (@dbbk)

🐛 Bug Fix

  • #60 file.upload returns the promise created in http-request.js (@bartocc)

📝 Documentation

Committers: 3

2.1.2 (2017-09-26)

🐛 Bug Fix

  • #63 FF does not seem to have dataTransfer on dragleave (@topaxi)

📝 Documentation

  • #55 Replace references to service 'uploader' with 'fileQueue' (@Subtletree)
  • #49 Update README.md - fix integration example (@bartocc)

Committers: 3

2.1.1 (2017-07-17)

🐛 Bug Fix

Committers: 1

2.1.0 (2017-07-16)

🚀 Enhancement

  • #47 feat(http-request): add jsonapi content type (@shuriu)

Committers: 1

2.0.1 (2017-07-16)

🐛 Bug Fix

  • #46 fix(file): file.upload() returns a promise (@shuriu)

Committers: 1

2.0.0 (2017-07-12)

🚀 Enhancement

Committers: 1

2.0.0-beta.42 (2017-06-05)

📝 Documentation

Committers: 1

2.0.0-beta.41 (2017-05-11)

🚀 Enhancement

Committers: 1

2.0.0-beta.39 (2017-04-21)

🐛 Bug Fix

Committers: 1

2.0.0-beta.37 (2017-03-31)

🚀 Enhancement

  • #28 Permit setting withCredentials on the XMLHttpRequest for file-upload (@zacharyhamm)

Committers: 1

2.0.0-beta.36 (2017-03-21)

🚀 Enhancement

Committers: 1

2.0.0-beta.35 (2017-03-17)

🐛 Bug Fix

Committers: 1

2.0.0-beta.27 (2017-02-05)

🐛 Bug Fix

Committers: 2

2.0.0-beta.19 (2016-10-17)

🐛 Bug Fix

Committers: 2

2.0.0-beta.17 (2016-09-22)

🐛 Bug Fix

Committers: 1

2.0.0-beta.16 (2016-08-04)

🚀 Enhancement

  • #8 Get progress from request.upload.onprogress as well. (@ryanto)

📝 Documentation

Committers: 2

1.13.13 (March 15, 2016)

  • Add an API for mocking out file.read() for ember-plupload/test-helpers.
  • Update ember-cli

1.13.12 (February 5, 2016)

  • Assert that the browse button is in the DOM before trying to initialize the uploader.

1.13.11 (January 26, 2016)

  • Fix drag-and-drop cases where the drag-out event is never handled. (Courtesy of @raytiley)

1.13.10 (December 9, 2015)

  • Fix cases where Chrome would asynchronously load the document.styleSheet, causing ember-plupload to mess with app styles. (Courtesy of @mixonic)

1.13.9 (November 19, 2015)

  • Add acceptance test helper addFiles and documentation.

1.13.8 (November 18, 2015)

  • Use observable methods for the uploader service so properties properly get updated (files, size, loaded, and progress). (Courtesy of @schwabix)
  • Start of polyfill work for making uploads work on mobile devices.

1.13.7 (October 26, 2015)

  • Expose plupload internals through onInitOfUploader action. This is a stop-gap measure for mobile support, which may be superceded by support in the addon to handle it transparently. (courtesy of @cooperjbrandon)
  • Support Ember 2.x and 1.x initializers (courtesy of @Kulja)

1.13.6 (August 14, 2015)

  • Fixes a bug where drag and drop stopped working when no-duplicates was set to true. Courtesy of @cooperjbrandon

1.13.5 (August 14, 2015)

  • Fixes a bug where the the uploader button's position wasn't invalidated when files are added / removed from the queue. Courtesy of @knownasilya

1.13.4 (August 12, 2015)

  • Update blueprints to work with new function signature for addBowerPackageToProject. See ember-cli/ember-cli#4643 for more information on these changes. Courtesy of @deathbearbrown

1.13.3 (August 12, 2015)

  • Update plupload to 2.1.8. Included below are the changelog to mOxie and plupload:

Plupload v2.1.4

  • Fix: don't cancel current upload on generic file error
  • Update moxie to v1.3

Moxie v1.3

(last minor version to target Flash Player 10.3)

  • FileInput, HTML5: Allow multiple file upload on iOS 8+.
  • FileInput, HTML5: Where possible filter files by extensions, instead of mime types.
  • Encode, Utils: Fix btoa() to properly interpret multi-byte strings.
  • FileInput/FileDrop: Unbind all events on destroy.
  • Image, HTML5/Flash/Silverlight: Properly extract RATIONAL/SRATIONAL types.
  • Runtime, Flash: Make sure SWF is properly removed in IE on destroy.
  • FileReader, Silverlight: Constrain conversion of the buffer to amount of bytes that it actually contains.
  • Image/Jpeg, HTML5: Survive the cases when there's no embedded thumb.
  • Image, HTML5: Extract embedded thumb from JPEG, when available.
  • RuntimeClient: Letter-case of the runtime identifier, shouldn't matter.
  • FileInput, HTML5: Set relativePath on the File object when it's available (when folder is selected in WebKit).

Plupload v2.1.8

  • Fix event binding/unbinding logic by partially reverting it.
  • Fix UA parser bug that made v2.1.5 unusable.
  • Update moxie to v1.3.4

Moxie v1.3.4

  • Image, HTML5: Refactor ExifParser, mostly to survive invalid meta data.
  • Utils, Env: ua-parser-js has dropped MAJOR version property.
  • Utils, Url: Fix resolveUrl() regression.
  • Utils, Basic: Fix each() regression.
  • Image, Flash/Silverlight: Fix thumb extraction regression.

1.13.2 (August 10, 2015)

  • Fix a bug introduced in 1.13.1 where dropzones were always marked as active.

1.13.1 (August 10, 2015)

  • Add support for Ember 2.0.0-beta.5. This removes deprecated API calls from the addon (Ember.keys, Ember.Enumerable.filterProperty, Ember.Enumerable.findProperty).

1.13.0 (July 13, 2015)

  • Allow files to be retried. Call upload on files that you'd like to try again to retry them.
  • [BREAKING CHANGE] Remove deprecated code. All deprecations from 0.8.1 and below are removed, along with old behavior. Please upgrade to 0.8.1 before upgrading to 1.13.0 to ensure that there are no deprecation warnings.

0.8.1 (July 7, 2015)

  • Fix HTML4 runtimes by conditionally adding drag and drop params to the uploader.
  • Remove long timeouts before starting the upload in the file.upload method.

0.8.0 (July 6, 2015)

  • Change 'when-queued' action handler to 'onfileadd'. This also adds an error handler called 'onerror'.

0.7.0 (July 6, 2015)

  • Change UploadQueueManager to a service called Uploader with various aggregate properties about all files uploading.

0.6.23 (July 6, 2015)

  • Fix file uploads for IE9 by increasing the queue timeout to 100ms. Courtesy of @mgrigis

0.6.22 (June 30, 2015)

  • Handle code paths for beta versions of plupload. Some users of ember-plupload are using this in the wild. Courtesy of @walter

0.6.21 (June 14, 2015)

  • Allow any 2XX series status to resolve the file upload
  • Headers are case-insensitive, which meant that sometimes responses weren't parsed correctly. Courtesy of @raytiley
  • Add a longer delay before uploading a file, trying to solve a race condition where settings were incorrectly reset before uploads. Courtesy of @walter

0.6.20 (June 12, 2015)

  • Include unminified plupload and moxie for development, which helps with debugging issuse with plupload / moxie. Courtesy of @raytiley

0.6.19 (June 12, 2015)

  • Fixes #19. Attach event listeners after the initial render is complete. This was causing browser crashes on Ember 1.13+. Courtesy of @raytiley

0.6.18 (June 11, 2015)

  • Uploads that respond with 201s should be resolved instead of rejected. Courtesy of @raytiley

0.6.16 (June 3, 2015)

  • 0.6.14 had a bug where the stylesheet would never be applied. This also reduces memory usage and DOM churn by sharing the stylesheet across all instances of the uploader.

0.6.14 (June 3, 2015)

  • Use extracted dynamic stylesheet library, named dinosheets, for disabling pointer events on the dropzone. Installing the new version should properly add the library to your bower.json.

0.6.12 (May 28, 2015)

  • Allow only an url to be passed to upload without any additional options.

0.6.11 (May 26, 2015)

  • Add deprecation warnings for users of the old syntax (from 0.5.1).
  • Remove deprecations for the new computed property syntax. Support for older versions of ember that do not support this will be dropped in 1.0.0.

0.6.10 (May 25, 2015)

  • Monkeypatch plupload to take references to the drop_element and browse_button so parts of the interface can be conditionally shown / hidden without breaking the buttons.

0.6.9 (May 25, 2015)

  • Reset progress when all files have finished uploading in the queue.

0.6.8 (May 25, 2015)

  • Always trigger the when-queued event even if the file is invalid. Promise returning functions read and upload will always be rejected with the error.
  • Expose refresh on the queue for those having trouble with misaligned plupload input masks. Internally, the uploader will try to refresh the position of the mask at times where there might be changes in templates.

0.6.7 (May 24, 2015)

  • Rename features to dropzone (with an alias setup for features).
  • Fix #14 by patching dragenter and dragleave events
  • Apply pointer-events: none to all children of the dropzone so dragenter and dragleave events are stable.

0.6.5 (May 24, 2015)

  • Set Content-Type in the headers if the file is being sent as a binary blob, otherwise, stick it into the multipart_params. These defaults allow for easy integration with uploading directly to S3.

0.6.4 (May 24, 2015)

  • #13 Fix dropzone hover events

0.6.3 (May 23, 2015)

  • Simplify the interface to deal with drag and drop. This doesn't change the current semantics, but the old style semantics will be dropped in a future release. The features.drag-and-drop is flattened onto the second yield param and has the properties id, enabled, valid, and active.
  • Add for-dropzone so uploaders can easily use the <body> element as their dropzone.

0.6.2 (May 23, 2015)

  • contentType is now sent in the multipart_params by default. Otherwise, the Content-Type of the form submission would be overriden and the file simply wouldn't upload.

0.6.1 (May 19, 2015)

  • Update plupload bower component.
  • Allow settings to be unset when uploading. (For example, some users may not want to have the Content-Type header sent)

0.6.0 (May 12, 2015)

  • #9 [BREAKING CHANGE] The contentType property now refers to the actual content type of the file to send. Use the multipart setting to determine whether the file will be sent in multiple parts using form data, or whether it's sent as a binary blob

0.5.1 (May 9, 2015)

  • #9 [BREAKING CHANGE] pl-uploader components no longer accept the following attributes: action, headers, accept, send-file-as, multipart-params, max-retries, chunk-size, and file-key. These properties must now be sent via the upload method on files passed to the when-queued action.