Skip to content

Version Packages#505

Merged
Newbie012 merged 1 commit into
mainfrom
changeset-release/main
Jun 30, 2026
Merged

Version Packages#505
Newbie012 merged 1 commit into
mainfrom
changeset-release/main

Conversation

@github-actions

@github-actions github-actions Bot commented Jun 29, 2026

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

@ts-safeql/plugin-utils@5.3.0

Minor Changes

  • 09fcf97: Validate the <T> annotation on raw sql fragments embedded in Kysely query-builder chains.

    SafeQL now checks that annotation against the type the database returns and autofixes it on a mismatch. A selection like sql<number>`name || bio`.as("credit_line") whose column is string gets flagged; a .where(sql<number>`bio is not null`) condition gets corrected to boolean. Conditions accept both SqlBool and boolean, and fragments wrapped in parentheses or as are checked like bare ones.

@ts-safeql/plugin-kysely@0.2.0

Minor Changes

  • 09fcf97: Validate the <T> annotation on raw sql fragments embedded in Kysely query-builder chains.

    SafeQL now checks that annotation against the type the database returns and autofixes it on a mismatch. A selection like sql<number>`name || bio`.as("credit_line") whose column is string gets flagged; a .where(sql<number>`bio is not null`) condition gets corrected to boolean. Conditions accept both SqlBool and boolean, and fragments wrapped in parentheses or as are checked like bare ones.

@ts-safeql/eslint-plugin@5.4.1

Patch Changes

  • 09fcf97: Validate the <T> annotation on raw sql fragments embedded in Kysely query-builder chains.

    SafeQL now checks that annotation against the type the database returns and autofixes it on a mismatch. A selection like sql<number>`name || bio`.as("credit_line") whose column is string gets flagged; a .where(sql<number>`bio is not null`) condition gets corrected to boolean. Conditions accept both SqlBool and boolean, and fragments wrapped in parentheses or as are checked like bare ones.

  • 21e97b3: Point invalid-query errors at the offending identifier. When Postgres reports an unknown column, table, relation, type, or function, the squiggle now lands on that specific token instead of the whole query — most noticeably for Kysely builder chains, where the error previously underlined the entire embedded sql fragment.

  • Updated dependencies [09fcf97]

    • @ts-safeql/plugin-utils@5.3.0

@ts-safeql/plugin-auth-aws@4.3.4

Patch Changes

  • Updated dependencies [09fcf97]
    • @ts-safeql/plugin-utils@5.3.0

@ts-safeql/zod-annotator@5.0.4

Patch Changes

  • Updated dependencies [09fcf97]
    • @ts-safeql/plugin-utils@5.3.0

@ts-safeql/generate@5.4.1

@ts-safeql/connection-manager@4.2.5

Patch Changes

  • Updated dependencies [09fcf97]
    • @ts-safeql/plugin-utils@5.3.0

@vercel

vercel Bot commented Jun 29, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

1 Skipped Deployment
Project Deployment Actions Updated (UTC)
safeql Ignored Ignored Preview Jun 29, 2026 7:57am

@greptile-apps

greptile-apps Bot commented Jun 29, 2026

Copy link
Copy Markdown

Greptile Summary

This is an automated Changesets "Version Packages" PR that bumps package versions and updates changelogs following the addition of Kysely embedded fragment type validation. No source logic is changed.

  • @ts-safeql/plugin-utils and @ts-safeql/plugin-kysely receive minor bumps (5.2.0→5.3.0 and 0.1.0→0.2.0) for the new sql<T> fragment annotation validation feature; @ts-safeql/eslint-plugin gets a patch bump (5.4.0→5.4.1) as a direct dependent.
  • Five other packages (connection-manager, plugin-auth-aws, zod-annotator, generate) receive mechanical patch bumps because of the updateInternalDependencies: \"patch\" policy or the fixed group config that locks eslint-plugin and generate at the same version.

Confidence Score: 5/5

All changes are mechanical version bumps and CHANGELOG entries generated by Changesets — no source logic is touched.

Every file is either a package.json version field increment or a CHANGELOG append. The bump chain is consistent with the changeset config: minor bumps on the two Kysely packages, patch cascades to dependents, and an empty generate entry explained by the fixed group. Nothing here can regress runtime behaviour.

No files require special attention.

Important Files Changed

