Knex v0.18.0 Release Notes

Release Date: 2019-06-26 // almost 5 years ago
  • ๐Ÿ› 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:

    • โฌ‡๏ธ Drop support for Node.js 6 #3227
    • โœ‚ Remove Babel #3227
    • โœ‚ Remove Bluebird #3290 #3287 #3285 #3267 #3266 #3263
    • ๐Ÿ›  Fix comments that were modified by find & replace #3308

    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