Skip to content

Entities 0.6.1: Import errors that no longer crash, and two tabs that stay in step

Entities 0.6.1 fixes an import crash and keeps two browser tabs editing the same entity in step. Apps that depend on the module also compile faster.

An error message that carried text typed by a user, such as a field label from an imported mirror file containing %{word}, raised an error while being shown. The import now reports the invalid record instead of crashing. A placeholder with nothing to fill it stays as written.

When one user had the same entity open in two tabs, the tabs could undo each other. Public-form settings from the other tab were dropped on the next save, saving in one tab switched the other tab’s backup settings back off, and a “reset statistics” request could be lost or repeated. A newly opened tab now starts from the pending changes, and both tabs share one working copy.

The module’s translations now compile one module per language, in parallel, which shortens the build of every app that uses it.

Full release notes: Entities 0.6.1

0.6.1 · 24 October 2026

Changed

  • The Gettext backend compiles one module per locale and domain (split_module_by: [:locale, :domain]), so the catalogues compile in parallel instead of in one long serial step that held up every app depending on this package. Lookups are unchanged. (PR #53)
  • Dependencies refreshed to phoenix_kit 2.64.1, including plug_crypto 2.2.1 (security patch for CVE-2026-105963). The phoenix_kit requirement is unchanged.

Fixed

  • Rendering a changeset error no longer raises ArgumentError when the message carries user-typed text containing %{word} (a field label from an imported mirror file, say). Bindings are matched by name; a placeholder with no binding is left as written, so the import flash reports the invalid record instead of crashing.
  • Two tabs of the same user editing one entity now share the whole working copy:
    • Public-form settings received from the other tab are no longer dropped on the next validation or save, and a newly opened tab picks up the pending changes instead of starting from the stored row.
    • Saving from one tab no longer switches the backup settings toggled in the other back off.
    • A “reset statistics” request follows the form: saving from the other tab resets the counters, cancelling it from the other tab no longer erases them on a later save, and a reset already done is not repeated by a tab opened afterwards.

Entities 0.6.1. Install or update: {:phoenix_kit_entities, "~> 0.6"}, then mix deps.get && mix phoenix_kit.update. Full history: CHANGELOG.