Patch Changes
-
#1356
4e11daaThanks @ascorbic! - Scope Postgres table/column introspection to the connection's active schema instead of hardcodingpublic.tableExistsandlistTablesLike(database/dialect-helpers.ts) and two idempotency checks in the019_i18nmigration queriedinformation_schemawithtable_schema = 'public', so a Postgres deployment using a non-public schema (per-tenant or shared-cluster setups) would see tables from the wrong schema or none at all, causing collection/schema operations to misbehave and the i18n migration to skip its column additions. These now usecurrent_schema(), matching the already-correctindexExists/columnExistshelpers and migration038. -
#1167
fe6bc78Thanks @abhishekshankar! - fix(seo): buildMediaUrl handles root-relative paths without doubling the API prefix -
#1345
80f2925Thanks @scottbuscemi! - Fix frontend pages redirecting to/_emdash/admin/setupon a fully set-up site. The anonymous fast-path "setup probe" in the Astro middleware queries_emdash_migrationsto detect a fresh, un-migrated database, but itscatchblock treated every error as "fresh install" — so a transient DB failure (D1 connection loss, replica unavailable, query timeout, cold-start race, locked SQLite) wrongly bounced real visitors to the setup wizard. The probe now only redirects when the error is a genuinely-missing table (via the sharedisMissingTableErrorhelper) and otherwise renders the page normally. ThesetupVerifiedflag is also moved onto aglobalThisSymbol.forsingleton so it isn't duplicated across SSR chunks, which had caused the probe to re-run far more often than intended (and each re-run was another chance to hit the bug). -
Updated dependencies [
4ee75f8]:- @emdash-cms/admin@0.17.2
- @emdash-cms/auth@0.17.2
- @emdash-cms/gutenberg-to-portable-text@0.17.2