Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update dependency knex to v0.95.15 - autoclosed #98

Closed
wants to merge 1 commit into from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Sep 28, 2020

WhiteSource Renovate

This PR contains the following updates:

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

Release Notes

knex/knex

v0.95.15

Compare Source

Bug fixes:
  • Oracle:
  • MariaDB: lock row fix during migration in MariaDB and Oracle #​4865

v0.95.14

Compare Source

Bug fixes:
  • MySQL: mysql2 dialect validate connection fix #​4794

v0.95.13

Compare Source

Bug fixes:
  • PostgreSQL: Support zero precision in timestamp/datetime #​4784
Typings:
  • Allow string indexType in index creation #​4791

v0.95.12

Compare Source

New features:
  • New dialect: CockroachDB #​4742
  • New dialect: pg-native #​4327
  • CockroachDB: add support for upsert #​4767
  • PostgreSQL: Support SELECT .. FOR NO KEY UPDATE / KEY SHARE row level locking clauses #​4755
  • PostgreSQL: Add support for 'CASCADE' in PostgreSQL 'DROP SCHEMA' queries #​4713
  • MySQL: Add storage engine index Type support to index() and unique() schema #​4756
  • MSSQL: Support table.primary, table.unique variant with options object #​4710
  • SQLite: Add setNullable support to SQLite #​4684
  • Add geometry column building #​4776
  • Add support for creating table copies #​1373
  • Implement support for views and materialized views #​1626
  • Implement partial index support #​4768
  • Support for 'is null' in 'order by' #​3667
Bug fixes:
  • Fix support for Oracle connections passed via knex.connection() #​4757
  • Avoid inserting multiple locks if a migration lock already exists #​4694
Typings:
  • Some TableBuilder methods return wrong types #​4764
  • Update JoinRaw bindings type to accept arrays #​4752
  • fix onDelete/onUpdate for ColumnBuilder #​4656

v0.95.11

Compare Source

New features:
  • Add support for nullability modification via schema builder (table.setNullable() and table.dropNullable()) #​4657
  • MySQL: Add support for mysql/mariadb-client JSON parameters in connectionURIs #​4629
  • MSSQL: Support comments as MS_Description properties #​4632
Bug fixes:
  • Fix Analytic orderBy and partitionBy to follow the SQL documentation #​4602
  • CLI: fix migrate:up for migrations disabling transactions #​4550
  • SQLite: Fix adding a column with a foreign key constraint in SQLite #​4649
  • MSSQL: columnInfo() support case-sensitive database collations #​4633
  • MSSQL: Generate valid SQL for withRecursive() #​4514
  • Oracle: withRecursive: omit invalid RECURSIVE keyword, include column list #​4514
Improvements:
  • Add .mjs migration and seed stubs #​4631
  • SQLite: Clean up DDL handling and move all operations to the parser-based approach #​4648

v0.95.10

Compare Source

Improvements:
  • Use sys info function instead of connection db name #​4623
Typings:
  • Deferrable and withkeyName should not be in ColumnBuilder #​4600

v0.95.9

Compare Source

New features:
  • Oracle: support specifying schema for dropTable and dropSequence #​4596
  • Oracle: support specifying schema for autoincrement #​4594
Typings:
  • Add TypeScript support for deferrable, new Primary/Unique syntax #​4589

v0.95.8

Compare Source

New features:
  • Add deferrable support for constraint #​4584
  • Implement delete with join #​4568
  • Add DPI error codes for Oracle #​4536
Bug fixes:
  • Fixing PostgreSQL datetime and timestamp column created with wrong format #​4578
Typings:
  • Improve analytic types #​4576
  • MSSQL: Add trustServerCertificate option #​4500

v0.95.7

Compare Source

New features:
  • Add ability to omit columns on an onConflict().ignore() #​4557
  • CLI: Log error message #​4534
Typings:
  • Export Knex.TransactionConfig #​4498
  • Include options object in count(Distinct) typings #​4491
  • Add types for analytic functions #​4544

v0.95.6

Compare Source

Typings:
  • Export TransactionProvider type #​4489

v0.95.5

Compare Source

New features:
  • SQLite: Add support for file open flags #​4446
  • Add .cjs extension to Seeder.js to support Node ESM #​4381 #​4382
Bug fixes:
  • Remove peerDependencies to avoid auto-install on npm 7 #​4480
Typings:
  • Fix typing for increments and bigIncrements #​4406
  • Add typings for on JoinClause for onVal #​4436
  • Adding Type Definition for isTransaction #​4418
  • Export client class from knex namespace #​4479

v0.95.4

Compare Source

Typings:

