knex
3.3.0 · 26 Jun 2026MIT7.2M / weekRepositoryHomepagenpmAtom feed
Upgrading knex From 0.95.0 to 0.95.15
15 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
- New
Add deferrable support for constraint #4584
- New
Implement delete with join #4568
- New
Add DPI error codes for Oracle #4536
- New
MSSQL: Add trustServerCertificate option #4500
- Fixed
Fixing PostgreSQL datetime and timestamp column created with wrong format #4578
- New
12 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
- 0.95.8
Improve analytic types #4576
- 0.95.7
Export Knex.TransactionConfig #4498
- 0.95.7
Include options object in count(Distinct) typings #4491
- 0.95.6
Export TransactionProvider type #4489
- 0.95.5
Adding Type Definition for isTransaction #4418
- 0.95.5
Export client class from knex namespace #4479
- 0.95.3
Update typings for TypePreservingAggregation and stream #4377
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.