Releases: yokai-php/security-token-bundle
Releases · yokai-php/security-token-bundle
v3.4.0
What's Changed
- Fixed github tests badge by @yann-eugone in #50
- Fixed PHPStan mixed type issues by @yann-eugone in #51
- Extract install steps to a reusable action by @yann-eugone in #52
- Add testing for Symfony 6.3 & PHP 8.2 by @yann-eugone in #53
- Fixed test badge branch by @yann-eugone in #54
- Add install step to create required tables by @yann-eugone in #55
- Replace PHP_CodeSniffer with EasyCodingStandard by @yann-eugone in #56
- Allow Symfony 7.x and Doctrine ORM 3.x by @yann-eugone in #58
Full Changelog: v3.3.0...v3.4.0
v3.3.0
What's Changed
- Compatibility with Symfony 6.x by @yann-eugone in #49
Full Changelog: v3.2.0...v3.3.0
v3.2.0
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
Changelog (since v3.1.0...v3.1.1)
Fixed
- Symfony 5.3
RequestStack::getMasterRequest
deprecation (#46 by @yann-eugone)
v3.1.0
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
v3.0.1
v3.0.0
Changelog (since v2.7...v3.0.0)
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
- Directory structure (see https://symfony.com/doc/current/bundles/best_practices.html#directory-structure)
- Events base class :
Symfony\Contracts\EventDispatcher\Event
- Event names where removed in favor of event class (see https://symfony.com/blog/new-in-symfony-4-3-simpler-event-dispatching)
- Bundle is now tested with github actions instead of travis
Removed
ArchivistInterface::archive
$before
argumentToken::getUsedAt
methodToken::setUsedAt
methodToken::getUsedInformation
methodToken::setUsedInformation
methodToken::isUsed
methodTokenUsedEvent
classEventDispatcher::tokenUsed
methodTokenUsedException
classTokenManager::setUsed
methodTokenManagerInterface::setUsed
method
v2.7
Changelog (since v2.6...v2.7)
Fixed
- Fixed dependencies range for doctrine & symfony (#40 by @yann-eugone)