tgriesser/knex
### [`v0.17.6`](https://togithub.com/tgriesser/knex/compare/aa8be0a1dd33f51f00d0a2074d12c826633b97a8...ab50bbc9a79a2879c8432d0ee147a59a888d7315)
[Compare Source](https://togithub.com/tgriesser/knex/compare/aa8be0a1dd33f51f00d0a2074d12c826633b97a8...ab50bbc9a79a2879c8432d0ee147a59a888d7315)
### [`v0.17.5`](https://togithub.com/tgriesser/knex/blob/master/CHANGELOG.md#0175---8-June-2019)
[Compare Source](https://togithub.com/tgriesser/knex/compare/5140e58a1dad4be562c2557954c3cfefd3743602...aa8be0a1dd33f51f00d0a2074d12c826633b97a8)
##### Typings
- Include result.d.ts in published package [#3271](https://togithub.com/tgriesser/knex/issues/3271)
### [`v0.17.4`](https://togithub.com/tgriesser/knex/blob/master/CHANGELOG.md#0174---8-June-2019)
[Compare Source](https://togithub.com/tgriesser/knex/compare/a2031e8c3911a37ea0a83f246edf77217578b9be...5140e58a1dad4be562c2557954c3cfefd3743602)
##### Typings
- Fix some cases of left-to-right inference causing type mismatch [#3265](https://togithub.com/tgriesser/knex/issues/3265)
- Improve count typings [#3249](https://togithub.com/tgriesser/knex/issues/3249)
##### Bug fixes:
- Fix error message bubbling up on seed error [#3248](https://togithub.com/tgriesser/knex/issues/3248)
### [`v0.17.3`](https://togithub.com/tgriesser/knex/blob/master/CHANGELOG.md#0173---2-June-2019)
[Compare Source](https://togithub.com/tgriesser/knex/compare/0.17.2...a2031e8c3911a37ea0a83f246edf77217578b9be)
##### Typings
- Improve typings for aggregations [#3245](https://togithub.com/tgriesser/knex/issues/3245)
- Add decimalNumbers to MySqlConnectionConfig interface [#3244](https://togithub.com/tgriesser/knex/issues/3244)
### [`v0.17.2`](https://togithub.com/tgriesser/knex/blob/master/CHANGELOG.md#0172---1-June-2019)
[Compare Source](https://togithub.com/tgriesser/knex/compare/f3932721de1b02337d7d6eb3ffe0a1533a6fb614...0.17.2)
##### Typings
- Improve count typings [#3239](https://togithub.com/tgriesser/knex/issues/3239)
##### Bug fixes:
- "colorette" dependency breaks browserify builds [#3238](https://togithub.com/tgriesser/knex/issues/3238)
### [`v0.17.1`](https://togithub.com/tgriesser/knex/blob/master/CHANGELOG.md#0171---31-May-2019)
[Compare Source](https://togithub.com/tgriesser/knex/compare/0.17.0...f3932721de1b02337d7d6eb3ffe0a1533a6fb614)
##### New features:
- Add migrate:down functionality [#3228](https://togithub.com/tgriesser/knex/issues/3228)
##### Typings
- Update type of aggregation results to not be arrays when first has been invoked before [#3237](https://togithub.com/tgriesser/knex/issues/3237)
- Include undefined in type of single row results [#3231](https://togithub.com/tgriesser/knex/issues/3231)
- Fix incorrect type definitions for single row queries [#3230](https://togithub.com/tgriesser/knex/issues/3230)
### [`v0.17.0`](https://togithub.com/tgriesser/knex/blob/master/CHANGELOG.md#0170---28-May-2019)
[Compare Source](https://togithub.com/tgriesser/knex/compare/0.16.5...0.17.0)
##### New features:
- Add support for returning started transaction without immediately executing it [#3099](https://togithub.com/tgriesser/knex/issues/3099)
- Add support for passing transaction around with only starting it when needed [#3099](https://togithub.com/tgriesser/knex/issues/3099)
- Add clearHaving function [#3141](https://togithub.com/tgriesser/knex/issues/3141)
- Add --all flag for rollback in CLI [#3187](https://togithub.com/tgriesser/knex/issues/3187)
- Add error detail log to knex CLI [#3149](https://togithub.com/tgriesser/knex/issues/3149)
- Support multi-column whereIn in sqlite through values clause [#3220](https://togithub.com/tgriesser/knex/issues/3220)
- Allow users to specify the migrations "tableName" parameter via the CLI [#3214](https://togithub.com/tgriesser/knex/issues/3214)
- Unify object options handling for datetime/timestamp across dialects [#3181](https://togithub.com/tgriesser/knex/issues/3181)
- Add "up" command for migrations [#3205](https://togithub.com/tgriesser/knex/issues/3205)
##### Typings
- Add default values for generic types (fixes backwards compatibility broken by 0.16.6) [#3189](https://togithub.com/tgriesser/knex/issues/3189)
- Make function types generic in type definitions [#3168](https://togithub.com/tgriesser/knex/issues/3168)
- Add missing types to MigratorConfig [#3174](https://togithub.com/tgriesser/knex/issues/3174)
- Add types for havingBetween, orHavingBetween, havingNotBetween and orHavingNotBetween [#3144](https://togithub.com/tgriesser/knex/issues/3144)
- Update Knex.Config types to include log [#3221](https://togithub.com/tgriesser/knex/issues/3221)
- Fix some more cases of missing typings [#3223](https://togithub.com/tgriesser/knex/issues/3223)
- Support type safe refs [#3215](https://togithub.com/tgriesser/knex/issues/3215)
- Expose some utility types [#3211](https://togithub.com/tgriesser/knex/issues/3211)
- Fix issues with typings of joins and some conflicts with Bluebird typings [#3209](https://togithub.com/tgriesser/knex/issues/3209)
##### Bug fixes:
- Fix order of migration rollback [#3172](https://togithub.com/tgriesser/knex/issues/3172)
##### Test / internal changes:
- Execute CI tests on Node.js 12 [#3171](https://togithub.com/tgriesser/knex/issues/3171)
- Docker-based test dbs [#3157](https://togithub.com/tgriesser/knex/issues/3157)
- Use cli-testlab for testing CLI [#3191](https://togithub.com/tgriesser/knex/issues/3191)
### [`v0.16.5`](https://togithub.com/tgriesser/knex/blob/master/CHANGELOG.md#0165---11-Apr-2019)
[Compare Source](https://togithub.com/tgriesser/knex/compare/0.16.4...0.16.5)
- Bundle polyfills with knex for 0.16.x line again [#3139](https://togithub.com/tgriesser/knex/issues/3139)
### [`v0.16.4`](https://togithub.com/tgriesser/knex/blob/master/CHANGELOG.md#0164---11-Apr-2019)
[Compare Source](https://togithub.com/tgriesser/knex/compare/0.16.3...0.16.4)
##### New features:
- Boolean param for rollback() to rollback all migrations [#2968](https://togithub.com/tgriesser/knex/issues/2968)
- seed:run print the file name of the failing seed [#2972](https://togithub.com/tgriesser/knex/issues/2972) [#2973](https://togithub.com/tgriesser/knex/issues/2973)
- verbose option to CLI commands [#2887](https://togithub.com/tgriesser/knex/issues/2887)
- add intersect() [#3023](https://togithub.com/tgriesser/knex/issues/3023)
- Improved format for TS stubs [#3080](https://togithub.com/tgriesser/knex/issues/3080)
- MySQL: Support nullable timestamps [#3100](https://togithub.com/tgriesser/knex/issues/3100)
- MySQL: Warn `.returning()` does not have any effect [#3039](https://togithub.com/tgriesser/knex/issues/3039)
##### Bug fixes:
- Respect "loadExtensions" configuration [#2969](https://togithub.com/tgriesser/knex/issues/2969)
- Fix event listener duplication when using Migrator [#2982](https://togithub.com/tgriesser/knex/issues/2982)
- Fix fs-migrations breaking docs [#3022](https://togithub.com/tgriesser/knex/issues/3022)
- Fix sqlite3 drop/renameColumn() breaks with postProcessResponse [#3040](https://togithub.com/tgriesser/knex/issues/3040)
- Fix transaction support for migrations [#3084](https://togithub.com/tgriesser/knex/issues/3084)
- Fix queryContext not being passed to raw queries [#3111](https://togithub.com/tgriesser/knex/issues/3111)
- Typings: Allow to pass query builders, identifiers and raw in various places as parameters [#2960](https://togithub.com/tgriesser/knex/issues/2960)
- Typings: toNative() definition [#2996](https://togithub.com/tgriesser/knex/issues/2996)
- Typings: asCallback() definition [#2963](https://togithub.com/tgriesser/knex/issues/2963)
- Typings: queryContext() type definition Knex.Raw [#3002](https://togithub.com/tgriesser/knex/issues/3002)
- Typings: Add "constraintName" arg to primary() definition [#3006](https://togithub.com/tgriesser/knex/issues/3006)
- Typings: Add missing schemaName in MigratorConfig [#3016](https://togithub.com/tgriesser/knex/issues/3016)
- Typings: Add missing supported parameter types and toSQL method [#2960](https://togithub.com/tgriesser/knex/issues/2960)
- Typings: Update enum arguments to reflect latest signature [#3043](https://togithub.com/tgriesser/knex/issues/3043)
- Typings: Add size parameter to integer method [#3074](https://togithub.com/tgriesser/knex/issues/3074)
- Typings: Add 'string' as accepted Knex constructor type definition [#3105](https://togithub.com/tgriesser/knex/issues/3105)
- Typings: Add boolean as a column name in join [#3121](https://togithub.com/tgriesser/knex/issues/3121)
- Typings: Add missing clearOrder & clearCounters types [#3109](https://togithub.com/tgriesser/knex/issues/3109)
- Dependencies: Fix security warning [#3082](https://togithub.com/tgriesser/knex/issues/3082)
- Do not use unsupported column width/length arguments on data types int and tinyint in MSSQL [#2738](https://togithub.com/tgriesser/knex/issues/2738)
##### Changes:
- Make unionAll()'s call signature match union() [#3055](https://togithub.com/tgriesser/knex/issues/3055)
##### Test / internal changes:
- Swap chalk→colorette / minimist→getopts [#2718](https://togithub.com/tgriesser/knex/issues/2718)
- Always use well documented pg client query() config argument [#3004](https://togithub.com/tgriesser/knex/issues/3004)
- Do not bundle polyfills with knex [#3024](https://togithub.com/tgriesser/knex/issues/3024)
Renovate configuration
:date: Schedule: At any time (no schedule defined).
:vertical_traffic_light: Automerge: Disabled by config. Please merge this manually once you are satisfied.
:recycle: Rebasing: Whenever PR becomes conflicted, or if you modify the PR title to begin with "rebase!".
:no_bell: Ignore: Close this PR and you won't be reminded about this update again.
[ ] If you want to rebase/retry this PR, check this box
This PR has been generated by Renovate Bot. View repository job log here.
This PR contains the following updates:
0.16.3
->0.17.6
Release Notes
tgriesser/knex
### [`v0.17.6`](https://togithub.com/tgriesser/knex/compare/aa8be0a1dd33f51f00d0a2074d12c826633b97a8...ab50bbc9a79a2879c8432d0ee147a59a888d7315) [Compare Source](https://togithub.com/tgriesser/knex/compare/aa8be0a1dd33f51f00d0a2074d12c826633b97a8...ab50bbc9a79a2879c8432d0ee147a59a888d7315) ### [`v0.17.5`](https://togithub.com/tgriesser/knex/blob/master/CHANGELOG.md#0175---8-June-2019) [Compare Source](https://togithub.com/tgriesser/knex/compare/5140e58a1dad4be562c2557954c3cfefd3743602...aa8be0a1dd33f51f00d0a2074d12c826633b97a8) ##### Typings - Include result.d.ts in published package [#3271](https://togithub.com/tgriesser/knex/issues/3271) ### [`v0.17.4`](https://togithub.com/tgriesser/knex/blob/master/CHANGELOG.md#0174---8-June-2019) [Compare Source](https://togithub.com/tgriesser/knex/compare/a2031e8c3911a37ea0a83f246edf77217578b9be...5140e58a1dad4be562c2557954c3cfefd3743602) ##### Typings - Fix some cases of left-to-right inference causing type mismatch [#3265](https://togithub.com/tgriesser/knex/issues/3265) - Improve count typings [#3249](https://togithub.com/tgriesser/knex/issues/3249) ##### Bug fixes: - Fix error message bubbling up on seed error [#3248](https://togithub.com/tgriesser/knex/issues/3248) ### [`v0.17.3`](https://togithub.com/tgriesser/knex/blob/master/CHANGELOG.md#0173---2-June-2019) [Compare Source](https://togithub.com/tgriesser/knex/compare/0.17.2...a2031e8c3911a37ea0a83f246edf77217578b9be) ##### Typings - Improve typings for aggregations [#3245](https://togithub.com/tgriesser/knex/issues/3245) - Add decimalNumbers to MySqlConnectionConfig interface [#3244](https://togithub.com/tgriesser/knex/issues/3244) ### [`v0.17.2`](https://togithub.com/tgriesser/knex/blob/master/CHANGELOG.md#0172---1-June-2019) [Compare Source](https://togithub.com/tgriesser/knex/compare/f3932721de1b02337d7d6eb3ffe0a1533a6fb614...0.17.2) ##### Typings - Improve count typings [#3239](https://togithub.com/tgriesser/knex/issues/3239) ##### Bug fixes: - "colorette" dependency breaks browserify builds [#3238](https://togithub.com/tgriesser/knex/issues/3238) ### [`v0.17.1`](https://togithub.com/tgriesser/knex/blob/master/CHANGELOG.md#0171---31-May-2019) [Compare Source](https://togithub.com/tgriesser/knex/compare/0.17.0...f3932721de1b02337d7d6eb3ffe0a1533a6fb614) ##### New features: - Add migrate:down functionality [#3228](https://togithub.com/tgriesser/knex/issues/3228) ##### Typings - Update type of aggregation results to not be arrays when first has been invoked before [#3237](https://togithub.com/tgriesser/knex/issues/3237) - Include undefined in type of single row results [#3231](https://togithub.com/tgriesser/knex/issues/3231) - Fix incorrect type definitions for single row queries [#3230](https://togithub.com/tgriesser/knex/issues/3230) ### [`v0.17.0`](https://togithub.com/tgriesser/knex/blob/master/CHANGELOG.md#0170---28-May-2019) [Compare Source](https://togithub.com/tgriesser/knex/compare/0.16.5...0.17.0) ##### New features: - Add support for returning started transaction without immediately executing it [#3099](https://togithub.com/tgriesser/knex/issues/3099) - Add support for passing transaction around with only starting it when needed [#3099](https://togithub.com/tgriesser/knex/issues/3099) - Add clearHaving function [#3141](https://togithub.com/tgriesser/knex/issues/3141) - Add --all flag for rollback in CLI [#3187](https://togithub.com/tgriesser/knex/issues/3187) - Add error detail log to knex CLI [#3149](https://togithub.com/tgriesser/knex/issues/3149) - Support multi-column whereIn in sqlite through values clause [#3220](https://togithub.com/tgriesser/knex/issues/3220) - Allow users to specify the migrations "tableName" parameter via the CLI [#3214](https://togithub.com/tgriesser/knex/issues/3214) - Unify object options handling for datetime/timestamp across dialects [#3181](https://togithub.com/tgriesser/knex/issues/3181) - Add "up" command for migrations [#3205](https://togithub.com/tgriesser/knex/issues/3205) ##### Typings - Add default values for generic types (fixes backwards compatibility broken by 0.16.6) [#3189](https://togithub.com/tgriesser/knex/issues/3189) - Make function types generic in type definitions [#3168](https://togithub.com/tgriesser/knex/issues/3168) - Add missing types to MigratorConfig [#3174](https://togithub.com/tgriesser/knex/issues/3174) - Add types for havingBetween, orHavingBetween, havingNotBetween and orHavingNotBetween [#3144](https://togithub.com/tgriesser/knex/issues/3144) - Update Knex.Config types to include log [#3221](https://togithub.com/tgriesser/knex/issues/3221) - Fix some more cases of missing typings [#3223](https://togithub.com/tgriesser/knex/issues/3223) - Support type safe refs [#3215](https://togithub.com/tgriesser/knex/issues/3215) - Expose some utility types [#3211](https://togithub.com/tgriesser/knex/issues/3211) - Fix issues with typings of joins and some conflicts with Bluebird typings [#3209](https://togithub.com/tgriesser/knex/issues/3209) ##### Bug fixes: - Fix order of migration rollback [#3172](https://togithub.com/tgriesser/knex/issues/3172) ##### Test / internal changes: - Execute CI tests on Node.js 12 [#3171](https://togithub.com/tgriesser/knex/issues/3171) - Docker-based test dbs [#3157](https://togithub.com/tgriesser/knex/issues/3157) - Use cli-testlab for testing CLI [#3191](https://togithub.com/tgriesser/knex/issues/3191) ### [`v0.16.5`](https://togithub.com/tgriesser/knex/blob/master/CHANGELOG.md#0165---11-Apr-2019) [Compare Source](https://togithub.com/tgriesser/knex/compare/0.16.4...0.16.5) - Bundle polyfills with knex for 0.16.x line again [#3139](https://togithub.com/tgriesser/knex/issues/3139) ### [`v0.16.4`](https://togithub.com/tgriesser/knex/blob/master/CHANGELOG.md#0164---11-Apr-2019) [Compare Source](https://togithub.com/tgriesser/knex/compare/0.16.3...0.16.4) ##### New features: - Boolean param for rollback() to rollback all migrations [#2968](https://togithub.com/tgriesser/knex/issues/2968) - seed:run print the file name of the failing seed [#2972](https://togithub.com/tgriesser/knex/issues/2972) [#2973](https://togithub.com/tgriesser/knex/issues/2973) - verbose option to CLI commands [#2887](https://togithub.com/tgriesser/knex/issues/2887) - add intersect() [#3023](https://togithub.com/tgriesser/knex/issues/3023) - Improved format for TS stubs [#3080](https://togithub.com/tgriesser/knex/issues/3080) - MySQL: Support nullable timestamps [#3100](https://togithub.com/tgriesser/knex/issues/3100) - MySQL: Warn `.returning()` does not have any effect [#3039](https://togithub.com/tgriesser/knex/issues/3039) ##### Bug fixes: - Respect "loadExtensions" configuration [#2969](https://togithub.com/tgriesser/knex/issues/2969) - Fix event listener duplication when using Migrator [#2982](https://togithub.com/tgriesser/knex/issues/2982) - Fix fs-migrations breaking docs [#3022](https://togithub.com/tgriesser/knex/issues/3022) - Fix sqlite3 drop/renameColumn() breaks with postProcessResponse [#3040](https://togithub.com/tgriesser/knex/issues/3040) - Fix transaction support for migrations [#3084](https://togithub.com/tgriesser/knex/issues/3084) - Fix queryContext not being passed to raw queries [#3111](https://togithub.com/tgriesser/knex/issues/3111) - Typings: Allow to pass query builders, identifiers and raw in various places as parameters [#2960](https://togithub.com/tgriesser/knex/issues/2960) - Typings: toNative() definition [#2996](https://togithub.com/tgriesser/knex/issues/2996) - Typings: asCallback() definition [#2963](https://togithub.com/tgriesser/knex/issues/2963) - Typings: queryContext() type definition Knex.Raw [#3002](https://togithub.com/tgriesser/knex/issues/3002) - Typings: Add "constraintName" arg to primary() definition [#3006](https://togithub.com/tgriesser/knex/issues/3006) - Typings: Add missing schemaName in MigratorConfig [#3016](https://togithub.com/tgriesser/knex/issues/3016) - Typings: Add missing supported parameter types and toSQL method [#2960](https://togithub.com/tgriesser/knex/issues/2960) - Typings: Update enum arguments to reflect latest signature [#3043](https://togithub.com/tgriesser/knex/issues/3043) - Typings: Add size parameter to integer method [#3074](https://togithub.com/tgriesser/knex/issues/3074) - Typings: Add 'string' as accepted Knex constructor type definition [#3105](https://togithub.com/tgriesser/knex/issues/3105) - Typings: Add boolean as a column name in join [#3121](https://togithub.com/tgriesser/knex/issues/3121) - Typings: Add missing clearOrder & clearCounters types [#3109](https://togithub.com/tgriesser/knex/issues/3109) - Dependencies: Fix security warning [#3082](https://togithub.com/tgriesser/knex/issues/3082) - Do not use unsupported column width/length arguments on data types int and tinyint in MSSQL [#2738](https://togithub.com/tgriesser/knex/issues/2738) ##### Changes: - Make unionAll()'s call signature match union() [#3055](https://togithub.com/tgriesser/knex/issues/3055) ##### Test / internal changes: - Swap chalk→colorette / minimist→getopts [#2718](https://togithub.com/tgriesser/knex/issues/2718) - Always use well documented pg client query() config argument [#3004](https://togithub.com/tgriesser/knex/issues/3004) - Do not bundle polyfills with knex [#3024](https://togithub.com/tgriesser/knex/issues/3024)Renovate configuration
:date: Schedule: At any time (no schedule defined).
:vertical_traffic_light: Automerge: Disabled by config. Please merge this manually once you are satisfied.
:recycle: Rebasing: Whenever PR becomes conflicted, or if you modify the PR title to begin with "
rebase!
".:no_bell: Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Renovate Bot. View repository job log here.