Skip to content

[Toolkit] Restore the "available since" note on recipe install steps - #3860

Merged
Kocal merged 1 commit into
symfony:3.xfrom
Kocal:fix/toolkit-version-added-alert
Sep 10, 2026
Merged

Kocal merged 1 commit into
symfony:3.xfrom
Kocal:fix/toolkit-version-added-alert

Conversation

@Kocal

@Kocal Kocal commented Sep 9, 2026

Copy link
Copy Markdown
Member
Q A
Bug fix? yes
New feature? no
Deprecations? no
Documentation? no
Issues Fix #3857
License MIT

It's back again

Capture d’écran 2026-09-10 à 07 56 57

| Q              | A
| -------------- | ---
| Bug fix?       | yes
| New feature?   | no
| Deprecations?  | no
| Documentation? | no
| Issues         | Fix symfony#3857
| License        | MIT

Reported in symfony#3857: a Toolkit recipe that's merged but not yet tagged shows up in the documentation with nothing to say it can't be installed yet, so running `php bin/console ux:install form` fails with `The recipe "form" does not exist in any official kit` and gives no clue why.

The docs used to carry a note reading `Available since UX Toolkit X.Y.`, built from the `version-added` field each recipe manifest declares. It got lost when kit documentation became generic: the per-recipe template that held the note went away, and the `::: installation` directive that replaced it never carried it over. This restores it in `_installation.md.twig`, for both the plain Markdown output and the tabbed HTML one.

The `login-01` and `login-02` blocks, both added after `v3.4.0`, had no `version-added` at all, so they'd have stayed silent even with the note restored; they now declare `3.5`. Nothing was holding the note in place before, which is how it disappeared without a test turning red, so there's now a test covering both output formats plus a recipe that declares no version.
@Kocal Kocal self-assigned this Sep 9, 2026
@carsonbot carsonbot added Bug Bug Fix Toolkit Status: Needs Review Needs to be reviewed labels Sep 9, 2026
@Kocal
Kocal merged commit 919a1e2 into symfony:3.x Sep 10, 2026
38 of 39 checks passed
@Kocal
Kocal deleted the fix/toolkit-version-added-alert branch September 10, 2026 06:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Bug Bug Fix Status: Needs Review Needs to be reviewed Toolkit

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Toolkit] Component are documented before released

2 participants