Releases: tamtamchik/simple-flash
Releases · tamtamchik/simple-flash
3.0.1
What's Changed
- Move build and tests to scrutinizer by @tamtamchik in #16
- feat: php8.4 support by @tamtamchik in #18
Full Changelog: 3.0.0...3.0.1
3.0.0
Breaking Changes!
- Minimum PHP version is now 7.3.
- Function
flash()is now namespaced:Tamtamchik\NameCase\flash.
Added
- Halfmoon alerts added.
- New optional property for framework for display method.
flash()->display(..., Templates::TAILWIND)
- Shortcut methods for displaying alerts with framework templates:
flash()->displayBootstrap(...)flash()->displayFoundation(...)flash()->displayBulma(...)flash()->displayMaterialize(...)flash()->displayTailwind(...)flash()->displayPrimer(...)flash()->displayUikit(...)flash()->displaySemantic(...)flash()->displaySpectre(...)flash()->displayHalfmoon(...)
Deprecated
flash()->hasMessages(...)is deprecated. Useflash()->some(...)instead.
Full Changelog: 2.0.1...3.0.0
2.0.1
Added
- PHP 8 support.
2.0.0
Breaking Change!
- Only latest versions of the frameworks are now supported.
- Discontinued support for:
- Bootstrap 3
- Foundation 5
- UIKit 2
- Siimple 1 & Siimple 2
Templates::BASEnow points toTemplates::BOOTSTRAP(version 4).- Renamed presets:
Templates::BOOTSTRAP_4→Templates::BOOTSTRAPTemplates::FOUNDATION_6→Templates::FOUNDATIONTemplates::UIKIT_3→Templates::UIKITTemplates::SEMANTIC_2→Templates::SEMANTICTemplates::SIIMPLE_3→Templates::SIIMPLE
- Renamed classes:
src/Templates/Bootstrap4Template.php→src/Templates/BootstrapTemplate.phpsrc/Templates/Foundation6Template.php→src/Templates/FoundationTemplate.phpsrc/Templates/Semantic2Template.php→src/Templates/SemanticTemplate.phpsrc/Templates/Uikit3Template.php→src/Templates/UikitTemplate.phpsrc/Templates/Siimple3Template.php→src/Templates/SiimpleTemplate.php
- Removed classes:
src/Templates/Bootstrap3Template.phpsrc/Templates/Foundation5Template.phpsrc/Templates/Uikit2Template.phpsrc/Templates/Siimple2Template.phpsrc/Templates/SiimpleTemplate.php
Changed
- All framework templates updated to be compatible with latest versions of frameworks.
Added
Updates and new frameworks
- Materialize alerts added.
- Spectre.css alerts added.
- Tailwind alerts added.
Updated bundled libs
- Added UiKit 3 (beta 19)
- Added Siimple 2
Bulma Invasion
1.2.3 Added Bulma.io template
Fixed Bootstrap 4 template
1.2.2 ribbon added
Siimple Alerts added
Siimple alerts added.
Removed Interface
removed FlashInterface