2329 Commits

Author SHA1 Message Date
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
Adrian Olek
fb095cb59c Add missing Migrator.list typing (#3460) 2019-10-03 20:35:36 +02:00
Lorefnon
b74456492c Fix Typescript type inference for to better support wildcard (*) calls #3444 (#3446) 2019-09-22 23:05:31 +02:00
Tim Hibbard
68e1ae2aed Support stored procedures in Oracle 2019-09-22 22:31:56 +02:00
Martti Laine
5417cacdb1 Fix for concurrent child transactions failing (#2213) (#3440)
* Fix for concurrent child transactions failing (#2213)

* Skip new sibling transaction test for mssql

* Update test to ensure Promise resolve order
2019-09-20 14:37:58 +02:00
Lorefnon
eb8f0c0b2d Make options argument optional in timeout (#3442) 2019-09-15 12:09:40 +02:00
Igor Savin
65969d60f7 Prepare 0.19.4 release 2019-09-09 23:34:39 +02:00
Igor Savin
3464e4c144
Update dependencies (#3431) 2019-09-09 23:32:25 +02:00
Michael Chris Lopez
019141c030 Add specific to SeederConfig type (#3429) 2019-09-09 17:50:04 +02:00
Lorefnon
6c73b22fd9 Fix some issues with QueryBuilder types (#3427)
- Add missing typedefs for or and timeout (Closes #3422)
- Move clone from QueryInterface to QueryBuilder
2019-09-05 23:18:00 +02:00
Kristjan
4ade98980e feat: add undefined columns to undefined binding(s) error (#3425) 2019-09-04 22:59:04 +02:00
Igor Savin
75ac92f40b Update 0.19.3 changelog 0.19.3 2019-08-29 00:18:30 +02:00
Ben Darnell
8f40f8d534 migrate: Refactor _lockMigrations to avoid forUpdate (#3395) 2019-08-28 13:27:18 +02:00
Taras Ozarko
3f86d75a46 TypeScript definition: include schemaName in EnumOptions (#3415) 2019-08-26 13:39:06 +02:00
Igor Savin
e5972b81a6
Prepare 0.19.3 release (#3414) 2019-08-26 00:01:42 +02:00
Taras Ozarko
d6426d75e1 Add ability to manually define schema for enu with useNative (#3307) (#3413) 2019-08-25 23:07:30 +02:00
Ihor Sakaylyuk
1ef1a4ef07 Fix native enum with specified schema (#3307) (#3400) 2019-08-24 17:37:29 +02:00
Vithalreddy.M.B
658e612148 knex cli list all migrations with status (#3390) (#3409) 2019-08-24 12:01:12 +02:00