Skip to content

Update dependency knex to v3#378

Merged
renovate[bot] merged 1 commit intomainfrom
renovate/knex-3.x
Mar 31, 2026
Merged

Update dependency knex to v3#378
renovate[bot] merged 1 commit intomainfrom
renovate/knex-3.x

Conversation

@renovate
Copy link
Copy Markdown
Contributor

@renovate renovate Bot commented Feb 3, 2026

This PR contains the following updates:

Package Change Age Confidence
knex (source) 2.4.23.2.7 age confidence

Release Notes

knex/knex (knex)

v3.2.7

Compare Source

Bug fixes
  • fix sqlite DDL operations failing inside transactions #​6408
  • fix: handle lowercase INFORMATION_SCHEMA keys in MySQL renameColumn #​6407
  • fix: clone config in client constructor #​5633
  • fix: remove __knexTxId from transaction connection on release #​5288
  • fix: correct binding order in delete with subquery join #​6412
  • chore: omit ./scripts from published package #​6356

v3.2.6

Compare Source

Bug fixes

v3.2.5

Compare Source

Bug fixes

v3.2.4

Compare Source

Bug fixes

v3.2.3

Compare Source

What's Changed

Full Changelog: knex/knex@3.2.1...3.2.3

v3.2.2

Compare Source

v3.2.1

Compare Source

Bug fixes
  • Fix subpath imports broken by exports field added in 3.2.0. Packages relying on deep imports (e.g. knex/lib/dialects/sqlite3/index) were blocked by the restrictive exports map
