Knex v0.17.0 Release Notes

Release Date: 2019-05-28 // almost 5 years ago
  • ๐Ÿ†• New features:

    • โž• Add support for returning started transaction without immediately executing it #3099
    • โž• Add support for passing transaction around with only starting it when needed #3099
    • โž• Add clearHaving function #3141
    • โž• Add --all flag for rollback in CLI #3187
    • โž• Add error detail log to knex CLI #3149
    • ๐Ÿ‘Œ Support multi-column whereIn in sqlite through values clause #3220
    • ๐Ÿ‘ Allow users to specify the migrations "tableName" parameter via the CLI #3214
    • Unify object options handling for datetime/timestamp across dialects #3181
    • โž• Add "up" command for migrations #3205

    Typings:

    • โž• Add default values for generic types (fixes backwards compatibility broken by 0.16.6) #3189
    • ๐Ÿ‘‰ Make function types generic in type definitions #3168
    • โž• Add missing types to MigratorConfig #3174
    • โž• Add types for havingBetween, orHavingBetween, havingNotBetween and orHavingNotBetween #3144
    • โšก๏ธ Update Knex.Config types to include log #3221
    • ๐Ÿ›  Fix some more cases of missing typings #3223
    • ๐Ÿ‘Œ Support type safe refs #3215
    • ๐Ÿ”ฆ Expose some utility types #3211
    • ๐Ÿ›  Fix issues with typings of joins and some conflicts with Bluebird typings #3209

    ๐Ÿ› Bug fixes:

    • ๐Ÿ›  Fix order of migration rollback #3172

    โœ… Test / internal changes:

    • ๐Ÿ‘ท Execute CI tests on Node.js 12 #3171
    • ๐Ÿณ Docker-based test dbs #3157
    • โœ… Use cli-testlab for testing CLI #3191