All notable changes to this project will be documented here.
- Built on Angular 14
- Built with altered tsconfig.json
- Built on Angular 13
- Built on Angular 12
- Reflect more accurate typing of file not being defined by default
- Issue #98 fixed by PR #99 for this.fileElm was actually targeting the label wrapper
- angular-file places a label wrapping a file on html and when saved to memory label targeted and not file input
- Fix 3.5.0 variable references and possible undefined error
- Close #27 regarding click to upload same file twice
- ngOnChanges is listened to for when files or file is dropped then file input elm cleared
- Dependencies updated
- Demo updated with clear buttons next to inputs
- Added
(fileSelectStart)
output event
- Restructure things done in 3.3.1
- Built with ng10
- new [capturePaste] window event listener for files (default off)
- selectable attribute now reads string values of 'false', 'null', '0' as false
- Published version to npm
- Includes touch fix error for Chrome Mobile
- Build using @angular/cli library
- fix typo
- Built on Angular 9
- built for dist better
- built for ivy
- Built on ng8
- NOTE: A report from another package on ng8 claims may not be compatible with ng7
- Built with strict mode
- Fixed demo upload url
- Fixed testing enviroment
- Docs have bundle sizes
- updated docs
- removed peer dependencies
- moved some dependencies into devDependencies
- kb to byte on demo page
- Adjust processing events into files
- Updated to latest Angular
- Demo has bundle stats
- Removed legacy build techniques
- Updated from angular-cli.json to angular.json
- Added ngfSrc
- Fixed fileDropDisabled binding
- Docs to clarify ngf versus ngfDrop versus ngfSelect
- Fix click action as swipe check
- strict mode on
- check file type before file size
- [(ref)] bindings have been removed from all components/directives
- no more [(ngf)]
- no more [(ngfSelect))]
- use template references if needed:
<input #ngfSelect="ngfSelect" ngSelect />
- documentation
- Fix file check when no files defined
- Fix single file reselect after item removed from files
- Removed much unused code from original package that this is a fork from
- Fixed and ensured accept attribute working correctly
- Improved demo page in terms of the accept attribute and file drag metadata
- BREAKING CHANGES
- Removed directive ngfUploader
- ngfUploader.directive.ts has been removed from this package
- FileUploader.class.ts has been removed from this package
- FileUploader.class has been removed from this package
- FileItem.class has been removed from this package
- FileLikeObject.class has been removed from this package
- Files are always considered valid when dragged inside browsers that dont allow ANY drag file metadata
- Input forceFilename has been removed from all ngf directives
- Input forcePostname has been removed from all ngf directives
- BREAKING CHANGES
- Angular 4 updated to 5.0.5
- Expected this package will require Angular5+
- Updated every dependency
- Angular 4 updated to 5.0.5
- made accept and maxSize update on change
- added ngfFormData directive
- case-insensative accept filtering
- Ensured accept filters transmit file names when possible for better mime type checking
- enhanced acceptFilter filter checking
- fixed IE11 dragdrop issue
- [(files)] is now a default blank array . May cause issues if you have *ngIf="files" instead of *ngIf="files.length"
- removed useNgHttp from ngfUploader and no longer depend on angular/http
- ngf, ngfSelect, and ngfDrop no longer reset the [(files)]. They always append new files
- ngfUploadStatus
- FileUploader isHtml5Mode has been removed
- ngfUploader
- fileUrl is now lastBaseUrl
- Taken from an outdated barely usable package to an up-to-date slimmed down easier to develop version
- uploader.getFormData()