Packages

knex

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

Upgrading knex From 0.5.16 to 0.6.0

1 release in betweenevery note read

Reading releases, release notes and advisories…

Other targets from 0.5.16Newest 0.x0.95.15Clears its 2 advisories2.4.0Latest3.3.0
  1. 0.5.16yours
  2. 0.6.0target
1
change to make
0
advisories fixed
2
new
0
fixes

Before you upgrade

Tick each one off as you go
  • Deprecated0.6.0

Security

2 advisories still affect 0.6.0

Upgrading to 2.4.0 clears them.

Release by release

  1. 0.6.0

    Deprecation4 Jun 20142 new
    • Deprecated

      Deprecated 5 argument join in favor of additional join methods.

    • New

      Support for the mariasql driver.

    • New

      Added streaming interface

12 other lines we could not sort, mostly version bumps
  • Major internal overhaul to clean up the various dialect code.

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

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

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

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

    0.6.0
  • Drop column support for sqlite3

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

    0.6.0
  • Schema actions can now be wrapped in a transaction

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

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

    0.6.0

1 internal line (docs, tests, tooling) left out.

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.