@@ -230,7 +230,7 @@ To get the diff between two versions, go to https://github.com/symfony/symfony/c
230
230
* added ResponseHeaderBag::makeDisposition() (implements RFC 6266)
231
231
* made mimetype to extension conversion configurable
232
232
* [BC BREAK] Moved all session related classes and interfaces into own namespace, as
233
- ` Symfony\C omponent\H ttpFoudation\S ession` .
233
+ ` Symfony\C omponent\H ttpFoudation\S ession` and renamed classes accordingly .
234
234
* Flashes are now stored as a bucket of messages per `$type` so there can be multiple messages per type.
235
235
There are four interface constants for type, `FlashBagInterface::INFO`, `FlashBagInterface::NOTICE`,
236
236
` FlashBagInterface::WARNING` and `FlashBagInterface::ERROR`.
@@ -242,19 +242,23 @@ To get the diff between two versions, go to https://github.com/symfony/symfony/c
242
242
` getFlash()` , `hasFlash()`, andd `removeFlash()`. `getFlashes() returns a `FlashBagInterface`.
243
243
* `Session->clear()` now only clears session attributes as before it cleared flash messages and
244
244
attributes. `Session->getFlashes()->popAll()` clears flashes now.
245
- * Added `AbstractSessionStorage` base class for session storage drivers.
246
- * Added `SessionSaveHandler` interface which storage drivers should implement after inheriting from
247
- ` AbstractSessionStorage` when writing custom session save handlers.
248
- * [BC BREAK] `SessionStorageInterface` methods removed: `write()`, `read()` and `remove()`. Added
249
- ` getAttributes()` , `getFlashes()`.
250
- * Moved attribute storage to `AttributeBagInterface`.
251
- * Added `AttributeBag` to replicate attributes storage behaviour from 2.0.x (default).
252
- * Added `NamespacedAttributeBag` for namespace session attributes.
253
- * Session now implements `SessionInterface` making implementation customizable and portable.
254
- * [BC BREAK] Removed `NativeSessionStorage` and replaced with `NativeFileSessionStorage`.
245
+ * Added `Symfony\Component\HttpFoundation\Session\Storage\AbstractStorage` base class for
246
+ session storage drivers.
247
+ * Added `Symfony\Component\HttpFoundation\Session\Storage\SaveHandlerInterface` interface
248
+ which storage drivers should implement after inheriting from
249
+ ` Symfony\C omponent\H ttpFoundation\S ession\S torage\A bstractStorage` when writing custom session save handlers.
250
+ * [BC BREAK] `StorageInterface` methods removed: `write()`, `read()` and `remove()`. Added
251
+ ` getBag()` , `registerBag()`.
252
+ * Moved attribute storage to `Symfony\Component\HttpFoundation\Attribute\AttributeBagInterface`.
253
+ * Added `Symfony\Component\HttpFoundation\Attribute\AttributeBag` to replicate attributes storage
254
+ behaviour from 2.0.x (default).
255
+ * Added `Symfony\Component\HttpFoundation\Attribute\NamespacedAttributeBag` for namespace session attributes.
256
+ * Session now implements `Symfony\Component\HttpFoundation\Session\SessionInterface` making
257
+ implementation customizable and portable.
258
+ * [BC BREAK] Removed `NativeStorage` and replaced with `NativeFileStorage`.
255
259
* Added session storage drivers for PHP native Memcache, Memcached and SQLite session save handlers.
256
260
* Added session storage drivers for custom Memcache, Memcached and Null session save handlers.
257
- * Removed `FilesystemSessionStorage `, use `MockFileSessionStorage ` for functional testing instead.
261
+ * Removed `FilesystemStorage `, use `MockFileStorage ` for functional testing instead.
258
262
259
263
# ## HttpKernel
260
264
0 commit comments