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
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