Igor Savin
1ca7bc2f2b
Clarify acquireConnection() signature ( #3554 )
2019-11-28 00:01:29 +01:00
Igor Savin
ea0633281d
Prepare 0.20.3 release
2019-11-27 22:16:28 +01:00
Florent Cailhol
f4099af3fb
Support 'only' option ( #3551 )
2019-11-26 08:35:39 +01:00
Jiri Spac
e1191ce909
make sure CLI works for namespaced knex packages as well ( #2539 )
2019-11-25 01:44:43 +01:00
MaliaGuerrero
03d6f063d5
Initialize data to buffer instead of string for non-strings ( #3545 )
2019-11-21 19:46:45 +01:00
JbRezidu
2ac08c396a
fix(timeout): knex timeout for postgresql use cancel instead of terminate ( #3518 )
2019-11-21 15:23:24 +01:00
Lorefnon
79ccb7d8bd
Lift up dialect specific methods in the CreateTableBuilder ( #3532 )
2019-11-21 15:22:29 +01:00
Andrei
07276bcbbb
Add connection string qs to connection params ( #3547 )
2019-11-21 15:21:51 +01:00
Lorefnon
3c2969ddd1
Add client property to QueryBuilder type ( #3541 )
2019-11-17 16:50:47 +01:00
Igor Savin
1cd09bf4dd
Prepare 0.20.2 release
0.20.2
2019-11-14 21:19:33 +01:00
Igor Savin
b5cd667b7f
Update dependencies ( #3539 )
2019-11-14 21:16:40 +01:00
Ben Saufley
ec9c9b6819
Expand SeedsConfig types ( #3531 )
2019-11-14 19:58:19 +01:00
Alexandre BODIN
0214f11663
Make sqlite3 hasColumn case insensitive ( #3435 )
2019-11-14 19:31:59 +01:00
Mazharul Onim
115ff3c136
Fix typing file ( #3505 )
2019-11-12 22:09:59 +01:00
Lorefnon
f87b28c3e3
Add support for distinct on for postgres ( #3513 )
...
Resolves #3472
2019-11-11 00:51:47 +01:00
Lorefnon
63986fade3
Make the default type parameters of QueryBuilder less strict ( #3520 )
...
Resolves #3519
2019-11-11 00:51:13 +01:00
Lorefnon
af129408ca
Fix regression in older version of node when Promise#finally
...
was not available
- More closely align the ChainableInterface type to reality
Resolves #3507
2019-11-02 22:35:24 +05:30
Igor Savin
6dfd5660f1
Prepare 0.20.1 release
0.20.1
2019-10-29 23:42:17 +01:00
Jérémy Lal
a5c23a47a9
Declare drivers as peerDependencies(Meta) ( Fix #3059 ) ( #3081 )
2019-10-29 23:38:10 +01:00
Lorefnon
6f5a13d3ab
Gracefully handle global promise pollution ( #3502 )
...
Update QueryInterface to proxy to only standard promise methods
Update QueryInterface type to be explicit about the methods being
proxied
This primarily handles pollution of global Promise (either the type or
the global object at runtime) by other libraries.
Fixes : #3422
2019-10-29 08:49:15 +01:00
Edvard Chen
0560959fa4
feat: wrap subQuery with parenthesis when it appears as table name ( #3496 )
2019-10-28 21:38:01 +01:00
abskmj
1f4d8f28ed
Fix Oracle error codes ( #3498 )
2019-10-28 15:38:28 +01:00
Oran Epelbaum
f4b6848594
Dynamic connection configuration resolution ( #3497 )
2019-10-27 16:14:18 +01:00
Timothy Ng
d806ec0c20
#3367 Add interface for PG Connection object ( #3372 )
2019-10-26 08:04:51 +02:00
Igor Savin
1c65562440
Prepare 0.20.0 release
0.20.0
2019-10-25 20:17:26 +02:00
maximelkin
03ecbeef1f
Bluebird remove return, reflect, fromCallback ( #3483 )
2019-10-25 19:59:30 +02:00
EthanHur
2d0459111d
orderBy accepts QueryBuilder ( #3491 )
2019-10-24 16:08:12 +02:00
Igor Savin
048900fe77
Execute CI on Node.js 13 ( #3495 )
2019-10-23 21:43:51 +02:00
Luiz Felipe Gonçalves
49076445cb
feat: Add types to the Migrator interface ( #3459 )
2019-10-21 23:42:55 +02:00
Jiri Spac
dd3ba822a5
fix typings of index and dropIndex TableBuilder methods ( #3486 )
2019-10-21 22:15:54 +02:00
maximelkin
d01600ba0d
refactor(bluebird): remove Bluebird.bind ( #3477 )
2019-10-15 23:03:35 +02:00
EthanHur
c53227564d
add validation in .offset()
( #2908 )
2019-10-15 13:24:49 +02:00
Caíque de Castro Soares da Silva
fee9e49bc8
chore: Update badges ( #3482 )
2019-10-15 13:16:35 +02:00
maximelkin
531714804b
Use util.promisify instead of Bluebird.promisify ( #3470 )
2019-10-15 09:11:59 +02:00
maximelkin
c9e305760d
Fix oracledb driver v4 support ( #3480 )
2019-10-15 08:23:07 +02:00
Keith Smith
767904c3a2
Fixes types for Seeder#run ( #3438 )
2019-10-14 16:56:19 +02:00
Lorefnon
b0c0db601a
Fix some issues around seed and migration generation ( #3479 )
2019-10-13 13:19:53 +02:00
Nekrasov Ilya
6b9fb0ec01
disable_migrations_list_validation_feature ( #3448 )
2019-10-12 21:45:39 +02:00
maximelkin
4a71315e9c
remove bluebird.each ( #3471 )
2019-10-12 21:39:34 +02:00
Lorefnon
20bd04b594
Fix bugs in replacement logic used when dropping columns in SQLite. ( #3476 )
2019-10-11 22:38:01 +02:00
maximelkin
f56eaf5cfc
Bluebird remove map mapSeries ( #3474 )
2019-10-11 10:12:56 +02:00
EthanHur
f782348da7
replace Bluebird.map to Promise.all ( #3469 )
2019-10-09 14:39:45 +02:00
Igor Savin
48d8c7eb59
Prepare 0.19.5 release
0.19.5
2019-10-06 23:28:17 +02:00
Igor Savin
e112a21597
Remove unneeded logging
2019-10-06 23:23:38 +02:00
Taras Ozarko
78a7e9aa4f
fix CLI tests fails caused by PR #3416 ( #3466 )
2019-10-06 23:18:56 +02:00
Igor Savin
988fb24389
Fix MSSQL escaping ( #3382 )
2019-10-06 20:21:32 +02:00
Igor Savin
516b074790
Enable linting in CI ( #3450 )
2019-10-06 20:20:46 +02:00
Roland Németh
c1d20270d6
Fix handling of multiline SQL in SQLite3 schema ( #3411 )
2019-10-06 18:27:52 +02:00
Igor Savin
53d8649ef3
Update test to accommodate for increased precision in PG 12 ( #3465 )
2019-10-06 18:23:00 +02:00
Taras Ozarko
7fabae9f56
Migrations up/down commands: filename parameter ( #3416 )
2019-10-06 18:00:04 +02:00