github devrabiul/laravel-toaster-magic v1.4
🌟 Release v1.4 β€” Gradient Effects, Color Mode Fix & Asset Updates

16 days ago

🌟 Laravel Toaster Magic v1.4 β€” Gradient Effects, Color Mode Fix & Asset Updates

This release brings exciting visual improvements with Gradient Effects, fixes for Color Mode, and reorganizes the asset directory structure for better maintainability and package publishing.


βœ… What's New / Fixed:

  • 🌈 New Feature: Gradient Effects

    • Enable gradient_enable in the config to add smooth gradient backgrounds to all toast notifications.
    • Works in combination with color mode for visually appealing and modern toast designs.
  • 🎨 Fixed Color Mode

    • Resolved issues where color_mode did not apply the correct colors for some toast types (success, error, warning, info).
    • Ensures consistent visual feedback across all toast messages.
  • πŸ“‚ Asset Directory Updates

    • Moved and reorganized package assets for better structure and easier publishing.
    • Improves compatibility with Laravel’s artisan vendor:publish workflow.
  • 🧹 Other Improvements

    • Minor code optimizations and cleanup to enhance stability and maintainability.

βœ… Upgrade Guide:

  1. Update the package:
composer update devrabiul/laravel-toaster-magic
  1. (Optional) Clear config cache:
php artisan config:clear
  1. Enable gradient and color mode in your config file:
// config/laravel-toaster-magic.php
return [
    'options' => [
        'gradient_enable' => true,
        'color_mode' => true,
        // other options...
    ],
    'livewire_enabled' => true,
    'livewire_version' => 'v3',
];
  1. Publish updated assets if necessary:
php artisan vendor:publish --provider="Devrabiul\ToastMagic\ToastMagicServiceProvider"

βœ… Special Thanks

Thanks to all contributors and community members for helping! ❀️


Happy Toasting! 🍞✨

Don't miss a new laravel-toaster-magic release

NewReleases is sending notifications on new releases.