Igor Savin
853a25c4d9
Additional tests for JSON (de)serialization
2021-04-22 01:16:16 +03:00
dependabot[bot]
ed0d4afce8
Bump chai-subset-in-order from 2.2.1 to 3.0.0 ( #4413 )
...
Bumps [chai-subset-in-order](https://github.com/oprogramador/chai-subset-in-order ) from 2.2.1 to 3.0.0.
- [Release notes](https://github.com/oprogramador/chai-subset-in-order/releases )
- [Changelog](https://github.com/oprogramador/chai-subset-in-order/blob/master/.releaserc )
- [Commits](https://github.com/oprogramador/chai-subset-in-order/compare/v2.2.1...v3.0.0 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-06 21:22:57 +03:00
David Whynot
f6d34f93ed
Fix typing for increments and bigIncrements ( #4406 )
2021-03-30 20:58:43 +03:00
Igor Savin
8cfad286f2
Prepare 0.95.4 for release
2021-03-26 20:15:53 +02:00
monotykamary
767f32e6c9
fix: mistyping of stream ( #4400 )
2021-03-26 19:54:24 +02:00
Igor Savin
c2b558e79b
Prepare 0.95.3 for release
0.95.3
2021-03-25 11:39:50 +02:00
Ardeshir81
6b420cebdf
Throw an error if negative offset is provided ( #4361 )
2021-03-25 11:30:25 +02:00
Jeremy W. Sherman
0d43c1cbb9
mssql: Improve estimate of max comment length ( #4362 )
2021-03-25 11:24:44 +02:00
dependabot[bot]
e099d7f602
Bump dtslint from 4.0.7 to 4.0.8 ( #4391 )
...
Bumps [dtslint](https://github.com/Microsoft/dtslint ) from 4.0.7 to 4.0.8.
- [Release notes](https://github.com/Microsoft/dtslint/releases )
- [Commits](https://github.com/Microsoft/dtslint/commits )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-25 11:22:23 +02:00
Minh Son Nguyen
8858a630b6
nguymin4/update typings ( #4377 )
2021-03-25 11:21:46 +02:00
Jiri Spac
fab2ed6d10
add dropForeign arg type for single column ( #4363 )
2021-03-25 11:20:59 +02:00
martinmacko47
1744c8c265
Fix timeout method ( #4324 )
2021-03-22 01:33:59 +02:00
Rijk van Zanten
910c009870
Rework dropForeign to use new tokenized structure ( #4376 )
...
Fixes #4369
2021-03-15 22:45:28 +02:00
Kevin Brown
79be494ed0
Add same as operator for postgres. ( #4372 )
2021-03-13 10:33:44 +02:00
Ardeshir81
2bce36e3ee
Update CONTRIBUTING.md ( #4368 )
2021-03-12 16:16:40 +02:00
Thomas Schaaf
4f6391cb67
[TypeScript] Allow config.client to be non-client instance ( #4367 )
...
TypeScript makes it very hard to get typescript to correctly check the `instanceof Client` part of the statement.
See: https://github.com/Microsoft/TypeScript/wiki/FAQ#why-doesnt-extending-built-ins-like-error-array-and-map-work
2021-03-12 00:16:41 +02:00
Igor Savin
87dcac8a97
Prepare 0.95.2 for release
0.95.2
2021-03-11 20:05:22 +02:00
Santi Albo
548471de0a
fix TypeScript migration stub after 0.95.0 changes ( #4366 )
...
* fix TypeScript migration stub after 0.95.0 changes
Release 0.95.0 changed how types have to be imported when using TypeScript. This PR fixes the migration stub so new migrations are created correctly.
* Add test for Knex.AlterTableBuilder
Co-authored-by: Igor Savin <iselwin@gmail.com>
2021-03-11 19:58:00 +02:00
Jakub Jastrzębski
5d1f479593
fix: update ts.stub files to new TypeScript namespace ( #4344 )
2021-03-11 18:51:53 +02:00
dependabot[bot]
5f6fc6cc18
Bump typescript from 4.2.2 to 4.2.3 ( #4345 )
...
Bumps [typescript](https://github.com/Microsoft/TypeScript ) from 4.2.2 to 4.2.3.
- [Release notes](https://github.com/Microsoft/TypeScript/releases )
- [Commits](https://github.com/Microsoft/TypeScript/commits )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-11 18:51:09 +02:00
Igor Savin
5b53a661ea
Improve ESM import support ( #4350 )
2021-03-11 18:49:41 +02:00
Igor Savin
4ff3868140
Move QueryBuilder and KnexTimeoutError into knex namespace so that they are accessible at a runtime ( #4358 )
2021-03-08 23:18:49 +02:00
Matt Machuga
0ab482bcfb
Unify db test helpers ( #4356 )
2021-03-08 14:16:07 +02:00
Igor Savin
1554ee6e6d
Add more TS changes description
2021-03-06 23:41:36 +02:00
Ardeshir81
225fab7f9d
package.json changes made by npm@7.6.1 ( #4348 )
2021-03-06 11:59:24 +02:00
Igor Savin
8c2a25213b
Make types documentation more explicit
2021-03-05 14:23:47 +02:00
Igor Savin
aa7121fa98
Prepare 0.95.1 for release ( #4341 )
2021-03-04 12:06:41 +02:00
Paulo Santana
0de0ab5a48
fix knex init not finding default knexfile ( #4339 )
2021-03-04 07:42:48 +02:00
Nicola Krumschmidt
ed0e8a53df
Fix SQLite not doing rollback when altering columns fails ( #4336 )
0.95.0
2021-03-03 20:50:45 +02:00
Igor Savin
3c70dca5ee
Prepare 0.95.0 for release
2021-03-03 10:32:22 +02:00
Nicola Krumschmidt
c1ab23c206
Await asynchronous expect assertions ( #4334 )
2021-03-03 01:28:42 +02:00
Nicola Krumschmidt
3e6176ac0c
SQLite parser improvements ( #4333 )
2021-03-03 00:42:43 +02:00
Thibaut Patel
a98614d55a
Made the constraint detection case-insensitive ( #4330 )
2021-03-02 21:52:10 +02:00
Igor Savin
5d2db21443
Fix ArrayIfAlready type ( #4331 )
2021-03-02 19:38:22 +02:00
Igor Savin
887a4f606a
Improve join and conflict types v2 ( #4318 )
...
Co-authored-by: Jeroen Hermans <jeroen@datacamp.com>
2021-03-02 19:34:04 +02:00
Nicola Krumschmidt
29b8a3623f
Adjust generateDdlCommands return type ( #4326 )
2021-03-01 19:11:16 +02:00
Daniel Hensby
d807832b3b
mssql: schema builder - attempt to drop default constraints when changing default value on columns ( #4321 )
2021-02-28 19:27:48 +02:00
Daniel Hensby
c0d8c5c247
mssql: schema builder - add predictable constraint names for default values ( #4319 )
2021-02-28 01:08:15 +02:00
Nicola Krumschmidt
5ec76f5509
Convert produced statements to objects before querying ( #4323 )
2021-02-27 23:01:21 +02:00
Nicola Krumschmidt
9e28a72aca
Add support for altering columns to SQLite ( #4322 )
2021-02-26 22:36:46 +02:00
Daniel Hensby
7db2d18877
fix mssql alter column must have its own query ( #4317 )
2021-02-25 19:34:22 +02:00
dependabot[bot]
371864d1d4
Bump typescript from 4.1.5 to 4.2.2 ( #4312 )
...
Bumps [typescript](https://github.com/Microsoft/TypeScript ) from 4.1.5 to 4.2.2.
- [Release notes](https://github.com/Microsoft/TypeScript/releases )
- [Commits](https://github.com/Microsoft/TypeScript/commits )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-02-25 12:42:31 +02:00
Tyler Watson
6c3e7b5afc
mssql: don't raise query-error twice ( #4314 )
2021-02-25 12:37:43 +02:00
dependabot[bot]
168f2afa12
Bump eslint-config-prettier from 7.2.0 to 8.1.0 ( #4315 )
...
Bumps [eslint-config-prettier](https://github.com/prettier/eslint-config-prettier ) from 7.2.0 to 8.1.0.
- [Release notes](https://github.com/prettier/eslint-config-prettier/releases )
- [Changelog](https://github.com/prettier/eslint-config-prettier/blob/main/CHANGELOG.md )
- [Commits](https://github.com/prettier/eslint-config-prettier/compare/v7.2.0...v8.1.0 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-02-25 12:33:28 +02:00
Jeremy W. Sherman
3718d647e4
Respect KNEX_TEST, support omitting sqlite3 from DB, and reduce outside mssql test db config ( #4313 )
2021-02-24 19:27:30 +02:00
Igor Savin
c58794b2ad
Prepare to release 0.95.0-next3
2021-02-18 12:29:48 +02:00
Igor Savin
61e1046651
Avoid importing entire lodash to ensure tree-shaking is working correctly ( #4302 )
2021-02-18 12:29:03 +02:00
Tyler Watson
8c73417de6
events: introduce queryContext on query-error ( #4301 )
2021-02-18 12:23:12 +02:00
Nath Tumlin
b6fd941c4e
Include 'name' property in MigratorConfig ( #4300 )
2021-02-17 21:26:00 +02:00
Igor Savin
9581100b4d
Prepare to release 0.95.0-next2
2021-02-15 19:31:09 +02:00