Releases: formapro/JsFormValidatorBundle
1.8.0-beta1
Highlights
- Move the revived master branch to the Symfony 8 baseline with PHP 8.4+ and Twig 3.
- Update the test stack to PHPUnit 13 and adjust PHPUnit doubles to avoid PHPUnit 13 notices.
- Add PHPStan static analysis and keep it running in CI.
- Add PHP and JavaScript coverage reporting with enforced line coverage thresholds.
- Add PHP 8.6 to the GitHub Actions matrix.
- Add Dependabot configuration for Composer, npm, GitHub Actions, and the test app.
- Add Nix development environment notes while preserving the Docker vendor installation workflow.
- Refresh JavaScript/browser test dependencies and Cypress CI configuration.
Validation
The release target is f69046e1a7ab15e36a8ec555dccbeb267a7806d7 on master. GitHub Actions CI and CodeQL are green for this commit.
Validated jobs include PHP 8.4, PHP 8.5, PHP 8.6, PHPStan, coverage, JavaScript/browser tests, and CodeQL.
Included PRs
- #197 Update PHPUnit to 13
- #196 Move master to Symfony 8 baseline
- #194 Update start-server-and-test
- #192 Update test app runtime dependencies
- #190 Update Babel/Jest dependencies
- #188 Update actions/setup-node
- #187 Update actions/upload-artifact
- #186 Update actions/checkout
- #185 Add Dependabot configuration
- #184 Fix GitHub coverage upload input
- #183 Use GitHub Code Quality coverage upload
- #182 Add coverage checks
- #181 Add PHPStan static analysis
1.7.0-beta1
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
pushandpull_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
FpJsFormErrorwithatPathsupport so custom constraints can route errors to child form elements. - Exposed
entityIdin 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.
Some fixes for release 1.6
Symfony 4 ready
Thanks to @pesektomas now it is compatible with Symfony 4!
Fix problem with "fp_js_validator.js"
Aassetic added as required dependency which will combine all JS files in one fp_js_validator.js automatically
Release for Symfony 3.1 & 3.2
1.5 Remove 3.3 because of not solved dependencies
Freeze on Symfony 3.0.*
1.4.* will work only with Symfony 3.0.* because of symfony/symfony#20284
First release for Symfony 3.0
First release for Symfony 2.7.* & 2.8.*
Updated 1.2 to support Symfony up to 2.7
PR #104
Updated Symfony constraint to <2.7
Added Symfony 2.6 to travis configuration
Support for IsFalse/IsTrue/IsNull
Testcase of multiplechoice made less strict so changes after 2.5 dont fail
valid filename of generated screenshot on Windows