All Versions
202
Latest Version
Avg Release Cycle
25 days
Latest Release
596 days ago

Changelog History
Page 10

  • v0.14.6 Changes

    April 12, 2018

    ๐Ÿ› Bug fixes:

    • โช Restored functionality of query event #2566 (#2549)
  • v0.14.5 Changes

    April 08, 2018

    ๐Ÿ› Bug fixes:

    • ๐Ÿ›  Fix wrapping returning column on oracledb #2554

    ๐Ÿ†• New Features:

    • ๐Ÿ‘Œ Support passing DB schema name for migrations #2499 #2559
    • โž• add clearOrder method #2360 #2553
    • โž• Added knexTxId to query events and debug calls #2476
    • ๐Ÿ‘Œ Support multi-column whereIn with query #1390
    • โž• Added error if chaining update/insert/etc with first() #2506
    • Checks for an empty, undefined or null object on transacting #2494
    • countDistinct with multiple columns #2449

    โœ… Test / internal changes:

    • โž• Added npm run test:oracledb command that runs oracledb tests in docker #2491
    • ๐Ÿณ Runnin mssql tests in docker #2496
    • โšก๏ธ Update dependencies #2561
  • v0.14.4 Changes

    February 19, 2018

    ๐Ÿ› Bug fixes:

    • ๐Ÿ›  containsUndefined only validate plain objects. Fixes #1898 (#2468)
    • โž• Add warning when using .returning() in sqlite3. Fixes #1660 (#2471)
    • โšก๏ธ Throw an error if .update() results in an empty sql (#2472)
    • โœ‚ Removed unnecessary createTableIfNotExist and replaced with createTable (#2473)

    ๐Ÿ†• New Features:

    • ๐Ÿ‘ Allow calling lock procedures (such as forUpdate) outside of transaction. Fixes #2403. (#2475)
    • โž• Added test and documentation for Event 'start' (#2488)

    โœ… Test / internal changes:

    • โž• Added stress test, which uses TCP proxy to simulate flaky connection #2460
    • โœ‚ Removed old docker tests, new stress test setup (#2474)
    • Removed unused property __cid on the base client (#2481)
    • ๐Ÿ”„ Changed rm to rimraf in 'npm run dev' (#2483)
    • ๐Ÿ”„ Changed babel preset and use latest node as target when running dev (#2484)
  • v0.14.3 Changes

    February 08, 2018

    ๐Ÿ› Bug fixes:

    • ๐Ÿ‘‰ Use tarn as pool instead of generic-pool which has been given various problems #2450
    • ๐Ÿ›  Fixed mysql issue where add columns failed if using both after and collate #2432
    • ๐Ÿ“œ CLI sets exit-code 1 if the command supplied was not parseable #2358
    • Set toNative() to be not enumerable #2388
    • ๐Ÿ›  Use wrapIdentifier in columnInfo. fixes #2402 #2405
    • ๐Ÿ›  Fixed a bug when using .returning (OUTPUT) in an update query with joins in MSSQL #2399
    • ๐Ÿ‘ Better error message when running migrations fail before even starting run migrations #2373
    • Read oracle's UV_THREADPOOL_SIZE env variable correctly #2372
    • โž• Added decimal variable precision / scale support #2353

    ๐Ÿ†• New Features:

    • โž• Added queryContext to schema and query builders #2314
    • โž• Added redshift dialect #2233
    • โž• Added warning when one uses .createTableIfNotExist and deprecated it from docs #2458

    โœ… Test / internal changes:

    • โšก๏ธ Update dependencies and fix ESLint warnings accordingly #2433
    • โœ… Disable oracledb tests from non LTS nodes #2407
    • โšก๏ธ Update dependencies #2422
  • v0.14.2 Changes

    November 24, 2017

    ๐Ÿ› Bug fixes:

    • ๐Ÿ›  Fix sqlite3 truncate method to work again #2348
  • v0.14.1 Changes

    November 19, 2017

    ๐Ÿ› Bug fixes:

    • ๐Ÿ›  Fix support for multiple schema names in in postgres searchPath #2340
    • ๐Ÿ›  Fix create new connection to pass errors to query instead of retry loop #2336
    • ๐Ÿ›  Fix recognition of connections closed by server #2341
  • v0.14.0 Changes

    November 06, 2017

    ๐Ÿ’ฅ 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
  • v0.13.0 Changes

    April 29, 2017

    ๐Ÿ’ฅ Breaking Changes:

    • Multiple concurrent migration runners blocks instead of throwing error when possible #1962
    • ๐Ÿ›  Fixed transaction promise mutation issue #1991

    Other Changes:

    • ๐Ÿ‘ Allow passing version of connected db in configuration file #1993
    • ๐Ÿ›  Bugfixes on batchInsert and transactions for mysql/maria #1992
    • โž• Add fetchAsString optional parameter to oracledb dialect #1998
    • ๐Ÿ›  fix: escapeObject parameter order for Postgres dialect. #2003
  • v0.12.9 Changes

    March 23, 2017
    • ๐Ÿ›  Fixed unhandled exception in batchInsert when the rows to be inserted resulted in duplicate key violation #1880
  • v0.12.8 Changes

    March 15, 2017
    • โž• Added clearSelect and clearWhere to query builder #1912
    • Properly close Postgres query streams on error #1935
    • Transactions should never reject with undefined #1970
    • Clear acquireConnectionTimeout if an error occurs when acquiring a connection #1973