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::BASE
now points toTemplates::BOOTSTRAP
(version 4).- Renamed presets:
Templates::BOOTSTRAP_4
→Templates::BOOTSTRAP
Templates::FOUNDATION_6
→Templates::FOUNDATION
Templates::UIKIT_3
→Templates::UIKIT
Templates::SEMANTIC_2
→Templates::SEMANTIC
Templates::SIIMPLE_3
→Templates::SIIMPLE
- Renamed classes:
src/Templates/Bootstrap4Template.php
→src/Templates/BootstrapTemplate.php
src/Templates/Foundation6Template.php
→src/Templates/FoundationTemplate.php
src/Templates/Semantic2Template.php
→src/Templates/SemanticTemplate.php
src/Templates/Uikit3Template.php
→src/Templates/UikitTemplate.php
src/Templates/Siimple3Template.php
→src/Templates/SiimpleTemplate.php
- Removed classes:
src/Templates/Bootstrap3Template.php
src/Templates/Foundation5Template.php
src/Templates/Uikit2Template.php
src/Templates/Siimple2Template.php
src/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