3084 Commits

Author SHA1 Message Date
Valéry Herlaud
8bc89b062d
[Types] Add arguments to QueryCallback in Where. (#4034) 2020-09-30 10:03:26 +03:00
Igor Savin
7cfb78d16a Prepare to release 0.21.6 2020-09-27 21:55:32 +03:00
Duc Nghiem Xuan
f5835b379e
Unify SeedsConfig and SeederConfig (#4003)
These two types seems to describe the same thing while being out of sync.
2020-09-25 08:06:08 +02:00
Igor Savin
4a1638bfbe
Fix double merging of config for migrator (#4040) 2020-09-25 08:03:17 +02:00
James Greenleaf
7f16df98c2
Allow string[] type for directory in SeedsConfig (#4033) 2020-09-19 23:46:10 +03:00
Simon Lorenz
b65245e1fe
warn if whereNot is used with 'in' or 'between' (#4038)
Co-authored-by: Simon Lorenz <simon.lorenz@stadt-duisburg.de>
2020-09-19 23:45:11 +03:00
Igor Savin
e4fd98b486
Update dependencies (#4039) 2020-09-19 23:24:32 +03:00
Christiano Marques
a481dde82c
feat: new config parameter / CLI flag to prefixing seed filename with a timestamp (#3873) 2020-09-19 16:11:05 +03:00
Florent SCHILDKNECHT
2bf17e0509
fix(seed): throw error when specific seed file cannot be found (#4011)
fixes #4005
2020-09-04 09:48:18 +03:00
Igor Savin
2ffa7784d8 Prepare to release 0.21.5 0.21.5 2020-08-17 21:13:19 +03:00
Mr D
95e0593440
Test/document esm interop mixed formats (knexfile/migrations/seeds) (#3986) 2020-08-17 16:38:37 +02:00
Mr D
369bbd6293
Improve Esm interop (#3985)
refs #3978
2020-08-16 19:22:26 +03:00
Lorefnon
8a7db0c5a8
Bump version of dtslint (#3984)
Resolves #3983
2020-08-15 21:22:05 +03:00
Mr D
907cc763f6
#3978 Improve mjs module support (#3980) 2020-08-15 17:54:43 +03:00
Igor Savin
b2e3c5c4d9 Prepare to release 0.21.4 2020-08-10 16:18:00 +03:00
Mathieu DARTIGUES
f3c73ccd58
Add new option for seed : recursive (#3974) 2020-08-10 15:10:37 +02:00
Igor Savin
fb30ad599f Merge remote-tracking branch 'origin/master' 0.21.3 2020-08-08 20:50:25 +03:00
Igor Savin
309eed648e Prepare to release 0.21.3 2020-08-08 20:49:40 +03:00
Harish Karumuthil
8ba73e568a
Escape single quoted values passed to defaultTo function (#3899) 2020-08-08 20:48:45 +03:00
Tomi Turtiainen
a94886483d
Add .timeout(ms) to .raw()'s typescript typings (#3885) 2020-08-08 20:34:31 +03:00
issa marie tseng
378ae79641
Ensure DB stream is destroyed when the PassThrough is destroyed (#2324). (#3900) 2020-08-08 20:27:47 +03:00
Igor Savin
55c3787644
Update dependencies (#3971) 2020-08-08 18:32:09 +03:00
cubikrichard
6203b59076
support postProcessResponse for streams (#3870) (#3931) 2020-08-08 17:57:58 +03:00
Mr D
cfce685775
ESM module interop fails if calling module/package is of type 'module' #3937 (#3938) 2020-08-08 17:39:57 +03:00
Mathieu DARTIGUES
ab7644425d
Support multiple directories for seeds (#3967) 2020-08-08 15:21:43 +03:00
Kristjan
cec00da8b7
fix: add typing for double table column builder (#3950) 2020-08-08 15:18:30 +03:00
Casey Foster
3677e547a9
Fix migration source name in rollback all (#3956) 2020-08-07 18:53:59 +03:00
Lorefnon
447e592438
Resolve #3932: Add a phantom tag to Ref type to mark received type parameters as used (#3934) 2020-08-07 18:52:49 +03:00
Michael Avila
c662dec194
Change query lab link to https (#3933) 2020-08-07 18:51:50 +03:00
Richard Eames
f6e403489f
Add null as valid binding type (#3946) 2020-08-07 18:49:24 +03:00
Anand Nimkar
b59161f994
Fix getMergedConfig calls to include client logger (#3920) 2020-07-13 23:16:10 +02:00
Igor Savin
ff56c28b69
Prepare 0.21.2 release (#3917) 0.21.2 2020-07-10 01:07:21 +03:00
Vicente Canales
da54cf1ecf
Prefer void as return type on migration generator ts stub (#3865)
The liberal use of `any` is frowned upon by some default tslint
configurations. That combined with the fact the these functions don't
need to return anything, makes it reasonable to use `void` over `any`
for the return type.
2020-05-22 20:48:38 +02:00
Keno Medenbach
2bd2ecd91c
MSSQL: Added the removal of a columns default constraint, before dropping the column (#3855) 2020-05-15 11:28:34 +02:00
maximelkin
4fa6e1f8c2
fix definition for raw querybuilders (bindings should be one object or array, not vararg) (#3846) 2020-05-13 16:28:39 +02:00
Steve Kreis
ee725268d2
Update README to reflect correct handling of native map function (#3704) (#3845) 2020-05-07 17:39:52 +02:00
Igor Savin
8956b44430
Add development Docker configuration (#3840) 2020-05-06 23:10:31 +02:00
Igor Savin
c0afe14cde
Warn user if custom migration source is being reset (#3839) 2020-05-06 00:13:09 +02:00
Igor Savin
38f54ce8f0
Refactor migration logic to use async/await. Add test case for using classes with custom migration sources (#3838) 2020-05-05 19:10:50 +02:00
Igor Savin
fe8340a627 Prepare for 0.21.1 release 0.21.1 2020-04-28 01:27:07 +02:00
Iryna Zadorozhna
fa906278b8
add support cjs files by default (#3829)
Co-authored-by: Kyrylo <kyrylo.onufriiev@gmail.com>
2020-04-28 01:21:39 +02:00
Igor Savin
40621fac9e
Update dependencies (#3830) 2020-04-26 19:35:06 +02:00
maximelkin
93f3f0ed11
rewrite delay to not node-only version (#3820) 2020-04-24 23:52:00 +02:00
Igor Savin
ec9c61a114
Update dependencies (#3825) 2020-04-24 02:04:33 +02:00
Zach McElrath
b626702b47
Add migrate:unlock command, truncate on forceFreeMigrationsLock (#3822) 2020-04-23 21:51:32 +02:00
Lorefnon
7b4d208bae
Fix inferrence of seed/migration extension from knexfile extension (#3814)
Current implementation doesn't work when knexfile has multiple env-specific configuration sections.

Resolves #3807
2020-04-20 01:19:15 +02:00
Igor Savin
b9f88645ee Add Node version change note 0.21.0 2020-04-19 00:41:40 +02:00
Igor Savin
e37aeaa31c
Prepare for 0.21.0 release (#3811) 2020-04-19 00:40:23 +02:00
Igor Savin
61514abf55
Bump dependencies (#3809) 2020-04-18 21:34:52 +02:00
tkalliom
02d94d96b0
Reduce size of lodash in bundle (#3804) 2020-04-18 19:41:23 +02:00