Skip to content

PhoenixKit 1.7.71: Entity records save again with form data

PhoenixKit 1.7.71 fixes creating Entities records from form data. Forms send their fields with text keys, and setting the record’s position and creator added atom keys to the same data, which Ecto rejects. Both now use the same kind of key as the incoming data.

Working out the next position also failed in PostgreSQL, which does not allow a row lock together with an aggregate such as max. The positions are now read with the lock and the highest one is found afterwards.

Full release notes: PhoenixKit 1.7.71

1.7.71 · 12 March 2026

Fixed

  • Fix mixed atom/string key error in EntityData.maybe_add_position/1 when auto-assigning position to string-keyed params
  • Fix same mixed key error in EntityData.maybe_add_created_by/1
  • Fix FOR UPDATE with aggregate function error in EntityData.next_position/1 (PostgreSQL 0A000 feature_not_supported)

PhoenixKit 1.7.71. Install or update: {:phoenix_kit, "~> 1.7"}, then mix deps.get && mix phoenix_kit.update. Full history: CHANGELOG.