Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit36f10c9

Browse files
committed
[DoctrineBridge][Validator] CHANGELOG & UPGRADE
1 parent9ca4343 commit36f10c9

File tree

2 files changed

+17
-0
lines changed

2 files changed

+17
-0
lines changed

‎UPGRADE-4.0.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
UPGRADE FROM 3.x to 4.0
2+
=======================
3+
4+
###DoctrineBridge and Validator
5+
6+
* If you were using the`StaticMethodLoader` or a custom constraint loader to
7+
create`UniqueEntity` constrainst, you now need to provide the class the
8+
constraint is attached to as a`target` for the constraint when you create
9+
it:`$constraint->target = __CLASS__;` (or
10+
`new UniqueEntity(['target' => __CLASS__])`)

‎src/Symfony/Bridge/Doctrine/CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,13 @@
11
CHANGELOG
22
=========
33

4+
3.1.0
5+
-----
6+
7+
* fixed`UniqueEntity` interaction with inheritance
8+
* deprecated`UniqueEntity` constraints without a target (possible only if
9+
`StaticMethodLoader` or a custom constraint loader is used)
10+
411
3.0.0
512
-----
613

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp