Skip to content

Releases: smartbooster/sonata-bundle

v2.0.1

22 Feb 11:02
432ebcc
Compare
Choose a tag to compare

Fixed

  • Fix clear cache error on EmailProvider locale -> can be nullable and check $requestStack->getCurrentRequest() is not null. (@lfortunier)

v2.0.0

19 Feb 16:22
93bb165
Compare
Choose a tag to compare

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 of Symfony\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 new AdminCompilerPass (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

08 Jan 15:19
b584830
Compare
Choose a tag to compare

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

04 Jan 15:07
bb4a18c
Compare
Choose a tag to compare

Changes

  • Stop support for php 7.4
  • Add smartbooster/core-bundle bundle
  • Remove IniOverrideConfig.php to use smartbooster/core-bundle
  • Remove IsPasswordSafe validator to use smartbooster/core-bundle
  • Remove AbstractFixtures.php validator to use smartbooster/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

04 Jan 14:02
d7e7d5e
Compare
Choose a tag to compare

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 in AbstractWebTestCase
  • Add unset($this->databaseTool); in tearDown() in AbstractWebTestCase
  • Call controller method with :: not : in routing config
  • Add return types
  • Change ROLE_PREVIOUS_ADMIN to IS_IMPERSONATOR
  • Configuration::getConfigTreeBuilder must return type TreeBuilder
  • 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 in SmartUserInterface
  • 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

09 Aug 14:28
fed845e
Compare
Choose a tag to compare

v1.4.8 - (2023-08-09)

Added

  • Service IniOverrideConfig for override php memory limit. If application use it, the env variable PLATFORM_BATCH_MEMORY must be set. ex : PLATFORM_BATCH_MEMORY=1024M

v1.4.7

28 Jul 13:39
4e0eb72
Compare
Choose a tag to compare

v1.4.7 - (2023-07-28)

Added

Add support for php 8.2

v1.4.6

13 Jul 15:28
23dbf13
Compare
Choose a tag to compare

v1.4.6 - (2023-07-13)

Update

  • Update bundle version and remove bundle require by other bundle.

Fixed

  • Change json_array into json orm type on roles attribute in UserTrait. Need migration on project.

v1.4.5

10 Jul 07:29
91bc39a
Compare
Choose a tag to compare

Fixed

  • Encoder call with test on null password
  • Sonata deprecated not use construct parameter in Admin

v1.4.4

02 Mar 09:12
4aa3741
Compare
Choose a tag to compare

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