- #1090 Allow
@ember/test-helpers
v5.x,tracked-built-ins
v4.x &@glimmer/component
v2.x (@mkszepp) - #1089 Regenerate lock file (@mkszepp)
- #1082 Regenerate lockfile for ember-inflector (@MichalBryxi)
- Markus Sanin (@mkszepp)
- Michal Bryxí (@MichalBryxi)
- Markus Sanin (@mkszepp)
- #1059 Document historic v5 removal – dragging images from other browser windows and
@allowUploadsFromWebsites
(@gilest)
- #1049 Migrate all tests to "strict mode" (@gilest)
- #1048 Setup
ember-template-imports
in test app (@gilest) - #1039 Improve release config (@gilest)
- Giles Thompson (@gilest)
- Giles Thompson (@gilest)
- #1024 Website demo – support HTTP uploads (@gilest)
- #1023 Use
<template>
tag on docs website (@gilest) - #1022 Adjustable upload speed and queue metrics on demo page (@gilest)
- #1031 Move release-it to the root, add root scripts (@RobbieTheWagner)
- #1021 Add
lengthComputable: false
event to progress unit tests (@mkszepp) - #1018 Upgrade ember-cli to 5.4 (@gilest)
- Giles Thompson (@gilest)
- Robbie Wagner (@RobbieTheWagner)
- @mkszepp
- #1012 Fix typo parth -> path (@RobbieTheWagner)
- Giles Thompson (@gilest)
- Robbie Wagner (@RobbieTheWagner)
- @mkszepp
- #1005 Regression coverage for incorrect
loaded
&progress
stats (@gilest) - #998 Use
wyvox/action-setup-pnpm
(@gilest) - #996 Add CI matrix to type-check TypeScript versions (@gilest)
- #992 Chore: Replace deprecated
release-it-lerna-changelog
(@gilest) - #991 Bump ember cli to 4.12.2 (@gilest)
- #984 Upgrade prettier to v3 (@gilest)
- #972 Document Glint type support (@gilest)
- #968 Fix docs website peer dependency resolution (@gilest)
- #971 Cast queue name to string when rendering it in test-app (@gilest)
- #970 Drop pnpm overrides which are no longer required (@gilest)
- #969 Use Glint types in test-app (@gilest)
- #966 Sync with @embroider/addon-blueprint (@gilest)
- #961 Use stable types from
ember-source
(@gilest)
- Giles Thompson (@gilest)
- Giles Thompson (@gilest)
- #950 Relax peer dependency version for @ember/test-helpers (@seanCodes)
- #928 Document
peerDependency
requirements for v8 (@gilest) - #927 Demo upload – flush queue after successful upload (@gilest)
- #952 Pin
unist-util-find
to 1.0.2 (@gilest) - #946 Add
ember-source
3.25 to CI try scenarios (@gilest) - #944 Migrate
test-app
to TypeScript. Add Typecheck job to CI (@gilest) - #943 Replace renovate
yarnDedupeFewer
withpnpmDedupe
(@gilest) - #942 Reset pnpm config
auto-install-peers
to default (@gilest) - #941 Update
test-app
browser targets from latestember-cli
blueprint (@gilest) - #937 Use
@tsconfig/ember
(@gilest) - #940 Restore floating dependency builds (@gilest)
- #939 Remove
@babel/eslint-parser
,@rollup/plugin-babel
packages and.watchmanconfig
(@gilest) - #921 Upgrade pnpm to v8 (@gilest)
- #936 Upgrade rollup and babel config from
@embroider/addon-blueprint
(@gilest)
- Giles Thompson (@gilest)
- Sean Juarez (@seanCodes)
- #922 Drop support for node 14 (@gilest)
- #917 Move blueprint provided packages to peerDependencies (@gilest)
- Giles Thompson (@gilest)
- Giles Thompson (@gilest)
- #924 Constrain renovate to pnpm version 7 (@gilest)
- #923 Bump ember-source to 4.12 (@gilest)
- #920 Bump build dependencies (@gilest)
- #918 Upgrade ember-cli to 4.12.0 (@gilest)
- #916 Add
@ember/string
as a dependency of ember packages (@gilest)
- #897 Export QueueName type (@BoussonKarel)
- Jeldrik Hanschke (@jelhan)
- #900 Restore base website package script (@gilest)
- #894 Switch to pnpm and restore
@ember/test-helpers
to latest patch (@gilest) - #885 Revert @ember/test-helpers update and pin to 2.7.0 (@gilest)
- #859 Update ember-cli projects from 4.8.0 blueprint (@gilest)
- Giles Thompson (@gilest)
- Giles Thompson (@gilest)
- Giles Thompson (@gilest)
- #814 Update ember-cli projects from 4.4.0 blueprint (@gilest)
- #813 Replace ember array with native array (@gilest)
- #812 Update method invocation of next() (@gilest)
- Giles Thompson (@gilest)
- #811 HttpRequest: Allow empty string as body (204 Response) (@gilest)
- #810 Correct type exports (@gilest)
- Giles Thompson (@gilest)
- Giles Thompson (@gilest)
- Giles Thompson (@gilest)
- Giles Thompson (@gilest)
- Giles Thompson (@gilest)
- Giles Thompson (@gilest)
- Giles Thompson (@gilest)
- #777 Update tracked-built-ins to v3 (@renovate[bot])
- #767 Drop ember modifier v2 and resolve deprecations (@gilest)
- #770 Resolve
File.upload
with aResponse
object (@gilest) - #780 Drop support for node 12 (@gilest)
- Giles Thompson (@gilest)
- #765 Migrate drag listener and parsers to typescript. Move all types definitions to interface file (@gilest)
- #762 Add typed args interface to DragListenerModifier (@gilest)
- #760 Delete unused update-queue modifier and inline drag-listener modifier (@gilest)
- #759 Rename
FileReader
toUploadFileReader
and convert to typescript (@gilest) - #757 Convert HttpRequest and upload() to typescript (@gilest)
- #756 Convert test support to typescript (@gilest)
- #766 Move DragListenerModifier to its own file (@gilest)
- #758 Upload test - filesize bump now that CI runs Chrome 100 (@gilest)
- Giles Thompson (@gilest)
Ember Octane, v4 and Embroider support. Includes all changes since 4.0.3.
Requires Ember 3.25 or above. Requires ember-auto-import 2.0 or above.
- Addison G (@AddisonG)
- #752 Add GitHub link and default page title to docs site (@gilest)
- #748 Point docs links to newly deployed website (@gilest)
- #740 Add API Reference section to docs site (@gilest)
- #734 Generate new Docfy documentation website (@gilest)
- #749 Migrate tests into
test-app
package (@gilest) - #747 Update test matrix (@gilest)
- #746 Run docs website CI in GitHub Actions (@gilest)
- Giles Thompson (@gilest)
- #723 Add Upgrading to v5 guide (@gilest)
- #721 Rewrite
docs/
markdown files with v5 API and add a support matrix to README (@gilest)
- #711 Remove whitespace when rendering FileUpload (@nwhittaker)
- #710 Restore project-wide doc files to repository root (@nwhittaker)
- #675 Move into a monorepo (@gossi)
- Giles Thompson (@gilest)
- Nathan Whittaker (@nwhittaker)
- Thomas Gossmann (@gossi)
- Giles Thompson (@gilest)
- Giles Thompson (@gilest)
- #682
UploadFile.size
always returns 0 (@jrjohnson)
- #664 Clear mirage deprecations (@jrjohnson)
- Jon Johnson (@jrjohnson)
- #681 UploadFile: Restore
name
setter (@gilest) - #654 Bind FileUpload component to the queue with a modifier. Drop
@ember/render-modifiers
(@gilest)
- Giles Thompson (@gilest)
- #676 Avoid mutating upload options (@bertdeblock)
- #660 Add type definitions from
@ember/destroyable
(@gilest) - #655 Use guidFor in place of uuid (@gilest)
- Bert De Block (@bertdeblock)
- Giles Thompson (@gilest)
- #620 Add events to file-queue helper set up TypeScript, drop ember-cli-addon-docs, drop support for Ember < 3.28 (@gossi)
- #583 Drop deprecated lowercase events (@gilest)
- #620 Add events to file-queue helper set up TypeScript, drop ember-cli-addon-docs, drop support for Ember < 3.28 (@gossi)
- #645 Drop docs deployment and required dependencies (@gilest)
- #640 Updated test filesize since Chrome 97 reports it differently (@gilest)
- Giles Thompson (@gilest)
- #514 Upgrade to glimmer components and native classes (@gilest)
- #578 Drop internal validation and add user validation component callbacks (@gilest)
- Giles Thompson (@gilest)
- Giles Thompson (@gilest)
- #292 Update component docs to use angle bracket syntax (@mcfiredrill)
- #502 chore(ci): uploaded file size reported by Chrome has changed (@gilest)
- #481 Add concurrency to deploy workflow (@gilest)
- Giles Thompson (@gilest)
- Tony Miller (@mcfiredrill)
- #464 Drop support for Node 10 (@gilest)
- #430 Drop support for Ember < 3.16 (and upgrade to Ember 3.26) (@bendemboski)
- #479 Improve copy and layout of doc site index (@gilest)
- #478 Replace Travis CI badge with GitHub Actions (@gilest)
- Ben Demboski (@bendemboski)
- Giles Thompson (@gilest)
- Anass OUMIRI (@aoumiri)
- Giles Thompson (@gilest)
- Ilya Radchenko (@knownasilya)
- #360 docs: update selectFiles code samples (@newyork-anthonyng)
- #353 test for CSP compliance (@jelhan)
- #381 generate code coverage report only once per CI run (@jelhan)
- #380 floating dependency scenario must ignore lockfile (@jelhan)
- Anthony Ng (@newyork-anthonyng)
- Jeldrik Hanschke (@jelhan)
- Oliver Görtz (@gibso)
- #355 fix: allow uploading a File without a Queue (@alexlafroscia)
- Alex LaFroscia (@alexlafroscia)
- Jeldrik Hanschke (@jelhan)
- #333 Add edge to build targets for docs app (@ndekeister-us)
- #333 Add edge to build targets for docs app (@ndekeister-us)
- Nathanaël Dekeister (@ndekeister-us)
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.
- #319 Drop official support for Internet Explorer 11 (@jelhan)
- #322 Renamed
upload
test helper toselectFiles
and dropped support for legacy import atapp/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)
- #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)
- #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)
- #321 Reconfigure addon-docs (@gilest)
- #296 fixed missing closing bracket in documentation (@maximilianmeier)
- #291 fix triple curly in file-dropzone doc (@mcfiredrill)
- #281 Update addon docs and remove docs from readme (@gilest)
- #277 Fix Travis CI Badge URL (@gilest)
- #294 Remove DisableGPU from Testem (@Alonski)
- #309 automate releases (@jelhan)
- #307 Remove observers (@gilest)
- #305 Update dependencies in attempt to fix Ember Try test builds (@gilest)
- #287 Dedup default property values in BaseComponent (@gilest)
- #285 Set default branch to Master (@Alonski)
- #278 convert line endings CRLF -> LF (@jelhan)
- Alon Bukai (@Alonski)
- Giles Thompson (@gilest)
- Jason Davis (@happydude)
- Jeldrik Hanschke (@jelhan)
- Maximilian Meier (@maximilianmeier)
- Tony Miller (@mcfiredrill)
- #236 Fix computed-property.override deprecation (@andreyfel)
- #231 Fix MIME type checks (@bendemboski)
- #208 Angle brackets (@maxwondercorn)
- #233 add CONTRIBUTING.md and Table of Contents (@hakilebara)
- Alon Bukai (@Alonski)
- Andrey Fel (@andreyfel)
- Ben Demboski (@bendemboski)
- Frédéric Soumaré (@hakilebara)
- Raido Kuli (@raido)
- maxwondercorn (@maxwondercorn)
- #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)
- Alon Bukai (@Alonski)
- Leks Kazimirchuk (@kazimirchuk)
- Tobias Braner (@toovy)
- Jan Míšek (@janmisek)
- Tim Evans (@tim-evans)
- #87 fix upload promise not being cancellable (@dwickern)
- #88 fix deprecated ember-metal imports (@dwickern)
- Derek Wickern (@dwickern)
- Jan Míšek (@janmisek)
- Tim Evans (@tim-evans)
- #79 Fix for #42 -- Changed logic on file type array (@donaldwasserman)
- Donald Wasserman (@donaldwasserman)
- Felipe Buenaño (@fesebuv)
- Tristan Toye (@TristanToye)
- #66 fix syntax error on acceptance test code example (@hakilebara)
- #65 fix definitions of {{file-dropzone}} attributes (@hakilebara)
- Ben King (@dbbk)
- Frédéric Soumaré (@hakilebara)
- Julien Palmas (@bartocc)
- #55 Replace references to service 'uploader' with 'fileQueue' (@Subtletree)
- #49 Update README.md - fix integration example (@bartocc)
- Damian Senn (@topaxi)
- Julien Palmas (@bartocc)
- Ryan Scott (@Subtletree)
- #48 Add ability to upload same file twice in a row (@mickeysanchez)
- Mickey Sanchez (@mickeysanchez)
- Ștefan Rotariu (@shuriu)
- Ștefan Rotariu (@shuriu)
- Brandon Richards (@bbtb1982)
- #37 'disabled' attribute for file-upload (@XaserAcheron)
- Xaser Acheron (@XaserAcheron)
- #32 nullify _listener after file drop (@EnotPoloskun)
- Pavel (@EnotPoloskun)
- #28 Permit setting withCredentials on the XMLHttpRequest for file-upload (@zacharyhamm)
- Zachary Hamm (@zacharyhamm)
- #27 Fix remove to clear file from fileQueue also (@dkorenblyum)
- Dmitriy Korenblyum (@dkorenblyum)
- #26 Do not call set on a destroyed object (@dkorenblyum)
- Dmitriy Korenblyum (@dkorenblyum)
- #22 Closes #21 Drag-and-drop isn't working with IE11 (@chrisdpeters)
- Chris Peters (@chrisdpeters)
- Edward Faulkner (@ef4)
- Tim Evans (@tim-evans)
- Timmie Sarjanen (@Padchi)
- #6 Fix installation instructions (@kylemellander)
- Kyle Mellander (@kylemellander)
- Ryan T (@ryanto)
- Add an API for mocking out file.read() for
ember-plupload/test-helpers
. - Update ember-cli
- Assert that the browse button is in the DOM before trying to initialize the uploader.
- Fix drag-and-drop cases where the drag-out event is never handled. (Courtesy of @raytiley)
- Fix cases where Chrome would asynchronously load the
document.styleSheet
, causing ember-plupload to mess with app styles. (Courtesy of @mixonic)
- Add acceptance test helper
addFiles
and documentation.
- Use observable methods for the uploader service so properties properly get updated (
files
,size
,loaded
, andprogress
). (Courtesy of @schwabix) - Start of polyfill work for making uploads work on mobile devices.
- 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)
- Fixes a bug where drag and drop stopped working when
no-duplicates
was set to true. Courtesy of @cooperjbrandon
- Fixes a bug where the the uploader button's position wasn't invalidated when files are added / removed from the queue. Courtesy of @knownasilya
- 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
- Update plupload to 2.1.8. Included below are the changelog to mOxie and plupload:
- Fix: don't cancel current upload on generic file error
- Update moxie to 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).
- 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
- 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.
- Fix a bug introduced in 1.13.1 where dropzones were always marked as active.
- 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
).
- 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.
- 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.
- Change 'when-queued' action handler to 'onfileadd'. This also adds an error handler called 'onerror'.
- Change UploadQueueManager to a service called Uploader with various aggregate properties about all files uploading.
- Fix file uploads for IE9 by increasing the queue timeout to 100ms. Courtesy of @mgrigis
- Handle code paths for beta versions of plupload. Some users of ember-plupload are using this in the wild. Courtesy of @walter
- 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
- Include unminified plupload and moxie for development, which helps with debugging issuse with plupload / moxie. Courtesy of @raytiley
- Fixes #19. Attach event listeners after the initial render is complete. This was causing browser crashes on Ember 1.13+. Courtesy of @raytiley
- Uploads that respond with 201s should be resolved instead of rejected. Courtesy of @raytiley
- 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.
- 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
.
- Allow only an url to be passed to upload without any additional options.
- 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.
- 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.
- Reset
progress
when all files have finished uploading in the queue.
- Always trigger the
when-queued
event even if the file is invalid. Promise returning functionsread
andupload
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.
- Rename
features
todropzone
(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.
- 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.
- #13 Fix dropzone hover events
- 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 propertiesid
,enabled
,valid
, andactive
. - Add
for-dropzone
so uploaders can easily use the<body>
element as their dropzone.
contentType
is now sent in the multipart_params by default. Otherwise, theContent-Type
of the form submission would be overriden and the file simply wouldn't upload.
- 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)
- #9 [BREAKING CHANGE] The
contentType
property now refers to the actual content type of the file to send. Use themultipart
setting to determine whether the file will be sent in multiple parts using form data, or whether it's sent as a binary blob
- #9 [BREAKING CHANGE]
pl-uploader
components no longer accept the following attributes:action
,headers
,accept
,send-file-as
,multipart-params
,max-retries
,chunk-size
, andfile-key
. These properties must now be sent via theupload
method on files passed to thewhen-queued
action.