Releases: tattersoftware/codeigniter4-settings
Style and Bug Fixes
Library Refactor
This is a major refactor, focusing on simplifying the library and splitting out the storage/retrieval aspect to SettingModel. Highlights:
- Simplified to two scopes: global or not
- New magic Config class for easy template access
- Dropped many unnecessary classes, huge code reduction
- Numerous bugs fixed
- Full test coverage
Consult the Upgrade Guide and Changelog for more details.
Component Refresh
Updates and deprecations to component code prior to the next major release, which will include breaking changes.
PHP 8 Support, Infection
- Bumps development toolkit to the latest
- Adds Infection for PHP mutation testing
- Updates Composer definition for framework PHP requirements
- Fixed a signature bug that was a warning but became an error in PHP 8
Dependency update, Tests
NOTE: The main library dependency injection was very messed up, causing issues when instantiating directly. This PR fixes the underlying issues but will be a Breaking Change for anyone loading the library directly (instead of using the Service). Because it was already broken this will not be a major version change, but a larger refactor into Settings Handlers is coming which will build on this.
- Applies development toolkit
- Adds testing scaffold and begins tests (many more to come)
- Fixes bugs around cache storage and user identification
- Changes library dependencies
Seeder, Doc updates
v1.0.5 Add seeder for some default templates
Compatibility update
v1.0.4 Add language support
Bugfix for missed `deleted`
v1.0.3 Bugfix deleted in list command
Update for deleted_at
The CodeIgniter 4 framework changed soft deletes to set the deleted_at date on a row, rather than simply toggling the deleted boolean. This release implements the new deleted_at field - existing installs will need to migrate the database manually.
This version is only appropriate for projects using CodeIgniter 4 from the develop branch, or following Release Candidate 1.
Bugfix for "Duplicate key name 'name'"
v1.0.1 Fix duplicate key bug