Docs
  • Add VitePress blog with archive and UTC post dates (#​6397)

v3.2.0

Compare Source

New features
  • Add migration lifecycle hooks (#​5541)
  • Add SIMILAR TO operator (#​5303)
  • Add dropUniqueIfExists (#​6069)
  • Add 'validate' pool option (#​5120)
  • PostgreSQL: default datetime/timestamp precision setting added (#​5311)
  • Better-SQLite3: Support defaultSafeIntegers option (#​6320)
  • Better-SQLite3: Improve safeIntegers support (#​6352)
  • SQLite: Refactor transactions to allow setting the foreign_keys pragma for a transaction (#​6315)
Bug fixes
  • Fix where in query with raw column (#​6323)
  • Fix migrate up with completed migration (#​6342)
  • Fix ESM export and typings (#​6227)
  • Fix migration CLI and cli tests (#​6264)
  • Fix recover from broken connection (#​5774)
  • Prevent unexpected combinations of statements and clauses groups from executing (#​6314)
  • Improve CLI error reporting in some edge cases (#​6265)
  • PostgreSQL: clearer error when pg-query-stream is missing (#​6362)
  • PostgreSQL: Fix streaming compatibility with pg-query-stream 4.14+ (#​6396)
  • MySQL: Fix the operator "<=>" is not permitted (#​6158)
  • MSSQL: Optimize stream.write (#​5693)
  • SQLite: Fix whereILike issue (#​5687)
Types
  • Fix usage of object type that is too broad (#​5373)
  • Fix pluck typing issue when CompositeTableType is used (#​4609)
  • Make types no longer allow knex to be called without tablename (#​6188)
  • Add missing type definition for orderBy with a raw column/expression (#​5803)
  • Add additional typing for column.index (#​5371)
  • Update typings for increment/decrement (#​5674)
  • Use syntax import from instead of import = require() (#​5258)
  • Import knex as type in TS seed template (#​6094)
  • Update index.d.ts (#​5767)
  • Add @​types/minimatch v5 to fix TypeScript build (#​6240)
Tests
  • Additional tests for JSON (de)serialization (#​4451)
  • Run CI on Node 22 and remove dtslint (#​6165)
Chore
  • Update to non-screamy versions of dependencies that have npm audit failures (#​6324)
  • Upgrade pg to ^8.20.0, pg-query-stream to ^4.14.0 (#​6396)

v3.1.0

Compare Source

Bug fixes
  • andWhereNotJsonObject calling wrong function (#​5683)
  • PostgreSQL: fix error when setting query_timeout (#​5673)
  • MySQL: Missing comments on delete, update and insert (#​5738)
  • MySQL: Fixed issue with bigincrements not working with composite primary key - #​5341 (#​5343)
Types
  • Add type definitions for orHavingNull and orHavingNotNull (#​5669)
  • Import knex as type in TS migration template (#​5741)
  • Fix conditional constraint error (#​5747)
  • PostgreSQL: Fix typing to reflect pg typing change (#​5647)
New features
  • Add transactor.parentTransaction (#​5567)
  • MySQL: Added implementation for upsert (#​5743)
  • Oracle: Support Object Names Greater than 30 Characters for Oracle DB Versions 12.2 and Greater (#​5197)

v3.0.1

Compare Source

  • Build fix

v3.0.0

Compare Source

  • Fix raw bindings typing (#​5401)
  • Fix migrate:unlock when used with custom identifier wrapping. (#​5353)
  • Fix driver options specified with .options() method being ignored for oracledb dialect (#​5123)
  • Drop compatibility for Node < 16
  • Fix knex d.ts to work with mixed modules (#​5659)
  • Fix Lexical error from "Instaed" to "Instead" (#​5655)
Bug fixes

v2.5.1

Compare Source

Bug fixes

v2.5.0

Compare Source

New features
  • Add uuid helper function (#​5617)
  • Add nativeBindings option to better-sqlite3 options (#​5461)
  • Add QueryBuilder#updateFrom (#​5386)
  • Add readonly transaction access mode (#​5445)
  • Add readonly option to Better-SQLite3 (#​5530)
  • Add EXCEPT as a valid keyword (#​5357)
  • Add ability to prepend query comments (#​5289)
  • Add fetchAsString option (#​5484)
Bug fixes
  • Avoid password leaks on query logs (#​5559)
  • Add knex.mjs to files in package.json (#​5518)
  • Handle numeric array elements in .orderBy() (#​5551)
  • Attach error handler early enough (#​5552)
  • Fix Returning * in Oracle (#​5598)
  • Fix indexType option in Postgres (#​5601)
  • Add mjs extension type (#​5616)
  • Use implicit check on json fields for OracleDB (#​5478)
  • Fix when manually close source stream (#​5466)
  • Fix case sensitive issue with get table (#​5509)
Typings
  • Add Object syntax overload to increment method (#​5512)
  • Add object syntax overload to decrement method (#​5555)
  • Fix typing for toSql (#​5594)
  • Add ResolveTableType for .merge() (#​5605)
  • Add missing types for havingNull and havingNotNull (#​5529)
  • Add collate to the columnbuilder interface (#​5568)
  • TableBuilder methods return the SchemaBuilder. (#​5486)

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented Feb 3, 2026

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

  • 🔍 Trigger a full review

Comment @coderabbitai help to get the list of available commands and usage tips.

@renovate renovate Bot force-pushed the renovate/knex-3.x branch 2 times, most recently from 01f9a0b to d580491 Compare February 17, 2026 18:39
@renovate renovate Bot force-pushed the renovate/knex-3.x branch from d580491 to ce781c7 Compare March 5, 2026 17:17
@renovate renovate Bot force-pushed the renovate/knex-3.x branch from ce781c7 to c8bff8e Compare March 13, 2026 13:26
@renovate renovate Bot force-pushed the renovate/knex-3.x branch 9 times, most recently from 99fa880 to c7df824 Compare March 30, 2026 22:57
@renovate renovate Bot force-pushed the renovate/knex-3.x branch from c7df824 to 085b79f Compare March 31, 2026 02:49
@renovate renovate Bot merged commit 3bbe987 into main Mar 31, 2026
8 checks passed
@renovate renovate Bot deleted the renovate/knex-3.x branch March 31, 2026 06:41
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.

0 participants