2646 Commits

Author SHA1 Message Date
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
Igor Savin
f392b5cef3
Remove Bluebird.method and one instance of .bind (#3290) 2019-06-18 00:07:24 +02:00
Benjamin Ki
9d8e900050 refactor: replace usage of Bluebird Promise.tap with native Promise.then (#3287) 2019-06-17 13:00:31 +02:00
Igor Savin
1e950b93e4
Name Bluebird usage explicitly. Remove spread and thenReturn (#3285) 2019-06-17 02:14:17 +02:00
Igor Savin
04b12f234b
Use extension from knexfile for generating migrations unless overriden (#3282) 2019-06-14 08:44:02 +02:00
Chris Allen
a65a95bc67 Use migrations.extension from config when generating migration (#3242) 2019-06-13 23:32:03 +02:00
Igor Savin
5eaac66ea5
Merge 0.17 into master (#3277) 2019-06-11 02:05:31 +02:00
shaungreen
87d4c0b374 Fix MSSQL config typings (#3269) 2019-06-10 15:15:33 +02:00
Lorefnon
a47756e7a1 [Typings] Add workarounds for degraded inference when strictNullChecks is set to false (#3275)
Closes #3274
2019-06-09 21:12:27 +02:00
Igor Savin
4b6429ebf9
Reduce bluebird usage (#3267) 2019-06-08 02:34:41 +02:00
Igor Savin
2ccaf3d724
Remove bluebird promises from typings. Do not pass promise to migrations and seeds. Remove knex.Promise (#3266) 2019-06-08 01:16:34 +02:00
Lorefnon
35efad1fa7 Fix some cases of left-to-right inference causing type mismatch (#3265)
Closes #3260
2019-06-08 00:40:06 +02:00
Quinn Chaffee
ab6a3047aa Remove Bluebird.try (#3263) 2019-06-07 23:30:39 +02:00
Lorefnon
501d58a6d9 Address concerns around count typings (#3249)
* Use number instead of number | string for return type of count

Closes #3247

* Use an alias instead of interface for DeferredKeySelection

This prevents typescript from complaining when it has to be used in an exported signature without us having to expose internal type as public

Closes #3259

* Make count result type overridable

* Disable interface-over-type-literal rule
2019-06-06 08:24:28 +02:00
Igor Savin
c431ffc35a
Drop support for Node.js 6. Remove babel. (#3227) 2019-06-04 00:37:17 +02:00
Adrien Risser
9b74ccbfad Fix error message bubbling up on seed error (#3248) 2019-06-03 18:10:23 +02:00
Igor Savin
a2031e8c39 Bump version 0.17.2 2019-06-02 22:54:51 +02:00
Lorefnon
0d1fb16240 Improve typings for aggregations (#3245) 2019-06-02 22:52:16 +02:00
Sangmin Lee
0521beac82 Add decimalNumbers to MySqlConnectionConfig interface (#3244) 2019-06-02 15:20:24 +02:00
Igor Savin
f6976de8e0 Merge remote-tracking branch 'origin/master' 2019-06-01 17:45:20 +02:00
Igor Savin
717b3b3291 Bump version 2019-06-01 17:44:59 +02:00
Igor Savin
dcd27414c2
Update dependencies (#3238) 2019-06-01 17:43:30 +02:00
Lorefnon
9f0da44ef2 Improve count typings (#3239)
- Make count generic, especially useful when being used with an alias object argument
- In case of alias object, partially infer the return type from the input.
2019-06-01 11:37:02 +02:00
Igor Savin
f3932721de Prepare for 0.17.1 release 2019-05-31 10:30:12 +02:00
Lorefnon
1b2b6bbf8c Update type of aggregation results to not be arrays when first had been invoked before (#3237)
Addresses: https://github.com/tgriesser/knex/issues/3229#issuecomment-497560577
2019-05-31 08:20:48 +02:00
Lorefnon
bd63288d41 Include undefined in Single row results (#3231) 2019-05-31 00:03:08 +02:00
Lee Allen
1fe5ee0ea3 Add migrate:down functionality (#3228) 2019-05-30 00:37:18 +02:00
Lorefnon
d62d280b4f Fix incorrect type definitions for single row queries (#3230)
Closes #3229
2019-05-29 22:48:10 +02:00
Igor Savin
33656be6cf Bump version 0.17.0 2019-05-28 23:32:27 +02:00
Igor Savin
f599f6ac13
Try using much smaller timeouts (#3226) 2019-05-27 23:21:21 +02:00
Igor Savin
aaa222aca7 Bump version 2019-05-27 03:06:54 +02:00
Igor Savin
e1049ce173 Update changelog 2019-05-27 03:05:52 +02:00
Igor Savin
5307dacc66
Implement support for returning started transaction without using transaction() methods callback function (#3099) 2019-05-26 18:03:07 -07:00
Igor Savin
c9d4a22413
Update dependencies (#3224) 2019-05-26 17:28:33 -07:00