Skip to content

Commit

Permalink
prepared 0.3.5
Browse files Browse the repository at this point in the history
  • Loading branch information
koertho committed Mar 14, 2023
1 parent 35d233a commit 283f8fa
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
5 changes: 4 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,15 @@

All notable changes to this project will be documented in this file.

## [0.3.4] - 2023-03-14
## [0.3.5] - 2023-03-14
- Added: EncoreContracts support
- Changed: raised contao and php dependency
- Deprecated: event name (use FQCN instead)
- Fixed: symfony 5 compatibility

## [0.3.4] - 2023-02-07
- Changed: allow php 8

## [0.3.3] - 2022-05-09

- Fixed: duplicated result item id
Expand Down
2 changes: 1 addition & 1 deletion src/Event/CustomizeAutocompletejsOptionsEvent.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
class CustomizeAutocompletejsOptionsEvent extends Event
{
/**
* @deprecated Use class FQCN as event name instead
* @deprecated Since 0.3.5. Use class FQCN as event name instead
*/
public const NAME = 'huh.autocompletejs.customize_autocompletejs_options';

Expand Down
2 changes: 1 addition & 1 deletion src/Util/AutocompleteUtil.php
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ public function getAutocompleteConfig(array $attributes = [], $dc = null): array
*/
if ($this->eventDispatcher->hasListeners(CustomizeAutocompletejsOptionsEvent::NAME)) {
$this->eventDispatcher->dispatch($event, CustomizeAutocompletejsOptionsEvent::NAME);
trigger_deprecation('heimrichhannot/contao-autocompletejs-bundle', '0.3.4', 'Use FQCN as event name instead.');
trigger_deprecation('heimrichhannot/contao-autocompletejs-bundle', '0.3.5', 'Use FQCN as event name instead.');
}

$this->eventDispatcher->dispatch($event);
Expand Down

0 comments on commit 283f8fa

Please sign in to comment.