2329 Commits

Author SHA1 Message Date
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
Igor Savin
aa124bf5c8 Prepare for 0.18.1 release 2019-06-30 12:38:59 +02:00
Dmitrii Maganov
ee060b489e Fix remove duplicate transaction promise (#3319) 2019-06-30 12:24:18 +02:00
Igor Savin
ae6bb64cbe Prepare 0.18.0 release 2019-06-26 16:11:25 +02:00
Bo Lingen
2463e077e8 Fix comments that were modified by find & replace (#3308)
The find & replace of ES module import syntax to cjs `require`s in #3227 modified some comments.
2019-06-26 08:31:23 +02:00
Igor Savin
00ffc2a319 Prepare for 0.18.0-next4 release 2019-06-24 01:31:12 +02:00
Igor Savin
5f4e5e5ae1 Prepare for 0.18.0-next3 release 2019-06-24 01:27:14 +02:00
Igor Savin
4a631a3c00
Do not reject promise on transaction rollback (#3235) 2019-06-21 12:56:00 +02:00
Igor Savin
2223b38997 Prepare for 0.18.0-next2 release 2019-06-19 22:49:25 +02:00
Igor Savin
f328fbbdb4
Expose executionPromise for transactors (#3297) 2019-06-19 22:12:21 +02:00
Cemre Mengu
6e5e296ede ORACLEDB: Updated handling of connection errors for disposal (#2608) 2019-06-19 21:26:28 +02:00
Keith Smith
141b202969 adds stub to seeds type (#3296) 2019-06-19 17:51:26 +02:00
David Mair Spiess
f70b7264b2 Add pgsql specific table builder method typings (#3146) 2019-06-19 10:21:41 +02:00
Igor Savin
858c7b6f1e
Fix extension resolution from env configs (#3294) 2019-06-19 01:33:16 +02:00
Igor Savin
c755b6dd70
Update maintainer-related info (#3292) 2019-06-18 16:57:41 +02:00
Igor Savin
07b827f0a7 Add download counter 2019-06-18 01:42:43 +02:00
Igor Savin
5301b29186
Prepare for 0.18.0-next1 release (#3291) 2019-06-18 01:36:28 +02:00
Joel Gallant
31983c19a4 Adds stub type definition (#3279) 2019-06-18 00:40:08 +02:00