PageRenderTime 46ms CodeModel.GetById 16ms RepoModel.GetById 0ms app.codeStats 0ms

/vendor/symfony/http-foundation/CHANGELOG.md

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