## [Unreleased]
## [2.0.5] - 2021-10-03
### Fixed
- Fixed bug where guest user gets 'permission denied' on an unrestricted file.
## [2.0.4] - 2018-08-19
### Fixed
- Fixed bug 'to few arguments passed to Form' for Concrete version 8.3 and higher.
### Changed
- Used the dependency container to load helpers and other classes instead of using 'new'.
- Improved doc comments in several places.
- Refactored deprecated paginate call to item list and used the pagination factory.
- Changed content type header for ajax password call to 'appliation/json'.
- Put change log in chronological order.
- Added a couple of missing properties to the block controller.
## [2.0.3] - 2017-09-29
### Fixed
- Fixed bug 'call to undefined method \Concrete\Package\FilePicker::Controller::$registerAutoloader()'
## [2.0.2] - 2017-09-20
### Changed
- Removed use of deprecated PSR4 loader class in package controller and implemented autoloading using property $pkgAutoloaderRegistries. Renamed namespace and folder name for class files to avoid conflicts with Concrete autoloading and namespace resolving.
## [2.0.1] : 2017-09-20
### Fixed
- Removed use-statement of \Page in two view templates that caused bug 'use statement has no effect'.
## [2.0.0] - 2017-01-11
### Fixed
- Fixed a bug with uninitialized variable in Concrete\Package\FilePicker\Core\File::convertFromConcreteFiles.
- Fixed some arguments in PHPDOC.
- Fixed string concatenation operator and typo in variable name in Concrete\Package\FilePicker\Core\File\FileList::getQueryPaginationPageParameter.
### Changed
- Removed argument casting of argument $args in the save method of the block controller and added redundant array conversion on first line of method (Possibly Concrete does not always pass an array).
- Refactored deprecated Loader-class calls in various classes.
- Refactored deprecated Database->Execute calls in various classes.
- Refactored for Concrete 8 due to changed return types for various classes like the File class.
- Shortened name and description in package controller methods.
### Added
- Added PSR4 autoloading for the src folder in the package controller because this doesn't work anymore in Concrete version 8.
- Added '/index.php' to urls in the block's /elements/view.js.php to fix problem when url rewrites are not enabled and downloading as password protected file.
## [1.0.0] - 2015-07-29 Released on the Marketplace
### Changed
- Bumped version to 1.0 as first official release.
- New, cleaner package icon.
## [0.9.1.8] : 2015-07-26
### Fixed
- Fixed short array notations in form_setup_html.php to old array declarations for PHP 5.3 environments.
## [0.9.1.7] - 2015-07-12
### Fixed
- Fixed Javascript bug in templates when option 'force-download' is disabled.
### Changed
- Optimized Javascript and applied $this->addFooterItem.
- Refactored download method to not use temporary files but just echo the file contents.
## [0.9.1.6] - 2015-07-07
### Changed
- Replaced usage of System IO functions to use \Illuminate\Filesystem\Filesystem instead.
- Added missing statement defined('C5_EXECUTE') or die("Access Denied.") in new php file.
## [0.9.1.5] - 2015-07-07
### Changed
- Refactored the file download method to check for permissions and to work with files located in the cloud (alternate file storage locations).
- Refactored the file download method and the templates to use file urls instead of $version->getPath().
### Added
- Added Javascript that uses Ajax and window.prompt to ask users for a password for password protected files.
## [0.9.1.4] - 2015-07-05
### Changed
- Changed casing of table names from snakecase to camelcase in db.xml, the file picker block controller and in the FileList class of the package.
## [0.9.1.3] - 2015-07-02
### Fixed
- Fixed last array short notation which I overlooked
## [0.9.1.2] - 2015-07-01
### Fixed
- Made array-declarations backwards compatible for PHP 5.3 ('[]' versus 'array()')
## [0.9.1] - 2015-06-30
### Fixed
- Fixed bug with custom route in combination with DIR_REL
### Added
## [0.9.0] - 2015-06-21 (First submission to Marketplace)
### Changed
- Initial submission to Marketplace. Will bump to 1.0 when approved.