Update dependency knex to v3 #79

Open
odit_renovate wants to merge 1 commits from renovate/knex-3.x into main

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
knex (source) 0.95.15 -> 3.1.0 age adoption passing confidence

Release Notes

knex/knex (knex)

v3.1.0

Compare Source

Bug fixes
  • andWhereNotJsonObject calling wrong function (#​5683)
  • PostgreSQL: fix error when setting query_timeout (#​5673)
  • MySQL: Missing comments on delete, update and insert (#​5738)
  • MySQL: Fixed issue with bigincrements not working with composite primary key - #​5341 (#​5343)
Types
  • Add type definitions for orHavingNull and orHavingNotNull (#​5669)
  • Import knex as type in TS migration template (#​5741)
  • Fix conditional constraint error (#​5747)
  • PostgreSQL: Fix typing to reflect pg typing change (#​5647)
New features
  • Add transactor.parentTransaction (#​5567)
  • MySQL: Added implementation for upsert (#​5743)
  • Oracle: Support Object Names Greater than 30 Characters for Oracle DB Versions 12.2 and Greater (#​5197)

v3.0.1

Compare Source

  • Build fix

v3.0.0

Compare Source

  • Fix raw bindings typing (#​5401)
  • Fix migrate:unlock when used with custom identifier wrapping. (#​5353)
  • Fix driver options specified with .options() method being ignored for oracledb dialect (#​5123)
  • Drop compatibility for Node < 16
  • Fix knex d.ts to work with mixed modules (#​5659)
  • Fix Lexical error from "Instaed" to "Instead" (#​5655)
Bug fixes

v2.5.1

Compare Source

Bug fixes

v2.5.0

Compare Source

New features
  • Add uuid helper function (#​5617)
  • Add nativeBindings option to better-sqlite3 options (#​5461)
  • Add QueryBuilder#updateFrom (#​5386)
  • Add readonly transaction access mode (#​5445)
  • Add readonly option to Better-SQLite3 (#​5530)
  • Add EXCEPT as a valid keyword (#​5357)
  • Add ability to prepend query comments (#​5289)
  • Add fetchAsString option (#​5484)
Bug fixes
  • Avoid password leaks on query logs (#​5559)
  • Add knex.mjs to files in package.json (#​5518)
  • Handle numeric array elements in .orderBy() (#​5551)
  • Attach error handler early enough (#​5552)
  • Fix Returning * in Oracle (#​5598)
  • Fix indexType option in Postgres (#​5601)
  • Add mjs extension type (#​5616)
  • Use implicit check on json fields for OracleDB (#​5478)
  • Fix when manually close source stream (#​5466)
  • Fix case sensitive issue with get table (#​5509)
Typings
  • Add Object syntax overload to increment method (#​5512)
  • Add object syntax overload to decrement method (#​5555)
  • Fix typing for toSql (#​5594)
  • Add ResolveTableType for .merge() (#​5605)
  • Add missing types for havingNull and havingNotNull (#​5529)
  • Add collate to the columnbuilder interface (#​5568)
  • TableBuilder methods return the SchemaBuilder. (#​5486)

v2.4.2

Compare Source

Bug fixes
  • CLI: Fix incorrent EOL causing errors on Linux #​5455

v2.4.1

Compare Source

Bug fixes
  • PostgreSQL: Fix Malformed array literal 2.4.0 Regression #​5439

v2.4.0

Compare Source

New features:
  • Support partial unique indexes #​5316
  • Make compiling SQL in error message optional #​5282
Bug fixes
  • Insert array into json column #​5321
  • Fix unexpected max acquire-timeout #​5377
  • Fix: orWhereJson #​5361
  • MySQL: Add assertion for basic where clause not to be object or array #​1227
  • SQLite: Fix changing the default value of a boolean column in SQLite #​5319
Typings:
  • add missing type for 'expirationChecker' on PgConnectionConfig #​5334

v2.3.0

Compare Source

New features:
  • PostgreSQL: Explicit jsonb support for custom pg clients #​5201
  • SQLite: Support returning with sqlite3 and better-sqlite3 #​5285
  • MSSQL: Implement mapBinding mssql dialect option #​5292
Typings:

v2.2.0

Compare Source

New features:
  • Inline primary key creation for postgres flavours #​5233
  • SQLite: Add warning for undefined connection file #​5223
  • MSSQL: Add JSON parameter support for connection #​5200
Bug fixes:
  • PostgreSQL: add primaryKey option for uuid #​5212
Typings:
  • Add promisable and better types #​5222
  • Update raw query bind parameter type #​5208

v2.1.0

Compare Source

New features:
  • Improve bundling experience to safely import dialects while using static paths #​5142
  • Implement extendable builders #​5041
  • PostgreSQL: Refresh materialized view concurrently #​5166
Bug fixes:
  • Use correct paths in package.json browser field #​5174
  • MariaDB: Fix 'NULL' returned instead of NULL on MariaDB 10.2.6+ #​5181
  • MySQL: fix hasColumn Error (hasColumn ('a_id') is true, but hasColumn('a_Id') is false) #​5148
  • MSSQL: Fix .hasTable result when using .withSchema #​5176
  • Oracle: correctly INSERTS Buffer #​4869
Typings:
  • Update type definitions for pg connection #​5139

v2.0.0

Compare Source

Breaking changes
Test / internal changes:

v1.0.7

Compare Source

Bug fixes:
  • CLI: Fix cli migrate:make SQLite dependency #​5106

v1.0.6

Compare Source

Bug fixes:
  • PostgreSQL: Wait for search path to be set before returning connection #​5107
  • CLI: No client override during migrate:make #​5109

v1.0.5

Compare Source

New features:
  • Override knexfile options with CLI options #​4047
Bug fixes:
Typings:
  • Make default generic parameters of Knex match the generic parameter types of knex #​5021
  • Update knex types for TS 4.7 #​5095

v1.0.4

Compare Source

New features:
Bug fixes:
Typings:
  • Fix types for "returning" methods #​5031
  • createTableLike callback should be optional #​5055
Documentation:

v1.0.3

Compare Source

Bug fixes:
  • Fix error message for missing migration files #​4937
  • Add withMaterialized and withNotMaterialized to method-constants #​5009
  • PostgreSQL: Fix whereJsonPath queries #​5011
  • PostgreSQL: Fix delete joins #​5016
  • CockroachDB: Fix whereJsonPath queries #​5011
  • MySQL: Create primary keys in same statement #​5017
Typings:
  • Fix type definition for getMigration in MigrationSource #​4998
  • Fix argument type of alter method #​4996
Improvements:
  • Use async / await syntax in seeds as default #​5005
Documentation:
  • Add Firebird dialect to ECOSYSTEM.md #​5003

v1.0.2

Compare Source

New features:
  • Support of MATERIALIZED and NOT MATERIALIZED with WITH/CTE #​4940
  • Add raw support in onConflict clause #​4960
  • Alter nullable constraint when alterNullable is set to true #​4730
  • Add alterType parameter for alter function #​4967
  • Support string json in json values #​4988
  • MySQL: add with clause #​4508
Bug fixes:
  • Fix error message for missing migration files #​4937
  • Move deferrable to after on update/on delete #​4976
  • Do not use sys.tables to find if a table exists #​2328
  • PostgreSQL: Fix Order nulls #​4989
  • MySQL: Fix collation when renaming column #​2666
  • SQLite: Same boolean handling in better-sqlite3 as in sqlite3 #​4982
Typings:

v1.0.1

Compare Source

Bug fixes:
  • Fix package.json metadata

v1.0.0

Compare Source

Breaking changes
  • Dropped support for Node 10;
  • Replaced unsupported sqlite3 driver with @vscode/sqlite3;
  • Changed data structure from RETURNING operation to be consistent with SELECT;
  • Changed Migrator to return list of migrations as objects consistently.
New features:
  • Support fromRaw #​4781
  • Support zero precision in timestamp/datetime #​4784
  • Support whereLike and whereILike #​4779
  • Add JSDoc (TS flavor) to stub files #​4809
  • Allow skip binding in limit and offset #​4811
  • Support creating a new table in the database based on another table #​4821
  • Accept Raw on onIn joins #​4830
  • Implement support for custom seed sources #​4842
  • Add binary uuid option #​4836
  • ForUpdate array parameter #​4882
  • Add camel case to timestamps method #​4803
  • Advanced JSON support #​4859
  • Add type to TypeScript knexfile #​4909
  • Checks Constraints Support #​4874
  • Support creating multiple PKs with increments #​4903
  • Enable wrapIdentifier for SQLite .hasTable #​4915
  • MSSQL: Add support for unique constraint #​4887
  • SQLite: New dialect, using better-sqlite3 driver #​4871
  • SQLite: Switch to @​vscode/sqlite3 #​4866
  • SQLite: Support createViewOrReplace #​4856
  • SQLite: Support RETURNING statements for better-sqlite3 driver #​4934
  • PostgreSQL: Support JOIN and USING syntax for Delete Statement #​4800
Bug fixes:
  • Fix overzealous warning on use of whereNot with "in" or "between" #​4780
  • Fix Union all + first syntax error #​4799
  • Make view columns optional in create view like #​4829
  • Insert lock row fix during migration #​4865
  • Fix for createViewOrReplace #​4856
  • SQLite: Fix foreign key constraints when altering a table #​4189
  • MySQL: Validate connection fix #​4794
  • MySQL: Set comment size warning limit to 1024 #​4867
Typings:

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [knex](https://knex.github.io/documentation/) ([source](https://github.com/knex/knex)) | [`0.95.15` -> `3.1.0`](https://renovatebot.com/diffs/npm/knex/0.95.15/3.1.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/knex/3.1.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/knex/3.1.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/knex/0.95.15/3.1.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/knex/0.95.15/3.1.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>knex/knex (knex)</summary> ### [`v3.1.0`](https://github.com/knex/knex/blob/HEAD/CHANGELOG.md#310---8-December-2023) [Compare Source](https://github.com/knex/knex/compare/3.0.1...3.1.0) ##### Bug fixes - andWhereNotJsonObject calling wrong function ([#&#8203;5683](https://github.com/knex/knex/issues/5683)) - PostgreSQL: fix error when setting query_timeout ([#&#8203;5673](https://github.com/knex/knex/issues/5673)) - MySQL: Missing comments on delete, update and insert ([#&#8203;5738](https://github.com/knex/knex/issues/5738)) - MySQL: Fixed issue with bigincrements not working with composite primary key - [#&#8203;5341](https://github.com/knex/knex/issues/5341) ([#&#8203;5343](https://github.com/knex/knex/issues/5343)) ##### Types - Add type definitions for orHavingNull and orHavingNotNull ([#&#8203;5669](https://github.com/knex/knex/issues/5669)) - Import knex as type in TS migration template ([#&#8203;5741](https://github.com/knex/knex/issues/5741)) - Fix conditional constraint error ([#&#8203;5747](https://github.com/knex/knex/issues/5747)) - PostgreSQL: Fix typing to reflect pg typing change ([#&#8203;5647](https://github.com/knex/knex/issues/5647)) ##### New features - Add transactor.parentTransaction ([#&#8203;5567](https://github.com/knex/knex/issues/5567)) - MySQL: Added implementation for upsert ([#&#8203;5743](https://github.com/knex/knex/issues/5743)) - Oracle: Support Object Names Greater than 30 Characters for Oracle DB Versions 12.2 and Greater ([#&#8203;5197](https://github.com/knex/knex/issues/5197)) ### [`v3.0.1`](https://github.com/knex/knex/blob/HEAD/CHANGELOG.md#301---6-October-2023) [Compare Source](https://github.com/knex/knex/compare/3.0.0...3.0.1) - Build fix ### [`v3.0.0`](https://github.com/knex/knex/blob/HEAD/CHANGELOG.md#300---6-October-2023) [Compare Source](https://github.com/knex/knex/compare/2.5.1...3.0.0) - Fix raw bindings typing ([#&#8203;5401](https://github.com/knex/knex/issues/5401)) - Fix migrate:unlock when used with custom identifier wrapping. ([#&#8203;5353](https://github.com/knex/knex/issues/5353)) - Fix driver options specified with .options() method being ignored for oracledb dialect ([#&#8203;5123](https://github.com/knex/knex/issues/5123)) - Drop compatibility for Node < 16 - Fix knex d.ts to work with mixed modules ([#&#8203;5659](https://github.com/knex/knex/issues/5659)) - Fix Lexical error from "Instaed" to "Instead" ([#&#8203;5655](https://github.com/knex/knex/issues/5655)) ##### Bug fixes - Fix Linting [#&#8203;5455](https://github.com/knex/knex/issues/5455) - [#&#8203;5460](https://github.com/knex/knex/issues/5460) ### [`v2.5.1`](https://github.com/knex/knex/blob/HEAD/CHANGELOG.md#251---12-July-2023) [Compare Source](https://github.com/knex/knex/compare/2.5.0...2.5.1) ##### Bug fixes - Fix Linting [#&#8203;5455](https://github.com/knex/knex/issues/5455) - [#&#8203;5460](https://github.com/knex/knex/issues/5460) ### [`v2.5.0`](https://github.com/knex/knex/blob/HEAD/CHANGELOG.md#250---08-July-2023) [Compare Source](https://github.com/knex/knex/compare/2.4.2...2.5.0) ##### New features - Add uuid helper function ([#&#8203;5617](https://github.com/knex/knex/issues/5617)) - Add `nativeBindings` option to `better-sqlite3` options ([#&#8203;5461](https://github.com/knex/knex/issues/5461)) - Add QueryBuilder#updateFrom ([#&#8203;5386](https://github.com/knex/knex/issues/5386)) - Add readonly transaction access mode ([#&#8203;5445](https://github.com/knex/knex/issues/5445)) - Add readonly option to Better-SQLite3 ([#&#8203;5530](https://github.com/knex/knex/issues/5530)) - Add EXCEPT as a valid keyword ([#&#8203;5357](https://github.com/knex/knex/issues/5357)) - Add ability to prepend query comments ([#&#8203;5289](https://github.com/knex/knex/issues/5289)) - Add fetchAsString option ([#&#8203;5484](https://github.com/knex/knex/issues/5484)) ##### Bug fixes - Avoid password leaks on query logs ([#&#8203;5559](https://github.com/knex/knex/issues/5559)) - Add knex.mjs to files in package.json ([#&#8203;5518](https://github.com/knex/knex/issues/5518)) - Handle numeric array elements in .orderBy() ([#&#8203;5551](https://github.com/knex/knex/issues/5551)) - Attach error handler early enough ([#&#8203;5552](https://github.com/knex/knex/issues/5552)) - Fix Returning \* in Oracle ([#&#8203;5598](https://github.com/knex/knex/issues/5598)) - Fix indexType option in `Postgres` ([#&#8203;5601](https://github.com/knex/knex/issues/5601)) - Add mjs extension type ([#&#8203;5616](https://github.com/knex/knex/issues/5616)) - Use implicit check on json fields for OracleDB ([#&#8203;5478](https://github.com/knex/knex/issues/5478)) - Fix when manually close source stream ([#&#8203;5466](https://github.com/knex/knex/issues/5466)) - Fix case sensitive issue with get table ([#&#8203;5509](https://github.com/knex/knex/issues/5509)) ##### Typings - Add Object syntax overload to increment method ([#&#8203;5512](https://github.com/knex/knex/issues/5512)) - Add object syntax overload to decrement method ([#&#8203;5555](https://github.com/knex/knex/issues/5555)) - Fix typing for toSql ([#&#8203;5594](https://github.com/knex/knex/issues/5594)) - Add ResolveTableType for `.merge()` ([#&#8203;5605](https://github.com/knex/knex/issues/5605)) - Add missing types for havingNull and havingNotNull ([#&#8203;5529](https://github.com/knex/knex/issues/5529)) - Add collate to the columnbuilder interface ([#&#8203;5568](https://github.com/knex/knex/issues/5568)) - TableBuilder methods return the SchemaBuilder. ([#&#8203;5486](https://github.com/knex/knex/issues/5486)) ### [`v2.4.2`](https://github.com/knex/knex/blob/HEAD/CHANGELOG.md#242---22-January-2023) [Compare Source](https://github.com/knex/knex/compare/2.4.1...2.4.2) ##### Bug fixes - CLI: Fix incorrent EOL causing errors on Linux [#&#8203;5455](https://github.com/knex/knex/issues/5455) ### [`v2.4.1`](https://github.com/knex/knex/blob/HEAD/CHANGELOG.md#241---18-January-2023) [Compare Source](https://github.com/knex/knex/compare/2.4.0...2.4.1) ##### Bug fixes - PostgreSQL: Fix Malformed array literal 2.4.0 Regression [#&#8203;5439](https://github.com/knex/knex/issues/5439) ### [`v2.4.0`](https://github.com/knex/knex/blob/HEAD/CHANGELOG.md#240---06-January-2023) [Compare Source](https://github.com/knex/knex/compare/2.3.0...2.4.0) ##### New features: - Support partial unique indexes [#&#8203;5316](https://github.com/knex/knex/issues/5316) - Make compiling SQL in error message optional [#&#8203;5282](https://github.com/knex/knex/issues/5282) ##### Bug fixes - Insert array into json column [#&#8203;5321](https://github.com/knex/knex/issues/5321) - Fix unexpected max acquire-timeout [#&#8203;5377](https://github.com/knex/knex/issues/5377) - Fix: orWhereJson [#&#8203;5361](https://github.com/knex/knex/issues/5361) - MySQL: Add assertion for basic where clause not to be object or array [#&#8203;1227](https://github.com/knex/knex/issues/1227) - SQLite: Fix changing the default value of a boolean column in SQLite [#&#8203;5319](https://github.com/knex/knex/issues/5319) ##### Typings: - add missing type for 'expirationChecker' on PgConnectionConfig [#&#8203;5334](https://github.com/knex/knex/issues/5334) ### [`v2.3.0`](https://github.com/knex/knex/blob/HEAD/CHANGELOG.md#230---31-August-2022) [Compare Source](https://github.com/knex/knex/compare/2.2.0...2.3.0) ##### New features: - PostgreSQL: Explicit jsonb support for custom pg clients [#&#8203;5201](https://github.com/knex/knex/issues/5201) - SQLite: Support returning with sqlite3 and better-sqlite3 [#&#8203;5285](https://github.com/knex/knex/issues/5285) - MSSQL: Implement mapBinding mssql dialect option [#&#8203;5292](https://github.com/knex/knex/issues/5292) ##### Typings: - Update types for TS 4.8 [#&#8203;5279](https://github.com/knex/knex/issues/5279) - Fix typo [#&#8203;5267](https://github.com/knex/knex/issues/5267) - Fix WhereJsonObject withCompositeTableType [#&#8203;5306](https://github.com/knex/knex/issues/5306) - Fix AnalyticFunction type [#&#8203;5304](https://github.com/knex/knex/issues/5304) - Infer specific column value type in aggregations [#&#8203;5297](https://github.com/knex/knex/issues/5297) ### [`v2.2.0`](https://github.com/knex/knex/blob/HEAD/CHANGELOG.md#220---19-July-2022) [Compare Source](https://github.com/knex/knex/compare/2.1.0...2.2.0) ##### New features: - Inline primary key creation for postgres flavours [#&#8203;5233](https://github.com/knex/knex/issues/5233) - SQLite: Add warning for undefined connection file [#&#8203;5223](https://github.com/knex/knex/issues/5223) - MSSQL: Add JSON parameter support for connection [#&#8203;5200](https://github.com/knex/knex/issues/5200) ##### Bug fixes: - PostgreSQL: add primaryKey option for uuid [#&#8203;5212](https://github.com/knex/knex/issues/5212) ##### Typings: - Add promisable and better types [#&#8203;5222](https://github.com/knex/knex/issues/5222) - Update raw query bind parameter type [#&#8203;5208](https://github.com/knex/knex/issues/5208) ### [`v2.1.0`](https://github.com/knex/knex/blob/HEAD/CHANGELOG.md#210---26-May-2022) [Compare Source](https://github.com/knex/knex/compare/2.0.0...2.1.0) ##### New features: - Improve bundling experience to safely import dialects while using static paths [#&#8203;5142](https://github.com/knex/knex/issues/5142) - Implement extendable builders [#&#8203;5041](https://github.com/knex/knex/issues/5041) - PostgreSQL: Refresh materialized view concurrently [#&#8203;5166](https://github.com/knex/knex/issues/5166) ##### Bug fixes: - Use correct paths in package.json browser field [#&#8203;5174](https://github.com/knex/knex/issues/5174) - MariaDB: Fix 'NULL' returned instead of NULL on MariaDB 10.2.6+ [#&#8203;5181](https://github.com/knex/knex/issues/5181) - MySQL: fix hasColumn Error (hasColumn ('a_id') is true, but hasColumn('a_Id') is false) [#&#8203;5148](https://github.com/knex/knex/issues/5148) - MSSQL: Fix .hasTable result when using .withSchema [#&#8203;5176](https://github.com/knex/knex/issues/5176) - Oracle: correctly INSERTS Buffer [#&#8203;4869](https://github.com/knex/knex/issues/4869) ##### Typings: - Update type definitions for pg connection [#&#8203;5139](https://github.com/knex/knex/issues/5139) ### [`v2.0.0`](https://github.com/knex/knex/blob/HEAD/CHANGELOG.md#200---21-April-2022) [Compare Source](https://github.com/knex/knex/compare/1.0.7...2.0.0) ##### Breaking changes - Restore sqlite3 package [#&#8203;5136](https://github.com/knex/knex/issues/5136) ##### Test / internal changes: - Migrate Husky from 4 to 7 [#&#8203;5137](https://github.com/knex/knex/issues/5137) - Migrate Jake to 10.8.5 [#&#8203;5138](https://github.com/knex/knex/issues/5138) ### [`v1.0.7`](https://github.com/knex/knex/blob/HEAD/CHANGELOG.md#107---13-April-2022) [Compare Source](https://github.com/knex/knex/compare/f35f7d4972f47a0a1790b13a555471fe4df0e595...1.0.7) ##### Bug fixes: - CLI: Fix cli migrate:make SQLite dependency [#&#8203;5106](https://github.com/knex/knex/issues/5106) ### [`v1.0.6`](https://github.com/knex/knex/blob/HEAD/CHANGELOG.md#106---12-April-2022) [Compare Source](https://github.com/knex/knex/compare/1.0.5...f35f7d4972f47a0a1790b13a555471fe4df0e595) ##### Bug fixes: - PostgreSQL: Wait for search path to be set before returning connection [#&#8203;5107](https://github.com/knex/knex/issues/5107) - CLI: No client override during migrate:make [#&#8203;5109](https://github.com/knex/knex/issues/5109) ### [`v1.0.5`](https://github.com/knex/knex/blob/HEAD/CHANGELOG.md#105---05-April-2022) [Compare Source](https://github.com/knex/knex/compare/1.0.4...1.0.5) ##### New features: - Override knexfile options with CLI options [#&#8203;4047](https://github.com/knex/knex/issues/4047) ##### Bug fixes: - Stringify json value in update [#&#8203;5063](https://github.com/knex/knex/issues/5063) - Fix isModuleType() for yarn [#&#8203;4447](https://github.com/knex/knex/issues/4447) - Wrapped Unions Fixes [#&#8203;5072](https://github.com/knex/knex/issues/5072) - SQLite: Fix [@&#8203;vscode-sqlite3](https://github.com/vscode-sqlite3) error message [#&#8203;5081](https://github.com/knex/knex/issues/5081) - CLI: Fix completed migration listing [#&#8203;5060](https://github.com/knex/knex/issues/5060) ##### Typings: - Make default generic parameters of `Knex` match the generic parameter types of `knex` [#&#8203;5021](https://github.com/knex/knex/issues/5021) - Update knex types for TS 4.7 [#&#8203;5095](https://github.com/knex/knex/issues/5095) ### [`v1.0.4`](https://github.com/knex/knex/blob/HEAD/CHANGELOG.md#104---13-March-2022) [Compare Source](https://github.com/knex/knex/compare/1.0.3...1.0.4) ##### New features: - Add whereLike functions [#&#8203;5044](https://github.com/knex/knex/issues/5044) ##### Bug fixes: - Fix orWhereJsonPath clause [#&#8203;5022](https://github.com/knex/knex/issues/5022) - Subquery in on clause missing parenthesis [#&#8203;5049](https://github.com/knex/knex/issues/5049) - Rework Union Wrapping [#&#8203;5030](https://github.com/knex/knex/issues/5030) - Oracle: Fix batch inserts with DEFAULT values with OracleDB [#&#8203;2592](https://github.com/knex/knex/issues/2592) [#&#8203;5037](https://github.com/knex/knex/issues/5037) ##### Typings: - Fix types for "returning" methods [#&#8203;5031](https://github.com/knex/knex/issues/5031) - createTableLike callback should be optional [#&#8203;5055](https://github.com/knex/knex/issues/5055) ##### Documentation: - Website URL changed to https://knex.github.io/documentation/ ### [`v1.0.3`](https://github.com/knex/knex/blob/HEAD/CHANGELOG.md#103---11-February-2022) [Compare Source](https://github.com/knex/knex/compare/8fd1f22d2e9ccdd1d98d874d64a255858906d854...1.0.3) ##### Bug fixes: - Fix error message for missing migration files [#&#8203;4937](https://github.com/knex/knex/issues/4937) - Add withMaterialized and withNotMaterialized to method-constants [#&#8203;5009](https://github.com/knex/knex/issues/5009) - PostgreSQL: Fix whereJsonPath queries [#&#8203;5011](https://github.com/knex/knex/issues/5011) - PostgreSQL: Fix delete joins [#&#8203;5016](https://github.com/knex/knex/issues/5016) - CockroachDB: Fix whereJsonPath queries [#&#8203;5011](https://github.com/knex/knex/issues/5011) - MySQL: Create primary keys in same statement [#&#8203;5017](https://github.com/knex/knex/issues/5017) ##### Typings: - Fix type definition for getMigration in MigrationSource [#&#8203;4998](https://github.com/knex/knex/issues/4998) - Fix argument type of alter method [#&#8203;4996](https://github.com/knex/knex/issues/4996) ##### Improvements: - Use async / await syntax in seeds as default [#&#8203;5005](https://github.com/knex/knex/issues/5005) ##### Documentation: - Add Firebird dialect to ECOSYSTEM.md [#&#8203;5003](https://github.com/knex/knex/issues/5003) ### [`v1.0.2`](https://github.com/knex/knex/blob/HEAD/CHANGELOG.md#102---02-February-2022) [Compare Source](https://github.com/knex/knex/compare/1.0.1...8fd1f22d2e9ccdd1d98d874d64a255858906d854) ##### New features: - Support of MATERIALIZED and NOT MATERIALIZED with WITH/CTE [#&#8203;4940](https://github.com/knex/knex/issues/4940) - Add raw support in onConflict clause [#&#8203;4960](https://github.com/knex/knex/issues/4960) - Alter nullable constraint when alterNullable is set to true [#&#8203;4730](https://github.com/knex/knex/issues/4730) - Add alterType parameter for alter function [#&#8203;4967](https://github.com/knex/knex/issues/4967) - Support string json in json values [#&#8203;4988](https://github.com/knex/knex/issues/4988) - MySQL: add with clause [#&#8203;4508](https://github.com/knex/knex/issues/4508) ##### Bug fixes: - Fix error message for missing migration files [#&#8203;4937](https://github.com/knex/knex/issues/4937) - Move deferrable to after on update/on delete [#&#8203;4976](https://github.com/knex/knex/issues/4976) - Do not use sys.tables to find if a table exists [#&#8203;2328](https://github.com/knex/knex/issues/2328) - PostgreSQL: Fix Order nulls [#&#8203;4989](https://github.com/knex/knex/issues/4989) - MySQL: Fix collation when renaming column [#&#8203;2666](https://github.com/knex/knex/issues/2666) - SQLite: Same boolean handling in better-sqlite3 as in sqlite3 [#&#8203;4982](https://github.com/knex/knex/issues/4982) ##### Typings: - WhereILike - fix typo [#&#8203;4941](https://github.com/knex/knex/issues/4941) ### [`v1.0.1`](https://github.com/knex/knex/blob/HEAD/CHANGELOG.md#101---16-January-2022) [Compare Source](https://github.com/knex/knex/compare/1.0.0...1.0.1) ##### Bug fixes: - Fix package.json metadata ### [`v1.0.0`](https://github.com/knex/knex/blob/HEAD/CHANGELOG.md#100---16-January-2022) [Compare Source](https://github.com/knex/knex/compare/380cebefcbf04219f51dfeb0e06efc735796c148...1.0.0) ##### Breaking changes - Dropped support for Node 10; - Replaced unsupported `sqlite3` driver with `@vscode/sqlite3`; - Changed data structure from `RETURNING` operation to be consistent with `SELECT`; - Changed Migrator to return list of migrations as objects consistently. ##### New features: - Support fromRaw [#&#8203;4781](https://github.com/knex/knex/issues/4781) - Support zero precision in timestamp/datetime [#&#8203;4784](https://github.com/knex/knex/issues/4784) - Support whereLike and whereILike [#&#8203;4779](https://github.com/knex/knex/issues/4779) - Add JSDoc (TS flavor) to stub files [#&#8203;4809](https://github.com/knex/knex/issues/4809) - Allow skip binding in limit and offset [#&#8203;4811](https://github.com/knex/knex/issues/4811) - Support creating a new table in the database based on another table [#&#8203;4821](https://github.com/knex/knex/issues/4821) - Accept Raw on onIn joins [#&#8203;4830](https://github.com/knex/knex/issues/4830) - Implement support for custom seed sources [#&#8203;4842](https://github.com/knex/knex/issues/4842) - Add binary uuid option [#&#8203;4836](https://github.com/knex/knex/issues/4836) - ForUpdate array parameter [#&#8203;4882](https://github.com/knex/knex/issues/4882) - Add camel case to timestamps method [#&#8203;4803](https://github.com/knex/knex/issues/4803) - Advanced JSON support [#&#8203;4859](https://github.com/knex/knex/issues/4859) - Add type to TypeScript knexfile [#&#8203;4909](https://github.com/knex/knex/issues/4909) - Checks Constraints Support [#&#8203;4874](https://github.com/knex/knex/issues/4874) - Support creating multiple PKs with increments [#&#8203;4903](https://github.com/knex/knex/issues/4903) - Enable wrapIdentifier for SQLite .hasTable [#&#8203;4915](https://github.com/knex/knex/issues/4915) - MSSQL: Add support for unique constraint [#&#8203;4887](https://github.com/knex/knex/issues/4887) - SQLite: New dialect, using better-sqlite3 driver [#&#8203;4871](https://github.com/knex/knex/issues/4871) - SQLite: Switch to [@&#8203;vscode/sqlite3](https://github.com/vscode/sqlite3) [#&#8203;4866](https://github.com/knex/knex/issues/4866) - SQLite: Support createViewOrReplace [#&#8203;4856](https://github.com/knex/knex/issues/4856) - SQLite: Support RETURNING statements for better-sqlite3 driver [#&#8203;4934](https://github.com/knex/knex/issues/4934) - PostgreSQL: Support JOIN and USING syntax for Delete Statement [#&#8203;4800](https://github.com/knex/knex/issues/4800) ##### Bug fixes: - Fix overzealous warning on use of whereNot with "in" or "between" [#&#8203;4780](https://github.com/knex/knex/issues/4780) - Fix Union all + first syntax error [#&#8203;4799](https://github.com/knex/knex/issues/4799) - Make view columns optional in create view like [#&#8203;4829](https://github.com/knex/knex/issues/4829) - Insert lock row fix during migration [#&#8203;4865](https://github.com/knex/knex/issues/4865) - Fix for createViewOrReplace [#&#8203;4856](https://github.com/knex/knex/issues/4856) - SQLite: Fix foreign key constraints when altering a table [#&#8203;4189](https://github.com/knex/knex/issues/4189) - MySQL: Validate connection fix [#&#8203;4794](https://github.com/knex/knex/issues/4794) - MySQL: Set comment size warning limit to 1024 [#&#8203;4867](https://github.com/knex/knex/issues/4867) ##### Typings: - Allow string indexType in index creation [#&#8203;4791](https://github.com/knex/knex/issues/4791) - Add missing ints typings [#&#8203;4832](https://github.com/knex/knex/issues/4832) - Returning method types [#&#8203;4881](https://github.com/knex/knex/issues/4881) - Improve columnInfo type [#&#8203;4868](https://github.com/knex/knex/issues/4868) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNi4xMDkuNCIsInVwZGF0ZWRJblZlciI6IjM3LjE5MS4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->
odit_renovate added 1 commit 2023-10-06 07:06:20 +00:00
continuous-integration/drone/push Build is passing Details
continuous-integration/drone/pr Build is passing Details
97cbead9ec
Update dependency knex to v3
odit_renovate force-pushed renovate/knex-3.x from 97cbead9ec to 91b2bf1485 2023-10-06 12:36:29 +00:00 Compare
odit_renovate force-pushed renovate/knex-3.x from 91b2bf1485 to 0f90ec13c6 2023-12-07 23:44:18 +00:00 Compare
All checks were successful
ci/woodpecker/push/build Pipeline was successful
ci/woodpecker/pr/build Pipeline was successful
This pull request can be merged automatically.
You are not authorized to merge this pull request.
You can also view command line instructions.

Step 1:

From your project repository, check out a new branch and test the changes.
git checkout -b renovate/knex-3.x main
git pull origin renovate/knex-3.x

Step 2:

Merge the changes and update on Gitea.
git checkout main
git merge --no-ff renovate/knex-3.x
git push origin main
Sign in to join this conversation.
No reviewers
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: kauft.es/linkylinky#79
No description provided.