Skip to content

Conversation

@MateiMartin
Copy link
Owner

This PR was automatically created by Snyk using the credentials of a real user.


Snyk has created this PR to upgrade knex from 2.4.2 to 2.5.0.

ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.


  • The recommended version is 1 version ahead of your current version.
  • The recommended version was released 10 months ago, on 2023-07-08.
Release notes
Package name: knex
  • 2.5.0 - 2023-07-08

    2.5.0 - 08 July, 2023

    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

    Full Changelog: 2.4.2...2.5.0

  • 2.4.2 - 2023-01-22

    2.4.2 - 22 January, 2023

    Bug fixes

    CLI: Fix incorrent EOL causing errors on Linux #5455

from knex GitHub release notes
Commit messages
Package name: knex
  • ce6b591 Prepare to release 2.5.0
  • 9f86836 Update CHANGELOG
  • 440fe50 Add uuid helper function (#5617)
  • 5e747f1 Remove LGTM (closed)
  • d3c68b2 Bump @ types/node from 18.16.19 to 20.4.0 (#5620)
  • 61ee533 feat(pg): implement QueryBuilder#updateFrom (#5386)
  • 34f85ba Bump actions/setup-node from 3.6.0 to 3.7.0 (#5621)
  • 8e2944d Add knex.mjs to files in package.json (#5518)
  • d96bc19 fix: handle numeric array elements in .orderBy() (#5551)
  • e7dc724 fix: attach error handler early enough (#5552)
  • 2a6c20f fix #3837 so that update with returning * actually returns an object isntead of the number of rows. Also fixes returning * when within a transaction (#5598)
  • 89cebb0 Fix typing for toSql (#5593) (#5594)
  • 0b1a2a0 fix: add mjs extension type (#5616)
  • 2da5822 fix: creating a unique index in postgres using the index method (#5601)
  • c8da0df fix: add ResolveTableType for `.merge()` (#5605)
  • 9e5fdfa Bump pg-connection-string from 2.5.0 to 2.6.1 (#5610)
  • f6ea812 fix(security): avoid password leaks on query logs (#5559)
  • d9f3333 add collate to the columnbuilder interface (#5568)
  • 2ed6988 Ensure test DB exists at correct path in better-sqlite3 tests (#5608)
  • dab051b Add readonly option to Better-SQLite3 (#5530)
  • 0f8bbe9 Mysql2 require breaks with Node 12 (#5579)
  • 5ffe289 fix() manually close source stream (#5466)
  • b6d04f7 Add object syntax overload to decrement method (#5555)
  • 775c719 Bump typescript from 5.0.3 to 5.0.4 (#5538)

Compare


Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.

For more information:

🧐 View latest project report

🛠 Adjust upgrade PR settings

🔕 Ignore this dependency or unsubscribe from future upgrade PRs

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.

3 participants