Packages

knex

3.3.0 · 26 Jun 2026MIT7.3M / weekRepositoryHomepagenpmAtom feed

Your version

0.18.0

26 Jun 2019Where it was published

0.95.15 is the newest release of 0.18.x.

In short

1 removed8 new5 fixed1 changed

  • Removed

    Drop support for Node.js 6 #3227

Security

2 advisories affect 0.18.0; 2.4.0 fixes them

Release note

0.18.0 - 26 June, 2019

Bug fixes

  • Do not reject promise on transaction rollback (by default only for new, non-callback, style of transactions for now to avoid breaking old code) #3235

New features

  • Added doNotRejectOnRollback options for starting transactions, to prevent rejecting promises on rollback for callback-style transactions.

  • Use extension from knexfile for generating migrations unless overriden #3282

  • Use migrations.extension from config when generating migration #3242

  • Expose executionPromise for transactors #3297

Bug fixes

  • Oracle: Updated handling of connection errors for disposal #2608

  • Fix extension resolution from env configs #3294

Test / internal changes

Typings

  • Add workarounds for degraded inference when strictNullChecks is set to false #3275

  • Add stub type definition for Migrator config #3279

  • Add stub to seeds type #3296

  • Fix MSSQL config typings #3269

  • Add pgsql specific table builder method typings #3146

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.