-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
rename the package to qossmic/rich-model-forms-bundle
- Loading branch information
Showing
48 changed files
with
10 additions
and
1,365 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,89 +1,9 @@ | ||
CHANGELOG | ||
========= | ||
|
||
0.8.0 | ||
----- | ||
|
||
* The package is marked as abandoned and will no longer be maintained. Fix all deprecations and | ||
depend on the `qossmic/rich-model-forms-bundle` package instead. | ||
* Deprecated the `SensioLabs` namespace, use the equivalent classes from the `Qossmic` namespace | ||
instead. | ||
* Deprecated all services whose id starts with `sensiolabs.`, use their equivalent ids starting | ||
with `qossmic.` instead. | ||
* Deprecated the `sensiolabs.rich_model_forms.exception_handler` tag, use the `qossmic.rich_model_forms.exception_handler` | ||
tag instead. | ||
|
||
0.7.1 | ||
----- | ||
|
||
* Fixed compatibility with `symfony/form` 5.3. | ||
|
||
0.7.0 | ||
----- | ||
|
||
* Allow the bundle to be used on PHP 8. | ||
* [BC BREAK] When closures (anonymous functions) are used for the `factory` option, the submitted | ||
form data is no longer passed as an array, but each child form is passed as a single argument | ||
instead (use the `factory_argument` option of the child forms if form names and argument names | ||
of the closure differ). | ||
|
||
0.6.0 | ||
----- | ||
|
||
* Added a `factory_argument` allowing to use field names differing from the name of the actual | ||
factory argument (#82). | ||
* Fixed using the `read_property_path` option with value objects (#89). | ||
* Both the `read_property_path` and `write_property_path` options can now be used without | ||
configuring the other one (#88). | ||
* Added handling for `TypeError` instances thrown for typed properties on PHP 7.4+ (#85). | ||
|
||
0.5.1 | ||
----- | ||
|
||
* Fixed dealing with non-mapped fields when mapping to value objects (#81). | ||
|
||
0.5.0 | ||
----- | ||
|
||
* Fixed compatibility with `symfony/translation` 5.0. | ||
* Dropped support for Symfony components < 4.4. | ||
|
||
0.4.0 | ||
----- | ||
|
||
* Allow to use the bundle with Symfony 5 components. | ||
|
||
0.3.0 | ||
----- | ||
|
||
* Added support for mapping several form fields to a single method of the underlying model. | ||
* Exceptions thrown during instantiating value objects are now caught and mapped back to the form as transformation | ||
failures. | ||
* [BC BREAK] The `ValueObjectTransformer` requires an `ExceptionHandlerRegistry` instance. | ||
* [BC BREAK] The first argument's type of the `ExceptionHandlerInterface::getError()` method has been changed from | ||
`FormInterface` to `FormConfigInterface`. | ||
* [BC BREAK] The return type of `ExceptionHandlerInterface::getError()` has been changed to `SensioLabs\RichModelForms\ExceptionHandling\Error`. | ||
* [BC BREAK] A `TranslatorInterface` and the translation domain to be used must now be passed to the `FormExceptionHandler` | ||
instead of passing to the individual `ExceptionHandlerInterface` implementations. | ||
|
||
0.2.1 | ||
----- | ||
|
||
* Fix to actually use a configured factory when submitting non-compound forms. | ||
* Fixed passing submitted data to the configured factory for compound forms. | ||
* Abstain from trying to map buttons to the data when creating value objects. | ||
* Raise an error when the `data_class` option is used while the `immutable` option is enabled. | ||
|
||
0.2.0 | ||
----- | ||
|
||
* [BC BREAK] renamed `SensioLabs\RichModelForms\ExceptionHandling\ExceptionHandler` to | ||
`SensioLabs\RichModelForms\ExceptionHandling\ExceptionHandlerInterface` | ||
* Added a `PropertyMapperInterface` whose implementations can be passed to forms using the new | ||
`property_mapper` option to map data to forms and vice versa programmatically. | ||
* The `expected_exception` option is deprecated and will be removed in 0.3. Use `handle_exception` instead. | ||
|
||
0.1.0 | ||
----- | ||
|
||
Initial release of the bundle. | ||
Initial release of the bundle under its new `qossmic/rich-model-forms-bundle` package name. This release is | ||
feature-equivalent to the `0.8.0` release of the `sensiolabs-de/rich-model-forms-bundle` package apart from | ||
all deprecated services and PHP classes being removed. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,8 @@ | ||
includes: | ||
- phar://vendor/phpstan/phpstan/phpstan.phar/conf/config.levelmax.neon | ||
- phpstan-baseline.neon | ||
|
||
parameters: | ||
checkMissingIterableValueType: false | ||
inferPrivatePropertyTypeFromConstructor: true | ||
paths: | ||
- src | ||
reportUnmatchedIgnoredErrors: false |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
25 changes: 0 additions & 25 deletions
25
src/Legacy/DependencyInjection/Compiler/RegisterExceptionHandlersPass.php
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.