github emdash-cms/emdash @emdash-cms/cloudflare@0.33.0

latest releases: @emdash-cms/plugin-embeds@0.1.41, @emdash-cms/auth-atproto@0.2.33
3 hours ago

Minor Changes

  • #2353 ea4c39b Thanks @MA2153! - Adds manual ordering for taxonomy terms. Move terms up and down from the Taxonomies screen, and term listings — getTerms() and the terms REST endpoint — return them in that order. The terms attached to a single entry are still listed alphabetically.

    Existing terms keep the order they display in today, now stored explicitly instead of derived from their labels. Terms added afterwards go to the end of their sibling group rather than slotting in alphabetically — if you want a taxonomy alphabetical, order it that way once and it stays.

    A term's position is shared by all of its translations, so ordering a taxonomy in one locale orders it everywhere. On upgrade that means each taxonomy keeps the alphabetical order of the locale its terms were first written in, and other locales are re-sorted to match; reorder once from the Taxonomies screen if you want something different. Sites that need a genuinely different order per language should use separate taxonomies.

    Also fixes moving a term to a new parent only taking effect in the locale you moved it in, which left the term nested in that locale and still at the top level in the others. Moving a term now moves it in every locale, and terms already split this way are repaired on upgrade.

Patch Changes

  • #2277 51cbe2e Thanks @scottbuscemi! - Deprecates cloudflareCache() (legacy Cache API + zone REST purge). It now emits a one-time console warning and is marked @deprecated in types. New sites should use native Workers Caching ("cache": { "enabled": true } in wrangler plus cacheCloudflare() from @astrojs/cloudflare/cache) and purge with cache.purge() — no zone ID or Cache Purge API token.

  • #2280 f586100 Thanks @scottbuscemi! - Fixes anonymous public pages reseeding edge/object caches with stale Hyperdrive query results right after content publishes. When cachedBinding and a distributed Object Cache are configured, public reads across Worker isolates prefer the uncached Hyperdrive binding for a short window after content writes (default 60s, overridable via preferUncachedAfterWriteMs to match your Hyperdrive max_age).

  • Updated dependencies [85dd99d, e8048e4, 534f238, f6385da, 72660da, 969c6cb, 0c3af01, 640da63, e7c445c, ef78aa1, 0237678, 741c40c, e07f0c8, 425e7c0, 7099d13, f586100, 1dd7f13, 447647d, aec4fa1, ea4c39b, 8040e27]:

    • emdash@0.33.0

Don't miss a new emdash release

NewReleases is sending notifications on new releases.