Comparing main...polystella-emdash-v-update · cloudflare/polystella · GitHub
Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: cloudflare/polystella
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: main
Choose a base ref
...
head repository: cloudflare/polystella
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: polystella-emdash-v-update
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 1 commit
  • 25 files changed
  • 1 contributor

Commits on Sep 28, 2026

  1. feat(emdash): upgrade to EmDash 0.42 with conditional saves and schem…

    …a checks
    
    Raise the emdash and @emdash-cms/admin peers to
    ">=0.42.0 <1.0.0 || ^1.0.1-rc.0". The range leaves out the deprecated
    emdash@1.0.0 mis-publish and accepts the 1.0.1 release candidates.
    Dev dependencies and the clean-consumer check pin 0.42.0.
    
    - translate-content checks the live collection schema (schema:read).
      It refuses fields that are missing, not string/text/portableText,
      or not translatable.
    - Look up the source locale through ctx.content.getTranslations()
      instead of the internal ContentRepository. Lookup errors now return 502 instead of silently translating the draft.
    - Catalog-override PUTs require `expected` and write with compareAndSet/compareAndDelete. A concurrent edit returns 409.
    - Add POST catalog/clear-synced to remove overrides that match the
      deployed catalog. Keys that change mid-clear are skipped and reported.
    - Move settings to ctx.settings (same option rows, no migration).
      Settings GETs return `revision` and PUTs require it; a conflict
      returns 409.
    - Declare `methods` on every route and drop requireMethod.
    - The editor panel uses the admin fetchContent/updateContent helpers and names the user holding an edit lock when a save is blocked.
    diogoascarneiro committed Sep 28, 2026
    Configuration menu
    Copy the full SHA
    9723154 View commit details
    Browse the repository at this point in the history
Loading