Skip to content

Commit

Permalink
Merge branch '5.0'
Browse files Browse the repository at this point in the history
* 5.0: (24 commits)
  Removing unused variable
  Fixed #35084
  Add missing use statement
  [HttpClient] fix scheduling pending NativeResponse
  do not overwrite variable value
  [Profiler] wording
  Use spaces correctly to display options in DebugCommand
  Add supported schemes doc blocks type
  X-Accel Nginx URL updated
  ticket-30197 [Validator] Add the missing translations for the Chinese (Taiwan) ("zh_TW") locale
  Fixed test added in #35022
  Use locale_parse for computing fallback locales
  [Console] Fix filtering out identical alternatives when there is a command loader
  [String][UnicodeString] Remove unneeded flag in chunk regex pattern
  add note about HTTP status code change
  Migrate server:log command away from WebServerBundle
  [DependencyInjection][CheckTypeDeclarationsPass] Handle \Closure for callable
  [Security] Fix missing defaults for auto-migrating encoders
  bumped Symfony version to 5.0.3
  updated VERSION for 5.0.2
  ...
  • Loading branch information
nicolas-grekas committed Dec 28, 2019
2 parents 9f74fb0 + db32ef0 commit 392d0b0
Show file tree
Hide file tree
Showing 33 changed files with 579 additions and 69 deletions.
75 changes: 75 additions & 0 deletions CHANGELOG-4.4.md
Expand Up @@ -7,6 +7,81 @@ in 4.4 minor versions.
To get the diff for a specific change, go to https://github.com/symfony/symfony/commit/XXX where XXX is the change hash
To get the diff between two versions, go to https://github.com/symfony/symfony/compare/v4.4.0...v4.4.1

* 4.4.2 (2019-12-19)

