2646 Commits

Author SHA1 Message Date
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
Herman J. Radtke III
e878f3854d Add SSL/TLS support for Postgres connection string (#3410) 2019-08-24 11:23:57 +02:00
Allan Jardine
5003241a9d #3405 Allow ColumnBuilder.defaultTo() to be null (#3407) 2019-08-22 14:58:40 +02:00
Igor Savin
4125855190 Prepare 0.19.2 release 2019-08-17 22:25:10 +02:00
Harminder Virk
831b9bcc43 fix: make transaction rejection consistent across dialects (#3399) 2019-08-17 13:01:03 +02:00
Igor Savin
871dadb348
More consistent handling of nested transactions (#3393) 2019-08-16 16:28:25 +02:00
Ricardo Maes
18632edfc6 Fix broken noWait test (#3398) 2019-08-16 07:29:24 +02:00
Igor Savin
2c3b4ded7b
Fallback to JSON when using JSONB in MySQL (#3394)
fixes #3386
2019-08-14 17:11:01 +02:00
Igor Savin
f264b1ae38 Update changelog 2019-07-23 20:46:35 +02:00
Felix Mosheev
8111bb3ee8 Feat: Allow to extend knex query builder (#3334) 2019-07-23 20:45:03 +02:00
Igor Savin
49456691d8
Update dependencies (#3366) 2019-07-23 18:00:13 +02:00
Matthew Kuo
054ce36b0a Add .isCompleted() to transaction (#3368) 2019-07-23 17:59:55 +02:00
Igor Savin
866e3363b9 Prepare 0.19.1 release 2019-07-23 00:51:20 +02:00
Evan Ross
ec6091ecba Update configuration typings to allow for oracle db connectionstring (#3361) 2019-07-23 00:11:18 +02:00
Lorefnon
3e1a5ee0de Minor enhancements around aliasing of aggregates (#3354)
- Allows an options object to specify alias (as suggested in https://github.com/tgriesser/knex/issues/3315#issuecomment-507439215) (Closes #3315)
- Allows multiple aliases when using object syntax (Closes #2871)
2019-07-16 18:48:28 +02:00
Lorefnon
30c04c166d Update Knex.raw type to be any by default because the actual type is dialect specific (#3349) 2019-07-13 14:50:34 +02:00
Igor Savin
416f4ce08d Update changelog 0.19.0 2019-07-11 15:09:21 +02:00
Igor Savin
fb06464da0
Update tarn.js (#3345)
* Update tarn.js
* Remove beforeDestroy
2019-07-11 14:57:59 +02:00
Ricardo Graça
9aa7085b05 Rename src directory to lib (#3338) 2019-07-10 23:48:43 +02:00
Igor Savin
edf1e36e42 Prepare for 0.18.4 0.18.4 2019-07-10 22:48:57 +02:00
Igor Savin
c272ae2101
Update dependencies (#3344) 2019-07-10 22:40:02 +02:00
Igor Savin
416fb4d2ab
Replace Lodash assign with Object.assign (#3343) 2019-07-10 22:38:20 +02:00
Bohdan Shulha
c6481e8c97 fix: Respect the knexfile stub option while generating a migration (#3337) 2019-07-10 21:45:47 +02:00
Igor Savin
e971c5198b
Update dependencies, fix new eslint errors (#3339) 2019-07-10 20:47:56 +02:00
Felix Mosheev
8b31a43761 feat: Run specific seed file (closes #801) (#3335) 2019-07-07 11:11:39 +02:00
Lorefnon
0e59624b11 Fix mssql import not being ignored due to change in browser field in package.json (#3336)
Fixes: https://github.com/knex/documentation/issues/212
2019-07-07 10:48:03 +02:00
Ricardo Maes
bc1ddcad01 Implement "skipLocked()" and "noWait()" (#2961) 2019-07-06 14:05:53 +02:00
Igor Savin
c60d2b5f1a Prepare for 0.18.3 release 2019-07-04 22:13:45 +02:00
Vamp
2b6333249a CLI: add --stub option to migration:make (#3316) 2019-07-04 22:08:01 +02:00
Dmitrii Maganov
a0e9be548d Fix return duplicate transaction promise for standalone transactions (#3328) 2019-07-04 22:05:23 +02:00
Igor Savin
4cde0fcb84 Prepare for 0.18.2 release 2019-07-03 01:50:23 +02:00
Dmitrii Maganov
25137518df Fix remove duplicate transaction rejection (#3324) 2019-07-03 01:48:08 +02:00
Lorefnon
56c3af8512 Fix issues around specifying default values for columns (#3318) 2019-06-30 20:08:15 +02:00
Ihor Sakaylyuk
0a85331525 CLI: Fix empty --version output (#3312) 2019-06-30 18:23:50 +02:00