Socket
Socket
Sign inDemoInstall

knex

Package Overview
Dependencies
Maintainers
4
Versions
252
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

knex - npm Package Versions

1
26

0.21.6

Diff

Changelog

Source

0.21.6 - 27 September, 2020

New features:

  • CLI: New config parameter / CLI flag to prefixing seed filename with timestamp #3873
  • CLI: throw an error when specific seed file cannot be found #4011
  • Warn if whereNot is used with 'in' or 'between' #4038

Bug fixes:

  • CLI: Fix double merging of config for migrator #4040

Typings:

  • Unify SeedsConfig and SeederConfig #4003
  • Allow string[] type for directory in SeedsConfig #4033
kibertoad
published 0.21.5 •

Changelog

Source

0.21.5 - 17 August, 2020

New features:

  • CLI: Improve Esm interop #3985
  • CLI: Improve mjs module support #3980

Test / internal changes:

  • Bump version of dtslint #3984
  • Test/document esm interop mixed formats (knexfile/migrations/seeds) #3986
kibertoad
published 0.21.5-next2 •

kibertoad
published 0.21.5-next1 •

kibertoad
published 0.21.4 •

Changelog

Source

0.21.4 - 10 August, 2020

New features:

  • CLI: Add new option for seed: recursive #3974

Bug fixes:

  • CLI: Do not load seeds from subfolders recursively by default #3974
kibertoad
published 0.21.3 •

Changelog

Source

0.21.3 - 08 August, 2020

New features:

  • CLI: Support multiple directories for seeds #3967

Bug fixes:

  • Ensure DB stream is destroyed when the PassThrough is destroyed #2324
  • Support postProcessResponse for streams #3931
  • Fix ESM module interop for calling module/package of type 'module' #3938
  • CLI: Fix migration source name in rollback all #3956
  • Fix getMergedConfig calls to include client logger #3920
  • Escape single quoted values passed to defaultTo function #3899

Typings:

  • Add .timeout(ms) to .raw()'s typescript typings #3885
  • Add typing for double table column builder #3950
  • Add a phantom tag to Ref type to mark received type parameters as used #3934
  • Add null as valid binding type #3946

Test / internal changes:

  • Change query lab link to https #3933
kibertoad
published 0.21.2 •

Changelog

Source

0.21.2 - 10 July, 2020

New features:

  • Warn user if custom migration source is being reset #3839
  • Prefer void as return type on migration generator ts stub #3865
  • MSSQL: Added the removal of a columns default constraint, before dropping the column #3855

Typings:

  • Fix definition for raw querybuilders #3846

Test / internal changes:

  • Refactor migration logic to use async/await #3838
kibertoad
published 0.21.1 •

Changelog

Source

0.21.1 - 28 April, 2020

New features:

  • CLI: Add migrate:unlock command, truncate on forceFreeMigrationsLock #3822
  • CLI: Add support for cjs files by default #3829

Bug fixes:

  • CLI: Fix inference of seed/migration extension from knexfile extension #3814
  • rewrite delay to not node-only version. Fixes compatibility with browsers #3820

Test / internal changes:

  • Update dependencies. Explicitly support Node.js 14 #3825 #3830
kibertoad
published 0.21.0 •

Changelog

Source

0.21.0 - 18 April, 2020

Improvements

  • Reduce size of lodash in bundle #3804

Breaking changes

  • Dropped support for Node 8
  • Breaking upstream change in pg-query-stream: Changed stream.close to stream.destroy which is the official way to terminate a readable stream. This is a breaking change if you rely on the stream.close method on pg-query-stream...though should be just a find/replace type operation to upgrade as the semantics remain very similar (not exactly the same, since internals are rewritten, but more in line with how streams are "supposed" to behave).

Test / internal changes:

  • Updated Tarn.js to a version 3.0.0
  • Updated mkdirp to a version 1.0.4
  • Updated examples to use ES2015 style #3810
kibertoad
published 0.20.15 •

Changelog

Source

0.20.15 - 16 April, 2020

Bug fixes:

  • Support for .finally(..) on knex's Promise-alikes #3800

Typings:

  • Add types for .distinctOn #3784
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc