Skip to content

1.8.0

Latest

Choose a tag to compare

@66Ton99 66Ton99 released this 20 Aug 09:07
· 7 commits to master since this release

First stable release of the Symfony 8 baseline branch: PHP 8.4+, Symfony 8.0, Twig 3, PHPUnit 13.

What's new since 1.8.0-beta1

  • Added a Luhn client-side constraint mirroring Symfony's LuhnValidator (credit card numbers, SIRET, and similar checksummed values) (#212, #213).
  • Better condition for adding parent forms to the validation queue, plus extra documentation and tests (#211).
  • Refactored the factory test suite onto a shared FactoryTestTrait.
  • Removed the obsolete UPGRADE-1.1.md and symfony.lock files.
  • Dependency maintenance: Cypress 15.20.x, core-js 3.50, start-server-and-test 3.0.12, Babel updates, actions/checkout 7 and actions/setup-node 7 (#198–#210).

Since 1.7.0

  • Symfony 8 baseline: PHP 8.4+ required, symfony/* ^8.0, Twig 3.
  • Test stack moved to PHPUnit 13, with doubles adjusted to avoid PHPUnit 13 notices (#197).
  • PHPStan static analysis (composer phpstan) running in CI with a clean baseline (#181).
  • PHP and JavaScript coverage gates with enforced line-coverage thresholds and Cobertura reports uploaded to GitHub Code Quality (#182, #183, #184).
  • PHP 8.6 added to the GitHub Actions matrix.
  • Dependabot configuration for Composer, npm, GitHub Actions, and the test app (#185).
  • Nix development environment documented alongside the existing Docker vendor installation workflow.
  • Refreshed JavaScript/browser test dependencies and Cypress CI configuration.

Validation

The release target is a9e4db34f1317a456debaadc8d35cc4ce05fb4d6 on master. GitHub Actions CI and CodeQL are green for this commit (PHP 8.4/8.5/8.6, PHPStan, coverage, JavaScript and Cypress browser tests).

Install

composer require fp/jsformvalidator-bundle:"^1.8"

Users on Symfony 5.4/6.4/7.x should stay on the 1.7 line.