File tree Expand file tree Collapse file tree 4 files changed +17
-30
lines changed Expand file tree Collapse file tree 4 files changed +17
-30
lines changed Original file line number Diff line number Diff line change @@ -3,12 +3,26 @@ Changelog
33
44See also the [ GitHub releases page] ( https://github.com/FriendsOfSymfony/FOSHttpCache/releases ) .
55
6+ unreleased
7+ ----------
8+
9+ ### Symfony Compatibility
10+
11+ * Removed the internal BaseEvent class and extend our events from the Symfony contracts class directly.
12+
6132.13.0
714------
815
916* Allow installation with Symfony 6 components
1017* Drop support for Symfony 3, minimal version is now 4.3
1118
19+ 2.12.1
20+ ------
21+
22+ ### Symfony Compatibility
23+
24+ * Do not extend the wrong Event class when installed with legacy Symfony but the Symfony contracts happen to be installed
25+
12262.12.0
1327------
1428
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1111
1212namespace FOS \HttpCache ;
1313
14+ use Symfony \Contracts \EventDispatcher \Event as BaseEvent ;
15+
1416class Event extends BaseEvent
1517{
1618 private $ exception ;
Original file line number Diff line number Diff line change 1111
1212namespace FOS \HttpCache \SymfonyCache ;
1313
14- use FOS \ HttpCache \ BaseEvent ;
14+ use Symfony \ Contracts \ EventDispatcher \ Event as BaseEvent ;
1515use Symfony \Component \HttpFoundation \Request ;
1616use Symfony \Component \HttpFoundation \Response ;
1717use Symfony \Component \HttpKernel \HttpKernelInterface ;
You can’t perform that action at this time.
0 commit comments