Skip to content

chore(release): version packages#87

Merged
ABB65 merged 1 commit into
mainfrom
changeset-release/main
Jul 16, 2026
Merged

chore(release): version packages#87
ABB65 merged 1 commit into
mainfrom
changeset-release/main

Conversation

@github-actions

Copy link
Copy Markdown
Contributor

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.

Releases

[email protected]

Patch Changes

@contentrain/[email protected]

Patch Changes

  • a0d5bfe: fix(mcp): make i18n:false delete and meta cleanup safe

    Two bugs a project hit while cleaning up an i18n: false collection, plus a
    source-hygiene fix surfaced along the way.

    content_delete no longer destroys content when handed a locale. On an
    i18n: false model, passing a non-default locale was destructive: the locale
    mapped onto data.json and the default-locale meta, so the call emptied the
    shared content and deleted the wrong meta file while the locale actually named
    kept its stray meta — the opposite of the request. Content is locale-agnostic
    here, so a locale-scoped delete is now rejected with a clear error (both in the
    plan API and the legacy path). Omit locale to delete the entry.

    contentrain_validate with fix: true now clears the meta layout mismatch it
    warns about.
    The "Meta layout mismatch" warning had no remediation, so fixed
    stayed 0. The fix is deterministic and never decides a status: when the
    default-locale meta is authoritative the redundant strays are pruned; when only
    a stray exists it is migrated to the default path so the record is preserved;
    several strays with no default is left for the author to resolve. Consolidation
    runs before the orphan-content pass and gates that pass's draft fabrication, so
    a real published record is never replaced by a fabricated draft and then deleted
    on a later run.

    Also replaced two raw NUL bytes in the validator source (a Map-key separator)
    with a \u0000 escape — identical at runtime, but the source is now plain text
    instead of being classified as binary by grep/diff/editors.

@netlify

netlify Bot commented Jul 16, 2026

Copy link
Copy Markdown

Deploy Preview for contentrain-ai ready!

Name Link
🔨 Latest commit 51eaa7f
🔍 Latest deploy log https://app.netlify.com/projects/contentrain-ai/deploys/6a594943f4ba130008af3ae6
😎 Deploy Preview https://deploy-preview-87--contentrain-ai.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@ABB65
ABB65 merged commit 1a10faf into main Jul 16, 2026
4 checks passed
@github-actions github-actions Bot locked and limited conversation to collaborators Jul 16, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant