Knex v0.14.0 Release Notes

Release Date: 2017-11-06 // over 6 years ago
  • ๐Ÿ’ฅ Breaking Changes:

    • โœ‚ Remove sorting of statements from update queries #2171
    • โšก๏ธ Updated allowed operator list with some missing operators and make all to lower case #2239
    • ๐Ÿ‘‰ Use node-mssql 4.0.0 #2029
    • ๐Ÿ‘Œ Support for enum columns to SQlite3 dialect #2055
    • ๐Ÿ‘ Better identifier quoting in Sqlite3 #2087
    • Migration Errors - Display filename of of failed migration #2272

    Other Features:

    • Post processing hook for query result #2261
    • ๐Ÿ— Build native SQL where binding parameters are dialect specific #2237
    • ๐Ÿ”ง Configuration option to allow override identifier wrapping #2217
    • Implemented select syntax: select({ alias: 'column' }) #2227
    • ๐Ÿ‘ Allows to filter seeds and migrations by extensions #2168
    • โœ… Reconnecting after database server disconnect/reconnect + tests #2017
    • โœ‚ Removed filering from allowed configuration settings of mysql2 #2040
    • ๐Ÿ‘ Allow raw expressions in query builder aggregate methods #2257
    • Throw error on non-string table comment #2126
    • ๐Ÿ‘Œ Support for mysql stream query options #2301

    ๐Ÿ› Bug fixes:

    • ๐Ÿ‘ Allow update queries and passing query builder to with statements #2298
    • ๐Ÿ›  Fix escape table name in SQLite columnInfo call #2281
    • Preventing containsUndefined from going to recursion loop #1711
    • ๐Ÿ›  Fix error caused by call to knex.migrate.currentVersion #2123
    • โฌ†๏ธ Upgraded generic-pool to 3.1.7 (did resolve some memory issues) #2208
    • ๐Ÿ‘ Allow using NOT ILIKE operator #2195
    • ๐Ÿ›  Fix postgres searchPath to be case-sensitive #2172
    • ๐Ÿ›  Fix drop of multiple columns in sqlite3 #2107
    • ๐Ÿ›  Fix adding multiple columns in Oracle #2115
    • ๐Ÿ‘‰ Use selected schema when dropping indices in Postgres. #2105
    • ๐Ÿ›  Fix hasTable for MySQL to not do partial matches #2097
    • ๐Ÿ›  Fix setting autoTransaction in batchInsert #2113
    • ๐Ÿ›  Fix connection error propagation when streaming #2199
    • ๐Ÿ›  Fix comments not being applied to increments columns #2243
    • ๐Ÿ›  Fix mssql wrong binding order of queries that combine a limit with select raw or update #2066
    • ๐Ÿ›  Fixed mysql alter table attributes order #2062

    โœ… Test / internal changes:

    • โšก๏ธ Update each out-of-date dependency according to david-dm.org #2297
    • โšก๏ธ Update v8flags to version 3.0.0 #2288
    • โšก๏ธ Update interpret version #2283
    • ๐Ÿ›  Fix debug output typo #2187
    • ๐Ÿ‘ท Docker CI tests #2164
    • โœ… Unit test for right/rightOuterJoin combination #2117
    • โœ… Unit test for fullOuterJoin #2118
    • โœ… Unit tests for table comment #2098
    • โœ… Test referencing non-existent column with sqlite3 #2104
    • โœ… Unit test for renaming column in postgresql #2099
    • โœ… Unit test for cross-join #2102
    • ๐Ÿ›  Fix incorrect parameter name #2068