Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Fix !important in VarDumper stylesheet #28107

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

Closed
wants to merge 302 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
302 commits
Select commit Hold shift + click to select a range
0fba5b1
Merge branch '4.1'
nicolas-grekas May 25, 2018
d314735
feature #27336 [Security][SecurityBundle] FirewallMap/FirewallContext…
nicolas-grekas May 25, 2018
201b472
Merge branch '4.1'
nicolas-grekas May 25, 2018
b1a41a4
Merge branch '4.1'
nicolas-grekas May 25, 2018
ee22169
Merge branch '4.1'
nicolas-grekas May 25, 2018
e077c79
Merge branch '4.1'
nicolas-grekas May 25, 2018
860d454
No more support for custom anon/remember tokens based on FQCN
Apr 19, 2018
f557f94
feature #26981 No more support for custom anon/remember tokens based …
fabpot May 27, 2018
c250fbd
[Cache] Remove TaggableCacheInterface, alias cache.app.taggable to Ca…
nicolas-grekas May 28, 2018
896be4c
[FrameworkBundle] Allow configuring taggable cache pools
nicolas-grekas Apr 15, 2018
143628f
feature #26934 [FrameworkBundle] Allow configuring taggable cache poo…
nicolas-grekas May 29, 2018
3a2eb0d
Minor clean up in UPGRADE files
nicolas-grekas May 29, 2018
3bade96
feature #27024 [Finder] added "use natural sort" option (vyshkant)
fabpot May 30, 2018
cac37ca
[WebProfilerBundle] made Twig bundle an explicit dependency
fabpot May 30, 2018
1c2f43f
[Messenger][Profiler] Show dispatch caller
ogizanagi May 22, 2018
be1b37f
feature #27417 [WebProfilerBundle] Make Twig bundle an explicit depen…
fabpot May 30, 2018
bbbcd46
Add an alias to the property info type extractor
sroze May 30, 2018
f603672
feature #27430 [PropertyInfo] Add an alias to the property info type …
fabpot May 31, 2018
06ea72e
[PropertyInfo] Auto-enable PropertyInfo component
sroze May 30, 2018
c8ce780
feature #27429 [PropertyInfo] Auto-enable PropertyInfo component (sroze)
fabpot May 31, 2018
5937566
feature #27343 [Messenger][Profiler] Show dispatch caller (ogizanagi)
sroze May 31, 2018
5abffbb
Merge branch '4.1'
nicolas-grekas May 31, 2018
f8746ce
Add ability to deprecate options
yceruto May 9, 2018
c81f88f
feature #27398 [Cache] Remove TaggableCacheInterface, alias cache.app…
fabpot May 31, 2018
b51b17d
Merge branch '4.1'
nicolas-grekas Jun 3, 2018
e2f344f
[FrameworkBundle] Deprecate auto-injection of the container in Abstra…
nicolas-grekas Jun 1, 2018
a6b6206
[DI] Don't generate factories for errored services
nicolas-grekas Jun 3, 2018
238e793
[DependencyInjection] add ServiceSubscriberTrait
kbond Apr 27, 2018
fa022f0
feature #27077 [DependencyInjection] add ServiceSubscriberTrait (kbond)
nicolas-grekas Jun 4, 2018
4f197a5
feature #27462 [FrameworkBundle] Deprecate auto-injection of the cont…
nicolas-grekas Jun 4, 2018
4cd6477
minor #27481 [DI] Don't generate factories for errored services (nico…
fabpot Jun 5, 2018
cf375e5
[DI] Improve performance of removing/inlining passes
nicolas-grekas Jun 1, 2018
d8739d1
feature #27471 [DI] Improve performance of removing/inlining passes (…
Tobion Jun 5, 2018
f03b8bb
CacheWarmerAggregate handle deprecations logs
ScullWM May 30, 2018
8ec22e5
Merge branch '4.1'
nicolas-grekas Jun 6, 2018
50c4384
Merge branch '4.1'
nicolas-grekas Jun 6, 2018
b79f38c
[WebServerBundle] Improve the error message when web server is alread…
Nyholm Jun 7, 2018
1df0a69
minor #27542 [WebServerBundle] Improve the error message when web ser…
fabpot Jun 8, 2018
1b2bd8f
Merge branch '4.1'
nicolas-grekas Jun 8, 2018
84ada0c
Merge branch '4.1'
nicolas-grekas Jun 8, 2018
13523ad
[Cache] Add stampede protection via probabilistic early expiration
nicolas-grekas Apr 23, 2018
7e3b7b0
feature #27009 [Cache] Add stampede protection via probabilistic earl…
fabpot Jun 11, 2018
51381e5
[Cache] Unconditionally use PhpFilesAdapter for system pools
nicolas-grekas Jun 7, 2018
d4f5d46
feature #27549 [Cache] Unconditionally use PhpFilesAdapter for system…
fabpot Jun 11, 2018
08554ea
[Cache] Use sub-second accuracy for internal expiry calculations
nicolas-grekas Apr 24, 2018
169b13c
Merge branch '4.1'
nicolas-grekas Jun 11, 2018
205d161
feature #27031 [Cache] Use sub-second accuracy for internal expiry ca…
fabpot Jun 11, 2018
90afbf7
Merge branch '4.1'
nicolas-grekas Jun 11, 2018
dca80ff
Merge branch '4.1'
nicolas-grekas Jun 11, 2018
c997026
Merge branch '4.1'
nicolas-grekas Jun 11, 2018
5c338cc
Merge branch '4.1'
nicolas-grekas Jun 11, 2018
473a025
add property path to exception message when error writing property
rodnaph Jun 12, 2018
b560883
feature #27315 [TwigBundle] add exception chain breadcrumbs navigatio…
fabpot Jun 14, 2018
32988b4
Enhance the twig not found exception
behnoushnorouzi Jun 7, 2018
a687119
Merge branch '4.1'
nicolas-grekas Jun 15, 2018
719b429
fix merge
nicolas-grekas Jun 15, 2018
3ccbec3
Merge branch '4.1'
nicolas-grekas Jun 15, 2018
92a2d47
[Cache] Improve perf of array-based pools
nicolas-grekas Jun 9, 2018
1df7742
[FrameworkBundle] show public/private for aliases in debug:container …
OskarStark Jun 8, 2018
866420e
[Cache] serialize objects using native arrays when possible
nicolas-grekas Jun 7, 2018
28d754d
Merge branch '4.0'
Jun 18, 2018
1758de2
[TwigBridge] Added bundle name suggestion on wrongly overrided templa…
Apr 13, 2018
bab9d99
Use %twig.default_path% parameter and search in old folder structure too
Apr 16, 2018
7d9467a
Add an entry on json export format
May 3, 2018
da0c589
refs #26898
Jun 13, 2018
da42b3e
refs #26898
Jun 13, 2018
acfb325
refs #26898
Jun 18, 2018
84c5635
Merge branch '4.1'
Jun 18, 2018
0ac2777
[Cache] Prevent stampede at warmup using flock()
nicolas-grekas Jun 14, 2018
137dd76
feature #27604 [Cache] Prevent stampede at warmup using flock() (nico…
fabpot Jun 18, 2018
d075d0c
feature #27563 [Cache] Improve perf of array-based pools (nicolas-gre…
fabpot Jun 18, 2018
c0ca2af
feature #27543 [Cache] serialize objects using native arrays when pos…
fabpot Jun 18, 2018
0b1c825
[Messenger] Fixed MessengerPass::guessHandledClasses return type
massimilianobraglia Jun 18, 2018
c6b3135
bug #27633 [Messenger] Fixed MessengerPass::guessHandledClasses retur…
nicolas-grekas Jun 19, 2018
c694804
feature #27551 [FrameworkBundle] show public/private for aliases in d…
nicolas-grekas Jun 19, 2018
6c03064
feature #27535 [TwigBundle] Enhance the twig not found exception (beh…
nicolas-grekas Jun 19, 2018
8a127ea
[HttpFoundation] Adds getAcceptableFormats() method for Request
Mar 11, 2018
f065873
feature #26486 [HttpFoundation] Adds getAcceptableFormats() method fo…
nicolas-grekas Jun 19, 2018
b0fa398
Remove direct dependencies on doctrine/common
Majkl578 Jun 15, 2018
c2ce153
deprecate tree builders without root nodes
xabbuh Jun 2, 2018
d148fa7
feature #26919 [TwigBridge] Added bundle name suggestion on wrongly o…
nicolas-grekas Jun 19, 2018
76d3589
feature #27277 [OptionsResolver] Introduce ability to deprecate optio…
nicolas-grekas Jun 19, 2018
a8017be
[FrameworkBundle][SecurityBundle] Moved security expression providers…
HeahDude Jun 15, 2018
e9e6ec5
feature #27611 [FrameworkBundle][SecurityBundle] Moved security expre…
nicolas-grekas Jun 19, 2018
4fde3bb
feature #27421 CacheWarmerAggregate handle deprecations logs (ScullWM)
nicolas-grekas Jun 19, 2018
53048ce
Log potential redirect loops caused by forced HTTPS
colinodell Jun 19, 2018
be97006
[FrameworkBundle] Fixed tests added in #27611
HeahDude Jun 19, 2018
a4f5c6e
minor #27643 [FrameworkBundle] Fixed tests added in #27611 (HeahDude)
nicolas-grekas Jun 19, 2018
a5a91d3
Merge branch '4.1'
nicolas-grekas Jun 19, 2018
d413850
Merge branch '4.1'
nicolas-grekas Jun 20, 2018
2ff02cd
[Cache] added support for phpredis 4 `compression` and `tcp_keepalive…
nicolas-grekas Jun 19, 2018
683bbf9
Merge branch '4.1'
nicolas-grekas Jun 20, 2018
1abfb2c
Merge branch '4.1'
nicolas-grekas Jun 20, 2018
e53bf58
[Translation] Improved the performance of the lint:xliff command
javiereguiluz Jun 20, 2018
1ff80e3
feature #27653 [Translation] Improved the performance of the lint:xli…
fabpot Jun 20, 2018
1dac82a
feature #27605 [DX] Log potential redirect loops caused by forced HTT…
fabpot Jun 20, 2018
bc8d4f6
feature #27646 [Cache] added support for phpredis 4 `compression` and…
fabpot Jun 20, 2018
92c37b9
minor #27609 Remove direct dependencies on doctrine/common (Majkl578)
fabpot Jun 20, 2018
43da583
[Cache] Fix locking on Solaris
nicolas-grekas Jun 21, 2018
31fc855
Merge branch '4.1'
nicolas-grekas Jun 21, 2018
6064cfe
bug #27670 [Cache] Fix locking on Solaris (nicolas-grekas)
nicolas-grekas Jun 21, 2018
72bf72a
Merge branch '4.1'
nicolas-grekas Jun 22, 2018
6285e68
[DI] fix dumping errored definitions
nicolas-grekas Jun 22, 2018
df44236
bug #27688 [DI] fix dumping errored definitions (nicolas-grekas)
nicolas-grekas Jun 24, 2018
c871857
Merge branch '4.1'
nicolas-grekas Jun 24, 2018
02f2f0e
[Form] Deprecate `searchAndRenderBlock` returning empty string
ostrolucky May 12, 2018
86361e5
feature #27247 [Form] Deprecate `searchAndRenderBlock` returning empt…
fabpot Jun 25, 2018
1df8b3e
Redesigned the default error page in production
javiereguiluz Jun 25, 2018
9eb755c
[Form] Add ability to clear form errors
colinodell Jun 11, 2018
53a39b7
feature #27580 [Form] Add ability to clear form errors (colinodell)
fabpot Jun 25, 2018
a1eb649
added missing CHANGELOG
fabpot Jun 25, 2018
0ee912d
[Translation] Added support for translation files with other filename…
javiereguiluz Jun 20, 2018
0dcf111
feature #27655 [Translation] Added support for translation files with…
fabpot Jun 25, 2018
76d81b9
feature #27699 Redesigned the default error page in production (javie…
fabpot Jun 25, 2018
7b6ad74
Merge branch '4.1'
fabpot Jun 25, 2018
5fe78a3
Revert "minor #27609 Remove direct dependencies on doctrine/common (M…
nicolas-grekas Jun 25, 2018
d871473
feature #27586 [PropertyAccess] Add Property Path to Exception Messag…
fabpot Jun 25, 2018
21a3439
feature #27476 [Config] deprecate tree builders without root nodes (x…
fabpot Jun 25, 2018
3f6f75b
[WebProfilerBundle] Display uploaded files in the profiler
javiereguiluz Apr 16, 2018
2b9c142
feature #26946 [WebProfilerBundle] Display uploaded files in the prof…
fabpot Jun 25, 2018
12bafe4
[PropertyInfo] Implement \"Collection\" types in PhpDocExtractor
popy-dev Feb 24, 2018
1a3d445
feature #26300 [PropertyInfo] Implement "Collection" types in PhpDocE…
fabpot Jun 26, 2018
7510c3a
Improved an error message related to controllers
javiereguiluz Jun 5, 2018
0252a00
feature #27499 Improved an error message related to controllers (javi…
fabpot Jun 27, 2018
0c57f00
Merge branch '4.1'
nicolas-grekas Jun 27, 2018
80b0739
[HttpKernel][FrameworkBundle] Turn HTTP exceptions to HTTP status cod…
nicolas-grekas Jun 6, 2018
adb137d
Merge branch '4.1'
nicolas-grekas Jun 28, 2018
3178aed
[Cache] ArrayAdapter and NullAdapter don't need stampede protection
pounard Jun 26, 2018
17977c8
bug #27734 [Cache] ArrayAdapter and NullAdapter don't need stampede p…
nicolas-grekas Jun 28, 2018
d3a43b1
Merge branch '4.1'
nicolas-grekas Jun 28, 2018
130ec05
[DoctrineBridge] always load event listeners lazy via ServiceLocator
dmaicher Jun 21, 2018
83232f8
feature #27675 [DoctrineBridge] always load event listeners lazy via …
fabpot Jun 28, 2018
955494c
[VarDumper] show proxified class on hover
nicolas-grekas Jun 29, 2018
0e9ded3
Merge branch '4.1'
nicolas-grekas Jun 29, 2018
73b4ac7
[VarDumper] display the signature of callables
nicolas-grekas Jun 29, 2018
9bb990f
feature #27766 [VarDumper] show proxified class on hover (nicolas-gre…
fabpot Jun 30, 2018
c52b2e9
feature #27768 [VarDumper] display the signature of callables (nicola…
fabpot Jun 30, 2018
bce59c8
[Serializer] Deprecate CsvEncoder as_collection false default value
ogizanagi Jun 25, 2018
dd6ef5b
feature #27715 [Serializer] Deprecate CsvEncoder as_collection false …
fabpot Jun 30, 2018
d5c1cc0
Respect alpha order in UPGRADE-4.2 file
ogizanagi Jun 30, 2018
03de7f4
minor #27781 Respect alpha order in UPGRADE-4.2 file (ogizanagi)
fabpot Jun 30, 2018
5b39203
[Serializer] Allow to pass a single value for the groups opt
dunglas Jun 5, 2018
80aa8df
feature #27503 [Serializer] Allow to pass a single value for the grou…
nicolas-grekas Jul 1, 2018
b0d4c99
[VarDumper] make control characters non-selectable in HTML
kiler129 May 19, 2018
83d116b
minor #27317 [VarDumper] make control characters non-selectable in HT…
nicolas-grekas Jul 1, 2018
9efa555
fix typo
nicolas-grekas Jul 1, 2018
9adb0c7
[Security/Http] report file+line of unserialization errors in Firewal…
nicolas-grekas Jul 1, 2018
27b89cb
[Security] Use AuthenticationTrustResolver in SimplePreAuthentication…
nicolas-grekas Jul 2, 2018
9da0454
minor #27795 [Security/Http] report file+line of unserialization erro…
fabpot Jul 3, 2018
28a4912
[MonologBridge] Add ProcessorInterface, enabling autoconfiguration of…
nicolas-grekas Jul 2, 2018
f27c3a8
feature #27801 [MonologBridge] Add ProcessorInterface, enabling autoc…
fabpot Jul 3, 2018
76465fc
[Workflow] Set default to autofit label in place/transition to render…
Jul 2, 2018
a32393b
Merge branch '4.1'
nicolas-grekas Jul 3, 2018
53155c9
[Dependency-Injection] Fix issue where non-defined services were atte…
ciaranmcnulty Jul 3, 2018
26989d4
bug #27830 [Dependency-Injection] Fix issue where non-defined service…
nicolas-grekas Jul 3, 2018
99f829e
[Serializer] Allow to access to the format and context in circular re…
dunglas Apr 23, 2018
04b2c2d
feature #27798 [Security] Use AuthenticationTrustResolver in SimplePr…
Jul 4, 2018
6c8e957
[DI] Add ServiceLocatorArgument to generate array-based locators opti…
nicolas-grekas Jun 30, 2018
7135aa4
Merge branch '4.1'
nicolas-grekas Jul 5, 2018
c6f87c6
[Security] Allow passing null as $filter in LdapUserProvider to get t…
Jul 5, 2018
86c771a
changed warning verbosity; fixes typo
adrian-enspired Jul 5, 2018
8f359cc
[FrameworkBundle] allow turning routes to utf8 mode by default
nicolas-grekas Jun 29, 2018
02daeb2
minor #27858 [Console] changed warning verbosity; fixes typo (adrian-…
Jul 6, 2018
2b2dfd2
[SecurityBundle] Add json login ldap
Jun 20, 2018
6cefd88
feature #27650 [SecurityBundle] Add json login ldap (Rudy Onfroy)
Jul 6, 2018
8895bc1
[Process][Console] deprecated defining commands as strings
nicolas-grekas Jul 3, 2018
d2b4901
[DI] Improve exception messages by hiding the hidden ids they contain
nicolas-grekas Jul 4, 2018
fbb1f82
feature #27850 [Security] Allow passing null as $filter in LdapUserPr…
nicolas-grekas Jul 7, 2018
1cf8146
minor #27805 [Workflow] Fix autofit label in rendering (evertharmeling)
nicolas-grekas Jul 7, 2018
6d3f63d
feature #27783 [DI] Add ServiceLocatorArgument to generate array-base…
nicolas-grekas Jul 7, 2018
ac1189a
feature #27020 [Serializer] Allow to access to the format and context…
nicolas-grekas Jul 7, 2018
18c2dde
feature #27519 [HttpKernel][FrameworkBundle] Turn HTTP exceptions to …
nicolas-grekas Jul 7, 2018
1484117
[FrameworkBundle][Cache] Allow configuring PDO-based cache pools, wit…
nicolas-grekas Jun 22, 2018
ffab7d6
Merge branch '4.1'
nicolas-grekas Jul 7, 2018
5d6f100
fix merge
nicolas-grekas Jul 7, 2018
d8a66d6
[FrameworkBundle] fix lowest deps
nicolas-grekas Jul 8, 2018
24babca
fix the fix
nicolas-grekas Jul 8, 2018
9c328c4
[Cache] Add `MarshallerInterface` allowing to change the serializer, …
nicolas-grekas Jun 19, 2018
b226859
feature #27320 [Messenger] Activation middleware decorator (ogizanagi)
sroze Jul 8, 2018
78498d3
Prefer PSR-3 to interact with Monolog in tests.
derrabus Jul 6, 2018
1657b82
improve deprecation messages
xabbuh Jul 6, 2018
4849c01
minor #27882 [MonologBridge] Prefer PSR-3 to interact with Monolog in…
nicolas-grekas Jul 9, 2018
b67c26c
Merge branch '4.1'
nicolas-grekas Jul 9, 2018
88f063d
Merge branch '4.1'
nicolas-grekas Jul 9, 2018
8bb5266
deprecate non string requirement names
xabbuh Jul 6, 2018
8d35af4
minor #27845 [DI] Improve exception messages by hiding the hidden ids…
fabpot Jul 9, 2018
10e15dc
feature #27821 [Process][Console] deprecated defining commands as str…
fabpot Jul 9, 2018
254f4c8
feature #27774 [FrameworkBundle] allow turning routes to utf8 mode by…
fabpot Jul 9, 2018
cbda6a3
feature #27694 [FrameworkBundle][Cache] Allow configuring PDO-based c…
fabpot Jul 9, 2018
2345d0c
[Cache] update docblock of PdoAdapter/PdoCache
nicolas-grekas Jul 9, 2018
f20eaf2
feature #27645 [Cache] Add `MarshallerInterface` allowing to change t…
fabpot Jul 9, 2018
1d9f1d1
[ProxyManagerBridge][DI] allow proxifying interfaces with "lazy: Some…
nicolas-grekas Jun 23, 2018
a5709ee
feature #27697 [ProxyManagerBridge][DI] allow proxifying interfaces w…
fabpot Jul 9, 2018
3cfdc9e
minor fixes
nicolas-grekas Jul 9, 2018
039c4d4
fix typo
xabbuh Jul 11, 2018
8982036
Added symfony/contracts: a set of abstractions extracted out of the c…
nicolas-grekas Apr 29, 2018
6bf9eeb
Add title table
maidmaid Apr 15, 2018
df26fea
feature #26933 [Console] Add title table (maidmaid)
fabpot Jul 11, 2018
c85134c
feature #27879 [Routing] deprecate non string requirement names (xabbuh)
fabpot Jul 11, 2018
3f663fd
minor #27878 improve deprecation messages (xabbuh)
fabpot Jul 12, 2018
e098edd
Added new methods submitForm and clickLink to Client class
nowiko Jul 2, 2018
20070b7
feature #27807 Added new methods submitForm and clickLink to Client c…
fabpot Jul 12, 2018
e69fac4
[SecurityBundle] fix tests
xabbuh Jul 12, 2018
5e28ac3
minor #27931 [SecurityBundle] fix tests (xabbuh)
fabpot Jul 12, 2018
1e16a8b
feature #27093 Add symfony/contracts: a set of abstractions extracted…
fabpot Jul 13, 2018
682836d
renamed Contract to Contracts
fabpot Jul 13, 2018
e379146
minor #27947 Rename Contract to Contracts (fabpot)
fabpot Jul 13, 2018
3aab4a1
[DoctrineBridge] Inject the entity manager instead of the class metad…
dunglas Jul 3, 2018
eb112a5
feature #27829 [DoctrineBridge] Inject the entity manager instead of …
fabpot Jul 13, 2018
ec795cc
fix compatibility with older Cache versions
xabbuh Jul 14, 2018
ad97cd7
[Finder] Allow arrays as parameters of some methods for better fluent…
jfredon Jul 7, 2018
cc170eb
feature #27891 [Finder] Allow arrays as parameters of some methods fo…
fabpot Jul 16, 2018
18ba2a8
Merge branch '4.1'
fabpot Jul 16, 2018
d59cf77
add missing XSD entry for taggable cache pools
xabbuh Jul 16, 2018
f6c5c85
bug #27950 [FrameworkBundle] fix compatibility with older Cache versi…
fabpot Jul 16, 2018
01c65c8
bug #27968 [FrameworkBundle] add missing XSD entry for taggable cache…
fabpot Jul 16, 2018
337e8ef
[Security] Remember me: allow to set the samesite cookie flag
dunglas Jul 17, 2018
bcd8058
Show relative path of the template and improving panel view
yceruto Jul 17, 2018
7b853bb
feature #27978 [WebProfilerBundle] Show relative path of the template…
fabpot Jul 18, 2018
9dbde41
feature #27976 [Security] Remember me: allow to set the samesite cook…
fabpot Jul 18, 2018
be9d578
Added types and tweaked PHPdoc of clickLink() and submitForm() methods
javiereguiluz Jul 15, 2018
d8f78c5
feature #27956 Added types and tweaked PHPdoc of clickLink() and subm…
fabpot Jul 18, 2018
1e2b37f
fixed CS
fabpot Jul 18, 2018
8c410da
[Security] Deprecate returning stringish objects from Security::getUser
ro0NL Jul 13, 2018
5362ff3
feature #27943 [Security] Deprecate returning stringish objects from …
fabpot Jul 18, 2018
944c53f
Allow to configure some options of the profiler interface
javiereguiluz Jun 22, 2018
ce73293
feature #27678 Allow to configure some options of the profiler interf…
fabpot Jul 18, 2018
186a7a9
Fix test file relative for AppVeyor
yceruto Jul 18, 2018
0905780
minor #27986 Fix test file relative for AppVeyor (yceruto)
fabpot Jul 19, 2018
c1f23c8
Merge branch '4.1'
fabpot Jul 19, 2018
9488e2a
[Messenger] Envelope-aware middleware is never called with a message
Jul 4, 2018
4b92b96
minor #27841 [Messenger] Envelope-aware middleware is never called wi…
sroze Jul 19, 2018
ce2ac0f
Merge branch '4.1'
fabpot Jul 23, 2018
ffb515d
Merge branch '4.1'
nicolas-grekas Jul 23, 2018
0eea077
Merge branch '4.1'
nicolas-grekas Jul 23, 2018
1730b7d
Merge branch '4.1'
nicolas-grekas Jul 26, 2018
e812852
Merge branch '4.1'
nicolas-grekas Jul 26, 2018
f834c92
Merge branch '4.1'
nicolas-grekas Jul 26, 2018
f51a76c
Merge branch '4.1'
nicolas-grekas Jul 26, 2018
510977d
Merge branch '4.1'
nicolas-grekas Jul 26, 2018
a31f4aa
Merge branch '4.1'
nicolas-grekas Jul 26, 2018
7c124c4
appending root of Contracts dir (where composer.json is located)
oleg-andreyev Jul 31, 2018
f6bfe2e
minor #28095 link helper does not link Contracts (oleg-andreyev)
nicolas-grekas Aug 1, 2018
1f629c8
Merge branch '4.1'
nicolas-grekas Aug 1, 2018
c67f2aa
Merge branch '4.1'
nicolas-grekas Aug 1, 2018
cb91cde
Remove direct dependencies on doctrine/common
Majkl578 Jun 15, 2018
67044af
Merge branch '4.1'
nicolas-grekas Aug 1, 2018
7fd8e98
minor #28038 Remove direct dependencies on doctrine/common (Majkl578)
nicolas-grekas Aug 1, 2018
aaa3bb3
Merge branch '4.1'
nicolas-grekas Aug 1, 2018
a682441
Fix `!important` in VarDumper stylesheet
mul14 Aug 2, 2018
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
  •  
  •  
  •  
13 changes: 0 additions & 13 deletions .github/ISSUE_TEMPLATE.md

This file was deleted.

21 changes: 21 additions & 0 deletions .github/ISSUE_TEMPLATE/1_Bug_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
---
name: 🐛 Bug Report
about: Report errors and problems

---

**Symfony version(s) affected**: x.y.z

**Description**
<!-- A clear and concise description of the problem. -->

**How to reproduce**
<!-- Code and/or config needed to reproduce the problem. If it's a complex bug,
create a "bug reproducer" as explained in:
https://symfony.com/doc/current/contributing/code/reproducer.html -->

**Possible Solution**
<!--- Optional: only if you have suggestions on a fix/reason for the bug -->

**Additional context**
<!-- Optional: any other context about the problem: log messages, screenshots, etc. -->
12 changes: 12 additions & 0 deletions .github/ISSUE_TEMPLATE/2_Feature_request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---
name: 🚀 Feature Request
about: RFC and ideas for new features and improvements

---

**Description**
<!-- A clear and concise description of the new feature. -->

**Example**
<!-- A simple example of the new feature in action (include PHP code, YAML config, etc.)
If the new feature changes an existing feature, include a simple before/after comparison. -->
11 changes: 11 additions & 0 deletions .github/ISSUE_TEMPLATE/3_Support_question.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---
name: ⛔ Support Question
about: See https://symfony.com/support for questions about using Symfony and its components

---

We use GitHub issues only to discuss about Symfony bugs and new features. For
this kind of questions about using Symfony or third-party bundles, please use
any of the support alternatives shown in https://symfony.com/support

Thanks!
10 changes: 10 additions & 0 deletions .github/ISSUE_TEMPLATE/4_Documentation_issue.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
name: ⛔ Documentation Issue
about: See https://github.com/symfony/symfony-docs/issues for documentation issues

---

Symfony Documentation has its own dedicated repository. Please open your
documentation-related issue at https://github.com/symfony/symfony-docs/issues

Thanks!
13 changes: 13 additions & 0 deletions .github/ISSUE_TEMPLATE/5_Security_issue.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---
name: ⛔ Security Issue
about: See https://symfony.com/security to report security-related issues

---

⚠ PLEASE DON'T DISCLOSE SECURITY-RELATED ISSUES PUBLICLY, SEE BELOW.

If you have found a security issue in Symfony, please send the details to
security [at] symfony.com and don't disclose it publicly until we can provide a
fix for it.

More information: https://symfony.com/security
2 changes: 1 addition & 1 deletion .github/build-packages.php
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@

$packages[$package->name][$package->version] = $package;

$versions = file_get_contents('https://packagist.org/p/'.$package->name.'.json');
$versions = @file_get_contents('https://packagist.org/p/'.$package->name.'.json') ?: sprintf('{"packages":{"%s":{"dev-master":%s}}}', $package->name, file_get_contents($dir.'/composer.json'));
$versions = json_decode($versions)->packages->{$package->name};

if ($package->version === str_replace('-dev', '.x-dev', $versions->{'dev-master'}->extra->{'branch-alias'}->{'dev-master'})) {
Expand Down
2 changes: 2 additions & 0 deletions .php_cs.dist
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,9 @@ return PhpCsFixer\Config::create()
->in(__DIR__.'/src')
->append(array(__FILE__))
->exclude(array(
'Symfony/Bridge/ProxyManager/Tests/LazyProxy/PhpDumper/Fixtures',
// directories containing files with content that is autogenerated by `var_export`, which breaks CS in output code
'Symfony/Component/Cache/Tests/Marshaller/Fixtures',
'Symfony/Component/DependencyInjection/Tests/Fixtures',
'Symfony/Component/Routing/Tests/Fixtures/dumper',
// fixture templates
Expand Down
5 changes: 3 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ before_install:
deps=skip
skip=1
else
COMPONENTS=$(find src/Symfony -mindepth 3 -type f -name phpunit.xml.dist -printf '%h\n')
COMPONENTS=$(find src/Symfony -mindepth 2 -type f -name phpunit.xml.dist -printf '%h\n')
fi

- |
Expand All @@ -151,6 +151,7 @@ before_install:
tfold ext.libsodium tpecl libsodium sodium.so $INI
tfold ext.mongodb tpecl mongodb-1.5.0 mongodb.so $INI
tfold ext.amqp tpecl amqp-1.9.3 amqp.so $INI
tfold ext.igbinary tpecl igbinary-2.0.6 igbinary.so $INI
fi

- |
Expand Down Expand Up @@ -180,7 +181,7 @@ install:
SYMFONY_VERSION=$(git ls-remote --heads | grep -o '/[1-9].*' | tail -n 1 | sed s/.//) &&
git fetch origin $SYMFONY_VERSION &&
git checkout -m FETCH_HEAD &&
COMPONENTS=$(find src/Symfony -mindepth 3 -type f -name phpunit.xml.dist -printf '%h\n')
COMPONENTS=$(find src/Symfony -mindepth 2 -type f -name phpunit.xml.dist -printf '%h\n')
elif [[ ! $skip ]]; then
SYMFONY_VERSION=$(cat composer.json | grep '^ *"dev-master". *"[1-9]' | grep -o '[0-9.]*')
fi
Expand Down
118 changes: 118 additions & 0 deletions UPGRADE-4.2.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,118 @@
UPGRADE FROM 4.1 to 4.2
=======================

Cache
-----

* Deprecated `CacheItem::getPreviousTags()`, use `CacheItem::getMetadata()` instead.

Config
------

* Deprecated constructing a `TreeBuilder` without passing root node information.

Console
-------

* Deprecated passing a command as a string to `ProcessHelper::run()`,
pass the command as an array of arguments instead.

Before:
```php
$processHelper->run($output, 'ls -l');
```

After:
```php
$processHelper->run($output, array('ls', '-l'));

