knex
3.3.0 · 26 Jun 2026MIT7.2M / weekRepositoryHomepagenpmAtom feed
Upgrading knex From 0.95.9 to 0.95.15
6 releases in betweenevery note read
Reading releases, release notes and advisories…
Security
1 advisory still affects 0.95.15
- Knex.js has a limited SQL injection vulnerabilityhigh · GHSA-4jv9-3563-23j3
Upgrading to 2.4.0 clears it.
Release by release
- New
Allow string indexType in index creation #4791
- Fixed
MySQL: mysql2 dialect validate connection fix #4794
- Fixed
PostgreSQL: Support zero precision in timestamp/datetime #4784
- New
- New
New dialect: CockroachDB #4742
- New
New dialect: pg-native #4327
- New
CockroachDB: Add support for upsert #4767
- New
PostgreSQL: Support SELECT .. FOR NO KEY UPDATE / KEY SHARE row level locking clauses #4755
- New
- New
Add support for nullability modification via schema builder (table.setNullable() and table.dropNullable()) #4657
- New
MySQL: Add support for mysql/mariadb-client JSON parameters in connectionURIs #4629
- New
MSSQL: Support comments as MS_Description properties #4632
- New
Add .mjs migration and seed stubs #4631
- New
- New
Use sys info function instead of connection db name #4623
- New
Add TypeScript support for deferrable, new Primary/Unique syntax #4589
- New
Oracle: Support specifying schema for dropTable and dropSequence #4596
- New
Oracle: Support specifying schema for autoincrement #4594
- New
3 other lines we could not sort, mostly version bumps
- 0.95.12
Some TableBuilder methods return wrong types #4764
- 0.95.12
Update JoinRaw bindings type to accept arrays #4752
- 0.95.10
Deferrable and withkeyName should not be in ColumnBuilder #4600
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.