Releases: tattersoftware/codeigniter4-files
Version 3 Beta 1
Version 3 reworks Files
to be an official "module", with new upstream dependencies and more opinionated assets.
Please read the Upgrade Guide for assistance migrating from version 2.
What's Changed
- Update Toolkit by @MGatner in #34
- Apply coding standard by @MGatner in #35
- Version 3 by @MGatner in #36
- Switch to DevKit by @MGatner in #38
- Refactor Tests by @MGatner in #37
- Set PHPStan For rector path by @samsonasik in #39
- Handlers by @MGatner in #40
Full Changelog: v2.3.2...v3.0.0-beta.1
Bugfix
Extensions
Improves extension handling, making it far less likely to identify a file as application/octet-stream
or as .bin
in the reverse.
Settings
Failure Handling, Upload Event
- Attempts to prevent all errors during
upload()
so users get helpful messages instead of[object Object]
- Adds a new event trigger after File upload
- Updates the development toolkit
- Adds some tests to creep up coverage
Bugfix
Export Records
- Removes the unused
downloads
table - Adds a new
exports
table and Model for tracking exports handled through the Files controller
Pagination, Search, Bugfixes
- Includes a number of UI improvements
- Reenables parallel download with session closures
- Bug fixes and test improvements
Refactor
A complete rework of the module, version 2 brings many new features and quality improvements.
A significant motivating factor for this version was to take advantage of the underlying packages and their powerful improvements: Tatter\Handlers
, Tatter\Exports
, and Tatter\Thumbnails
. All these modules have been refactored to eliminate extra steps (like unnecessary migrations), apply full static analysis and unit tests, and fix a slew of bugs. The same has been done for Files
, with a focus on making its Controller more extensible for application repurposing.
Check out the README for more details on configurability.
Layouts, Bugfixes
- Now uses view layouts, configurable via the config file
- Fixed a few bugs and issue related to framework changes
- The select view can now accept a list of files to pre-select