3.3.0
3.3.0
knex
View on GitHubView PackagePublished: Jun 26, 2026

Release Notes

New features

  • feat: add support for returning in mariadb by @khalilst in #4572
  • feat: mariadb driver support by @erulabs in #6415
  • Fixes _setNullableState not respecting schema by @OliverHenrichs in #6025
  • feat: add connectionPool option for bringing an external pool by @tgriesser in #6414
  • Added knex.migrate.to and knex.migrate.before by @OlivierCavadenti in #6420
  • feat: set error.cause for tarn acquire connection error by @s-sathish in #5681

Bug fixes

  • Fix FOR UPDATE OF with explicit schema by @ErinCall in #5791
  • Fix sqlite conditional insert/merge when inserting multiple rows by @faulpeltz in #6185
  • Fix: Stream postProcessResponse error is not catchable with .on('error') by @Cerins in #6033
  • fix(pg): preserve updateFrom binding order by @AbdelrahmanHafez in #6454
  • fix: #6451, support token-credential in mssql auth by @tgriesser in #6465
  • fix(types): #6452 - .where type regression for invalid types by @tgriesser in #6463
  • fix: #6460 unhandled error on connection timeout with stream by @tgriesser in #6462
  • fix: #6455, correctly state tedious as dependency needed for mssql by @tgriesser in #6464
  • fix(pg,mssql): preserve binding order in delete and update queries by @AbdelrahmanHafez in #6438

Misc

  • chore: bump [email protected] by @tgriesser in #6492
  • micro-optimization in wrappingFormatter by @erulabs in #6456
  • cleanup flake in the cancellation tests by @tgriesser in #6486
  • Update docs: timeout section by @rubengmurray in #6471
  • ci: make npm install resilient to transient network failures by @OlivierCavadenti in #6468
  • Update homepage urls by @giannisp in #6450
  • chore: add mariadb to docker-compose by @tgriesser in #6466
  • chore: set codecov to default coverage provider by @tgriesser in #6448

New Contributors

Full Changelog: https://github.com/knex/knex/compare/3.2.10...3.3.0