Filename Overview
packages/plugins/kysely/package.json Minor version bump 0.1.0 → 0.2.0 matching the new Kysely sql fragment validation feature.
packages/plugin-utils/package.json Minor version bump 5.2.0 → 5.3.0 for the new sql fragment annotation validation utilities.
packages/eslint-plugin/package.json Patch bump 5.4.0 → 5.4.1 as a dependent of plugin-utils.
packages/generate/package.json Patch bump 5.4.0 → 5.4.1 — no direct dependency change; bumped mechanically because it is in the same Changesets fixed group as eslint-plugin.
packages/connection-manager/package.json Patch bump 4.2.4 → 4.2.5 due to plugin-utils minor bump and updateInternalDependencies policy.
packages/plugins/auth-aws/package.json Patch bump 4.3.3 → 4.3.4 due to plugin-utils dependency update.
packages/zod-annotator/package.json Patch bump 5.0.3 → 5.0.4 due to plugin-utils dependency update.

Flowchart

%%{init: {'theme': 'neutral'}}%%
flowchart TD
    CS[".changeset/kysely-embedded-fragment-types.md\n(deleted)"] --> PU["@ts-safeql/plugin-utils\n5.2.0 → 5.3.0 (minor)"]
    CS --> KY["@ts-safeql/plugin-kysely\n0.1.0 → 0.2.0 (minor)"]
    CS --> EP["@ts-safeql/eslint-plugin\n5.4.0 → 5.4.1 (patch)"]
    PU -->|updateInternalDependencies: patch| CM["@ts-safeql/connection-manager\n4.2.4 → 4.2.5"]
    PU -->|updateInternalDependencies: patch| AA["@ts-safeql/plugin-auth-aws\n4.3.3 → 4.3.4"]
    PU -->|updateInternalDependencies: patch| ZA["@ts-safeql/zod-annotator\n5.0.3 → 5.0.4"]
    PU -->|updateInternalDependencies: patch| EP
    EP -->|fixed group| GN["@ts-safeql/generate\n5.4.0 → 5.4.1"]
Loading
%%{init: {'theme': 'base', 'themeVariables': {"darkMode": true, "background": "#0d1117", "primaryColor": "#21262d", "primaryTextColor": "#e6edf3", "primaryBorderColor": "#8b949e", "lineColor": "#8b949e", "textColor": "#e6edf3", "edgeLabelBackground": "#161b22", "actorBkg": "#21262d", "actorBorder": "#8b949e", "actorTextColor": "#e6edf3", "actorLineColor": "#8b949e", "signalColor": "#8b949e", "signalTextColor": "#e6edf3", "noteBkgColor": "#373320", "noteBorderColor": "#d4a72c", "noteTextColor": "#f0e6c0", "labelBoxBkgColor": "#21262d", "labelBoxBorderColor": "#8b949e", "labelTextColor": "#e6edf3", "loopTextColor": "#e6edf3", "activationBkgColor": "#30363d", "activationBorderColor": "#8b949e"}}}%%
flowchart TD
    CS[".changeset/kysely-embedded-fragment-types.md\n(deleted)"] --> PU["@ts-safeql/plugin-utils\n5.2.0 → 5.3.0 (minor)"]
    CS --> KY["@ts-safeql/plugin-kysely\n0.1.0 → 0.2.0 (minor)"]
    CS --> EP["@ts-safeql/eslint-plugin\n5.4.0 → 5.4.1 (patch)"]
    PU -->|updateInternalDependencies: patch| CM["@ts-safeql/connection-manager\n4.2.4 → 4.2.5"]
    PU -->|updateInternalDependencies: patch| AA["@ts-safeql/plugin-auth-aws\n4.3.3 → 4.3.4"]
    PU -->|updateInternalDependencies: patch| ZA["@ts-safeql/zod-annotator\n5.0.3 → 5.0.4"]
    PU -->|updateInternalDependencies: patch| EP
    EP -->|fixed group| GN["@ts-safeql/generate\n5.4.0 → 5.4.1"]
Loading

Reviews (1): Last reviewed commit: "Version Packages" | Re-trigger Greptile

@github-actions github-actions Bot force-pushed the changeset-release/main branch from b9228b2 to 37fd4eb Compare June 29, 2026 07:57
@Newbie012 Newbie012 merged commit 7338ad1 into main Jun 30, 2026
2 checks passed
@Newbie012 Newbie012 deleted the changeset-release/main branch June 30, 2026 08:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant