Skip to content

[TwigBridge] bootstrap4 file_widget: allow setting label attributes declared in label_attr #31220

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 992 commits into from
Apr 27, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
992 commits
Select commit Hold shift + click to select a range
f7ec2d3
fixing unused variable names
weaverryan Apr 4, 2019
da4db91
minor #30864 [Messenger] fixing unused variable names (weaverryan)
fabpot Apr 4, 2019
26d15c8
[HttpClient] log requests, responses and pushes when they happen
nicolas-grekas Apr 4, 2019
09e8d74
feature #30537 [HttpClient] logger integration (antonch1989, nicolas-…
fabpot Apr 5, 2019
098a7ac
[HttpClient] Adjust logger messages and levels
lyrixx Apr 5, 2019
8977f74
minor #30873 [HttpClient] Adjust logger messages and levels (lyrixx)
nicolas-grekas Apr 5, 2019
8f81f55
[Messenger] test DoctrineTransport on travis and appveyor
vincenttouzet Apr 3, 2019
fe75920
Add a "null://" transport
GaryPEGEOT Nov 5, 2018
4fc6033
minor: remove the logger as it seems uneeded
Apr 6, 2019
a45235e
minor #30880 minor: remove the logger as it seems uneeded (Simperfit)
fabpot Apr 6, 2019
8f8c82e
Make the in-memory transport resettable
sroze Apr 6, 2019
292021b
[Messenger] Fixed DIC config when the messenger is not installed
lyrixx Apr 6, 2019
ec18af4
feature #29097 [Messenger] Add a "in-memory://" transport (GaryPEGEOT…
fabpot Apr 6, 2019
45fd75e
fixed CS
fabpot Apr 6, 2019
9ab706b
bug #30881 [Messenger] Fixed DIC config when the messenger is not ins…
fabpot Apr 6, 2019
3151b54
[messenger] AMQP configurable routing key & multiple queues
Jan 28, 2019
4b61602
removed unneeded tags
fabpot Apr 6, 2019
550a569
minor #30857 [Messenger] test DoctrineTransport on travis and appveyo…
sroze Apr 6, 2019
9793522
minor #29525 [Messenger] Make MessengerPass less strict when auto-reg…
sroze Apr 6, 2019
a12b359
[Workflow] Fixed Guard Listener usage of RoleHierarchyInterface
lyrixx Apr 6, 2019
76fd9c3
[Workflow] Fixed initial places when no places are configured
lyrixx Apr 6, 2019
a7c4767
bug #30886 [Workflow] Fixed Guard Listener usage of RoleHierarchyInte…
fabpot Apr 6, 2019
fe7363f
bug #30884 [Workflow] Fixed initial places when no places are configu…
fabpot Apr 6, 2019
a515635
Simply code and rename "configuration" to "options"
sroze Apr 6, 2019
e6eb43b
feature #30008 [messenger] Adds a stamp to provide a routing key on m…
sroze Apr 6, 2019
e6e4cde
Ensure message is handled only once per handler
keulinho Jan 29, 2019
2e5e910
Rename exception, add change log and a few other things
sroze Apr 6, 2019
c336696
[PropertyAccess] Allow to disable exception on invalid property path …
dimabory Mar 13, 2019
4e2b655
feature #30545 #30536 PropertyAccessor->getValue disable exception (d…
fabpot Apr 6, 2019
5fe3701
feature #30020 [Messenger] Ensure message is handled only once per ha…
fabpot Apr 6, 2019
40f2512
[DoctrineBridge] Add decimal form type
fancyweb Nov 2, 2017
fb2b37a
add force_full_scale option to handle all cases
fancyweb Mar 13, 2018
73708a6
[Workflow] Changed initial_places to initial_marking, added property …
HeahDude Mar 23, 2019
87839cf
[Workflow] Finished integration of initial_marking + deprecated suppo…
lyrixx Apr 6, 2019
0393535
[Workflow] Deprecate worflow and single state marking
lyrixx Apr 6, 2019
f527acf
Merge branch '4.2'
fabpot Apr 6, 2019
2f648b0
Renamed NotPwned to NotCompromisedPassword
javiereguiluz Apr 6, 2019
f4c2350
feature #30901 Renamed NotPwned to NotCompromisedPassword (javieregui…
fabpot Apr 6, 2019
09dee17
Merge branch '4.2'
Apr 6, 2019
3f25734
Added new option "input" to NumberType
Apr 6, 2019
9bbdab6
[DomCrawler] Improve Crawler HTML5 parser need detection
tgalopin Apr 6, 2019
62ab775
[Workflow] The TransitionEvent is able to modify the context
lyrixx Apr 6, 2019
f82f1c0
feature #30892 [DomCrawler] Improve Crawler HTML5 parser need detecti…
fabpot Apr 6, 2019
ea5ff18
Merge branch '4.2'
xabbuh Apr 6, 2019
997270f
[Serializer] provide new ObjectPropertyListExtractorInterface
dmaicher Apr 6, 2019
c976866
[symfony/HttpKernel] Throws an error when the generated class name is…
drupol Apr 6, 2019
de3c742
feature #30906 [symfony/HttpKernel] Throws an error when the generate…
fabpot Apr 6, 2019
f0786bb
Merge branch '4.2'
fabpot Apr 6, 2019
ede6660
feature #30890 [Workflow] Changed initial_places to initial_marking, …
fabpot Apr 6, 2019
a2f9975
[Workflow] Added workflow_transition_blockers twig function
lyrixx Apr 6, 2019
aecca97
Use FormUrlEncoded when posting non-binary data
jderusse Apr 5, 2019
8ac712b
[Validator] Wire NotCompromisedPassword in FrameworkBundle and handle…
tgalopin Apr 6, 2019
b045aca
feature #30898 [Validator] Wire NotCompromisedPassword in FrameworkBu…
fabpot Apr 6, 2019
f551f2d
Merge branch '4.2'
fabpot Apr 6, 2019
07d90f9
Move doctrine/collections to an optional dep in doctrine-bridge
stof Apr 6, 2019
31b3a55
Add comments when dumping po files
deguif Apr 6, 2019
f3a0555
minor #30924 Move doctrine/collections to an optional dep in doctrine…
fabpot Apr 6, 2019
4c78e60
feature #30893 Add "input" option to NumberType (fancyweb, Bernhard S…
fabpot Apr 6, 2019
e5f14b7
feature #30908 [Workflow] Added workflow_transition_blockers twig fun…
fabpot Apr 6, 2019
e2e38de
feature #30902 [Workflow] The TransitionEvent is able to modify the c…
fabpot Apr 6, 2019
adba41a
feature #30904 [Serializer] provide new ObjectPropertyListExtractorIn…
fabpot Apr 6, 2019
6e0785f
[Profiler] Update ProfilerController.php
error56 Apr 6, 2019
f587944
minor #30916 [Profiler] Update ProfilerController.php (error56)
fabpot Apr 6, 2019
a524658
Improve Translator caching
rpkamp Oct 20, 2018
a68b4c7
feature #28937 Improve Translator caching (rpkamp)
fabpot Apr 6, 2019
69f0a0b
Removed undefined variable.
derrabus Apr 6, 2019
1546c0d
[Serializer] Add datetimezone normalizer
jewome62 Apr 6, 2019
ce220cd
feature #30915 [Serializer] Add datetimezone normalizer (jewome62)
fabpot Apr 6, 2019
58d78ac
minor #30927 [HttpClient] Removed undefined variable (derrabus)
fabpot Apr 6, 2019
536e53f
[Validator] add new `Timezone` validation constraint.
phansys Apr 4, 2017
c73fd10
feature #30900 [Validator] add new `Timezone` validation constraint (…
fabpot Apr 6, 2019
0d704b4
Remove unused import
yceruto Apr 6, 2019
5c0acfb
minor #30929 [HttpKernel] Remove unused import (yceruto)
fabpot Apr 6, 2019
05e488f
fixed CS
fabpot Apr 6, 2019
8a62892
bug #30876 [Mime][BrowserKit] Add FormUrlEncoded - Fix content-type i…
fabpot Apr 6, 2019
56fa574
Uses an `AmqpStamp` to provide flags and attributes
sroze Apr 6, 2019
9a2787e
[Validator] Add an option to disable NotCompromisedPasswordValidator
lyrixx Apr 6, 2019
7628972
[Serializer] add return type hints for ObjectPropertyListExtractorInt…
dmaicher Apr 6, 2019
3de3e4e
feature #30913 [Messenger] Uses an `AmqpStamp` to provide flags and a…
fabpot Apr 6, 2019
e05aaf9
feature #30909 [Translator] Add comments when dumping po files (deguif)
fabpot Apr 6, 2019
f80df4c
feature #30932 [Validator] Add an option to disable NotCompromisedPas…
fabpot Apr 6, 2019
9afcc7b
minor #30934 [Serializer] add return type hints for ObjectPropertyLis…
fabpot Apr 6, 2019
6b57ea9
Use env variable to create anytype of lock store
jderusse Apr 6, 2019
fad7c8c
feature #30935 Use env variable to create anytype of lock store (jder…
fabpot Apr 6, 2019
44d9fbe
Fix graph text color
Apr 6, 2019
a84842b
bug #30937 [Profiler] Fix graph text color (dFayet)
fabpot Apr 6, 2019
faf6293
drop not needed "constant" type argument
xabbuh Apr 6, 2019
de12e23
throw UnexpectedValueException instead
xabbuh Apr 6, 2019
50c22b3
Fixed tests
lyrixx Apr 6, 2019
0c2a2bf
ASSET-PathPackage-Enhancement - Use parent getUrl method instead of …
Apr 6, 2019
fec4bea
fix debug:autowiringcommand
sez-open Mar 11, 2019
65b46a5
feature #30887 [FrameworkBundle] fix search in debug autowiring (sez-…
nicolas-grekas Apr 7, 2019
e2dbe63
[Messenger] DoctrineTransport - Use InvalidArgumentException instead …
vincenttouzet Apr 7, 2019
0b671aa
minor #30947 [Messenger] DoctrineTransport - Use InvalidArgumentExcep…
sroze Apr 7, 2019
4c04601
[Form] group_by as callback returns array
antonch1989 Mar 3, 2019
e53f696
feature #30429 [Form] group_by as callback returns array (antonch1989)
fabpot Apr 7, 2019
8acf29e
There is no OB to flush.
derrabus Apr 6, 2019
680074d
minor #30896 [HttpClient] Fix Notice on HttpClientTestCase::testTimeo…
fabpot Apr 7, 2019
03da3a2
Add a `require` env var processor
mpdude Apr 6, 2019
5bf7ad4
[Routing][ObjectRouteLoader] Allow invokable route loader services
fancyweb Apr 6, 2019
758f028
minor #30938 [FrameworkBundle] drop not needed "constant" type argume…
fabpot Apr 7, 2019
1f66e7b
Fix Lock test suite
jderusse Apr 7, 2019
9e2f506
bug #30939 [Validator] throw UnexpectedValueException instead (xabbuh)
fabpot Apr 7, 2019
5b72386
[Serializer] Add Support of recursive denormalization on object_to_po…
jewome62 Mar 18, 2019
0d365a8
feature #30607 [Serializer] Add Support of recursive denormalization …
fabpot Apr 7, 2019
77424c8
Refactor DefaultChoiceListFactory
vudaltsov Apr 7, 2019
388d8f5
[Routing] UrlHelper to get absolute URL for a path
vudaltsov Apr 7, 2019
2b01eaa
feature #30862 [Routing] UrlHelper to get absolute URL for a path (vu…
fabpot Apr 7, 2019
76906ab
minor #30953 [Form] Refactor DefaultChoiceListFactory (vudaltsov)
fabpot Apr 7, 2019
04eed54
minor #30944 Fix Lock test suite (jderusse)
fabpot Apr 7, 2019
ca29039
minor #30943 [Asset] PathPackage : use parent getUrl Method instead o…
fabpot Apr 7, 2019
4447f87
Merge branch '4.2'
nicolas-grekas Apr 7, 2019
287c39b
[DoctrineBridge] Deprecated implicit optimization in DoctrineChoiceLo…
HeahDude Apr 7, 2019
35bf420
[DI] Fix bad error message for unused bind under _defaults
przemyslaw-bogusz Jan 26, 2019
3df05e0
feature #30962 [DoctrineBridge] Deprecated implicit optimization in D…
fabpot Apr 7, 2019
b0989aa
feature #29935 [DI] Fix bad error message for unused bind under _defa…
nicolas-grekas Apr 7, 2019
dd93b70
Use name converter when normalizing constraint violation list
norkunas Mar 27, 2019
9a2fcc9
[HttpKernel] Add a \"short\" trace header format, make header configu…
mpdude Apr 7, 2019
226b36e
feature #30964 [HttpKernel] Add a "short" trace header format, make h…
nicolas-grekas Apr 7, 2019
c6505d3
feature #30897 [DIC] Add a `require` env var processor (mpdude)
nicolas-grekas Apr 7, 2019
b0cdf45
Set object list extractor as expiremental, and use final for default …
joelwurtz Apr 7, 2019
47e571b
feature #30933 [Routing][ObjectRouteLoader] Allow invokable route loa…
nicolas-grekas Apr 7, 2019
c274dff
feature #30963 [Serializer] Experimental for ObjectListExtractor (joe…
nicolas-grekas Apr 7, 2019
e5de7b3
[Workflow] Update to `initial_marking`
pbowyer Apr 7, 2019
a234c89
[DoctrineBridge] Deprecated using IdReader when optimization is not p…
HeahDude Apr 7, 2019
c68ef46
minor #30966 [DoctrineBridge] Deprecated using IdReader when optimiza…
stof Apr 7, 2019
9f3ce48
Merge branch '4.2'
stof Apr 7, 2019
b7281ce
minor #30982 [Workflow] Update UPGRADE notes (pbowyer)
fabpot Apr 7, 2019
d412e77
Prepare for the new serialization mechanism
fancyweb Apr 7, 2019
0c82173
[Security] Add Argon2idPasswordEncoder
Dec 17, 2018
2efd7b2
Merge branch '4.2'
xabbuh Apr 7, 2019
6b6c24c
Allow env processor to resolve `::`
jderusse Apr 7, 2019
4518ac5
allow user/pass on dns while using failover/roundrobin and type fix f…
plandolt Apr 7, 2019
44eb7a0
fix backwards compatibility breaks
xabbuh Apr 7, 2019
408e4aa
bug #30990 Allow env processor to resolve `::` (jderusse)
nicolas-grekas Apr 7, 2019
02e865b
bug #30992 [TwigBridge][DependencyInjection] ignore null arguments (x…
fabpot Apr 8, 2019
546b114
fixed CS
fabpot Apr 8, 2019
e02cbe9
Merge branch '4.2'
fabpot Apr 8, 2019
3568418
bug #30995 [Mailer] allow user/pass on dsn while using failover/round…
fabpot Apr 8, 2019
5638d6a
minor #30965 Prepare for the new serialization mechanism (fancyweb)
fabpot Apr 8, 2019
fa7df09
feature #30968 [Security] Add Argon2idPasswordEncoder (chalasr)
fabpot Apr 8, 2019
f539932
fixed CS
fabpot Apr 8, 2019
e991472
[WebProfiler] Fix Javascript error when using custom stopwatch catego…
curry684 Apr 7, 2019
9b9d416
bug #30973 [WebProfiler] Fix Javascript error when using custom stopw…
fabpot Apr 8, 2019
4f39339
[FrameworkBundle] [TwigBundle] Move the hinclude key away from templa…
Apr 7, 2019
35b1ded
feature #30959 [FrameworkBundle] [TwigBundle] Move the hinclude key a…
fabpot Apr 8, 2019
9d3c86f
Merge branch '4.2'
fabpot Apr 8, 2019
bf89907
[FrameworkBundle] for Psr18HttpClient configuration
nicolas-grekas Apr 8, 2019
87c4cc1
minor #31008 [FrameworkBundle] for Psr18HttpClient configuration (nic…
fabpot Apr 8, 2019
d56ebef
Merge branch '4.2'
xabbuh Apr 8, 2019
fbd439e
[HttpClient] Allow the HTTP_PROXY environment variable lookup with ph…
theofidry Apr 7, 2019
fa308e2
minor #30978 [HttpClient] Allow the HTTP_PROXY environment variable l…
nicolas-grekas Apr 8, 2019
682855f
fix tests
xabbuh Apr 8, 2019
caad562
[Console] Add callback support to Console\Question autocompleter
MikkelPaulson Apr 7, 2019
4e1244e
feature #30997 [Console] Add callback support to Console\Question aut…
fabpot Apr 8, 2019
d935f40
minor #31013 fix tests (xabbuh)
fabpot Apr 8, 2019
dc95a6f
[Security] Fix argon2 availability checks
Apr 8, 2019
9a7a276
bug #31014 [Security] Fix argon2 availability checks (chalasr)
fabpot Apr 8, 2019
b9e2046
Fixes sprintf unmapped parameter.
Apr 8, 2019
529211d
[Security] Replace Argon2*PasswordEncoder by SodiumPasswordEncoder
Apr 8, 2019
ace49c1
feature #31019 [Security] Replace Argon2*PasswordEncoder by SodiumPas…
fabpot Apr 9, 2019
6a5de47
bug #31028 Fixes unmapped parameter for an error message in HttpClien…
fabpot Apr 9, 2019
e77108d
[HttpClient] Add tests - update code style nits.
drupol Apr 8, 2019
f84766e
bug #31018 [HttpClient] Add tests - update code style nits. (drupol)
nicolas-grekas Apr 9, 2019
ff6bc79
Deprecate TreeBuilder::root
gharlan Apr 8, 2019
4d9f5ee
feature #31027 [Config] Deprecate TreeBuilder::root (gharlan)
fabpot Apr 9, 2019
4693422
Improve test coverage from #30997
Apr 9, 2019
2243bf5
minor #31042 Improve test coverage from #30997 (MikkelPaulson)
fabpot Apr 10, 2019
20f4eb3
Document the state object that is passed around by the HttpClient.
derrabus Apr 7, 2019
5c210e6
[Cache] Added command for list all available cache pools
Nyholm Apr 8, 2019
b09dfd9
feature #31021 [Cache] Added command for list all available cache poo…
nicolas-grekas Apr 10, 2019
601adf5
[HttpClient] Do not allow setting both json and body
gisostallenberg Apr 9, 2019
b2f8f0d
bug #31044 [HttpClient] Do not allow setting both json and body (giso…
fabpot Apr 10, 2019
e6455ea
[Security][TokenInterface] Prepare for the new serialization mechanism
fancyweb Apr 8, 2019
a7ce547
minor #31011 [Security][TokenInterface] Prepare for the new serializa…
Apr 10, 2019
8e45fc0
[Dotenv] Deprecate useage of \"putenv\"
Nyholm Apr 10, 2019
b6c6338
feature #31062 [Dotenv] Deprecate useage of "putenv" (Nyholm)
fabpot Apr 10, 2019
7e2fbe1
Merge branch '4.2'
fabpot Apr 10, 2019
ccbb171
fixed roundrobin dead transport which should recover
plandolt Apr 8, 2019
5d4d4e7
fixed roundrobin dead transport which should recover
fabpot Apr 10, 2019
e0c4528
[Dotenv] fix typos
nicolas-grekas Apr 10, 2019
e871a6a
Improve Dotenv messages
seriquynh Apr 11, 2019
751baaf
bug #31024 [Mailer] fixed roundrobin test one dead which should recov…
fabpot Apr 11, 2019
526cad6
Make sure that logged URL is the same as the one which is requested.
drupol Apr 10, 2019
66701b8
bug #31069 Make sure that logged URL is the same as the one which is …
nicolas-grekas Apr 11, 2019
15fedec
minor #31070 [Dotenv] Improve Dotenv messages (xuanquynh)
nicolas-grekas Apr 11, 2019
3a68040
#30998 Fix deprecated setCircularReferenceHandler call
dhaarbrink Apr 11, 2019
3d2bc48
bug #31073 #30998 Fix deprecated setCircularReferenceHandler call (dh…
nicolas-grekas Apr 11, 2019
bc9c89e
Merge branch '4.2'
nicolas-grekas Apr 11, 2019
713aab7
Merge branch '4.2'
nicolas-grekas Apr 11, 2019
027bd12
CS Fixes: Not double split with one array argument
rubenrua Apr 10, 2019
936355e
minor #31063 CS Fixes: Not double split with one array argument (rube…
fabpot Apr 11, 2019
1c73f9c
[PhpUnitBridge] Url encoded deprecations helper config
greg0ire Sep 4, 2018
9edd84b
bug #30967 [HttpClient] Document the state object that is passed arou…
fabpot Apr 12, 2019
a36fbe3
feature #29211 [PhpUnitBridge] Url encoded deprecations helper config…
fabpot Apr 12, 2019
b11585e
[PhpUnitBridge] fixes
nicolas-grekas Apr 12, 2019
371b55a
bug #31094 [PhpUnitBridge] fixes (nicolas-grekas)
nicolas-grekas Apr 12, 2019
0cf1833
Merge branch '4.2'
nicolas-grekas Apr 12, 2019
2f73c2f
fix
nicolas-grekas Apr 12, 2019
b34738b
[PhpUnitBridge] ClockMock does not mock gmdate()
Apr 12, 2019
37eff9b
feature #31093 [PhpUnitBridge] ClockMock does not mock gmdate() (Simp…
nicolas-grekas Apr 12, 2019
770c7dd
[PhpUnitBridge] CS fix
nicolas-grekas Apr 12, 2019
08577f4
[PhpUnitBridge] fix PHP 5.5 support
nicolas-grekas Apr 12, 2019
e45bc83
Merge branch '4.2'
nicolas-grekas Apr 12, 2019
9ae73b1
Missing use statement added in UniqueValidator.
Apr 12, 2019
95932df
bug #31100 Missing use statement added in UniqueValidator. (rmikalkenas)
fabpot Apr 13, 2019
d6b67d4
[Intl] Simplify API
ro0NL Oct 12, 2018
5d3d1a0
feature #28846 [Intl] Simplify API (ro0NL)
fabpot Apr 15, 2019
238f844
feature #30717 [Serializer] Use name converter when normalizing const…
nicolas-grekas Apr 15, 2019
f1d3bc0
Show all option normalizers on debug:form command
yceruto Apr 11, 2019
70b448d
Reorganizing messenger serializer config and replacing base64_encode …
weaverryan Apr 7, 2019
8f69954
[HttpClient] fix too high timeout in test
nicolas-grekas Apr 15, 2019
498c749
minor #31118 [HttpClient] fix too high timeout in test (nicolas-grekas)
nicolas-grekas Apr 15, 2019
6a94dea
[BrowserKit] Fixed BC-break introduced by rename of Client to Browser
Devristo Apr 9, 2019
9aedfeb
bug #31040 [BrowserKit] Fixed BC-break introduced by rename of Client…
fabpot Apr 15, 2019
e683dfa
feature #30957 [Messenger] Remove base64_encode & use addslashes (wea…
fabpot Apr 15, 2019
7cf96a4
feature #31082 [Form] Show all option normalizers on debug:form comma…
fabpot Apr 15, 2019
278a7ec
Merge branch '4.2'
nicolas-grekas Apr 16, 2019
5d58307
Merge branch '4.2'
nicolas-grekas Apr 16, 2019
14ba16b
Merge branch '4.2'
nicolas-grekas Apr 16, 2019
d140648
Merge branch '4.2'
nicolas-grekas Apr 16, 2019
96aee57
Merge branch '4.2'
nicolas-grekas Apr 16, 2019
899985e
Merge branch '4.2'
nicolas-grekas Apr 16, 2019
0cdb808
[VarDumper] add caster for WeakReference instances of PHP 7.4
nicolas-grekas Apr 16, 2019
8d96861
Merge branch '4.2'
nicolas-grekas Apr 17, 2019
a59fe66
feature #31130 [VarDumper] add caster for WeakReference instances of …
fabpot Apr 18, 2019
28f7961
[Security] Add NativePasswordEncoder
nicolas-grekas Apr 17, 2019
89ec311
feature #31140 [Security] Add NativePasswordEncoder (nicolas-grekas)
Apr 18, 2019
e197398
[Security] deprecate BCryptPasswordEncoder in favor of NativePassword…
nicolas-grekas Apr 18, 2019
6c3c199
Treat undefined env var as strict mode
greg0ire Apr 18, 2019
d9bcfc3
bug #31174 Treat undefined env var as strict mode (greg0ire)
nicolas-grekas Apr 19, 2019
823d375
feature #31170 [Security] deprecate BCryptPasswordEncoder in favor of…
Apr 19, 2019
98929dc
Merge branch '4.2'
nicolas-grekas Apr 19, 2019
4bea198
[Intl] Add Timezones
ro0NL Oct 1, 2018
eab7611
feature #28831 [Intl] Add Timezones (ro0NL)
fabpot Apr 21, 2019
fde4dc9
[DoctrineBridge] Unique mapping setting is optional
ksaveras Apr 12, 2019
7e56ef1
bug #31085 [DoctrineBridge] Unique mapping setting is optional (ksave…
fabpot Apr 22, 2019
3bdf4b0
[Messenger] ease testing and allow forking the middleware stack
nicolas-grekas Apr 23, 2019
a7d2019
Merge branch '4.2'
nicolas-grekas Apr 23, 2019
3278cb1
[Cache] Add optimized FileSystem & Redis TagAware Adapters
andrerom Feb 22, 2019
fba11b4
feature #30370 [Cache] Add optimized FileSystem & Redis TagAware Adap…
fabpot Apr 24, 2019
1e9a9b2
[FrameworkBundle] Drop unused private method
Apr 25, 2019
be80868
minor #31251 [FrameworkBundle] Drop unused private method (chalasr)
nicolas-grekas Apr 26, 2019
77f642e
feature #31204 [Messenger] ease testing and allow forking the middlew…
nicolas-grekas Apr 26, 2019
95f09fd
[Intl] Add tests
ro0NL Apr 27, 2019
a7d12ee
minor #31285 [Intl] Add tests (ro0NL)
nicolas-grekas Apr 27, 2019
27d10a6
Merge branch '4.2'
Apr 27, 2019
c5b3b34
[EventDispatcher] Fix TraceableEventDispatcher FC/BC layer
Apr 25, 2019
6843905
bug #31254 [EventDispatcher] Fix TraceableEventDispatcher FC/BC layer…
nicolas-grekas Apr 27, 2019
9c76b29
[TwigBridge] bootstrap4 file_widget: allow setting label attributes d…
AngelFQC Apr 24, 2019
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
3 changes: 3 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,9 @@ before_install:
set -e
stty cols 120
mkdir /tmp/slapd
if [ ! -e /tmp/slapd-modules ]; then
[ -d /usr/lib/openldap ] && ln -s /usr/lib/openldap /tmp/slapd-modules || ln -s /usr/lib/ldap /tmp/slapd-modules
fi
slapd -f src/Symfony/Component/Ldap/Tests/Fixtures/conf/slapd.conf -h ldap://localhost:3389 &
[ -d ~/.composer ] || mkdir ~/.composer
cp .composer/* ~/.composer/
Expand Down
302 changes: 302 additions & 0 deletions UPGRADE-4.3.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,302 @@
UPGRADE FROM 4.2 to 4.3
=======================

BrowserKit
----------

* Renamed `Client` to `AbstractBrowser`
* Marked `Response` final.
* Deprecated `Response::buildHeader()`
* Deprecated `Response::getStatus()`, use `Response::getStatusCode()` instead

Cache
-----

* The `psr/simple-cache` dependency has been removed - run `composer require psr/simple-cache` if you need it.
* Deprecated all PSR-16 adapters, use `Psr16Cache` or `Symfony\Contracts\Cache\CacheInterface` implementations instead.
* Deprecated `SimpleCacheAdapter`, use `Psr16Adapter` instead.

Config
------

* Deprecated using environment variables with `cannotBeEmpty()` if the value is validated with `validate()`
* Deprecated the `root()` method in `TreeBuilder`, pass the root node information to the constructor instead

DependencyInjection
-------------------

* Deprecated support for non-string default env() parameters

Before:
```yaml
parameters:
env(NAME): 1.5
```

After:
```yaml
parameters:
env(NAME): '1.5'
```

Doctrine Bridge
---------------

* Passing an `IdReader` to the `DoctrineChoiceLoader` when the query cannot be optimized with single id field has been deprecated, pass `null` instead
* Not passing an `IdReader` to the `DoctrineChoiceLoader` when the query can be optimized with single id field has been deprecated

Dotenv
------

* First parameter of `Dotenv::__construct()` will be changed from `true` to `false` in Symfony 5.0. A deprecation warning
is triggered if no parameter is provided. Use `$usePutenv = true` to upgrade without breaking changes.

EventDispatcher
---------------

* The signature of the `EventDispatcherInterface::dispatch()` method should be updated to `dispatch($event, string $eventName = null)`, not doing so is deprecated
* The `Event` class has been deprecated, use `Symfony\Contracts\EventDispatcher\Event` instead

Form
----

* Using the `format` option of `DateType` and `DateTimeType` when the `html5` option is enabled is deprecated.
* Using names for buttons that do not start with a letter, a digit, or an underscore is deprecated and will lead to an
exception in 5.0.
* Using names for buttons that do not contain only letters, digits, underscores, hyphens, and colons is deprecated and
will lead to an exception in 5.0.
* Using the `date_format`, `date_widget`, and `time_widget` options of the `DateTimeType` when the `widget` option is
set to `single_text` is deprecated.

FrameworkBundle
---------------

* Not passing the project directory to the constructor of the `AssetsInstallCommand` is deprecated. This argument will
be mandatory in 5.0.
* Deprecated the "Psr\SimpleCache\CacheInterface" / "cache.app.simple" service, use "Symfony\Contracts\Cache\CacheInterface" / "cache.app" instead.
* The `generate()` method of the `UrlGenerator` class can return an empty string instead of null.

HttpFoundation
--------------

* The `MimeTypeGuesserInterface` and `ExtensionGuesserInterface` interfaces have been deprecated,
use `Symfony\Component\Mime\MimeTypesInterface` instead.
* The `MimeType` and `MimeTypeExtensionGuesser` classes have been deprecated,
use `Symfony\Component\Mime\MimeTypes` instead.
* The `FileBinaryMimeTypeGuesser` class has been deprecated,
use `Symfony\Component\Mime\FileBinaryMimeTypeGuesser` instead.
* The `FileinfoMimeTypeGuesser` class has been deprecated,
use `Symfony\Component\Mime\FileinfoMimeTypeGuesser` instead.

HttpKernel
----------

* Renamed `Client` to `HttpKernelBrowser`
* Renamed `FilterControllerArgumentsEvent` to `ControllerArgumentsEvent`
* Renamed `FilterControllerEvent` to `ControllerEvent`
* Renamed `FilterResponseEvent` to `ResponseEvent`
* Renamed `GetResponseEvent` to `RequestEvent`
* Renamed `GetResponseForControllerResultEvent` to `ViewEvent`
* Renamed `GetResponseForExceptionEvent` to `ExceptionEvent`
* Renamed `PostResponseEvent` to `TerminateEvent`
* Deprecated `TranslatorListener` in favor of `LocaleAwareListener`

Intl
----

* Deprecated `ResourceBundle` namespace
* Deprecated `Intl::getCurrencyBundle()`, use `Currencies` instead
* Deprecated `Intl::getLanguageBundle()`, use `Languages` or `Scripts` instead
* Deprecated `Intl::getLocaleBundle()`, use `Locales` instead
* Deprecated `Intl::getRegionBundle()`, use `Regions` instead

Messenger
---------

* `Amqp` transport does not throw `\AMQPException` anymore, catch `TransportException` instead.
* Deprecated the `LoggingMiddleware` class, pass a logger to `SendMessageMiddleware` instead.

Routing
-------

* The `generator_base_class`, `generator_cache_class`, `matcher_base_class`, and `matcher_cache_class` router
options have been deprecated.
* Implementing `Serializable` for `Route` and `CompiledRoute` is deprecated; if you serialize them, please
ensure your unserialization logic can recover from a failure related to an updated serialization format

Security
--------

* The `Role` and `SwitchUserRole` classes are deprecated and will be removed in 5.0. Use strings for roles
instead.
* The `getReachableRoles()` method of the `RoleHierarchyInterface` is deprecated and will be removed in 5.0.
Role hierarchies must implement the `getReachableRoleNames()` method instead and return roles as strings.
* The `getRoles()` method of the `TokenInterface` is deprecated. Tokens must implement the `getRoleNames()`
method instead and return roles as strings.
* The `ListenerInterface` is deprecated, turn your listeners into callables instead.
* The `Firewall::handleRequest()` method is deprecated, use `Firewall::callListeners()` instead.
* The `AbstractToken::serialize()`, `AbstractToken::unserialize()`,
`AuthenticationException::serialize()` and `AuthenticationException::unserialize()`
methods are now final, use `__serialize()` and `__unserialize()` instead.

Before:
```php
public function serialize()
{
return [$this->myLocalVar, parent::serialize()];
}

public function unserialize($serialized)
{
[$this->myLocalVar, $parentSerialized] = unserialize($serialized);
parent::unserialize($parentSerialized);
}
```

After:
```php
public function __serialize(): array
{
return [$this->myLocalVar, parent::__serialize()];
}

public function __unserialize(array $data): void
{
[$this->myLocalVar, $parentData] = $data;
parent::__unserialize($parentData);
}
```

* The `Argon2iPasswordEncoder` class has been deprecated, use `SodiumPasswordEncoder` instead.
* The `BCryptPasswordEncoder` class has been deprecated, use `NativePasswordEncoder` instead.
* Not implementing the methods `__serialize` and `__unserialize` in classes implementing
the `TokenInterface` is deprecated

SecurityBundle
--------------

* Configuring encoders using `argon2i` or `bcrypt` as algorithm has been deprecated, use `auto` instead.

TwigBridge
----------

* deprecated the `$requestStack` and `$requestContext` arguments of the
`HttpFoundationExtension`, pass a `Symfony\Component\HttpFoundation\UrlHelper`
instance as the only argument instead

Workflow
--------

* `initial_place` is deprecated in favour of `initial_marking`.

Before:
```yaml
framework:
workflows:
article:
initial_place: draft
```

After:
```yaml
framework:
workflows:
article:
initial_marking: [draft]
```

* `MarkingStoreInterface::setMarking()` will have a third argument in Symfony 5.0.

Before:
```php
class MyMarkingStore implements MarkingStoreInterface
{
public function setMarking($subject, Marking $marking)
{
}
}
```

After:
```php
class MyMarkingStore implements MarkingStoreInterface
{
public function setMarking($subject, Marking $marking , array $context = [])
{
}
}
```

* `MultipleStateMarkingStore` is deprecated. Use `MethodMarkingStore` instead.

Before:
```yaml
framework:
workflows:
type: workflow
article:
marking_store:
type: multiple
arguments: states
```

After:
```yaml
framework:
workflows:
type: workflow
article:
marking_store:
type: method
property: states
```

* `SingleStateMarkingStore` is deprecated. Use `MethodMarkingStore` instead.

Before:
```yaml
framework:
workflows:
article:
marking_store:
arguments: state
```

After:
```yaml
framework:
workflows:
type: state_machine
article:
marking_store:
type: method
property: state
```

* Using a workflow with a single state marking is deprecated. Use a state machine instead.

Before:
```yaml
framework:
workflows:
article:
type: workflow
marking_store:
type: single_state
```

After:
```yaml
framework:
workflows:
article:
type: state_machine
marking_store:
# type: single_state # Since the single_state marking store is deprecated, use method instead
type: method
```

Yaml
----

* Using a mapping inside a multi-line string is deprecated and will throw a `ParseException` in 5.0.
Loading