Skip to content

1.7.0-beta1

Pre-release
Pre-release

Choose a tag to compare

@66Ton99 66Ton99 released this 04 Jun 17:56

Beta release for the revived modern Symfony branch.

Highlights

  • Revived the bundle for a modern baseline: PHP 8.1+, Symfony 5.4/6.4/7.x, Twig 3, PHPUnit 10/11, and PSR-4 autoloading from src/.
  • Replaced the old Travis setup with GitHub Actions CI on push and pull_request.
  • CI now runs PHP jobs on 8.1, 8.2, 8.3, 8.4, and 8.5, plus JavaScript unit/browser tests.
  • Replaced the legacy Selenium-style test app with a modern Symfony test fixture and Cypress smoke coverage.
  • Restored selected old fixes:
    • malformed UniqueEntity Ajax requests now fail with a bad request instead of an undefined payload path;
    • collection prototype ids no longer duplicate the parent id prefix.
  • Added FpJsFormError with atPath support so custom constraints can route errors to child form elements.
  • Exposed entityId in UniqueEntity JavaScript metadata/request payload for custom uniqueness controllers.
  • Preserved native submit events and the original submitter button while keeping async validation safe.
  • Refreshed README and documentation for the modern install/test workflow.

Validation

The tagged commit passed:

  • GitHub Actions CI for PHP 8.1, 8.2, 8.3, 8.4, and 8.5
  • JavaScript and browser tests
  • CodeQL JavaScript/TypeScript analysis

Install

composer require fp/jsformvalidator-bundle:"1.7.0-beta1"

This is a beta release. Test it in an application before using it in production.