Skip to content

v4.1.1

Choose a tag to compare

@github-actions github-actions released this 14 Sep 15:28
· 7 commits to master since this release

Added

  • Example 20 demonstrates lifecycle callbacks, event order, cancellation, failed saves, retries, inline editing, refresh, and editor destruction and recreation.

Changed

  • Updated the Rollup build dependency to 4.63.3.
  • The jQuery peer dependency and documentation consistently require >=1.8 <4.0.0.
  • Release validation reuses the existing build for compatibility checks.
  • Minimum aggregate test coverage is 85% for statements, branches, functions, and lines, with additional coverage for native dialog closure, nested data updates, and file read recovery.
  • Detached field rendering, template composition, form initialization, and framework event handling have separate responsibilities. Add and edit share one opening path, and template composition avoids an extra field clone.
  • Unique validation reads column values in one operation instead of creating a separate cell API for each row.
  • Documentation explains value conversion, persistence timeouts, select option replacement, event exceptions, field lookup, and explicit color overrides.

Fixed

  • Field plugin and change-callback failures during dialog initialization close the incomplete form and allow retry. Close callback exceptions release the previous dialog context.
  • Failed initialization releases partially attached resources so the editor can be initialized again.
  • Event listener exceptions no longer leave submission controls disabled or interrupt cleanup. Exceptions before opening or submitting cancel the operation.
  • Dialog fields use instance-specific identifiers and retain correctly associated labels across multiple tables. Compact fields have accessible names, literal title text is preserved, and empty placeholders remain empty.
  • Select controls retain stored values absent from their initial options. Literal JSON option strings remain intact, and multiple selections support serialized arrays without discarding matching literal options.
  • Missing row identifiers containing selector characters and invalid public row or cell selectors are handled without uncaught selector errors.
  • Add submissions omit unrelated deletion snapshots, and form collection uses a consistent set of column definitions.
  • Inline cleanup handles controls moved into nested elements, and failed saves display feedback when the edited cell is outside the visible table body.
  • File examples restrict avatar links to HTTP or HTTPS and return generic server errors without internal paths.
  • Removed unnecessary dialog serialization and duplicate initialization work; normalized boolean attributes and cleared dialog state on destruction.