Skip to content

Commit

Permalink
use json type instead of removed array type
Browse files Browse the repository at this point in the history
  • Loading branch information
dbu committed Feb 18, 2024
1 parent 2c5898c commit 7302d28
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 7 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
Changelog
=========

3.1.0
-----

* Symfony 7 support
* Doctrine ORM 3 support
If you use the ORM route entity, you need to migrate your database configuration as the array fields needed to be changed to the `json` type (because `array` has been removed)

3.0.2
-----

Expand Down
3 changes: 1 addition & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,9 @@
"doctrine/orm": "To enable support for the ORM entities (^2.5)"
},
"conflict": {
"doctrine/phpcr-odm": "<1.4",
"doctrine/common": "<3.1.1",
"doctrine/persistence": "<1.3.0",
"phpunit/phpunit": "<6"
"symfony/security-core": "<6.4.0"
},
"autoload": {
"psr-4": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@

<mapped-superclass name="Symfony\Component\Routing\Route">
<field name="host" type="string"/>
<field name="schemes" type="array"/>
<field name="methods" type="array"/>
<field name="defaults" type="array"/>
<field name="requirements" type="array"/>
<field name="options" type="array"/>
<field name="schemes" type="json"/>
<field name="methods" type="json"/>
<field name="defaults" type="json"/>
<field name="requirements" type="json"/>
<field name="options" type="json"/>
<field name="condition" column="`condition`" type="string"/>
</mapped-superclass>

Expand Down

0 comments on commit 7302d28

Please sign in to comment.