Skip to content

Commit e84a96e

Browse files
committed
minor #2138 [Map] Adjust changelogs and fix render_map deprecated version (Kocal)
This PR was merged into the 2.x branch. Discussion ---------- [Map] Adjust changelogs and fix `render_map` deprecated version | Q | A | ------------- | --- | Bug fix? | no | New feature? | no <!-- please update src/**/CHANGELOG.md files --> | Issues | Fix #... <!-- prefix each issue number with "Fix #", no need to create an issue if none exist, explain below instead --> | License | MIT <!-- Replace this notice by a description of your feature/bugfix. This will help reviewers and should be a good start for the documentation. Additionally (see https://symfony.com/releases): - Always add tests and ensure they pass. - For new features, provide some code snippets to help understand usage. - Features and deprecations must be submitted against branch main. - Changelog entry should follow https://symfony.com/doc/current/contributing/code/conventions.html#writing-a-changelog-entry - Never break backward compatibility (see https://symfony.com/bc). --> While working on #2070, I noticed Map's changelogs were still containing `Unreleased` instead of the version number. I've also changed the version where `render_map` twig function have been deprecated, to match the reality (the 2.20 will be the next release!). Commits ------- 06b248a [Map] Adjust changelogs and fix `render_map` deprecated version
2 parents 5c17b26 + 06b248a commit e84a96e

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

src/Map/CHANGELOG.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# CHANGELOG
22

3-
## Unreleased
3+
## 2.20
44

55
- Rename `render_map` Twig function `ux_map`
66
- Deprecate `render_map` Twig function
+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# CHANGELOG
22

3-
## Unreleased
3+
## 2.19
44

55
- Bridge added
+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# CHANGELOG
22

3-
## Unreleased
3+
## 2.19
44

55
- Bridge added

src/Map/src/Twig/MapExtension.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ public function getFunctions(): array
2727
return [
2828
new TwigFunction('render_map', [Renderers::class, 'renderMap'], [
2929
'is_safe' => ['html'],
30-
'deprecated' => '2.21',
30+
'deprecated' => '2.20',
3131
'deprecating_package' => 'symfony/ux-map',
3232
'alternative' => 'ux_map',
3333
]),

0 commit comments

Comments
 (0)