All Versions
202
Latest Version
Avg Release Cycle
25 days
Latest Release
628 days ago
Changelog History
Page 2
Changelog History
Page 2
-
v1.0.1 Changes
January 16, 2022๐ Bug fixes:
- ๐ Fix package.json metadata
-
v1.0.0 Changes
January 16, 2022๐ฅ Breaking changes
- โฌ๏ธ Dropped support for Node 10;
- ๐ Replaced unsupported
sqlite3
driver with@vscode/sqlite3
; - ๐ Changed data structure from
RETURNING
operation to be consistent withSELECT
; - ๐ Changed Migrator to return list of migrations as objects consistently.
๐ New features:
- ๐ Support fromRaw #4781
- ๐ Support zero precision in timestamp/datetime #4784
- ๐ Support whereLike and whereILike #4779
- โ Add JSDoc (TS flavor) to stub files #4809
- ๐ Allow skip binding in limit and offset #4811
- ๐ Support creating a new table in the database based on another table #4821
- Accept Raw on onIn joins #4830
- ๐ Implement support for custom seed sources #4842
- โ Add binary uuid option #4836
- โก๏ธ ForUpdate array parameter #4882
- โ Add camel case to timestamps method #4803
- ๐ Advanced JSON support #4859
- โ Add type to TypeScript knexfile #4909
- ๐ Checks Constraints Support #4874
- ๐ Support creating multiple PKs with increments #4903
- Enable wrapIdentifier for SQLite .hasTable #4915
- ๐ MSSQL: Add support for unique constraint #4887
- ๐ SQLite: New dialect, using better-sqlite3 driver #4871
- SQLite: Switch to @vscode/sqlite3 #4866
- ๐ SQLite: Support createViewOrReplace #4856
- ๐ SQLite: Support RETURNING statements for better-sqlite3 driver #4934
- ๐ PostgreSQL: Support JOIN and USING syntax for Delete Statement #4800
๐ Bug fixes:
- ๐ Fix overzealous warning on use of whereNot with "in" or "between" #4780
- ๐ Fix Union all + first syntax error #4799
- ๐ Make view columns optional in create view like #4829
- ๐ Insert lock row fix during migration #4865
- ๐ Fix for createViewOrReplace #4856
- SQLite: Fix foreign key constraints when altering a table #4189
- MySQL: Validate connection fix #4794
- โ MySQL: Set comment size warning limit to 1024 #4867
Typings:
- ๐ Allow string indexType in index creation #4791
- โ Add missing ints typings #4832
- Returning method types #4881
- ๐ Improve columnInfo type #4868
-
v0.95.15 Changes
December 22, 2021๐ Bug fixes:
- Oracle:
- ๐ MariaDB: lock row fix during migration in MariaDB and Oracle #4865
-
v0.95.14 Changes
November 09, 2021๐ Bug fixes:
- MySQL: mysql2 dialect validate connection fix #4794
-
v0.95.13 Changes
November 02, 2021๐ Bug fixes:
- ๐ PostgreSQL: Support zero precision in timestamp/datetime #4784
Typings:
- ๐ Allow string indexType in index creation #4791
-
v0.95.12 Changes
October 28, 2021๐ New features:
- ๐ New dialect: CockroachDB #4742
- ๐ New dialect: pg-native #4327
- ๐ CockroachDB: add support for upsert #4767
- โก๏ธ PostgreSQL: Support SELECT .. FOR NO KEY UPDATE / KEY SHARE row level locking clauses #4755
- ๐ PostgreSQL: Add support for 'CASCADE' in PostgreSQL 'DROP SCHEMA' queries #4713
- ๐ MySQL: Add storage engine index Type support to index() and unique() schema #4756
- ๐ MSSQL: Support table.primary, table.unique variant with options object #4710
- ๐ SQLite: Add setNullable support to SQLite #4684
- โ Add geometry column building #4776
- โ Add support for creating table copies #1373
- ๐ Implement support for views and materialized views #1626
- ๐ Implement partial index support #4768
- ๐ Support for 'is null' in 'order by' #3667
๐ Bug fixes:
- ๐ Fix support for Oracle connections passed via knex.connection() #4757
- ๐ Avoid inserting multiple locks if a migration lock already exists #4694
Typings:
- Some TableBuilder methods return wrong types #4764
- โก๏ธ Update JoinRaw bindings type to accept arrays #4752
- ๐ fix onDelete/onUpdate for ColumnBuilder #4656
-
v0.95.11 Changes
September 03, 2021๐ New features:
- โ Add support for nullability modification via schema builder (table.setNullable() and table.dropNullable()) #4657
- ๐ MySQL: Add support for mysql/mariadb-client JSON parameters in connectionURIs #4629
- ๐ MSSQL: Support comments as MS_Description properties #4632
๐ Bug fixes:
- ๐ Fix Analytic orderBy and partitionBy to follow the SQL documentation #4602
- CLI: fix migrate:up for migrations disabling transactions #4550
- SQLite: Fix adding a column with a foreign key constraint in SQLite #4649
- ๐ MSSQL: columnInfo() support case-sensitive database collations #4633
- MSSQL: Generate valid SQL for withRecursive() #4514
- Oracle: withRecursive: omit invalid RECURSIVE keyword, include column list #4514
๐ Improvements:
- โ Add .mjs migration and seed stubs #4631
- ๐ SQLite: Clean up DDL handling and move all operations to the parser-based approach #4648
-
v0.95.10 Changes
August 20, 2021๐ Improvements:
- ๐ Use sys info function instead of connection db name #4623
Typings:
- Deferrable and withkeyName should not be in ColumnBuilder #4600
-
v0.95.9 Changes
July 31, 2021๐ New features:
- ๐ Oracle: support specifying schema for dropTable and dropSequence #4596
- ๐ Oracle: support specifying schema for autoincrement #4594
Typings:
- โ Add TypeScript support for deferrable, new Primary/Unique syntax #4589
-
v0.95.8 Changes
July 25, 2021๐ New features:
- โ Add deferrable support for constraint #4584
- Implement delete with join #4568
- โ Add DPI error codes for Oracle #4536
๐ Bug fixes:
- ๐ Fixing PostgreSQL datetime and timestamp column created with wrong format #4578
Typings:
- ๐ Improve analytic types #4576
- MSSQL: Add trustServerCertificate option #4500