This document describes how to upgrade between versions of Password Strength Bundle.
- To 2.2.0
- 2.1.0 (2026-07-29)
- 2.0.0 (2026-07-22)
- 1.0.0 (2026-07-03)
- 1.1.0 (2026-07-09)
- 1.2.0 (2026-07-13)
- 1.3.0 (2026-07-16)
- Unreleased / 2.x
From 2.1.0 — Adds required Twig Extra (REQ-TWIG-004) and Twig-CS-Fixer. Register TwigExtraBundle if Flex did not.
composer update nowo-tech/password-strength-bundle
php bin/console cache:clearNo breaking changes for application consumers. Upgrade with:
composer update nowo-tech/password-strength-bundle- Runtime / API — unchanged from 2.0.0 (Twig namespace and translation domain remain
NowoPasswordStrengthBundle). - Maintainers —
make release-checknow also runscheck-open-prsandcoverage-check(≥99% PHP lines). See CONTRIBUTING.md and GITHUB_CI.md.
Breaking for apps that override Twig templates or translations. Upgrade with:
composer update nowo-tech/password-strength-bundle- Twig namespace — Update logical template names from
@PasswordStrengthBundle/...to@NowoPasswordStrengthBundle/.... - Application overrides — Move
templates/bundles/PasswordStrengthBundle/...totemplates/bundles/NowoPasswordStrengthBundle/.... - Translations — Rename application override files from
translations/PasswordStrengthBundle.{locale}.yamltotranslations/NowoPasswordStrengthBundle.{locale}.yaml. - Form option — Default
translation_domainis nowNowoPasswordStrengthBundle(override per field if you still need the old domain temporarily). - TwigPathsPass — Prepends the app override directory when present so application templates win over the bundle.
PHP class namespaces (Nowo\PasswordStrengthBundle\...), config key nowo_password_strength, and the asset package nowo_password_strength are unchanged.
First stable release. No upgrade steps when installing for the first time.
- PHP: >= 8.1, < 8.6
- Symfony: ^6.0 || ^7.0 || ^8.0
- Composer:
composer require nowo-tech/password-strength-bundle - Assets:
php bin/console assets:installand includepassword-strength.jsviaasset('password-strength.js', 'nowo_password_strength')in your layout (see INSTALLATION.md). - PasswordToggleBundle is optional; when not installed the bundle uses Symfony
PasswordTypeautomatically.
No breaking changes. Upgrade with:
composer update nowo-tech/password-strength-bundle- New locales —
de,fr,it,nl, andptship inPasswordStrengthBundletranslations. They apply automatically when your app locale matches; no configuration changes required. - Overrides — use
translations/PasswordStrengthBundle.{locale}.yamlin your app to customize strings (see INSTALLATION.md for the path used in that version). - Spec Kit — maintainer-only scaffolding (
specs/,.specify/,.cursor/skills/); not required for production installs.
No breaking changes. Upgrade with:
composer update nowo-tech/password-strength-bundle- Asset package — the bundle now prepends a
nowo_password_strengthassets package. No configuration is required. - Recommended Twig snippet — update your layout if you still use a hard-coded path:
<script src="{{ asset('password-strength.js', 'nowo_password_strength') }}" defer></script>The previous asset('bundles/passwordstrength/password-strength.js') path continues to work after assets:install; the package alias is the supported approach (required for AssetMapper). See INSTALLATION.md.
No breaking changes for application consumers. Upgrade with:
composer update nowo-tech/password-strength-bundle- Runtime / API — unchanged from 1.2.0; no form, validator, or config migrations.
- Contributors — after cloning, run
make setup-hooksso commit messages cannot include Cursor co-author trailers (see CONTRIBUTING.md and GITHUB_CI.md).
Breaking or notable changes in future 2.x releases will be documented here.
Hosts that render this bundle's Twig templates must install:
composer require twig/extra-bundle twig/string-extraand enable Twig\Extra\TwigExtraBundle\TwigExtraBundle. Flex recipes usually register it automatically.
Package maintainers: composer twig:lint / composer twig:fix use .twig-cs-fixer.php over src/ (and templates/ when present).