1.0.4
Release 1.0.4 – Changelog Summary
This release focuses on improved extensibility, stronger test coverage, and documentation enhancements. It introduces a dedicated redirect hook, adds a German README, and tightens robustness around edge cases to improve reliability in real-world form handling scenarios.
-
Custom Redirect Hook
Introduced aredirect(url)method used internally instead of directwindow.locationaccess.
Enables easier overriding, testing, and integration with SPA-style navigation flows. -
Improved Callback Lifecycle
Expanded support and tests foronBeforeSubmitandonAfterSubmitcallbacks.
Provides finer control over submission flow, including conditional abort and post-submit hooks. -
Stronger Error Handling
Enhanced handling of failed fetch requests with guaranteedonErrorinvocation.
Improves resilience and predictable error reporting in network failure scenarios. -
Robust Invalid Feedback Edge Cases
Safeguards added for elements without valid parent containers when showing or clearing validation feedback.
Prevents runtime errors and ensures graceful behavior in atypical DOM structures. -
100% Test Coverage Enforcement
Added comprehensive tests and strict Jest coverage thresholds (100% across branches, functions, lines, statements).
Ensures higher code reliability and guards against regressions in future updates. -
German Documentation Added
Introduced a fullREADME.de.mdfor German-speaking users.
Improves accessibility and adoption in German-language projects and teams. -
README Badges & Metadata Updates
Added badges (npm version, downloads, CI, coverage, stars) and updated CDN examples to 1.0.4.
Provides clearer project status visibility and accurate integration references. -
Development Tooling Updates
Updated Jest, Babel, and related devDependencies to newer versions and added coverage configuration.
Improves developer experience and aligns tooling with current ecosystem standards. -
.gitignore and Build Artifacts Adjustments
Ignored coverage output and includedpackage-lock.jsonfor reproducible installs.
Enhances repository hygiene and consistent dependency resolution.
Compatibility: Backward compatible
Full Changelog: 1.0.3...1.0.4