// alternatively, when a shell wrapper is required
$processHelper->run($output, Process::fromShellCommandline('ls -l'));
```

DoctrineBridge
--------------

* The `lazy` attribute on `doctrine.event_listener` tags was removed.
Listeners are now lazy by default. So any `lazy` attributes can safely be removed from those tags.

Form
----

* Deprecated calling `FormRenderer::searchAndRenderBlock` for fields which were already rendered.
Instead of expecting such calls to return empty strings, check if the field has already been rendered.

Before:
```twig
{% for field in fieldsWithPotentialDuplicates %}
{{ form_widget(field) }}
{% endfor %}
```

After:
```twig
{% for field in fieldsWithPotentialDuplicates if not field.rendered %}
{{ form_widget(field) }}
{% endfor %}
```

Process
-------

* Deprecated the `Process::setCommandline()` and the `PhpProcess::setPhpBinary()` methods.
* Deprecated passing commands as strings when creating a `Process` instance.

Before:
```php
$process = new Process('ls -l');
```

After:
```php
$process = new Process(array('ls', '-l'));

// alternatively, when a shell wrapper is required
$process = Process::fromShellCommandline('ls -l');
```

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

* The `framework.router.utf8` configuration option has been added. If your app's charset
is UTF-8 (see kernel's `getCharset()` method), it is recommended to set it to `true`:
this will generate 404s for non-UTF-8 URLs, which are incompatible with you app anyway,
and will allow dumping optimized routers and using Unicode classes in requirements.

Messenger
---------

* The `handle` method of the `Symfony\Component\Messenger\Middleware\ValidationMiddleware` and `Symfony\Component\Messenger\Asynchronous\Middleware\SendMessageMiddleware` middlewares now requires an `Envelope` object to be given (because they implement the `EnvelopeAwareInterface`). When using these middleware with the provided `MessageBus`, you will not have to do anything. If you use the middlewares any other way, you can use `Envelope::wrap($message)` to create an envelope for your message.

Security
--------

* Using the `has_role()` function in security expressions is deprecated, use the `is_granted()` function instead.
* Not returning an array of 3 elements from `FirewallMapInterface::getListeners()` is deprecated, the 3rd element
must be an instance of `LogoutListener` or `null`.
* Passing custom class names to the
`Symfony\Component\Security\Core\Authentication\AuthenticationTrustResolver` to define
custom anonymous and remember me token classes is deprecated. To
use custom tokens, extend the existing `Symfony\Component\Security\Core\Authentication\Token\AnonymousToken`
or `Symfony\Component\Security\Core\Authentication\Token\RememberMeToken`.
* Accessing the user object that is not an instance of `UserInterface` from `Security::getUser()` is deprecated.

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

* Passing a `FirewallConfig` instance as 3rd argument to the `FirewallContext` constructor is deprecated,
pass a `LogoutListener` instance instead.
* Using the `security.authentication.trust_resolver.anonymous_class` and
`security.authentication.trust_resolver.rememberme_class` parameters to define
the token classes is deprecated. To use
custom tokens extend the existing AnonymousToken and RememberMeToken.

Serializer
----------

* Relying on the default value (false) of the "as_collection" option is deprecated since 4.2.
You should set it to false explicitly instead as true will be the default value in 5.0.
53 changes: 53 additions & 0 deletions UPGRADE-5.0.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,15 @@
UPGRADE FROM 4.x to 5.0
=======================

Cache
-----

* Removed `CacheItem::getPreviousTags()`, use `CacheItem::getMetadata()` instead.

Config
------

* Dropped support for constructing a `TreeBuilder` without passing root node information.
* Added the `getChildNodeDefinitions()` method to `ParentNodeDefinitionInterface`.
* The `Processor` class has been made final

Expand All @@ -15,13 +21,33 @@ Console
* Removed the `getHorizontalBorderChar()` method in favor of the `getBorderChars()` method in `TableStyle`.
* Removed the `setVerticalBorderChar()` method in favor of the `setVerticalBorderChars()` method in `TableStyle`.
* Removed the `getVerticalBorderChar()` method in favor of the `getBorderChars()` method in `TableStyle`.
* The `ProcessHelper::run()` method takes the command as an array of arguments.

Before:
```php
$processHelper->run($output, 'ls -l');
```

After:
```php
$processHelper->run($output, array('ls', '-l'));

