Packages

knex

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

Your version

0.10.0

15 Feb 2016Where it was published

0.95.15 is the newest release of 0.10.x.

In short

1 breaking11 new2 fixed3 changed

  • Breaking

    insert and update now ignore undefined values. Back compatibility is provided through the option useNullAsDefault. #1174, #1043

Security

2 advisories affect 0.10.0; 2.4.0 fixes them

Release note

0.10.0 - 15 Feb, 2016

Breaking Changes

  • Breaking

    insert and update now ignore undefined values. Back compatibility is provided through the option useNullAsDefault. #1174, #1043

Other Changes

  • Add countDistinct, avgDistinct and sumDistinct. #1046

  • Add schema.jsonb. Deprecated schema.json(column, true). #991

  • Support binding identifiers with ??. #1103

  • Restore query event when triggered by transactions. #855

  • Correct question mark escaping in rendered queries. #519, #1058

  • Add per-dialect escaping, allowing quotes to be escaped correctly. #886, #1095

  • Add MSSQL support. #1090

  • Add migration locking. #1094

  • Allow column aliases to contain .. #1181

  • Add batchInsert. #1182

  • Support non-array arguments to knex.raw.

  • Global query-error event. #1163

  • Add batchInsert. #1182

  • Better support for Mysql2 dialect options. #980

  • Support for acquireConnectionTimeout default 60 seconds preventing #1040 from happening. #1177

  • Fixed constraint name escaping when dropping a constraint. #1177

  • Show also .raw queries in debug output. #1169

  • Support for cli to use basic configuration without specific environment set. #1101

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.