Igor Savin
c14252d907
Refactor more tests to use cli-testlab ( #3640 )
2020-01-28 02:28:40 +01:00
saostad
2f4219193e
interface MsSqlConnectionConfig enableArithAbort: null | boolean is required now. ( #3629 )
2020-01-20 23:34:21 +01:00
Igor Savin
faacfd726e
Prepare 0.20.8 release ( #3625 )
2020-01-14 21:52:46 +01:00
Mr D
65086025c0
#3751 : Esm interop flag ( #3616 )
2020-01-14 21:01:31 +01:00
yeonhoyoon
4a2fa3b6c9
Print help only when there are no arguments ( #3617 )
2020-01-14 20:58:28 +01:00
Lorefnon
75b1db5b4c
Fix incorrect type of QueryBuilder.first('*') result ( #3621 )
2020-01-10 11:23:55 +01:00
Igor Savin
2e3c7fe231
Prepare 0.20.7 release
2020-01-07 01:31:20 +01:00
Igor Savin
aef3eb822a
Update dependencies ( #3614 )
2020-01-07 01:27:59 +01:00
Jake Coffman
22558209d4
dispose Oracle connection on connection error ( #3611 )
...
Co-authored-by: abskmj <abskmj@gmail.com>
2020-01-05 18:47:32 +01:00
Jon Caldwell
aea29d0a7c
Add create/drop schema methods to SchemaBuilder ( #3579 )
2020-01-05 00:05:00 +01:00
Igor Savin
80a2516734
Throw better error when trying to modify schema while using unsupported dialect ( #3609 )
2020-01-05 00:04:41 +01:00
Kabir Baidhya
2800e72d2f
Add tests for some of the string utility functions ( #3568 )
2020-01-04 22:59:41 +01:00
Jeremy Bernier
bd5d837abf
Update deprecated dialect to client in code example ( #3599 )
...
The code sample in the README.md uses a deprecated config option. When using `dialect`, one gets the warning: "Using 'this.dialect' to identify the client is deprecated and support for it will be removed in the future. Please use configuration option 'client' instead."
2020-01-04 22:57:51 +01:00
James George
df2ace1915
fix: prevent warning with root command ( #3604 )
2020-01-04 22:57:12 +01:00
Jake Coffman
07997279b7
fix #3605 not releasing connection from pool on disconnect ( #3606 )
2020-01-04 22:56:14 +01:00
Igor Savin
4feefdf3d2
Enforce Unix (lf) line terminators ( #3598 )
0.20.6
2019-12-29 20:28:40 +01:00
Igor Savin
a2a66605a3
Prepare 0.20.5 release
2019-12-29 00:04:43 +01:00
Lorefnon
3914bf52af
Fix colors in debug logs ( #3592 )
2019-12-28 23:59:57 +01:00
Igor Savin
9b37c9480b
Return more information about empty updates ( #3597 )
2019-12-28 22:36:14 +01:00
Thomas Sondergaard
c277edbaf1
Use more efficient algorithm for generating internal ids ( #3595 ) ( #3596 )
2019-12-27 20:16:38 +01:00
Ahmed Ashour
a613fe23df
Fix some spelling mistakes ( #3572 )
2019-12-10 22:53:05 +01:00
Ahmed Ashour
dcbe5559bf
The project location has moved to knex/knex ( #3573 )
2019-12-10 22:52:36 +01:00
Ahmed Ashour
d5773f8a44
Use Buffer.alloc() instead of deprecated () ( #3574 )
2019-12-10 22:51:57 +01:00
Igor Savin
7c3637e9d5
Prepare 0.20.4 release
0.20.4
2019-12-08 00:05:19 +01:00
Lorefnon
c53247d6ee
Make logger methods mutually consistent ( #3567 )
...
Resolves #3363
2019-12-07 23:57:20 +01:00
Jan Killian
c72b9558bf
Fix QueryBuilder.extend this type ( #3526 ) ( #3528 )
2019-12-07 22:16:00 +01:00
Lorefnon
65e1a3a3d0
Fix debug logger messing up queries with % ( #3566 )
2019-12-07 22:15:39 +01:00
Lorefnon
65c6ebc56a
Add missing methods to client type ( #3565 )
2019-12-07 18:55:04 +01:00
Andrew Burgess
2289c08380
Fix queryContext function defintion ( #3562 )
2019-12-04 22:25:57 +01:00
maximelkin
84fce33f69
Remove bluebird.using ( #3552 )
2019-11-28 20:44:18 +01:00
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