Spiral Framework v2.10.0 Release Notes

Release Date: 2022-03-04 // 3 months ago
    • High Impact Changes
    • Medium Impact Changes
      • [spiral/session] Added Spiral\Session\SessionFactoryInterface. Now you can use custom implementation of sessions.
      • [spiral/scaffolder] Console commands Spiral\Scaffolder\Command\MigrationCommand, Spiral\Scaffolder\Command\Database\RepositoryCommand, Spiral\Scaffolder\Command\Database\EntityCommand is deprecated. Will be moved to spiral/cycle-bridge and removed in v3.0
      • [spiral/scaffolder] Scaffolder Spiral\Scaffolder\Declaration\MigrationDeclaration is deprecated. Will be moved to spiral/cycle-bridge and removed in v3.0
      • [spiral/attributes] Class annotations will be discovered from class traits.
      • A minimal version of PHP increased to ^7.4
    • Other Features
      • [spiral/prototype] Added queue and cache properties
      • [spiral/mailer] Added ability to set delay for messages
      • [spiral/queue] Added NullDriver
      • [spiral/mailer] Class Spiral\Mailer\Message is no longer final and is available for extension

Previous changes from v2.9.1

    • High Impact Changes
    • Medium Impact Changes
      • [spiral/sendit] Method getQueuePipeline of Spiral\SendIt\Config\MailerConfig class is deprecated. Use method getQueue instead. Added environment variables MAILER_QUEUE and MAILER_QUEUE_CONNECTION
    • Other Features
      • Added Symfony 6 support