Skip to content

Conversation

dunglas
Copy link
Member

@dunglas dunglas commented Nov 9, 2021

Q A
Branch? 4.4
Bug fix? yes
New feature? no
Deprecations? no
Tickets Fix api-platform/core#4547, api-platform/core#4553
License MIT
Doc PR n/a

The json_array Doctrine type is deprecated since DBAL 2.6 (we require version 2.7) and has been removed in DBAL 3.0 This PR adds back support for this new type.

@fabpot
Copy link
Member

fabpot commented Nov 10, 2021

Thank you @dunglas.

@fabpot fabpot merged commit 0eacfd9 into symfony:4.4 Nov 10, 2021
This was referenced Nov 14, 2021
This was referenced Nov 22, 2021
@norkunas
Copy link
Contributor

norkunas commented Nov 24, 2021

For us this is a BC break :/ we have a json field which was accepting string|int|float|array, now only it allows array.
#35987 related

@stof
Copy link
Member

stof commented Nov 24, 2021

the json field of doctrine dbal is indeed not restricted to array.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants