# Changelog

## [1.1.0 (2018-12-30)](https://github.com/dmitrybubyakin/nova-medialibrary-field/compare/1.0.1..1.1.0)

### Fixed
- Fix wrong prop type ([#5](https://github.com/dmitrybubyakin/nova-medialibrary-field/pull/5))
- Authorieze to any action if gates are not defined ([fe74200](https://github.com/dmitrybubyakin/nova-medialibrary-field/commit/fe74200))

## [1.1.1 (2019-01-02)](https://github.com/dmitrybubyakin/nova-medialibrary-field/compare/1.1.0...1.1.1)

### Fixed

- Global Search : Class name must be a valid object or a string ([#7](https://github.com/dmitrybubyakin/nova-medialibrary-field/issues/7))

## [1.1.2 (2019-01-02)](https://github.com/dmitrybubyakin/nova-medialibrary-field/compare/1.1.1...1.1.2)

### Fixed

- Fixed problem with file storing when Medialibrary is in Panel or Panels are before the field ([#8](https://github.com/dmitrybubyakin/nova-medialibrary-field/pull/8))

## [1.1.3 (2019-01-08)](https://github.com/dmitrybubyakin/nova-medialibrary-field/compare/1.1.2...1.1.3)

### Added

- Pass an uploaded file to callbacks ([df988bc](https://github.com/dmitrybubyakin/nova-medialibrary-field/commit/df988bc))

## [1.1.4 (2019-01-16)](https://github.com/dmitrybubyakin/nova-medialibrary-field/compare/1.1.3...1.1.4)

### Fixed

- Undefined `registerMediaCollections` method is called on related resources ([#10](https://github.com/dmitrybubyakin/nova-medialibrary-field/issues/10))

## [1.1.5 (2019-01-28)](https://github.com/dmitrybubyakin/nova-medialibrary-field/compare/1.1.4...1.1.5)

### Fixed

- Replace Panel with MergeValue ([b6002ba](https://github.com/dmitrybubyakin/nova-medialibrary-field/commit/b6002ba))

## [1.1.6 (2019-01-28)](https://github.com/dmitrybubyakin/nova-medialibrary-field/compare/1.1.5...1.1.6)

### Added

- Possibility to customize the thumbnail title and show a short thumbnail description text
- Possibility to customize the thumbnail size

## [1.1.7 (2019-02-01)](https://github.com/dmitrybubyakin/nova-medialibrary-field/compare/1.1.6...1.1.7)

### Added

- Possibility to display labels

## [1.1.8 (2019-02-09)](https://github.com/dmitrybubyakin/nova-medialibrary-field/compare/1.1.7...1.1.8)

### Fixed

- Ignore MissingValue ([f20bf3d](https://github.com/dmitrybubyakin/nova-medialibrary-field/commit/f20bf3d))

## [1.1.9 (2019-02-26)](https://github.com/dmitrybubyakin/nova-medialibrary-field/compare/1.1.8...1.1.9)

### Added

- Possibility to crop images

## [1.1.10 (2019-07-01)](https://github.com/dmitrybubyakin/nova-medialibrary-field/compare/1.1.9...1.1.10)

### Added

- Possibility to customize URL of the download button

## [1.2.0 (2019-10-15)](https://github.com/dmitrybubyakin/nova-medialibrary-field/compare/1.1.10...1.2.0)

### Added

- Add Nova 2.4 support

## [2.0 (2020-01-19)](https://github.com/dmitrybubyakin/nova-medialibrary-field/compare/1.1.10...2.0)

### Upgrade guide

Remove `\DmitryBubyakin\NovaMedialibraryField\Resources\Media::class` from your NovaServiceProvider. [Media](src/Resources/Media.php) is used by default.

TODO

### Added
 - support create/edit views
 - use existing media
 - [GeneratedConversions](src/Fields/GeneratedConversions.php) field (can be used only with media)

TODO

### Changed
 - thumbnailTitle -> title
 - storeUsing, replaceUsing -> attachUsing
 - rules is now applied to a media collection, attachRules is applied to media

TODO

### Removed
 - labels are not supported, let me know if they are needed
 - imageMimes
 - thumbnailSize
 - bigThumbnails
 - thumbnailDescription (try new `tooltip` method)
