Skip to content

Release v22.12.0

Choose a tag to compare

@github-actions github-actions released this 09 Sep 07:38
5796be3

Summary

Handle failed commands without exposing internal server diagnostics or giving up normal form validation. CommandForm now separates user-facing exception feedback from the original diagnostics available to application callbacks.

Added

  • Add exceptionMessage for safe, localized exception text and exceptionDisplayComponent with exported ExceptionDisplayProps to replace the exception panel independently of field-validation rendering. (#2669)

Changed

  • Show “An unexpected error occurred. Please try again.” instead of raw server exception messages by default; preserve original results and diagnostics for failure callbacks. (#2669)

Fixed

  • Honor showErrors={false} for both default and custom exception feedback without disabling validation or execution callbacks. (#2669)
  • Display safe feedback when an exception has no diagnostic messages, and clear previous exception feedback when a subsequent result succeeds. (#2669)