v0.95.3

Compare Source

New features:
  • PostgreSQL: Add "same" as operator #​4372
  • MSSQL: Improve an estimate of the max comment length #​4362
  • Throw an error if negative offset is provided #​4361
Bug fixes:
  • Fix timeout method #​4324
  • SQLite: prevent dropForeign from being silently ignored #​4376
Typings:
  • Allow config.client to be non-client instance #​4367
  • Add dropForeign arg type for single column #​4363
  • Update typings for TypePreservingAggregation and stream #​4377

v0.95.2

Compare Source

New features:
Bug fixes:
  • CLI: update ts.stub files to new TypeScript namespace #​4344
  • CLI: fix TypeScript migration stub after 0.95.0 changes #​4366
Typings:
  • Move QueryBuilder and KnexTimeoutError into knex namespace #​4358
Test / internal changes:

v0.95.1

Compare Source

Bug fixes:
  • Oracle:
  • MariaDB: lock row fix during migration in MariaDB and Oracle #​4865

v0.95.0

Compare Source

Note: there are many breaking changes in this version, particularly in TypeScript support. Please see UPGRADING.md for details.

New features:
  • Add transaction isolation support #​4185
  • Add analytic functions #​4188
  • Change default to not trigger a promise rejection for transactions with a specified handler #​4195
  • Make toSQL().toNative() work for Raw to match the API for QueryBuilder #​4058
  • Allow 'match' operator #​3569
  • Support optimizer hints #​4243
  • Add parameter to prevent autoincrement columns from being primary keys #​4266
  • Make "first" and "pluck" mutually exclusive #​4280
  • Added merge strategy to allow selecting columns to upsert. #​4252
  • Throw error if the array passed to insert is empty #​4289
  • Events: introduce queryContext on query-error #​4301
  • CLI: Use UTC timestamp for new migrations #​4245
  • MSSQL: Replace MSSQL dialect with Tedious.js implementation #​2857 #​4281
  • MSSQL: Use "nvarchar(max)" for ".json()" #​4278
  • MSSQL: Schema builder - add predictable constraint names for default values #​4319
  • MSSQL: Schema builder - attempt to drop default constraints when changing default value on columns #​4321
  • SQLite: Fallback to json for sqlite3 when using jsonb #​4186
  • SQLite: Return complete list of DDL commands for creating foreign keys #​4194
  • SQLite: Support dropping composite foreign keys #​4202
  • SQLite: Recreate indices when altering a table #​4277
  • SQLite: Add support for altering columns #​4322
Bug fixes:
  • Fix issue with .withSchema usage with joins on a subquery #​4267
  • Fix issue with schema usage with FROM clause contain QueryBuilder, function or Raw #​4268
  • CLI: Address raised security warnings by dropping liftoff #​4122
  • CLI: Fix an issue with npm@7 and ESM when type was set to 'module' in package.json #​4295
  • PostgreSQL: Add check to only create native enum once #​3658
  • SQLite: Fix foreign key "on delete" when altering a table #​4225
  • SQLite: Made the constraint detection case-insensitive #​4330
  • MySQL: Keep auto increment after rename #​4266
  • MSSQL: don't raise query-error twice #​4314
  • MSSQL: Alter column must have its own query #​4317
Typings:
  • TypeScript 4.1+ is now required
  • Add missing onConflict overrides #​4182
  • Introduce the "infamous triplet" export #​4181
  • Fix type definition of Transaction #​4172
  • Add typedefinitions for havingNotIn #​4265
  • Include 'name' property in MigratorConfig #​4300
  • Improve join and conflict types #​4318
  • Fix ArrayIfAlready type #​4331
Test / internal changes:

v0.21.21

Compare Source

v0.21.20

Compare Source

v0.21.19

Compare Source

  • SQLite: Made the constraint detection case-insensitive #​4332

v0.21.18

Compare Source

  • CLI: Fix an issue with npm@7 and ESM when type was set to 'module' in package.json #​4295

v0.21.17

Compare Source

Bug fixes:
  • SQLite: Fix SQLite foreign on delete when altering a table #​4261
New features:

v0.21.16

Compare Source

Bug fixes:
  • MSSQL: Avoid passing unsupported pool param. Fixes node-mssql 7+ support #​4236

v0.21.15

Compare Source

New features:
  • SQLite: Add primary/foreign support on alterTable #​4162
  • SQLite: Add dropPrimary/dropForeign support on alterTable #​4162
Typings:
Test / internal changes:
  • Extract knex config resolution logic #​4166
  • Run CI using GitHub Actions #​4168
  • Add Node.js 15 to CI matrix #​4173

