ddcore 0.16
0.16.0 — 2026-09-22
Breaking
- The superuser is now
Admininstead ofAdministrator. A new database getsAdmin, and on an existing one the nextddcore migraterenames the user in place, with its roles, sessions, tokens, audit entries,owner/modified_bycolumns and every Link to it. Sign in asAdminwith the same password. App code that names the user —c.User == "Administrator", a test that signs in as it, a fixture that links to it — must sayAdmin. The rename is skipped when both users already exist.
Added
ddcore migrategivesAdmina generated 10-character password (lowercase, uppercase, digit and symbol; longer whenauth.minPasswordLengthasks for more) when it has none, which is what a first install leaves, and prints it once to stderr.dev/start --auto-migrateandrestoreprint it the same way, and the MCPmigratetool returns it asadminPassword. Only the hash is kept, and a password Admin already has is never replaced. The stepddcore user passwd Admin <password>is no longer needed to sign in the first time.defineListView(doctype, { nameColumn: false })hides the leading document-name column of a list, for a DocType whose name means nothing to a reader, such as ahash. The row stays clickable. The default is unchanged. (#7)nameLabelon a DocType names its identifier:nameLabel: "Contract No."heads the list's name column instead of "Name", and labels the name when it is prompted for or renamed. It is a catalogue key, soddcore i18n extractcollects it and an extension may override it. It changes display only: filters,orderByand the API still sayname. (#7)
Changed
- When a list has no name column, the title field's cell links to the document, so it can be opened in a new tab.