PageRenderTime 53ms CodeModel.GetById 20ms RepoModel.GetById 0ms app.codeStats 0ms

/modules/servers/zimbraEmail/vendor/symfony/http-foundation/CHANGELOG.md

https://bitbucket.org/tecsecret/central-tecsecret
Markdown | 165 lines | 141 code | 24 blank | 0 comment | 0 complexity | 87b964795bd2966896fa4db705316e88 MD5 | raw file
Possible License(s): Apache-2.0, BSD-3-Clause, MIT, LGPL-2.1, BSD-2-Clause
  1. CHANGELOG
  2. =========
  3. 3.4.14
  4. ------
  5. * [BC BREAK] Support for the IIS-only `X_ORIGINAL_URL` and `X_REWRITE_URL`
  6. HTTP headers has been dropped for security reasons.
  7. 3.4.0
  8. -----
  9. * implemented PHP 7.0's `SessionUpdateTimestampHandlerInterface` with a new
  10. `AbstractSessionHandler` base class and a new `StrictSessionHandler` wrapper
  11. * deprecated the `WriteCheckSessionHandler`, `NativeSessionHandler` and `NativeProxy` classes
  12. * deprecated setting session save handlers that do not implement `\SessionHandlerInterface` in `NativeSessionStorage::setSaveHandler()`
  13. * deprecated using `MongoDbSessionHandler` with the legacy mongo extension; use it with the mongodb/mongodb package and ext-mongodb instead
  14. * deprecated `MemcacheSessionHandler`; use `MemcachedSessionHandler` instead
  15. 3.3.0
  16. -----
  17. * the `Request::setTrustedProxies()` method takes a new `$trustedHeaderSet` argument,
  18. see http://symfony.com/doc/current/components/http_foundation/trusting_proxies.html for more info,
  19. * deprecated the `Request::setTrustedHeaderName()` and `Request::getTrustedHeaderName()` methods,
  20. * added `File\Stream`, to be passed to `BinaryFileResponse` when the size of the served file is unknown,
  21. disabling `Range` and `Content-Length` handling, switching to chunked encoding instead
  22. * added the `Cookie::fromString()` method that allows to create a cookie from a
  23. raw header string
  24. 3.1.0
  25. -----
  26. * Added support for creating `JsonResponse` with a string of JSON data
  27. 3.0.0
  28. -----
  29. * The precedence of parameters returned from `Request::get()` changed from "GET, PATH, BODY" to "PATH, GET, BODY"
  30. 2.8.0
  31. -----
  32. * Finding deep items in `ParameterBag::get()` is deprecated since version 2.8 and
  33. will be removed in 3.0.
  34. 2.6.0
  35. -----
  36. * PdoSessionHandler changes
  37. - implemented different session locking strategies to prevent loss of data by concurrent access to the same session
  38. - [BC BREAK] save session data in a binary column without base64_encode
  39. - [BC BREAK] added lifetime column to the session table which allows to have different lifetimes for each session
  40. - implemented lazy connections that are only opened when a session is used by either passing a dsn string
  41. explicitly or falling back to session.save_path ini setting
  42. - added a createTable method that initializes a correctly defined table depending on the database vendor
  43. 2.5.0
  44. -----
  45. * added `JsonResponse::setEncodingOptions()` & `JsonResponse::getEncodingOptions()` for easier manipulation
  46. of the options used while encoding data to JSON format.
  47. 2.4.0
  48. -----
  49. * added RequestStack
  50. * added Request::getEncodings()
  51. * added accessors methods to session handlers
  52. 2.3.0
  53. -----
  54. * added support for ranges of IPs in trusted proxies
  55. * `UploadedFile::isValid` now returns false if the file was not uploaded via HTTP (in a non-test mode)
  56. * Improved error-handling of `\Symfony\Component\HttpFoundation\Session\Storage\Handler\PdoSessionHandler`
  57. to ensure the supplied PDO handler throws Exceptions on error (as the class expects). Added related test cases
  58. to verify that Exceptions are properly thrown when the PDO queries fail.
  59. 2.2.0
  60. -----
  61. * fixed the Request::create() precedence (URI information always take precedence now)
  62. * added Request::getTrustedProxies()
  63. * deprecated Request::isProxyTrusted()
  64. * [BC BREAK] JsonResponse does not turn a top level empty array to an object anymore, use an ArrayObject to enforce objects
  65. * added a IpUtils class to check if an IP belongs to a CIDR
  66. * added Request::getRealMethod() to get the "real" HTTP method (getMethod() returns the "intended" HTTP method)
  67. * disabled _method request parameter support by default (call Request::enableHttpMethodParameterOverride() to
  68. enable it, and Request::getHttpMethodParameterOverride() to check if it is supported)
  69. * Request::splitHttpAcceptHeader() method is deprecated and will be removed in 2.3
  70. * Deprecated Flashbag::count() and \Countable interface, will be removed in 2.3
  71. 2.1.0
  72. -----
  73. * added Request::getSchemeAndHttpHost() and Request::getUserInfo()
  74. * added a fluent interface to the Response class
  75. * added Request::isProxyTrusted()
  76. * added JsonResponse
  77. * added a getTargetUrl method to RedirectResponse
  78. * added support for streamed responses
  79. * made Response::prepare() method the place to enforce HTTP specification
  80. * [BC BREAK] moved management of the locale from the Session class to the Request class
  81. * added a generic access to the PHP built-in filter mechanism: ParameterBag::filter()
  82. * made FileBinaryMimeTypeGuesser command configurable
  83. * added Request::getUser() and Request::getPassword()
  84. * added support for the PATCH method in Request
  85. * removed the ContentTypeMimeTypeGuesser class as it is deprecated and never used on PHP 5.3
  86. * added ResponseHeaderBag::makeDisposition() (implements RFC 6266)
  87. * made mimetype to extension conversion configurable
  88. * [BC BREAK] Moved all session related classes and interfaces into own namespace, as
  89. `Symfony\Component\HttpFoundation\Session` and renamed classes accordingly.
  90. Session handlers are located in the subnamespace `Symfony\Component\HttpFoundation\Session\Handler`.
  91. * SessionHandlers must implement `\SessionHandlerInterface` or extend from the
  92. `Symfony\Component\HttpFoundation\Storage\Handler\NativeSessionHandler` base class.
  93. * Added internal storage driver proxy mechanism for forward compatibility with
  94. PHP 5.4 `\SessionHandler` class.
  95. * Added session handlers for custom Memcache, Memcached and Null session save handlers.
  96. * [BC BREAK] Removed `NativeSessionStorage` and replaced with `NativeFileSessionHandler`.
  97. * [BC BREAK] `SessionStorageInterface` methods removed: `write()`, `read()` and
  98. `remove()`. Added `getBag()`, `registerBag()`. The `NativeSessionStorage` class
  99. is a mediator for the session storage internals including the session handlers
  100. which do the real work of participating in the internal PHP session workflow.
  101. * [BC BREAK] Introduced mock implementations of `SessionStorage` to enable unit
  102. and functional testing without starting real PHP sessions. Removed
  103. `ArraySessionStorage`, and replaced with `MockArraySessionStorage` for unit
  104. tests; removed `FilesystemSessionStorage`, and replaced with`MockFileSessionStorage`
  105. for functional tests. These do not interact with global session ini
  106. configuration values, session functions or `$_SESSION` superglobal. This means
  107. they can be configured directly allowing multiple instances to work without
  108. conflicting in the same PHP process.
  109. * [BC BREAK] Removed the `close()` method from the `Session` class, as this is
  110. now redundant.
  111. * Deprecated the following methods from the Session class: `setFlash()`, `setFlashes()`
  112. `getFlash()`, `hasFlash()`, and `removeFlash()`. Use `getFlashBag()` instead
  113. which returns a `FlashBagInterface`.
  114. * `Session->clear()` now only clears session attributes as before it cleared
  115. flash messages and attributes. `Session->getFlashBag()->all()` clears flashes now.
  116. * Session data is now managed by `SessionBagInterface` to better encapsulate
  117. session data.
  118. * Refactored session attribute and flash messages system to their own
  119. `SessionBagInterface` implementations.
  120. * Added `FlashBag`. Flashes expire when retrieved by `get()` or `all()`. This
  121. implementation is ESI compatible.
  122. * Added `AutoExpireFlashBag` (default) to replicate Symfony 2.0.x auto expire
  123. behaviour of messages auto expiring after one page page load. Messages must
  124. be retrieved by `get()` or `all()`.
  125. * Added `Symfony\Component\HttpFoundation\Attribute\AttributeBag` to replicate
  126. attributes storage behaviour from 2.0.x (default).
  127. * Added `Symfony\Component\HttpFoundation\Attribute\NamespacedAttributeBag` for
  128. namespace session attributes.
  129. * Flash API can stores messages in an array so there may be multiple messages
  130. per flash type. The old `Session` class API remains without BC break as it
  131. will allow single messages as before.
  132. * Added basic session meta-data to the session to record session create time,
  133. last updated time, and the lifetime of the session cookie that was provided
  134. to the client.
  135. * Request::getClientIp() method doesn't take a parameter anymore but bases
  136. itself on the trustProxy parameter.
  137. * Added isMethod() to Request object.
  138. * [BC BREAK] The methods `getPathInfo()`, `getBaseUrl()` and `getBasePath()` of
  139. a `Request` now all return a raw value (vs a urldecoded value before). Any call
  140. to one of these methods must be checked and wrapped in a `rawurldecode()` if
  141. needed.