3082 Commits

Author SHA1 Message Date
Igor Savin
9d62cbfdb1 Remove .only block 2022-03-19 13:46:44 +02:00
Olivier Cavadenti
4f7d920daa
Async/await in tests : selects.spec.js (#5073) 2022-03-19 12:42:44 +01:00
dependabot[bot]
8a810ea456
Bump tedious from 12.3.0 to 14.3.0 (#5019)
Bumps [tedious](https://github.com/tediousjs/tedious) from 12.3.0 to 14.3.0.
- [Release notes](https://github.com/tediousjs/tedious/releases)
- [Commits](https://github.com/tediousjs/tedious/compare/v12.3.0...v14.3.0)

---
updated-dependencies:
- dependency-name: tedious
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-19 13:40:08 +02:00
dependabot[bot]
2cc81283c7
Bump actions/checkout from 2.4.0 to 3 (#5045)
Bumps [actions/checkout](https://github.com/actions/checkout) from 2.4.0 to 3.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v2.4.0...v3)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-19 13:39:35 +02:00
dependabot[bot]
1336bc15ec
Bump prettier from 2.5.1 to 2.6.0 (#5066)
Bumps [prettier](https://github.com/prettier/prettier) from 2.5.1 to 2.6.0.
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prettier/prettier/compare/2.5.1...2.6.0)

---
updated-dependencies:
- dependency-name: prettier
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-19 13:39:13 +02:00
James Ide
35e1963f65
[types] Make Knex's default generic parameter types be assignable to knex's (#5021) 2022-03-19 13:38:56 +02:00
Santi Albo
1d4cd0b074
Fix completed migration listing (#5060) 2022-03-19 13:36:43 +02:00
Jürg Lehni
81b7edd115
Fix isModuleType() for yarn (#4447) (#5071) 2022-03-19 13:35:04 +02:00
Olivier Cavadenti
b5dbe01363
Stringify json value in update (#5063) 2022-03-15 10:47:43 +01:00
Igor Savin
1ce659faf9 Prepare to release 1.0.4 1.0.4 2022-03-13 15:59:27 +02:00
Igor Savin
9e1daee0f5 Fix website documentation 2022-03-13 15:54:31 +02:00
tharrison4815
70e5aba9a1
createTableLike callback should be optional (#5055)
Co-authored-by: Tom Harrison <tharrison@dunelm.com>
2022-03-11 10:23:41 +02:00
Olivier Cavadenti
a906596f06
Rework Union Wrapping (#5030) 2022-03-07 13:45:58 +01:00
Olivier Cavadenti
e0a6e54141
Subquery in on clause missing parenthesis (#5049) 2022-03-04 18:21:35 +01:00
Olivier Cavadenti
106a881e20
Add whereLike functions (#5044) 2022-03-01 20:19:35 +01:00
SP
3616791ac2
Fix batch inserts with DEFAULT values with OracleDB (#2592) (#5037)
Co-authored-by: Sven Petry <sven.petry@inform-software.com>
2022-02-26 19:05:46 +01:00
dependabot[bot]
861b971153
Bump lint-staged from 11.2.6 to 12.3.4 (#5023)
Bumps [lint-staged](https://github.com/okonet/lint-staged) from 11.2.6 to 12.3.4.
- [Release notes](https://github.com/okonet/lint-staged/releases)
- [Commits](https://github.com/okonet/lint-staged/compare/v11.2.6...v12.3.4)

---
updated-dependencies:
- dependency-name: lint-staged
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-25 00:08:52 +01:00
Santi Albo
52b35de1b9
Fix types for "returning" methods (#5031) 2022-02-21 17:23:00 +02:00
dependabot[bot]
17dbe94ada
Bump prettier from 2.4.1 to 2.5.1 (#4876)
Bumps [prettier](https://github.com/prettier/prettier) from 2.4.1 to 2.5.1.
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prettier/prettier/compare/2.4.1...2.5.1)

---
updated-dependencies:
- dependency-name: prettier
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-18 14:38:38 +01:00
Olivier Cavadenti
600d3c3755
Fix orWhereJsonPath clause (#5022) 2022-02-13 15:11:39 +01:00
Igor Savin
e64e37bb39 Prepare to release 1.0.3 1.0.3 2022-02-11 00:34:56 +02:00
Daniel Lockyer
affb883960
Fixed primary keys being created separately on MySQL (#5017) 2022-02-10 19:06:23 +02:00
Olivier Cavadenti
47b96344c2
Fix delete joins with PostgreSQL (#5016) 2022-02-09 23:01:43 +01:00
tramplay
9f4db5ee22
Use async / await syntax in seeds as default (#5005) 2022-02-09 01:06:49 +02:00
stvsh
1461b9b06a
Fix whereJsonPath queries for postgres and cockroachdb (#5011)
Co-authored-by: Jacek Starz <jacek.starz@antsolutions.eu>
2022-02-08 20:15:38 +01:00
John Hiesey
d956aecc23
Add withMaterialized and withNotMaterialized to method-constants (#5009) 2022-02-07 23:18:35 +01:00
Tomáš Dvořák
e7a787cd59
docs: Add Firebird dialect to ECOSYSTEM.md (#5003) 2022-02-05 20:25:24 +02:00
Aaron Greene
71fd863664
Fix type definition for getMigration in MigrationSource (#4998) 2022-02-03 19:30:32 +01:00
Rafael Almeida
a31129be79
Fix argument type of alter method (#4996) 2022-02-02 09:18:49 +01:00
Igor Savin
8fd1f22d2e
Prepare to release 1.0.2 (#4993) 2022-02-02 00:04:52 +02:00
TJ (Thomas J.) Biddle
c4a3abc42d
Do not use sys.tables to find if a table exists (#2328)
Co-authored-by: Olivier Cavadenti <olivier.cavadenti@gmail.com>
2022-02-01 14:54:46 +01:00
David Straub
81d6ffad4a
Fix collation when renaming column in MySQL dialect (#2666)
Co-authored-by: Olivier Cavadenti <olivier.cavadenti@gmail.com>
2022-02-01 15:00:05 +02:00
Olivier Cavadenti
ffb60191db
Fix Order nulls in PostgreSQL (#4989) 2022-02-01 10:24:48 +01:00
Olivier Cavadenti
2986f8c1c0
Support string json in json values (#4988) 2022-02-01 00:01:57 +02:00
Mitch Jacovetty
f9f6a38a28
Same boolean handling in better-sqlite3 as in sqlite3 (#4982)
Co-authored-by: Olivier Cavadenti <olivier.cavadenti@gmail.com>
2022-02-01 00:01:00 +02:00
gzq
f50554b4c4
feat: add order and type for uuidtobin and binToUuid (#4969) 2022-01-28 18:34:38 +01:00
Shaun Sharples
4f0f0ab3e0
move deferrable to after on update/on delete (#4976)
Thank you!
2022-01-28 12:34:26 +02:00
Olivier Cavadenti
2e1016e662
Add alterType and update index.d.ts for alter function (#4967)
Co-authored-by: intech <ru31337@gmail.com>
2022-01-27 13:34:23 +01:00
Lucas Silva
2467db18e9
adding with clause in mysql dialect (#4508)
Co-authored-by: Lucas Silva <lucas.silva@codeminer42.com>
Co-authored-by: Olivier Cavadenti <olivier.cavadenti@gmail.com>
2022-01-25 20:05:19 +01:00
Igor N. Dultsev
3ee6d0f022
Alter nullable constraint when alterNullable is set to true (#4730) 2022-01-24 20:22:04 +01:00
Olivier Cavadenti
6ee3f94d1a
Add raw support in onConflict clause (#4960) 2022-01-22 14:31:51 +01:00
Olivier Cavadenti
63980987a6
Support of MATERIALIZED and NOT MATERIALIZED with WITH/CTE (#4940) 2022-01-20 22:54:03 +01:00
KarolBialyKainos
22f9544356
WhereILike - Fix typo in types (#4941) 2022-01-19 09:10:06 +01:00
Victor Pontis
e171d61dad
Fix error message for missing migration files (#4937) 2022-01-17 10:56:15 +02:00
Igor Savin
a6d26ad1aa Prepare to release 1.0.1 (fixed metadata) 1.0.1 2022-01-16 02:54:18 +02:00
Igor Savin
2c176cd6a3 Prepare to release 1.0.1 (fixed metadata) 2022-01-16 02:53:47 +02:00
Igor Savin
e447dc1283 Fix Node.js version in readme 1.0.0 2022-01-16 02:47:09 +02:00
Igor Savin
ccd0f59da4 Prepare to release 1.0.0 2022-01-16 02:45:29 +02:00
dependabot[bot]
05d5c35099
Bump actions/setup-node from 2.4.1 to 2.5.1 (#4914)
Bumps [actions/setup-node](https://github.com/actions/setup-node) from 2.4.1 to 2.5.1.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](https://github.com/actions/setup-node/compare/v2.4.1...v2.5.1)

---
updated-dependencies:
- dependency-name: actions/setup-node
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-16 02:24:55 +02:00
Igor Savin
4a0d82f2be
Fix tests for RETURNING and enable them for SQLite. (#4934) 2022-01-16 02:20:52 +02:00