Skip to content

v0.7.0

Choose a tag to compare

@github-actions github-actions released this 30 Oct 13:20
· 14 commits to main since this release

What's Changed

🚀 New Features

  • Submission Diagnostics: Added a submissionDiagnostics prop to FormRenderer with saveFailures (on by default) and validationBlocks (off by default) options for console-only reporting of failed saves and blocked Submit or repeatable-row Save attempts (31cbef1)
  • Save Failure Reporting: Failed saves are now logged to console.error with the failure stage and the original error, and edits stay available for retry (31cbef1)

🐛 Bug Fixes

  • Submit Error Handling: Changed the non-managed Submit path to await onSubmit and report rejections instead of silently swallowing them (31cbef1)
  • Validation Block Logging: Removed the unconditional [RECORD SUBMIT] console messages shown when validation blocked a Submit, so they now appear only when validationBlocks is enabled (31cbef1)

📚 Documentation

  • Submission Logging Guide: Added a "Save failures and submission logging" section to the README covering the new options and the rethrow requirement for apps that catch save errors (31cbef1)

🔧 Maintenance

  • Version Bump: Bumped the package version from 0.6.0 to 0.7.0 (0cbd70e)
  • Tests: Added tests/submission-reporting.test.jsx covering submission reporting (31cbef1)
  • Development Merge: Merged PR #88 from development (5df49a7)

Full Changelog: v0.6.0...v0.7.0