Packages

kysely

0.29.9 · 12 Nov 2026MIT32M / weekRepositoryHomepagenpmAtom feed

Upgrading kysely From 0.28.16 to 0.29.9

14 releases in betweenevery note read

Reading releases, release notes and advisories…

Other targets from 0.28.16Clears its advisory0.28.17
  1. 0.28.16yours
  2. 0.28.17security
  3. 3 releases
  4. 0.29.0major
  5. 2 releases
  6. 0.29.3breaking
  7. 5 releases
  8. 0.29.9target

Before you upgrade

Tick each one off as you go
  • Breaking0.29.9
  • Breaking0.29.3
  • Breaking0.29.0
  • Breaking0.29.0
  • Breaking0.29.0
  • Breaking0.29.0
  • Breaking0.29.0
  • Breaking0.29.0
  • Breaking0.29.0
  • Breaking0.29.0

Security

  • Further harden JSON path .key(...) and .at(...) against SQL injections and exfiltrations.

    0.28.17

Release by release

  1. 0.29.9

    Migration needed12 Nov 20264 fixes
    • Breaking

      key() and at() no longer accept a 2nd type argument for the output type (e.g. .key<'url', number>('url')). It was never documented. Use $castTo<T>() to override the output type. (#2228)

    • Fixed

      Inline key()/at() JSON path references infer unknown in jsonBuildObject.

    • Fixed

      Migration timestamps go backwards when the clock jumps back.

    • Fixed

      withSchema crashes on for ... of and json_agg/to_json tables in subqueries.

    • Fixed

      pglite: Reject commits that roll back aborted transactions

  2. 0.29.8

    1 Nov 20262 fixes
    • Fixed

      postgres: Discard clients after failed rollbacks

    • Fixed

      postgres: Reject commits that roll back aborted transactions

  3. 0.29.7

    17 Oct 20267 fixes
    • Fixed

      Release controlled transaction connection when begin fails

    • Fixed

      Share completion state between controlled transaction handles

    • Fixed

      Release controlled transaction connection when rollback fails

    • Fixed

      Serialize controlled transaction commands with queries

    • Fixed

      postgres: Release the client when destroyed while acquiring a connection by @abebelagua & @igalklebanov

    • Fixed

      mssql: Escape jsonBuildObject keys.

    • Fixed

      mssql: Escape JSON in jsonBuildObject

  4. 0.29.6

    16 Sep 20261 fix
    • Fixed

      Allow immutable columns in doUpdateSet's where.

  5. 0.29.5

    10 Aug 20261 new · 1 fix
    • New

      Add missing beforeThrow calls in getInflightQueryAbortHandler

    • Fixed

      Fix infinite type check recursion

  6. 0.29.4

    17 Jul 20262 fixes
    • Fixed

      Fix postgres password not being passed to control client by @CakeWithDivinity & @igalklebanov

    • Fixed

      sqlite: Returning clauses wrongfuly output after order by and limit in delete queries.

  7. 0.29.3

    Migration needed5 Jul 20261 fix
    • Breaking

      PostgreSQL migrations now use session-level advisory locks, including when transactions are enabled. This is incompatible with PgBouncer transaction pooling and other transaction-mode connection poolers. Run migrations through a direct connection, session pooling, or custom migration locking. Otherwise, migration locks can remain held on pooled connections and block subsequent migration runs. See #1919 and #2200.

    • Fixed

      PostgreSQL and MSSQL migrations are not running exclusively when disableTransactions: true. by @morgan-coded & @igalklebanov

  8. 0.29.2

    16 May 20261 fix
    • Fixed

      $narrowType mishandling branded types.

5 other lines we could not sort, mostly version bumps
  • Clients whose rollback fails are discarded instead of returned to the pool for reuse.

    0.29.8
  • Commits that PostgreSQL turns into rollbacks now throw AbortedTransactionError instead of reporting success. Controlled transactions are marked as rolled back and release their connection; a subsequent rollback().execute() safely succeeds without sending another rollback.

    0.29.8
  • Commit, rollback, and savepoint commands now wait for ongoing queries and streams to finish.

    0.29.7
  • Close or exhaust active streams before awaiting these commands.

    0.29.7
  • A failed rollback now releases the connection and marks the transaction as rolled back.

    0.29.7

148 internal lines (docs, tests, tooling) left out.

A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.