# Change Log

### 1.7.1

- [BREAKING CHANGE] Added support for `beforedelete` event and `deleteFileRecord` method. [See Usage](https://safrazik.com/vue-file-agent/docs/#beforedelete)

### 1.7.0 Elegant Euphonia

- Added `averageColor` boolean prop #52
- Fixed extra shadow when meta=false #55
- Made `url` property reactive #53
- Support for custom tus.Upload options #58
- Disabled resized image data urls (base64) for preloaded images #54

### 1.6.2

- Restricted dismissing client errors #45
- Added `capture` prop #48

### 1.6.1

- Renamed `FileData` to `FileRecord`

### 1.6.0 House Sparrow

- New Feature 🎉 `readonly` prop support
- (UX) Improve drag over style (red for invalid/no-op drag, green for valid drag)
- Added upload events #38
- Improved the detection of folders (on Mac OS) - (Thanks to @algm) #41
- Fixed file link for images in list theme #39
- Handling of broken image urls gracefully (in preloaded previews) #37
- Fixed single mode controls issue (that prevented from deleting, renaming and clicking on link)
- Demo URL updated
- Usage of `FileData`, `filesData`, etc. deprecated in favor of `FileRecord`, `fileRecords`, etc. (See #42)

### 1.5.2

- Type definitions (`d.ts` files) have been exported

### 1.5.0 Superb Fairy-Wren

- Majar Refactor: Transformation from _Legacy JS_ to **TypeScript** 3.7.3 with `noImplicitAny`
- 55% file size reduction in built files: **17KB** minified, gzipped
- New Feature 🎉 Resumable Uploads with `resumable` prop: Official Itergration of tus.io protocol #15
- [Prettier](https://prettier.io/) code!

### 1.4.2

- Intuitive drag sort! `sortable` prop improved to support `handle` and `hold` values #30

### 1.4.0 Spotted Pardalote

- New Feature 🎉 Drag sortable support with `sortable` prop (courtesy of vue-slicksort by @Jexordexan) #20

### 1.3.5

- Fixed removal of same file selection in single mode #29
- Improved progress UI with `full` (100% uploaded) and `done` (server returned a response) status.
- Improved upload error handling.
- Added support to dismiss error messages by clicking on them.
- Added support for update/rename upload with `PUT` request, with updated server examples. (Thanks to @codeflorist) #23

### 1.3.4

- Fixed image thumbnails with wrong orientation (rotation) #28

### 1.3.3

- File icons can be clicked with `linkable` property (Thanks to @codeflorist) #24

### 1.3.1

- Major CSS (SCSS) refactoring with modular styles.

### 1.3.0 Rock Wren

- New Feature 🎉 Support dropping folders (Thanks to @kevinleedrum) #17
- Exposed `utils`, `VueFilePreview` and `FileData`
- Allow raw file data in `VueFilePreview` component #18
- Fixed a crossbrowser issue when creating video thumbnails (tainted canvas)
- Vibrant update for default theme with seamless background for meta.
- Error message style updated for both themes
- Progress bar updated for both themes
- Project logo added

### 1.2.0 Yellow Canary

- Initial Unit Tests added #3
- New Feature 🎉 File names can be renamed with `editable` prop #5
- Added `disabled` prop #8
- Added new slots `file-preview` and `file-preview-new` #10
- Made CSS modular and added SCSS support #11
- Added support for custom `FormData` #12
- Added [Gmail Inspired Demo](https://safrazik.github.io/vue-file-agent/docs/#gmail-inspired-demo) in Docs page
- [BREAKING CHANGE] `Raw FileData.name` is a function now.

### 1.1.2

- Basic TypeScript support (Thanks to @yanqd0 & @seriouslag) #4 #7 #9

### 1.1.1 Humming Bird

- Internal code refactor
- Added `thumbnailSize` prop
- Theme support with `theme` prop
- Official `list` theme added 🎉
- Added slots: `before-outer`, `before-inner`, `after-inner`, `after-outer`
- `min-width` added for file previews in default (grid) theme
- Moved component logic (js) to mixin, for extending templates

### 1.0.5

- Fixed a CSS issue that prevented the file input button to be triggered #1

### 1.0.4 Zebra Finch

- Initial Release
