github ts-safeql/safeql @ts-safeql/plugin-utils@5.2.0

latest releases: @ts-safeql/plugin-auth-aws@4.3.3, @ts-safeql/generate@5.4.0
4 hours ago

Minor Changes

  • 4aa9ca9: Add @ts-safeql/plugin-kysely, a first-class Kysely integration for SafeQL.

    The plugin validates Kysely raw sql templates and, when kysely({ builder: true }) is enabled,
    raw SQL fragments inside Kysely query-builder chains. Pure Kysely builder queries stay covered by
    Kysely's own types; SafeQL focuses on the raw SQL it can reconstruct statically.

    Kysely TypeScript migrations can now build the shadow database used during validation, so SafeQL
    checks your queries against the schema your migrations actually produce — no separate database
    setup required.

    The shared plugin API now supports custom migration runners and non-template query resolution.
    Those hooks keep the ESLint rule generic while letting plugins teach SafeQL how each SQL library
    represents queries.

Don't miss a new safeql release

NewReleases is sending notifications on new releases.