Releases: tattersoftware/codeigniter4-alerts
Bootstrap 5
Adds support for the new default template: Bootstrap 5.
What's Changed
- Add Bootstrap5 template then set it to default by @enderlinp in #25
- Fix pipeline errors by @MGatner in #26
New Contributors
- @enderlinp made their first contribution in #25
Full Changelog: v3.0.0...v3.1.0
Version 3.0
This is a complete refactor of the library. The focus is on removing unnecessary classes and code; this is accomplished by moving almost all the functionality into a new Filter which injects alerts directly.
Minor changes only from RC1
Read the Upgrade Guide for help migrating from version 2.
What's Changed
- Update Toolkit by @MGatner in #15
- Updated Coding Styles by @MGatner in #16
- Refactor by @MGatner in #17
- Prep for Release by @MGatner in #18
- CodeIgniter DevKit by @MGatner in #24
Full Changelog: v2.1.1...v3.0.0
Version 3 Release Candidate 1
This is a complete refactor of the library. The focus is on removing unnecessary classes and code; this is accomplished by moving almost all the functionality into a new Filter which injects alerts directly.
Read the Upgrade Guide for help migrating from version 2.
What's Changed
- Update Toolkit by @MGatner in #15
- Updated Coding Styles by @MGatner in #16
- Refactor by @MGatner in #17
- Prep for Release by @MGatner in #18
Full Changelog: v2.1.1...v3.0.0-rc.1
Library Cleanup
Bumps the development toolkit and applies all the updated goodness. This includes restyling the code to PSR-12 (CodeIgniter flavor).
Should be no structure changes here, but the additional phpDocs will help with IDE integration.
PHP 8 support
- Adds support for PHP 8
- Adds the development toolkit, with a basic test (more to come)
- Applies a number of fixes for static analysis
Bugfix
Add flash data detection
This release includes a new config option to check for common flash data keys (message
, error
, errors
). This allows Alerts to intercept calls like return redirect()->back()->with('message', 'New widget created');
and display them as library alerts. This enabled by default but can be turned off via the config file, $getflash
.
Update file structure, add language support
Merge pull request #1 from tattersoftware/develop Merge for release
Fix example conf namespace
v2.0.1 Fix copy-paste error in example conf
New library structure
Version 2 takes advantage of more of CodeIgniter 4's differences from CI3, moving some of the helper wrappers into the newly defined Service. There's also a deeper namespace (Tatter\Alerts) to prevent collision of services with the other packages.