Skip to content

Commit

Permalink
4.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
greg0ire committed May 8, 2018
1 parent 3ede651 commit ef3f6d1
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 3 deletions.
12 changes: 12 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,18 @@
All notable changes to this project will be documented in this file.
This project adheres to [Semantic Versioning](http://semver.org/).

## [4.2.0](https://github.com/sonata-project/SonataUserBundle/compare/4.1.1...4.2.0) - 2018-05-08

### Added
- Role permissions can now be displayed in a matrix view using the `Sonata\UserBundle\Form\Type\RolesMatrixType`

### Fixed
- Missing french translations were added
- Commands now work on Symfony 4

### Removed
- Removed compatibility with older versions of FOSRestBundle (<2.1)

## [4.1.1](https://github.com/sonata-project/SonataUserBundle/compare/4.1.0...4.1.1) - 2018-02-08
### Changed
- Switch all templates references to Twig namespaced syntax
Expand Down
4 changes: 2 additions & 2 deletions src/Form/Type/UserGenderListType.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,15 @@
use Sonata\CoreBundle\Form\Type\BaseStatusType;

@trigger_error(
'The '.__NAMESPACE__.'\UserGenderListType class is deprecated since version 4.x and will be removed in 5.0.'
'The '.__NAMESPACE__.'\UserGenderListType class is deprecated since version 4.1 and will be removed in 5.0.'
.' Use Symfony\Component\Form\Extension\Core\Type\ChoiceType instead.',
E_USER_DEPRECATED
);

/**
* NEXT_MAJOR: remove this class.
*
* @deprecated since version 4.x, to be removed in 5.0.
* @deprecated since version 4.1, to be removed in 5.0.
* Use Symfony\Component\Form\Extension\Core\Type\ChoiceType instead
*/
class UserGenderListType extends BaseStatusType
Expand Down
2 changes: 1 addition & 1 deletion src/Resources/config/form.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<container xmlns="http://symfony.com/schema/dic/services" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://symfony.com/schema/dic/services http://symfony.com/schema/dic/services/services-1.0.xsd">
<services>
<service id="sonata.user.form.gender_list" class="Sonata\UserBundle\Form\Type\UserGenderListType">
<deprecated>The "%service_id%" service is deprecated since 4.x and will be removed in 5.0.</deprecated>
<deprecated>The "%service_id%" service is deprecated since 4.1 and will be removed in 5.0.</deprecated>
<argument>%fos_user.model.user.class%</argument>
<argument>getGenderList</argument>
<argument>Sonata\UserBundle\Form\Type\UserGenderListType</argument>
Expand Down

0 comments on commit ef3f6d1

Please sign in to comment.