Skip to content

Commit 37f38bd

Browse files
committed
Release 1.2.6: fix UX Icons 3.x runtime detection
Document IconSupportChecker UXIconRuntime fix in CHANGELOG and UPGRADING.
1 parent dd111ba commit 37f38bd

3 files changed

Lines changed: 16 additions & 9 deletions

File tree

docs/CHANGELOG.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
88
## Table of contents
99

1010
- [[Unreleased]](#unreleased)
11+
- [[1.2.6] - 2026-06-18](#126---2026-06-18)
1112
- [[1.2.5] - 2026-06-18](#125---2026-06-18)
1213
- [[1.2.4] - 2026-06-18](#124---2026-06-18)
1314
- [[1.2.3] - 2026-04-15](#123---2026-04-15)
@@ -20,12 +21,17 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
2021

2122
## [Unreleased]
2223

24+
## [1.2.6] - 2026-06-18
25+
26+
### Fixed
27+
28+
- **UX Icons 3.x detection**: `IconSupportChecker` detects `Symfony\UX\Icons\Twig\UXIconRuntime` (with fallbacks for legacy `UXIconsRuntime` and `IconRendererInterface`). Without this fix, `icons_available` stayed false with UX Icons 3.x installed and the default widget showed `[icons missing]` in dev even after `composer require symfony/ux-icons symfony/http-client` and `ux:icons:lock`.
29+
2330
## [1.2.5] - 2026-06-18
2431

2532
### Fixed
2633

2734
- **UX Icons 3.x `ux:icons:lock`**: command accepts no icon arguments (scans Twig templates). Updated docs, demos (`auto-scripts`), recipe `post-install.txt`, `IconSupportChecker` warning message, and dev template hint. Use `php bin/console ux:icons:lock` (optional `--force`).
28-
- **UX Icons 3.x detection**: `IconSupportChecker` now detects `Symfony\UX\Icons\Twig\UXIconRuntime` (with fallbacks for `UXIconsRuntime` and `IconRendererInterface`). The previous check used a non-existent `UXIconsRuntime` class, so `icons_available` was always false and the default widget showed `[icons missing]` in dev even when `symfony/ux-icons` was installed.
2935

3036
## [1.2.4] - 2026-06-18
3137

docs/RELEASE.md

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,18 +3,16 @@
33
1. Update [CHANGELOG.md](CHANGELOG.md): move entries from `[Unreleased]` to a new `[X.Y.Z] - YYYY-MM-DD` section. (This project does not store version in `composer.json`; Packagist uses the git tag.)
44
2. Update [UPGRADING.md](UPGRADING.md) if the release has upgrade notes.
55
3. Run pre-release checks: `make release-check` (cs-fix, cs-check, rector-dry, phpstan, test-coverage, and optionally demo healthchecks).
6-
4. Commit all changes, create an annotated tag (e.g. `v1.2.5`), and push branch and tag. The release workflow will create the GitHub Release with the changelog.
6+
4. Commit all changes, create an annotated tag (e.g. `v1.2.6`), and push branch and tag. The release workflow will create the GitHub Release with the changelog.
77
5. Publish the package to Packagist if applicable (usually automatic when the tag is pushed).
88

9-
## Example for v1.2.5
9+
## Example for v1.2.6
1010

1111
```bash
1212
git add -A
1313
git status # review
14-
git commit -m "Release 1.2.5: fix UX Icons 3.x lock command and runtime detection"
15-
git tag -d v1.2.5 2>/dev/null || true # only if retagging locally before push
16-
git tag -a v1.2.5 -m "Release 1.2.5"
14+
git commit -m "Release 1.2.6: fix UX Icons 3.x runtime detection"
15+
git tag -a v1.2.6 -m "Release 1.2.6"
1716
git push origin main
18-
git push origin v1.2.5
19-
# If v1.2.5 was already pushed and you retagged: git push origin v1.2.5 --force
17+
git push origin v1.2.6
2018
```

docs/UPGRADING.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,13 @@ This document describes how to upgrade between major versions of Password Toggle
44

55
## 1.x
66

7+
### 1.2.6
8+
9+
- **False `[icons missing]` in dev:** upgrade from **1.2.5** if the toggle works but dev still shows `[icons missing]` while `symfony/ux-icons` and `symfony/http-client` are installed. This release fixes `IconSupportChecker` for UX Icons 3.x (`UXIconRuntime`). Then run `php bin/console cache:clear` (icons are usually already locked via `ux:icons:lock`).
10+
711
### 1.2.5
812

913
- **UX Icons 3.x:** replace `php bin/console ux:icons:lock tabler:eye tabler:eye-off` with `php bin/console ux:icons:lock` in scripts and CI. The command scans Twig templates; optional `--force` overwrites local SVGs. Demos and Flex recipe post-install are updated in this release.
10-
- **False `[icons missing]` in dev:** if you upgraded to 1.2.4 and still see the dev hint despite `symfony/ux-icons` and `symfony/http-client` being installed, upgrade to **1.2.5** (fixes runtime class detection for UX Icons 3.x). Then run `php bin/console cache:clear` and `php bin/console ux:icons:lock`.
1114

1215
### 1.2.4
1316

0 commit comments

Comments
 (0)