From 06b248a50e2ff4a2d4d3f44cdf57e15a03f09208 Mon Sep 17 00:00:00 2001 From: Hugo Alliaume Date: Mon, 9 Sep 2024 13:10:21 +0200 Subject: [PATCH] [Map] Adjust changelogs and fix `render_map` deprecated version --- src/Map/CHANGELOG.md | 2 +- src/Map/src/Bridge/Google/CHANGELOG.md | 2 +- src/Map/src/Bridge/Leaflet/CHANGELOG.md | 2 +- src/Map/src/Twig/MapExtension.php | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Map/CHANGELOG.md b/src/Map/CHANGELOG.md index ab2bdd9e3b2..33431733d59 100644 --- a/src/Map/CHANGELOG.md +++ b/src/Map/CHANGELOG.md @@ -1,6 +1,6 @@ # CHANGELOG -## Unreleased +## 2.20 - Rename `render_map` Twig function `ux_map` - Deprecate `render_map` Twig function diff --git a/src/Map/src/Bridge/Google/CHANGELOG.md b/src/Map/src/Bridge/Google/CHANGELOG.md index 2b5de26f0c4..1d4c12f8f6a 100644 --- a/src/Map/src/Bridge/Google/CHANGELOG.md +++ b/src/Map/src/Bridge/Google/CHANGELOG.md @@ -1,5 +1,5 @@ # CHANGELOG -## Unreleased +## 2.19 - Bridge added diff --git a/src/Map/src/Bridge/Leaflet/CHANGELOG.md b/src/Map/src/Bridge/Leaflet/CHANGELOG.md index 2b5de26f0c4..1d4c12f8f6a 100644 --- a/src/Map/src/Bridge/Leaflet/CHANGELOG.md +++ b/src/Map/src/Bridge/Leaflet/CHANGELOG.md @@ -1,5 +1,5 @@ # CHANGELOG -## Unreleased +## 2.19 - Bridge added diff --git a/src/Map/src/Twig/MapExtension.php b/src/Map/src/Twig/MapExtension.php index 86788e32e04..04afecf3975 100644 --- a/src/Map/src/Twig/MapExtension.php +++ b/src/Map/src/Twig/MapExtension.php @@ -27,7 +27,7 @@ public function getFunctions(): array return [ new TwigFunction('render_map', [Renderers::class, 'renderMap'], [ 'is_safe' => ['html'], - 'deprecated' => '2.21', + 'deprecated' => '2.20', 'deprecating_package' => 'symfony/ux-map', 'alternative' => 'ux_map', ]),