All Notable changes to tamtamchik/simple-flash
will be documented in this file.
Updates should follow the Keep a CHANGELOG principles.
- PHP 8.4 support (#17) added.
- Integration with Devcontainers for local development.
- Build and tests CI processed moved to scrutinizer.
Breaking Changes!
- Minimum PHP version is now 7.3.
- Function
flash()
is now namespaced:Tamtamchik\NameCase\flash
.
- 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(...)
flash()->hasMessages(...)
is deprecated. Useflash()->some(...)
instead.
- PHP 8 support.
- 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
- All framework templates updated to be compatible with latest versions of frameworks.
- Materialize alerts added.
- Spectre.css alerts added.
- Tailwind alerts added.
- Bulma alerts added.
- Bootstrap template fixed.
- Siimple alerts added.
- Removed
FlashInterface
. It was causing troubles.
- Removed
FlashInterface
. It was causing troubles.
FlashInterface
- Templates
- Don't allow instantiation
- Bumped version to 1.0.0
- Support for array as
$message
variable.
- Singleton instance.
- Empty
$message
bug.
- New namespace
\Tamtamchik\SimpleFlash\Flash
.
- Old namespace
\Tamtamchik\Flash\Flash
.
- Initial version