Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[StimulusBundle] Deprecation after "symfony new --webapp" #1366

Closed
smnandre opened this issue Dec 31, 2023 · 4 comments
Closed

[StimulusBundle] Deprecation after "symfony new --webapp" #1366

smnandre opened this issue Dec 31, 2023 · 4 comments

Comments

@smnandre
Copy link
Member

When you do a fresh install ( symfony new --webapp ), the StimulusBundle is installed, and i guesss its recipes add the

        {% block stylesheets %}
            {{ ux_controller_link_tags() }}
        {% endblock %}

But that triggers a deprecation.

User Deprecated: Since symfony/ux-stimulus-bundle 2.13.0: Calling ux_controller_link_tags() is deprecated and does nothing with symfony/asset-mapper 6.4. The link tags are rendered automatically via the importmap() function.

Is there something to do, or we "just" have to update the recipes and wait the next StimulusBundle release ?

(cc @weaverryan )

@maxhelias
Copy link

maxhelias commented Dec 31, 2023

I think updating recipes for 2.13.0 should be sufficient. No need to wait a next release

@smnandre
Copy link
Member Author

Oops.. there was already one ready 😅

symfony/recipes#1262

@fabpot
Copy link
Member

fabpot commented Jan 1, 2024

symfony/recipes#1262 merged now

@fabpot fabpot closed this as completed Jan 1, 2024
@smnandre
Copy link
Member Author

smnandre commented Jan 1, 2024

Thank you @fabpot

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants