Releases: smartbooster/sonata-bundle
Releases · smartbooster/sonata-bundle
v2.0.1
Fixed
- Fix clear cache error on
EmailProvider
locale -> can be nullable and check$requestStack->getCurrentRequest()
is not null. (@lfortunier)
v2.0.0
Added
- Add Symfony v6.4 support
- Default
nelmio_alice
locale config to fr_FR SmartAdminInterface
which is used on AdminCompilerPass to add the required extra services- Missing admin and security trad added
Removed
- Drop Symfony v4 support
- Remove
doctrine/annotations
as we now use PHP8 attributes to define ORM properties - User roles aren't stored in database anymore, each entity with UserInterface must just define the getRoles function
Changed
- Use
Symfony\Component\PasswordHasher\Hasher\UserPasswordHasherInterface
service instead ofSymfony\Component\Security\Core\Encoder\UserPasswordEncoderInterface
to be compatible with
SF 6 - Reformat all the entity annotations with PHP8 attributes
AbstractAdmin::setTokenManager
is now preset by the newAdminCompilerPass
(as the services.yaml abstract: true old way don't work properly with
SF 6 and the latest Sonata version)- The
AbstractAdmin::get
function has been flagged as @deprecated and will be remove next major (instead inject service via construct DI)
Fixed
- Fix auto margin of the login-box using display flex
v1.5.1
Changes
- Use namespace after use core bundle in
PasswordSafeableTrait.php
- Use bundle
smartbooster/standard-bundle
, changes in :- /bin
- Add configs
- Deletes make files
- Add Kernel
- Add .gitignore content
- Changes require dev
- Changes config of phpcs, phpstan and phpunit
- Comment base test because it doesn't work with the new
smartbooster/standard-bundle
implementation
- Fix some style because of the new
smartbooster/standard-bundle
implementation - Change action phpunit and qa order and use make, delete cache steps
- Add install.mk instead of use command in Makefile
- Delete codecov scan sending
v1.5.0
Changes
- Stop support for php 7.4
- Add
smartbooster/core-bundle
bundle - Remove
IniOverrideConfig.php
to usesmartbooster/core-bundle
- Remove
IsPasswordSafe
validator to usesmartbooster/core-bundle
- Remove
AbstractFixtures.php
validator to usesmartbooster/core-bundle
- Remove php 7.4 matrix on action because it can't use
smartbooster/core-bundle
on php 7.4. Matrix implementation stay for future dev - Change php version on composer for run with >= 8.1
v1.4.9
v1.4.9 - (2024-01-04)
Changes
- Remove implement
\Serializable
in User - Add magic method
__serialize
and__unserialize
instead of\Serializable
method - Add class variable of
$databaseTool
and$client
inAbstractWebTestCase
- Add
unset($this->databaseTool);
intearDown()
inAbstractWebTestCase
- Call controller method with
::
not:
in routing config - Add return types
- Change
ROLE_PREVIOUS_ADMIN
toIS_IMPERSONATOR
Configuration::getConfigTreeBuilder
must return typeTreeBuilder
- Add
Symfony\Component\DependencyInjection\ContainerInterface
in service because use symfony service is deprecated - Set token storage by injection in
AbstractAdmin
- User must implement
PasswordAuthenticatedUserInterface
. Add implementation inSmartUserInterface
- Add missing method and update method in
UserTrait
- Set dummy password by default in
UserProcessor
- Add
symfony/property-info
into composer to fix compatibility issue - Add
symfony/expression-language
into composer to fix compatibility issue - Add
symfony/security-core
into composer to fix missing service@security.user_password_encoder.generic
- Remove
scrutinizer.yml
because we don't use it
v1.4.8
v1.4.8 - (2023-08-09)
Added
- Service
IniOverrideConfig
for override php memory limit. If application use it, the env variablePLATFORM_BATCH_MEMORY
must be set. ex :PLATFORM_BATCH_MEMORY=1024M
v1.4.7
v1.4.7 - (2023-07-28)
Added
Add support for php 8.2
v1.4.6
v1.4.6 - (2023-07-13)
Update
- Update bundle version and remove bundle require by other bundle.
Fixed
- Change
json_array
intojson
orm type on roles attribute inUserTrait
. Need migration on project.
v1.4.5
Fixed
- Encoder call with test on null password
- Sonata deprecated not use construct parameter in Admin
v1.4.4
Added
- Add new logic check when use HistoryLogger method
- Saving only different value on save diff in HistoryLogger
- Add overriding possibility of display value in diff show of history