- angular: update angular to angular 19
- angular: update angular to angular 18, from now on, the main version will follow
angular/core
version. - angular migrate to standalone component
- angular:
NgxfUploaderModule
be removed, use standalone componentNgxfSelectDirective
directly instead. - ngxf-validate: validate from
FileOption
(min
,max
) structure becomeFileValidateOptions
export interface FileValidateOptions { /** * check upload file size * unit: `Byte` */ size?: { /** the smallest bytes */ min?: number; /** the biggest bytes */ max?: number; }; // unit: Byte, /** * when you upload some files in once, but not throw error when have some file not in the range * you can set it to true, let will skip the Invalid file * * @default false */ skipInvalid?: boolean; }
- Angular version: upgrade angular version to v13 with Ivy.
- Directory structure support:
(ngxf-select) (ngxf-drop)
support directory structure.
/**
* the structure of output result
* @default 'files'
*/
structure: 'directory' | 'files';
- Folder support:
(ngxf-select)
support select folder mode. - Folder support:
(ngxf-drop)
support drag folder into (not work in IE).
This folder upload feature, thanks for SHANG-TING, more detail about file upload with folder, can view his blog
- console.log: remove console.log in mistake.
- Parse: Support new parse directive for parse files.
- All code upgrade to angular 11: upgrade package way with angular 11.2
- Support Blob with file: Add Blob file type check
- Field order change: Change field order before the file
- Bug fix fix bug with ng-packgr issue cb9f471.
-
Add upload options add
responseType
andwithCredentials
with upload options. -
Code optimization Optimizate functions with check file size and type, make code more readable.
-
Append upload input elm on body: IE need actual element on document, that can occur upload change event.
-
Change peerDependencies to more than 6.0.0: Change peerDependencies to more than 6.0.0
- Refactory upload with Renderer2 to add class and style
- add skipInvalid to FileOption: now you can use skipInvalid to ignore invalid file.
- Upgrade to Angular 6+ Rxjs 6+
- Beacuse big change with package way, so direct jump to 1.3.0,
- API don't has BREAK CHANGE, just only add UploadEvent type to NgxfUploaderService. :)
- NgxfUploaderService fix type to
Observable<UploadEvent>
- upgrade to rxjs 5.5.7
- deprecated previous version