2646 Commits

Author SHA1 Message Date
Igor Savin
ad41e1c0f4
Minor code improvements (#4167) 2020-12-20 01:43:36 +02:00
Igor Savin
1211152f07
Extract knex config resolution logic (#4166) 2020-12-19 16:44:15 +02:00
Igor Savin
dbd27bbc18 Prepare 0.21.14 for release 0.21.14 2020-12-18 02:05:44 +02:00
Kkmatt11
629909475c
Fix MSSQL with returns on inserts and deletes on tables with triggers (#4152) 2020-12-18 01:12:04 +02:00
Igor Savin
704853d605
Improved integration test framework (#4161) 2020-12-14 23:47:02 +02:00
Duc Nghiem Xuan
5e95a6afb8
Make sure query-response and query-error events contain _knexTxId (#4160) 2020-12-14 11:10:20 +02:00
Snir Shechter
1975899c9c
Bugfix: Uses esm import if package.json type is module (#4158) 2020-12-14 01:09:43 +02:00
Igor Savin
ce3b9febcd Prepare 0.21.13 for release 0.21.13 2020-12-12 01:26:02 +02:00
Igor Savin
3394a02935
Avoid connection getting stuck on socket hangup (#4157) 2020-12-11 23:56:14 +02:00
Ivan Starkov
84cee6c445
Fix performance of asyncStackTraces with enable-source-maps node flag (#4154) 2020-12-11 13:19:03 +02:00
Shunsuke Mano
4c42fa2520
Fix(seed:run): irregular seed file execution order (#4156) 2020-12-11 13:18:03 +02:00
Avi Itskovich
bc04b7ab30
Add support for application_name (#4153)
Add support for application_name as a valid type. This option is already supported in `pg`, see https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/types/pg/index.d.ts
2020-12-10 11:08:57 +02:00
Mark Boyd
76c131e2a9
Add support for WHERE clauses to "upsert" queries (#4148) 2020-12-09 17:51:29 +02:00
Igor Savin
07ae5c0725
Update changelog and dependencies (#4149) 2020-12-08 17:53:45 +02:00
Rijk van Zanten
b7e1ffd7d5
Add support for dropForeign in SQLite (#4092)
Co-authored-by: Igor Savin <iselwin@gmail.com>
2020-12-08 14:49:41 +02:00
Igor Savin
c47e00de64
Support non-standard Oracle port (#4147) 2020-12-08 00:47:00 +02:00
Kenny
073df48cc6
Add types for connection config of mysql2 driver (#4144) 2020-12-07 22:46:28 +02:00
Igor Savin
bad1ea714d
Update dependencies (#4136) 2020-12-01 17:34:55 +02:00
iceflash
61344b180e
fix types for WhereIn signature(value or query builder) (#3863) 2020-11-27 15:02:23 +02:00
maximelkin
619f2865af
fix/4068 batchInsert correct definitions (#4131) 2020-11-27 15:01:36 +02:00
Alucard17
6c23c43731
Added type for withKeyName (#4139) 2020-11-27 15:00:06 +02:00
maximelkin
36859dcbe1
Don't do typecheck of tsd tests, because tsd already does that (#4138) 2020-11-26 01:15:28 +02:00
Igor Savin
e7a3c79999
Update dependencies (#4127) 2020-11-20 20:57:16 +02:00
Igor Savin
293163b480
Move TS tests to tsd, part 2 (#4110) 2020-11-20 12:46:08 +02:00
Igor Savin
4a5172bd72
Move TS tests to tsd, part 1 (#4109) 2020-11-16 23:55:58 +02:00
Guy
cd1e546f66
Add types for userParams and withUserParams (#4119)
https://github.com/knex/knex/issues/3962
2020-11-15 14:35:35 +02:00
Arturs Vonda
f953ff4f8f
Fix types for insert to allow array (#4105) 2020-11-02 17:42:51 +02:00
Igor Savin
90b145dc84 Prepare to release 0.21.12 2020-11-02 12:55:14 +02:00
Ben
0632d7bfd7
use tarn config TS types instead of generic-pool (#4064) 2020-11-02 12:53:13 +02:00
Nico Burns
881c5ee136
Types: Make .ignore() and .merge() return QueryBuilder rather than QueryInterface (#4102) 2020-11-02 12:51:38 +02:00
Aldo Funes
4b4b7ae3d9
Add a few missing types for MSSQL Connection (#4103) 2020-11-02 00:25:27 +02:00
Arturs Vonda
ce0002d106
Global table definitions v2 (#4100) 2020-11-01 13:15:58 +02:00
Igor Savin
4cfb3ea17b Prepare 0.21.11 for release 2020-11-01 04:02:23 +02:00
Igor Savin
a849553f87
Revert "Allow to globally define table/record mapping (#4071)" (#4099)
This reverts commit c347408a
2020-11-01 04:00:20 +02:00
Igor Savin
d1f39e9818
Fix broken TS types (#4098) 2020-11-01 03:12:42 +02:00
Igor Savin
d27619904b
Update dtslint to 4.0.4 (#4095) 2020-11-01 01:48:54 +02:00
Igor Savin
07cc11d16a
Update TypeScript (#4094) 2020-11-01 01:48:44 +02:00
Igor Savin
501fb24bed Improve changelog 0.21.10 2020-10-31 23:55:13 +02:00
Igor Savin
7d8f98b709 Prepare 0.21.10 for release 2020-10-31 23:53:52 +02:00
Arturs Vonda
c347408a75
Allow to globally define table/record mapping (#4071) 2020-10-31 23:48:10 +02:00
Arturs Vonda
041265e0e2
Remove redundant async in tests (#4091) 2020-10-31 23:07:26 +02:00
Nico Burns
8d43019873
Implement "UPSERT" (Postgres/MySQL/Sqlite) (#3763) 2020-10-31 17:22:52 +02:00
Igor Savin
26f3e5d62d
Replace uuid with copied nanoid logic (#4089) 2020-10-30 14:21:17 +02:00
Igor Savin
6001e55382 Prepare 0.21.9 for release 0.21.9 2020-10-29 23:45:47 +02:00
Emil Wihlander
b099852032
fix help text being printed twice (#4072) (#4082)
Co-authored-by: Igor Savin <iselwin@gmail.com>
2020-10-29 23:41:59 +02:00
Igor Savin
3246c1f9fa
Add missing event propagation (#4087) 2020-10-29 12:02:03 +02:00
Ivan Zhuravlev
5845dc632f
feat(QueryBuilder): add method clear(statement) (#4051) 2020-10-29 01:18:32 +02:00
torres-federico
69167b6fa9
Oracle: replace user_tab_columns with all_tab_columns (#4061) 2020-10-28 22:42:24 +02:00
Igor Savin
2bcaf51f9d Prepare 0.21.8 for release 2020-10-27 10:12:10 +02:00
Igor Savin
e52c5d6c6b
Make toQuery behavior consistent with pre-0.21.7 (#4083)
fixes https://github.com/mikro-orm/mikro-orm/issues/961
2020-10-27 10:09:22 +02:00