Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,26 @@ Changelog

See also the [GitHub releases page](https://github.com/FriendsOfSymfony/FOSHttpCache/releases).

unreleased
----------

### Symfony Compatibility

* Removed the internal BaseEvent class and extend our events from the Symfony contracts class directly.

2.13.0
------

* Allow installation with Symfony 6 components
* Drop support for Symfony 3, minimal version is now 4.3

2.12.1
------

### Symfony Compatibility

* Do not extend the wrong Event class when installed with legacy Symfony but the Symfony contracts happen to be installed

2.12.0
------

Expand Down
29 changes: 0 additions & 29 deletions src/BaseEvent.php

This file was deleted.

2 changes: 2 additions & 0 deletions src/Event.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@

namespace FOS\HttpCache;

use Symfony\Contracts\EventDispatcher\Event as BaseEvent;

class Event extends BaseEvent
{
private $exception;
Expand Down
2 changes: 1 addition & 1 deletion src/SymfonyCache/CacheEvent.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

namespace FOS\HttpCache\SymfonyCache;

use FOS\HttpCache\BaseEvent;
use Symfony\Contracts\EventDispatcher\Event as BaseEvent;
use Symfony\Component\HttpFoundation\Request;
use Symfony\Component\HttpFoundation\Response;
use Symfony\Component\HttpKernel\HttpKernelInterface;
Expand Down