v0.21.14

Compare Source

New features:
  • MSSQL: support "returning" on inserts, updates and deletes on tables with triggers #​4152
  • Use esm import if package.json type is "module" #​4158
Bug fixes:
  • Make sure query-response and query-error events contain _knexTxId #​4160
Test / internal changes:
  • Improved integration test framework #​4161

v0.21.13

Compare Source

New features:
  • SQLite: Add support for dropForeign #​4092
  • Add support for WHERE clauses to "upsert" queries #​4148
Bug fixes:
  • MSSQL: Avoid connection getting stuck on socket hangup #​4157
  • Oracle: Support specifying non-default DB port #​4147
  • Oracle: Support inserts with only default values (empty body) #​4092
  • CLI: fix irregular seed file execution order #​4156
  • Fix performance of asyncStackTraces with enable-source-maps node flag #​4154
Typings:
  • PostgreSQL: Add support for application_name #​4153
  • Fix types for insert to allow array #​4105
  • Add types for userParams and withUserParams #​4119
  • Added type for withKeyName #​4139
  • Fix batchInsert definitions #​4131
  • Fix types for WhereIn signature (value or query builder) #​3863
  • Add types for connection config of mysql2 driver #​4144
Test / internal changes:

v0.21.12

Compare Source

Typings:
  • Reintroduce support for globally defining table/record mapping #​4100
  • Add a few missing types for MSSQL Connection #​4103
  • Make .ignore() and .merge() return QueryBuilder rather than QueryInterface #​4102
  • Use tarn config TS types instead of generic-pool #​4064

v0.21.11

Compare Source

Typings:
  • Revert support for globally defining table/record mapping #​4099

v0.21.10

Compare Source

New features:
  • Upsert support (Postgres/MySQL/Sqlite) #​3763
Bug fixes:
  • Switch to non-uuid knexQueryUids to avoid issues when mocking global date #​4089
Typings:
  • Allow to globally define table/record mapping #​4071

v0.21.9

Compare Source

New features:
  • add method clear(statement) to QueryBuilder #​4051
Bug fixes:
  • CLI: fix help text being printed twice #​4072
  • Oracle: columnInfo() no longer requires an Owner User #​4053
  • Add missing "start" event propagation from transaction #​4087

v0.21.8

Compare Source

Bug fixes:
  • MSSQL: Escape properly if literal '?' is needed #​4053
  • Make toQuery behavior consistent with pre-0.21.7 (do not break on empty builder) #​4083
  • Fix comment escaping for MySQL and PostgreSQL #​4084

v0.21.7

Compare Source

New features:
  • CLI: Add migration stub for .cjs extension #​4065
Bug fixes:
  • MSSQL: Add dynamic scaling for decimal values and prevents a UInt64 overflow #​3910
  • MSSQL: Fix apostrophe escaping #​4077
  • Ensure that semicolon is not appended to statements that already end with a semicolon #​4052
Typings:
  • Add arguments to QueryCallback in Where #​4034
Test / internal changes:
  • Replace lodash type-checks with native solutions #​4056
  • Replace mkdirp with native recursive flag #​4060
  • Replace inherits package with builtin utility #​4059

v0.21.6

Compare Source

New features:
  • CLI: New config parameter / CLI flag to prefixing seed filename with timestamp #​3873
  • CLI: throw an error when specific seed file cannot be found #​4011
  • Warn if whereNot is used with 'in' or 'between' #​4038
Bug fixes:
  • CLI: Fix double merging of config for migrator #​4040
Typings:
  • Unify SeedsConfig and SeederConfig #​4003
  • Allow string[] type for directory in SeedsConfig #​4033

Configuration

📅 Schedule: "every weekday" (UTC).

🚦 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, click this checkbox.

This PR has been generated by WhiteSource Renovate. View repository job log here.