// alternatively, when a shell wrapper is required
$processHelper->run($output, Process::fromShellCommandline('ls -l'));
```

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

* Removed the `TypedReference::canBeAutoregistered()` and `TypedReference::getRequiringClass()` methods.
* Removed support for auto-discovered extension configuration class which does not implement `ConfigurationInterface`.

DoctrineBridge
--------------

* Deprecated injecting `ClassMetadataFactory` in `DoctrineExtractor`, an instance of `EntityManagerInterface` should be
injected instead

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

Expand Down Expand Up @@ -72,19 +98,46 @@ HttpFoundation
* The `getClientSize()` method of the `UploadedFile` class has been removed.
* The `getSession()` method of the `Request` class throws an exception when session is null.

Process
-------

* Removed the `Process::setCommandline()` and the `PhpProcess::setPhpBinary()` methods.
* Commands must be defined as arrays when creating a `Process` instance.

Before:
```php
$process = new Process('ls -l');
```

After:
```php
$process = new Process(array('ls', '-l'));

// alternatively, when a shell wrapper is required
$process = Process::fromShellCommandline('ls -l');
```

Security
--------

* The `ContextListener::setLogoutOnUserChange()` method has been removed.
* The `Symfony\Component\Security\Core\User\AdvancedUserInterface` has been removed.
* The `ExpressionVoter::addExpressionLanguageProvider()` method has been removed.
* The `FirewallMapInterface::getListeners()` method must return an array of 3 elements,
the 3rd one must be either a `LogoutListener` instance or `null`.
* The `AuthenticationTrustResolver` constructor arguments have been removed.
* A user object that is not an instance of `UserInterface` cannot be accessed from `Security::getUser()` anymore and returns `null` instead.

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

* The `logout_on_user_change` firewall option has been removed.
* The `switch_user.stateless` firewall option has been removed.
* The `SecurityUserValueResolver` class has been removed.
* Passing a `FirewallConfig` instance as 3rd argument to the `FirewallContext` constructor
now throws a `\TypeError`, pass a `LogoutListener` instance instead.
* The `security.authentication.trust_resolver.anonymous_class` parameter has been removed.
* The `security.authentication.trust_resolver.rememberme_class` parameter has been removed.

Translation
-----------
Expand Down
11 changes: 8 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,9 @@
"require": {
"php": "^7.1.3",
"ext-xml": "*",
"doctrine/common": "~2.4",
"doctrine/collections": "~1.0",
"doctrine/event-manager": "~1.0",
"doctrine/persistence": "~1.0",
"fig/link-util": "^1.0",
"twig/twig": "^1.35|^2.4.4",
"psr/cache": "~1.0",
Expand All @@ -37,6 +39,7 @@
"symfony/cache": "self.version",
"symfony/config": "self.version",
"symfony/console": "self.version",
"symfony/contracts": "1.0.0",
"symfony/css-selector": "self.version",
"symfony/dependency-injection": "self.version",
"symfony/debug": "self.version",
Expand Down Expand Up @@ -91,6 +94,7 @@
"doctrine/data-fixtures": "1.0.*",
"doctrine/dbal": "~2.4",
"doctrine/orm": "~2.4,>=2.4.5",
"doctrine/reflection": "~1.0",
"doctrine/doctrine-bundle": "~1.4",
"monolog/monolog": "~1.11",
"ocramius/proxy-manager": "~0.4|~1.0|~2.0",
Expand Down Expand Up @@ -118,7 +122,8 @@
"Symfony\\Bridge\\ProxyManager\\": "src/Symfony/Bridge/ProxyManager/",
"Symfony\\Bridge\\Twig\\": "src/Symfony/Bridge/Twig/",
"Symfony\\Bundle\\": "src/Symfony/Bundle/",
"Symfony\\Component\\": "src/Symfony/Component/"
"Symfony\\Component\\": "src/Symfony/Component/",
"Symfony\\Contracts\\": "src/Symfony/Contracts/"
},
"classmap": [
"src/Symfony/Component/Intl/Resources/stubs"
Expand All @@ -133,7 +138,7 @@
"minimum-stability": "dev",
"extra": {
"branch-alias": {
"dev-master": "4.1-dev"
"dev-master": "4.2-dev"
}
}
}
Loading