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 @types/knex to ^0.16.0 #204

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Mar 26, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@types/knex ^0.15.2 -> ^0.16.0 age adoption passing confidence

Release Notes

tgriesser/knex (@​types/knex)

v0.16.1

Compare Source

Breaking Changes:
  • Use datetime2 for MSSQL datetime + timestamp types. This change is incompatible with MSSQL older than 2008 #​2757
  • Knex.VERSION() method was removed, run "require('knex/package').version" instead #​2776
  • Knex transpilation now targets Node.js 6, meaning it will no longer run on older Node.js versions #​2813
  • Add json type support for SQLite 3.9+ (tested to work with Node package 'sqlite3' 4.0.2+) #​2814
New features:
  • Support passing explicit connection to query builder (#​2817)
  • Introduced abstraction for getting migrations to make migration bundling easier #​2775
  • Allow timestamp with timezone on mssql databases #​2724
  • Allow specifying multiple migration directories #​2735
  • Allow cloning query builder with .userParams({}) assigned to it #​2802
  • Allow chaining of increment, decrement, and update #​2740
  • Allow table names with forUpdate/forShare #​2834
  • Added whereColumn and the associated not / and / or methods for using columns on the right side of a where clause #​2837
  • Added whereRecursive method to make self-referential CTEs possible #​2889
  • Added support for named unique, primary and foreign keys to SQLite3 #​2840
  • Added support for generating new migration and seed files without knexfile #​2884 #​2905 #​2935
  • Added support for multiple columns in .orderBy() #​2881
  • Added option of existingType to .enum() method to support repeated use of enums #​2719
  • Added option to pass indexType for MySQL dialect #​2890
  • Added onVal and the associated not / and / or methods for using values in on clauses within joins #​2746
  • Kill queries after timeout for PostgreSQL #​2636
  • Manage TypeScript types internally #​2845
  • Support 5.0.0+ versions of mssql driver #​2861
  • Typescript migration stub #​2816
  • Options object for passing timestamp parameters + regression tests #​2919
Bug fixes:
  • Implement fail-fast logic for dialect resolution #​2776
  • Fixed identifier wrapping for using(). Use columnize instead of wrap in using() #​2713
  • Fix issues with warnPromise when migration does not return a promise #​2730
  • Compile with before update so that bindings are put in correct order #​2733
  • Fix join using builder withSchema #​2744
  • Throw instead of process.exit when client module missing #​2843
  • Display correct filename of a migration that failed #​2910
  • Fixed support of knexSnakeCaseWrappers in migrations #​2914
  • SQlite3 renameColunm quote fix #​2833
  • Adjust typing for forUpdate()/forShare() variant with table names #​2858
  • Fix execution of Oracle tests on Node 11 #​2920
  • Fix failures in oracle test bench and added it back to mandatory CI tests #​2924
  • Knex client knexfile resolution fix #​2923
  • Add queryContext to type declarations #​2931
Test / internal changes:

Configuration

📅 Schedule: Branch creation - "* 5 */14 * *" in timezone Europe/Stockholm, 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 was generated by Mend Renovate. View the repository job log.

Copy link
Contributor Author

renovate bot commented Mar 26, 2024

⚠ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: package-lock.json
ERROR: npm v10.5.0 is known not to run on Node.js v12.22.12.  This version of npm supports the following node versions: `^18.17.0 || >=20.5.0`. You can find the latest version at https://nodejs.org/.

ERROR:
/opt/containerbase/tools/npm/10.5.0/12.22.12/node_modules/npm/lib/utils/exit-handler.js:19
  const hasLoadedNpm = npm?.config.loaded
                           ^

SyntaxError: Unexpected token '.'
    at wrapSafe (internal/modules/cjs/loader.js:915:16)
    at Module._compile (internal/modules/cjs/loader.js:963:27)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
    at Module.load (internal/modules/cjs/loader.js:863:32)
    at Function.Module._load (internal/modules/cjs/loader.js:708:14)
    at Module.require (internal/modules/cjs/loader.js:887:19)
    at require (internal/modules/cjs/helpers.js:74:18)
    at module.exports (/opt/containerbase/tools/npm/10.5.0/12.22.12/node_modules/npm/lib/cli-entry.js:15:23)
    at module.exports (/opt/containerbase/tools/npm/10.5.0/12.22.12/node_modules/npm/lib/es6/validate-engines.js:39:10)
    at module.exports (/opt/containerbase/tools/npm/10.5.0/12.22.12/node_modules/npm/lib/cli.js:4:31)

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.

0 participants