Skip to content

Releases: yokai-php/security-token-bundle

v3.3.0

31 May 08:46
c39d17e
Compare
Choose a tag to compare

What's Changed

Full Changelog: v3.2.0...v3.3.0

v3.2.0

01 Nov 08:29
Compare
Choose a tag to compare

What's Changed

  • Replace deprecated 'json_array' type usage with 'json' by @yann-eugone in #47

Full Changelog: v3.1.1...v3.2.0

SQL migration:

<?php

namespace DoctrineMigrations;

use Doctrine\DBAL\Schema\Schema;
use Doctrine\Migrations\AbstractMigration;

final class VersionYYYYMMDDHHIISS extends AbstractMigration
{
    public function getDescription(): string
    {
        return 'Changed YokaiSecurityTokenBundle json columns doctrine type comments';
    }

    public function up(Schema $schema): void
    {
        $this->addSql(<<<SQL
        ALTER TABLE yokai_security_token
            MODIFY payload json NOT NULL COMMENT '(DC2Type:json)',
            MODIFY created_information json NOT NULL COMMENT '(DC2Type:json)';
        SQL);
        $this->addSql(<<<SQL
        ALTER TABLE yokai_security_token_usage
            MODIFY information json NOT NULL COMMENT '(DC2Type:json)';
        SQL);
    }

    public function down(Schema $schema): void
    {
        $this->addSql(<<<SQL
        ALTER TABLE yokai_security_token
            MODIFY payload json NOT NULL COMMENT '(DC2Type:json_array)',
            MODIFY created_information json NOT NULL COMMENT '(DC2Type:json_array)';
        SQL);
        $this->addSql(<<<SQL
        ALTER TABLE yokai_security_token_usage
            MODIFY information json NOT NULL COMMENT '(DC2Type:json_array)';
        SQL);
    }
}

v3.1.1

21 Jun 19:04
def927c
Compare
Choose a tag to compare

Changelog (since v3.1.0...v3.1.1)

Fixed

  • Symfony 5.3 RequestStack::getMasterRequest deprecation (#46 by @yann-eugone)

v3.1.0

10 May 12:55
f9111f2
Compare
Choose a tag to compare

Changelog (since v3.0.3...v3.1.0)

Requirements

  • PHP : ^7.4|^8.0

Updated

  • Updated PHP compatibility version range for ^7.4|^8.0 (#45 by @yann-eugone)

v3.0.3

06 Mar 14:16
Compare
Choose a tag to compare

Changelog (since v3.0.1...v3.0.3)

Fixed

  • Wrong property type and name in EventDispatcher

v3.0.1

06 Mar 13:50
Compare
Choose a tag to compare

Changelog (since v3.0.0...v3.0.1)

Fixed

  • Entities mapping registering with new bundle structure

v3.0.0

06 Mar 10:11
Compare
Choose a tag to compare

Changelog (since v2.7...v3.0.0)

⚠️ This is the very first release of the 3.x major ⚠️

Requirements

  • PHP : ^7.1.3
  • Symfony : ^4.4|^5.0
  • Doctrine : ^2.7

Added

  • PHP return types
  • PHP strict types
  • PHPCS with PSR12 standard
  • PhpStan static analysis

Changed

Removed

  • ArchivistInterface::archive $before argument
  • Token::getUsedAt method
  • Token::setUsedAt method
  • Token::getUsedInformation method
  • Token::setUsedInformation method
  • Token::isUsed method
  • TokenUsedEvent class
  • EventDispatcher::tokenUsed method
  • TokenUsedException class
  • TokenManager::setUsed method
  • TokenManagerInterface::setUsed method

v2.7

14 Oct 06:35
9834966
Compare
Choose a tag to compare

Changelog (since v2.6...v2.7)

Fixed

Version 2.6

10 Jan 08:39
Compare
Choose a tag to compare

Changelog (since v2.5...v2.6)

Fixed

  • Compatibility with doctrine-bundle >=1.6 (#38 by @alain-flaus)

Version 2.5

09 Jan 12:24
Compare
Choose a tag to compare

Changelog (since v2.4...v2.5)

Fixed

  • Archivist service injection in dedicated command (#35 by @alain-flaus)
  • ChainUserManager tests (#36 by @yann-eugone)