@renovate renovate bot force-pushed the renovate/knex-0.x branch 2 times, most recently from ae18b7b to fa1132c Compare September 29, 2020 23:06
@renovate renovate bot force-pushed the renovate/knex-0.x branch 2 times, most recently from 91fbb0f to 6af7c2a Compare October 9, 2020 23:04
@renovate renovate bot force-pushed the renovate/knex-0.x branch 2 times, most recently from a4a0260 to 932e1c1 Compare October 23, 2020 11:06
@renovate renovate bot force-pushed the renovate/knex-0.x branch from 932e1c1 to 4f855a2 Compare October 25, 2020 14:05
@renovate renovate bot changed the title Update dependency knex to v0.21.6 Update dependency knex to v0.21.7 Oct 25, 2020
@renovate renovate bot force-pushed the renovate/knex-0.x branch 2 times, most recently from 6aee6f6 to 3924268 Compare October 27, 2020 07:06
@renovate renovate bot changed the title Update dependency knex to v0.21.7 Update dependency knex to v0.21.8 Oct 27, 2020
@renovate renovate bot force-pushed the renovate/knex-0.x branch 4 times, most recently from d04a252 to 33fc720 Compare October 29, 2020 21:49
@renovate renovate bot changed the title Update dependency knex to v0.21.8 Update dependency knex to v0.21.9 Oct 29, 2020
@renovate renovate bot force-pushed the renovate/knex-0.x branch from 33fc720 to c9fa4c2 Compare October 31, 2020 21:58
@renovate renovate bot changed the title Update dependency knex to v0.21.9 Update dependency knex to v0.21.10 Oct 31, 2020
@renovate renovate bot force-pushed the renovate/knex-0.x branch from c9fa4c2 to 9de10df Compare November 1, 2020 02:04
@renovate renovate bot changed the title Update dependency knex to v0.21.10 Update dependency knex to v0.21.11 Nov 1, 2020
@renovate renovate bot force-pushed the renovate/knex-0.x branch from 9de10df to cacf721 Compare November 2, 2020 10:58
@renovate renovate bot changed the title Update dependency knex to v0.21.11 Update dependency knex to v0.21.12 Nov 2, 2020
@renovate renovate bot force-pushed the renovate/knex-0.x branch 3 times, most recently from 5d01360 to d6e739f Compare November 9, 2020 02:08
@renovate renovate bot force-pushed the renovate/knex-0.x branch from d6e739f to 2878037 Compare November 23, 2020 01:09
@renovate renovate bot force-pushed the renovate/knex-0.x branch 3 times, most recently from e08d8ef to 0c9e42a Compare December 11, 2020 23:30
@renovate renovate bot changed the title Update dependency knex to v0.21.12 Update dependency knex to v0.21.13 Dec 11, 2020
@renovate renovate bot force-pushed the renovate/knex-0.x branch from c9bb682 to 13d9806 Compare November 2, 2021 23:44
@renovate renovate bot changed the title Update dependency knex to v0.95.12 Update dependency knex to v0.95.13 Nov 2, 2021
@renovate renovate bot force-pushed the renovate/knex-0.x branch 2 times, most recently from b10447b to d92c0a2 Compare November 9, 2021 00:39
@renovate renovate bot changed the title Update dependency knex to v0.95.13 Update dependency knex to v0.95.14 Nov 9, 2021
@renovate renovate bot force-pushed the renovate/knex-0.x branch 2 times, most recently from 13a1c6a to 6598d9a Compare November 22, 2021 00:47
@renovate renovate bot force-pushed the renovate/knex-0.x branch 4 times, most recently from c36dcd9 to cbeadfd Compare December 1, 2021 19:31
@renovate renovate bot force-pushed the renovate/knex-0.x branch from cbeadfd to da4d27a Compare December 6, 2021 04:46
@renovate renovate bot force-pushed the renovate/knex-0.x branch from da4d27a to 10599a1 Compare December 21, 2021 23:43
@renovate renovate bot changed the title Update dependency knex to v0.95.14 Update dependency knex to v0.95.15 Dec 21, 2021
@renovate renovate bot force-pushed the renovate/knex-0.x branch 4 times, most recently from 4e6759b to aa74e13 Compare January 20, 2022 14:49
@renovate renovate bot force-pushed the renovate/knex-0.x branch from aa74e13 to 06b2ad7 Compare January 24, 2022 14:04
@renovate renovate bot force-pushed the renovate/knex-0.x branch from 06b2ad7 to 4a5a902 Compare February 7, 2022 02:23
@renovate renovate bot force-pushed the renovate/knex-0.x branch 2 times, most recently from 7f59398 to dae4533 Compare February 21, 2022 02:47
@renovate renovate bot force-pushed the renovate/knex-0.x branch from dae4533 to 3784056 Compare March 11, 2022 20:47
@renovate renovate bot force-pushed the renovate/knex-0.x branch 2 times, most recently from a726135 to c7c4a7c Compare April 14, 2022 11:45
@renovate renovate bot force-pushed the renovate/knex-0.x branch from c7c4a7c to 015e436 Compare April 14, 2022 13:54
@renovate renovate bot changed the title Update dependency knex to v0.95.15 Update dependency knex to v0.95.15 - autoclosed Apr 28, 2022
@renovate renovate bot closed this Apr 28, 2022
@renovate renovate bot deleted the renovate/knex-0.x branch April 28, 2022 05:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant