Document Creator 0.9.15: Legacy Google login migration stops re-running
Document Creator 0.9.15 fixes the migration of old Google credentials into PhoenixKit Integrations: it no longer runs again at every boot, and it either completes fully or leaves the old data in place.
The check for “already migrated” never matched core’s answer, so the migration ran at each start. It now skips only when the google:default connection already holds credentials; an empty connection is reused and receives the old ones. The credentials, folder settings and removal of the old plain-text copy are now saved in one transaction, so a failed write keeps the old data. Error logs no longer include exception messages.
Also in this release: the media picker’s fallback return link no longer hardcodes the admin address, and two strings on the Categories page drop a host-specific name: the seed button’s tooltip now reads Seed the standard group order.
Upgrading
The module now needs PhoenixKit 2.43.0 or later (and below 3.0).
Full release notes: Document Creator 0.9.15
0.9.15 · 24 October 2026
Changed
- Requires
phoenix_kit>= 2.43.0 and < 3.0.0, the first core that compiles on Erlang/OTP 28. The compat shims aroundIntegrations.find_uuid_by_provider_name/1are gone. - Dependency refresh:
phoenix_kit2.64.1 and its transitive set. migrate_legacy/0carries@impl PhoenixKit.Module.- Comments, docs and two Categories-page strings use neutral host-application wording (#64): the confirm dialog now reads “Create the standard groups (Hinnapakkumine … Hooldusjuhend) in this category, in order? …” and the button title “Seed the standard group order”. Both strings had no translations yet, so none were lost.
- The deprecation
COMMENTon the legacyphoenix_kit_doc_templatescategory_uuid/type_uuidcolumns uses the same neutral wording on fresh installs. Existing databases keep the old text, since V2 is not re-run. Both versions carry the “deprecated … do not drop” warning, and the chain version is unchanged.
Fixed
- The legacy Google credentials migration no longer re-runs on every boot:
the “already migrated” check never matched core’s
{:ok, uuid}answer. It now skips only when the existinggoogle:defaultconnection holds credentials; an empty connection is reused and receives the legacy ones. - The legacy credentials migration is atomic: credentials, folder settings and the plaintext cleanup commit in one transaction, so a failed write keeps the legacy data and logs no success. Error logs no longer include exception messages or save-error payloads.
- The media picker’s fallback return path goes through
Paths.index/0instead of a hardcoded admin URL.
Document Creator 0.9.15. Install or update: {:phoenix_kit_document_creator, "~> 0.9"}, then mix deps.get && mix phoenix_kit.update. Full history: CHANGELOG.