Packages

knex

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

Your version

0.6.0

4 Jun 2014Where it was published

0.95.15 is the newest release of 0.6.x.

In short

1 deprecated2 new12 changed1 internal

  • Deprecated

    Deprecated 5 argument join in favor of additional join methods.

Security

2 advisories affect 0.6.0; 2.4.0 fixes them

Release note

Major Library refactor

  • Major internal overhaul to clean up the various dialect code.

  • Support for the mariasql driver.

  • More consistent use of raw query bindings throughout the library.

  • Queries are more composable, may be injected in various points throughout the builder.

  • Added streaming interface

  • Deprecated

    Deprecated 5 argument join in favor of additional join methods.

  • The wrapValue function to allow for array column operations in PostgreSQL (#287).

  • An explicit connection can be passed for any query (#56).

  • Drop column support for sqlite3

  • All schema actions are run sequentially on the same connection if chained.

  • Schema actions can now be wrapped in a transaction

  • .references(tableName.columnName) as shorthand for .references(columnName).inTable(tableName)

  • .join('table.column', 'otherTable.column') as shorthand for .join('table.column', '=', 'otherTable.column')

  • Streams are supported for selects, passing through to the streaming capabilities of node-mysql and node-postgres

  • For More information, see this pull-request

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.