* bug #35051 [DependencyInjection] Fix binding tagged services to containers (nicolas-grekas)
* bug #35039 [DI] skip looking for config class when the extension class is anonymous (nicolas-grekas)
* bug #35049 [ProxyManager] fix generating proxies for root-namespaced classes (nicolas-grekas)
* bug #35022 [Dotenv] FIX missing getenv (mccullagh)
* bug #35023 [HttpKernel] ignore failures generated by opcache.restrict_api (nicolas-grekas)
* bug #35024 [HttpFoundation] fix pdo session handler for sqlsrv (azjezz)
* bug #35025 [HttpClient][Psr18Client] Remove Psr18ExceptionTrait (fancyweb)
* bug #35015 [Config] fix perf of glob discovery when GLOB_BRACE is not available (nicolas-grekas)
* bug #35014 [HttpClient] make pushed responses retry-able (nicolas-grekas)
* bug #35010 [VarDumper] ignore failing __debugInfo() (nicolas-grekas)
* bug #34998 [DI] fix auto-binding service providers to their service subscribers (nicolas-grekas)
* bug #34954 [Mailer] Fixed undefined index when sending via Mandrill API (wulff)
* bug #33670 [DI] Service locators can't be decorated (malarzm)
* bug #35000 [Console][SymfonyQuestionHelper] Handle multibytes question choices keys and custom prompt (fancyweb)
* bug #35005 [HttpClient] force HTTP/1.1 when NTLM auth is used (nicolas-grekas)
* bug #34707 [Validation][FrameworkBundle] Allow EnableAutoMapping to work without auto-mapping namespaces (ogizanagi)
* bug #34996 Fix displaying anonymous classes on PHP 7.4 (nicolas-grekas)
* bug #29839 [Validator] fix comparisons with null values at property paths (xabbuh)
* bug #34900 [DoctrineBridge] Fixed submitting invalid ids when using queries with limit (HeahDude)
* bug #34791 [Serializer] Skip uninitialized (PHP 7.4) properties in PropertyNormalizer and ObjectNormalizer (vudaltsov)
* bug #34956 [Messenger][AMQP] Use delivery_mode=2 by default (lyrixx)
* bug #34915 [FrameworkBundle] Fix invalid Windows path normalization in TemplateNameParser (mvorisek)
* bug #34981 stop using deprecated Doctrine persistence classes (xabbuh)
* bug #34904 [Validator][ConstraintValidator] Safe fail on invalid timezones (fancyweb)
* bug #34935 [FrameworkBundle][DependencyInjection] Skip removed ids in the lint container command and its associated pass (fancyweb)
* bug #34957 [Security] Revert "AbstractAuthenticationListener.php error instead info" (larzuk91)
* bug #34922 [FrameworkBundle][Secrets] Hook configured local dotenv file (fancyweb)
* bug #34967 [HttpFoundation] fix redis multi host dsn not recognized (Jan Christoph Beyer)
* bug #34963 [Lock] fix constructor argument type declaration (xabbuh)
* bug #34955 Require doctrine/persistence ^1.3 (nicolas-grekas)
* bug #34923 [DI] Fix support for immutable setters in CallTrait (Lctrs)
* bug #34878 [TwigBundle] fix broken FilesystemLoader::exists() with Twig 3 (dpesch)
* bug #34921 [HttpFoundation] Removed "Content-Type" from the preferred format guessing mechanism (yceruto)
* bug #34886 [HttpKernel] fix triggering deprecation in file locator (xabbuh)
* bug #34918 [Translation] fix memoryleak in PhpFileLoader (nicolas-grekas)
* bug #34920 [Routing] fix memoryleak when loading compiled routes (nicolas-grekas)
* bug #34787 [Cache] Propagate expiry when syncing items in ChainAdapter (trvrnrth)
* bug #34694 [Validator] Fix auto-mapping constraints should not be validated (ogizanagi)
* bug #34848 [Process] change the syntax of portable command lines (nicolas-grekas)
* bug #34862 [FrameworkBundle][ContainerLintCommand] Reinitialize bundles when the container is reprepared (fancyweb)
* bug #34896 [Cache] fix memory leak when using PhpFilesAdapter (nicolas-grekas)
* bug #34438 [HttpFoundation] Use `Cache-Control: must-revalidate` only if explicit lifetime has been given (mpdude)
* bug #34449 [Yaml] Implement multiline string as scalar block for tagged values (natepage)
* bug #34601 [MonologBridge] Fix debug processor datetime type (mRoca)
* bug #34842 [ExpressionLanguage] Process division by zero (tigr1991)
* bug #34902 [PropertyAccess] forward caught exception (xabbuh)
* bug #34903 Fixing bad order of operations with null coalescing operator (weaverryan)
* bug #34888 [TwigBundle] add tags before processing them (xabbuh)
* bug #34760 [Mailer] Fix SMTP Authentication when using STARTTLS (DjLeChuck)
* bug #34762 [Config] never try loading failed classes twice with ClassExistenceResource (nicolas-grekas)
* bug #34783 [DependencyInjection] Handle env var placeholders in CheckTypeDeclarationsPass (fancyweb)
* bug #34839 [Cache] fix memory leak when using PhpArrayAdapter (nicolas-grekas)
* bug #34812 [Yaml] fix parsing negative octal numbers (xabbuh)
* bug #34854 [Messenger] gracefully handle missing event dispatchers (xabbuh)
* bug #34802 [Security] Check UserInterface::getPassword is not null before calling needsRehash (dbrekelmans)
* bug #34788 [SecurityBundle] Properly escape regex in AddSessionDomainConstraintPass (fancyweb)
* bug #34859 [SecurityBundle] Fix TokenStorage::reset not called in stateless firewall (jderusse)
* bug #34827 [HttpFoundation] get currently session.gc_maxlifetime if ttl doesnt exists (rafaeltovar)
* bug #34755 [FrameworkBundle] resolve service locators in `debug:*` commands (nicolas-grekas)
* bug #34832 [Validator] Allow underscore character "_" in URL username and password (romainneutron)
* bug #34811 [TwigBridge] Update bootstrap_4_layout.html.twig missing switch-custom label (sabruss)
* bug #34820 [FrameworkBundle][SodiumVault] Create secrets directory only when it is used (fancyweb)
* bug #34776 [DI] fix resolving bindings for named TypedReference (nicolas-grekas)
* bug #34794 [DependencyInjection] Resolve expressions in CheckTypeDeclarationsPass (fancyweb)
* bug #34797 [Translation] Fix FileDumper behavior (yceruto)
* bug #34738 [SecurityBundle] Passwords are not encoded when algorithm set to "true" (nieuwenhuisen)
* bug #34759 [SecurityBundle] Fix switch_user provider configuration handling (fancyweb)
* bug #34779 [Security] do not validate passwords when the hash is null (xabbuh)
* bug #34786 [SecurityBundle] Use config variable in AnonymousFactory (martijnboers)
* bug #34784 [FrameworkBundle] Set the parameter bag as resolved in ContainerLintCommand (fancyweb)
* bug #34763 [Security/Core] Fix checking for SHA256/SHA512 passwords (David Brooks)
* bug #34757 [DI] Fix making the container path-independent when the app is in /app (nicolas-grekas)

* 4.4.1 (2019-12-01)

* bug #34732 [DependencyInjection][Xml] Fix the attribute 'tag' is not allowed in 'bind' tag (tienvx)
Expand Down
80 changes: 80 additions & 0 deletions CHANGELOG-5.0.md
Expand Up @@ -7,6 +7,86 @@ in 5.0 minor versions.
To get the diff for a specific change, go to https://github.com/symfony/symfony/commit/XXX where XXX is the change hash
To get the diff between two versions, go to https://github.com/symfony/symfony/compare/v5.0.0...v5.0.1

* 5.0.2 (2019-12-19)

* bug #35051 [DependencyInjection] Fix binding tagged services to containers (nicolas-grekas)
* bug #35039 [DI] skip looking for config class when the extension class is anonymous (nicolas-grekas)
* bug #35049 [ProxyManager] fix generating proxies for root-namespaced classes (nicolas-grekas)
* bug #35022 [Dotenv] FIX missing getenv (mccullagh)
* bug #35023 [HttpKernel] ignore failures generated by opcache.restrict_api (nicolas-grekas)
* bug #35024 [HttpFoundation] fix pdo session handler for sqlsrv (azjezz)
* bug #35025 [HttpClient][Psr18Client] Remove Psr18ExceptionTrait (fancyweb)
* bug #35028 [TwigBridge] Fix invalid typehint for subject in is_granted Twig function (emodric)
* bug #35015 [Config] fix perf of glob discovery when GLOB_BRACE is not available (nicolas-grekas)
* bug #35014 [HttpClient] make pushed responses retry-able (nicolas-grekas)
* bug #35010 [VarDumper] ignore failing __debugInfo() (nicolas-grekas)
* bug #34998 [DI] fix auto-binding service providers to their service subscribers (nicolas-grekas)
* bug #34954 [Mailer] Fixed undefined index when sending via Mandrill API (wulff)
* bug #33670 [DI] Service locators can't be decorated (malarzm)
* bug #35000 [Console][SymfonyQuestionHelper] Handle multibytes question choices keys and custom prompt (fancyweb)
* bug #35005 [HttpClient] force HTTP/1.1 when NTLM auth is used (nicolas-grekas)
* bug #34707 [Validation][FrameworkBundle] Allow EnableAutoMapping to work without auto-mapping namespaces (ogizanagi)
* bug #34996 Fix displaying anonymous classes on PHP 7.4 (nicolas-grekas)
* bug #29839 [Validator] fix comparisons with null values at property paths (xabbuh)
* bug #34900 [DoctrineBridge] Fixed submitting invalid ids when using queries with limit (HeahDude)
* bug #34791 [Serializer] Skip uninitialized (PHP 7.4) properties in PropertyNormalizer and ObjectNormalizer (vudaltsov)
* bug #34956 [Messenger][AMQP] Use delivery_mode=2 by default (lyrixx)
* bug #34915 [FrameworkBundle] Fix invalid Windows path normalization in TemplateNameParser (mvorisek)
* bug #34981 stop using deprecated Doctrine persistence classes (xabbuh)
* bug #34904 [Validator][ConstraintValidator] Safe fail on invalid timezones (fancyweb)
* bug #34935 [FrameworkBundle][DependencyInjection] Skip removed ids in the lint container command and its associated pass (fancyweb)
* bug #34957 [Security] Revert "AbstractAuthenticationListener.php error instead info" (larzuk91)
* bug #34922 [FrameworkBundle][Secrets] Hook configured local dotenv file (fancyweb)
* bug #34967 [HttpFoundation] fix redis multi host dsn not recognized (Jan Christoph Beyer)
* bug #34963 [Lock] fix constructor argument type declaration (xabbuh)
* bug #34955 Require doctrine/persistence ^1.3 (nicolas-grekas)
* bug #34923 [DI] Fix support for immutable setters in CallTrait (Lctrs)
* bug #34878 [TwigBundle] fix broken FilesystemLoader::exists() with Twig 3 (dpesch)
* bug #34921 [HttpFoundation] Removed "Content-Type" from the preferred format guessing mechanism (yceruto)
* bug #34886 [HttpKernel] fix triggering deprecation in file locator (xabbuh)
* bug #34918 [Translation] fix memoryleak in PhpFileLoader (nicolas-grekas)
* bug #34920 [Routing] fix memoryleak when loading compiled routes (nicolas-grekas)
* bug #34787 [Cache] Propagate expiry when syncing items in ChainAdapter (trvrnrth)
* bug #34694 [Validator] Fix auto-mapping constraints should not be validated (ogizanagi)
* bug #34848 [Process] change the syntax of portable command lines (nicolas-grekas)
* bug #34862 [FrameworkBundle][ContainerLintCommand] Reinitialize bundles when the container is reprepared (fancyweb)
* bug #34896 [Cache] fix memory leak when using PhpFilesAdapter (nicolas-grekas)
* bug #34438 [HttpFoundation] Use `Cache-Control: must-revalidate` only if explicit lifetime has been given (mpdude)
* bug #34449 [Yaml] Implement multiline string as scalar block for tagged values (natepage)
* bug #34601 [MonologBridge] Fix debug processor datetime type (mRoca)
* bug #34842 [ExpressionLanguage] Process division by zero (tigr1991)
* bug #34902 [PropertyAccess] forward caught exception (xabbuh)
* bug #34903 Fixing bad order of operations with null coalescing operator (weaverryan)
* bug #34888 [TwigBundle] add tags before processing them (xabbuh)
* bug #34760 [Mailer] Fix SMTP Authentication when using STARTTLS (DjLeChuck)
* bug #34762 [Config] never try loading failed classes twice with ClassExistenceResource (nicolas-grekas)
* bug #34783 [DependencyInjection] Handle env var placeholders in CheckTypeDeclarationsPass (fancyweb)
* bug #34839 [Cache] fix memory leak when using PhpArrayAdapter (nicolas-grekas)
* bug #34801 [String] implement __sleep()/__wakeup() on strings (nicolas-grekas)
* bug #34782 [String] inline Latin-ASCII rules (nicolas-grekas)
* bug #34812 [Yaml] fix parsing negative octal numbers (xabbuh)
* bug #34854 [Messenger] gracefully handle missing event dispatchers (xabbuh)
* bug #34802 [Security] Check UserInterface::getPassword is not null before calling needsRehash (dbrekelmans)
* bug #34788 [SecurityBundle] Properly escape regex in AddSessionDomainConstraintPass (fancyweb)
* bug #34859 [SecurityBundle] Fix TokenStorage::reset not called in stateless firewall (jderusse)
* bug #34827 [HttpFoundation] get currently session.gc_maxlifetime if ttl doesnt exists (rafaeltovar)
* bug #34755 [FrameworkBundle] resolve service locators in `debug:*` commands (nicolas-grekas)
* bug #34832 [Validator] Allow underscore character "_" in URL username and password (romainneutron)
* bug #34765 [DoctrineBridge] Removed QueryBuilder type hint in getLoader() (HeahDude)
* bug #34811 [TwigBridge] Update bootstrap_4_layout.html.twig missing switch-custom label (sabruss)
* bug #34820 [FrameworkBundle][SodiumVault] Create secrets directory only when it is used (fancyweb)
* bug #34776 [DI] fix resolving bindings for named TypedReference (nicolas-grekas)
* bug #34794 [DependencyInjection] Resolve expressions in CheckTypeDeclarationsPass (fancyweb)
* bug #34795 [Routing][ObjectLoader] Remove forgotten deprecation after merge (fancyweb)
* bug #34797 [Translation] Fix FileDumper behavior (yceruto)
* bug #34738 [SecurityBundle] Passwords are not encoded when algorithm set to "true" (nieuwenhuisen)
* bug #34759 [SecurityBundle] Fix switch_user provider configuration handling (fancyweb)
* bug #34779 [Security] do not validate passwords when the hash is null (xabbuh)
* bug #34786 [SecurityBundle] Use config variable in AnonymousFactory (martijnboers)
* bug #34784 [FrameworkBundle] Set the parameter bag as resolved in ContainerLintCommand (fancyweb)
* bug #34763 [Security/Core] Fix checking for SHA256/SHA512 passwords (David Brooks)
* bug #34757 [DI] Fix making the container path-independent when the app is in /app (nicolas-grekas)

* 5.0.1 (2019-12-01)

* bug #34732 [DependencyInjection][Xml] Fix the attribute 'tag' is not allowed in 'bind' tag (tienvx)
Expand Down
4 changes: 2 additions & 2 deletions UPGRADE-4.4.md
Expand Up @@ -306,7 +306,7 @@ TwigBundle
The new default exception controller will also change the error response content according to
https://tools.ietf.org/html/rfc7807 for `json`, `xml`, `atom` and `txt` formats:

Before:
Before (HTTP status code `200`):
```json
{
"error": {
Expand All @@ -316,7 +316,7 @@ TwigBundle
}
```

After:
After (HTTP status code `404`):
```json
{
"title": "Not Found",
Expand Down
1 change: 1 addition & 0 deletions src/Symfony/Bridge/Monolog/CHANGELOG.md
Expand Up @@ -12,6 +12,7 @@ CHANGELOG

* The `RouteProcessor` class has been made final
* Added `ElasticsearchLogstashHandler`
* Added the `ServerLogCommand`. Backport from the deprecated WebServerBundle

4.3.0
-----
Expand Down

0 comments on commit 392d0b0

Please sign in to comment.