Skip to content

chore(release): version packages - #117

Merged
ABB65 merged 1 commit into
mainfrom
changeset-release/main
Aug 13, 2026
Merged

chore(release): version packages#117
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

contentrain@0.10.0

Minor Changes

  • d04947f: The serve UI reads the model's declared title, labels and order

    serve-ui was still guessing what title_field, label and order now
    declare. Its column list called Object.keys(desc.fields) under a comment
    saying that preserved definition order — it does not, because model JSON is
    written with canonically sorted keys, so it was alphabetical. On a
    sixteen-field article model that put author first and title fifteenth,
    each column headed by its raw key (body_public, is_category_hero).

    • columns order by orderedFieldNames, so a declared order wins and fields
      without one keep today's alphabetical fallback
    • headers render resolveFieldLabel, with the raw key kept as the title
      attribute so the underlying field is still discoverable
    • the default visible columns lead with title_field when the model declares
      one; the existing required-plus-simple-type heuristic fills the rest and
      still covers models that predate the property

    Both helpers come from @contentrain/types, so the UI and any other consumer
    resolve them the same way.

    The secret detector no longer flags documentation about secrets.

    SECRET_PATTERNS matched bare prefixes, so task_id and risk_level tripped
    sk_, every page documenting Authorization: Bearer <token> tripped
    Bearer , and postgres://localhost:5432/mydb in a guide tripped the
    connection-string rule. On this repository, which stores its own docs as
    content, that was 7 of 12 validation errors — and the real findings were
    buried under them.

    Each pattern now matches a credential-shaped value rather than prose about
    credentials: prefixes need their key body, a bearer token needs an actual
    token (not <token>, $TOKEN, {{token}} or YOUR_TOKEN), an api key needs
    to be assigned one, and a connection string needs embedded credentials.

    Two existing assertions changed, because they encoded the false positive:
    my_api_key_value and mongodb://localhost/test are no longer reported. A
    check that fires on the wrong thing is not a strict check; it is one people
    learn to scroll past.

Patch Changes

  • Updated dependencies [d04947f]
    • @contentrain/types@1.1.0
    • @contentrain/mcp@3.0.3
    • @contentrain/query@7.0.5
    • @contentrain/rules@0.7.0
    • @contentrain/skills@0.8.0

@contentrain/types@1.1.0

Minor Changes

  • d04947f: The serve UI reads the model's declared title, labels and order

    serve-ui was still guessing what title_field, label and order now
    declare. Its column list called Object.keys(desc.fields) under a comment
    saying that preserved definition order — it does not, because model JSON is
    written with canonically sorted keys, so it was alphabetical. On a
    sixteen-field article model that put author first and title fifteenth,
    each column headed by its raw key (body_public, is_category_hero).

    • columns order by orderedFieldNames, so a declared order wins and fields
      without one keep today's alphabetical fallback
    • headers render resolveFieldLabel, with the raw key kept as the title
      attribute so the underlying field is still discoverable
    • the default visible columns lead with title_field when the model declares
      one; the existing required-plus-simple-type heuristic fills the rest and
      still covers models that predate the property

    Both helpers come from @contentrain/types, so the UI and any other consumer
    resolve them the same way.

    The secret detector no longer flags documentation about secrets.

    SECRET_PATTERNS matched bare prefixes, so task_id and risk_level tripped
    sk_, every page documenting Authorization: Bearer <token> tripped
    Bearer , and postgres://localhost:5432/mydb in a guide tripped the
    connection-string rule. On this repository, which stores its own docs as
    content, that was 7 of 12 validation errors — and the real findings were
    buried under them.

    Each pattern now matches a credential-shaped value rather than prose about
    credentials: prefixes need their key body, a bearer token needs an actual
    token (not <token>, $TOKEN, {{token}} or YOUR_TOKEN), an api key needs
    to be assigned one, and a connection string needs embedded credentials.

    Two existing assertions changed, because they encoded the false positive:
    my_api_key_value and mongodb://localhost/test are no longer reported. A
    check that fires on the wrong thing is not a strict check; it is one people
    learn to scroll past.

@contentrain/mcp@3.0.3

Patch Changes

  • Updated dependencies [d04947f]
    • @contentrain/types@1.1.0

@contentrain/query@7.0.5

Patch Changes

  • Updated dependencies [d04947f]
    • @contentrain/types@1.1.0

@contentrain/serve-ui@0.0.1

Patch Changes

  • Updated dependencies [d04947f]
    • @contentrain/types@1.1.0

@netlify

netlify Bot commented Aug 13, 2026

Copy link
Copy Markdown

Deploy Preview for contentrain-ai ready!

Name Link
🔨 Latest commit a02e04b
🔍 Latest deploy log https://app.netlify.com/projects/contentrain-ai/deploys/6a7e42ab4a8a64000814d159
😎 Deploy Preview https://deploy-preview-117--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 81e5d95 into main Aug 13, 2026
4 checks passed
@ABB65
ABB65 deleted the changeset-release/main branch August 13, 2026 22:21
@github-actions github-actions Bot locked and limited conversation to collaborators Aug 13, 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