Packages

knex

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

Your version

0.2.0

7 Aug 2013Where it was published

0.95.15 is the newest release of 0.2.x.

In short

3 breaking

  • Breaking

    hasTable now returns a boolean rather than a failed promise.

  • Breaking

    Changed syntax for insert in postgresql, where the id is not assumed on inserts (#18). The second parameter of insert is now required to return an array of insert id's for the last insert.

  • Breaking

    The timestamp method on the schema builder now uses a dateTime rather than a timestamp

Security

2 advisories affect 0.2.0; 2.4.0 fixes them

Release note

Breaking changes

  • Breaking

    hasTable now returns a boolean rather than a failed promise.

  • Breaking

    Changed syntax for insert in postgresql, where the id is not assumed on inserts (#18). The second parameter of insert is now required to return an array of insert id's for the last insert.

  • Breaking

    The timestamp method on the schema builder now uses a dateTime rather than a timestamp

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.