Socket
Socket
Sign inDemoInstall

knex

Package Overview
Dependencies
Maintainers
4
Versions
252
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

knex - npm Package Versions

1
26

0.20.14

Diff

Changelog

Source

0.20.14 - 13 April, 2020

New features:

  • CLI: adds support for asynchronous knexfile loading #3748
  • Add clearGroup method #3771

Typings:

  • Support Raw types for insert, where, update #3730
  • Add typings for MigrationSource #3756
  • Update signature of orderBy to support QueryBuilder inside array #3757
  • Add toSQL and toString to SchemaBuilder #3758
  • interface Knex and function Knex should have the same types #3787
  • Fix minor issues around typings #3765

Test / internal changes:

  • Minor test internal enhancements #3747
  • Minor improvements on the usage of fs utilities #3749
  • Split tests in groups #3785
kibertoad
published 0.20.13 •

Changelog

Source

0.20.13 - 23 March, 2020

Bug fixes:

  • Correctly handle dateToString escaping without timezone passed #3742
  • Make protocol length check more defensive #3744

Typings:

  • Make the ChainableInterface conform to Promise<T> #3724
kibertoad
published 0.20.12 •

Changelog

Source

0.20.12 - 19 March, 2020

Bug fixes:

  • Added missing call to _reject in Transactor#transaction #3706
  • Fix method binding on knex proxy #3717
  • Oracle: Transaction_OracleDB can use config.connection #3731

Typings:

  • Fix incorrect type signature of Having #3719

Test / internal changes:

  • Cleanup/remove transaction stalling #3716
  • Rewrote Transaction#acquireConnection() methods to use async #3707
kibertoad
published 0.20.11 •

Changelog

Source

0.20.11 - 26 February, 2020

Breaking changes:

  • Knex returns native JS promises instead of Bluebird ones. This means that you no longer use such methods as map, spread and reduce on QueryBuilder instance.

New features:

  • Oracle: Add OracleDB handling for buffer type in fetchAsString #3685

Bug fixes:

  • Fix race condition in non-container transactions #3671

Typings:

  • Mark knex arguments of composite/collection types to be readonly #3680

Test / internal changes:

  • Remove dependency on Bluebird methods from sources #3683
  • Cleanup and extract Transaction Workflow logic #3674
kibertoad
published 0.20.10 •

Changelog

Source

0.20.10 - 13 February, 2020

Bug fixes:

  • Oracle: commit was a no-op causing race conditions #3668
  • CLI: Knex calls process.chdir() before opening Knexfile #3661
  • Fixed unresolved promise in cancelQuery() #3666

Typings:

  • fn.now takes optionally a precision argument. #3662
  • PG: Include SSL in connection definition #3659

Test / internal changes:

  • replace Bluebird.timeout #3634
kibertoad
published 0.20.9 •

Changelog

Source

0.20.9 - 08 February, 2020

Bug fixes:

  • CLI: Improve Support for Liftoff's Preloaders - this should fix some cases like using TS for your migrations #3613

Typings:

  • MSSQL: Add enableArithAbort to MsSqlConnectionConfig

Test / internal changes:

  • Refactor more tests to use cli-testlab #3640
  • Update QueryCompiler implementation to use classes #3647
kibertoad
published 0.20.8 •

Changelog

Source

0.20.8 - 14 January, 2020

New features:

  • CLI: Support ES6 modules via flag --esm #3616

Bug fixes:

  • CLI: Print help only when there are no arguments #3617

Typings:

  • Fix incorrect type of QueryBuilder.first('*') result #3621
kibertoad
published 0.20.7 •

Changelog

Source

0.20.7 - 07 January, 2020

New features:

  • Throw better error when trying to modify schema while using unsupported dialect #3609

Bug fixes:

  • Oracle: dispose connection on connection error #3611
  • Oracle: fix not releasing connection from pool on disconnect #3605
  • CLI: prevent warning with root command #3604

Typings:

  • Add create/drop schema methods to SchemaBuilder #3579
kibertoad
published 0.20.6 •

Changelog

Source

0.20.6 - 29 December, 2019

Bug fixes:

  • Enforce Unix (lf) line terminators #3598
kibertoad
published 0.20.4 •

Changelog

Source

0.20.4 - 08 December, 2019

Bug fixes:

  • Fix debug logger messing up queries with % #3566
  • Make logger methods mutually consistent #3567

Typings:

  • Add missing methods to client type #3565
  • Fix queryContext function defintion #3562
  • Fix QueryBuilder.extend this type #3526 #3528

Test / internal changes:

  • Remove bluebird.using #3552
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc