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

Bump Npgsql from 2.2.3 to 4.0.16 in Orchard.Web #8796

Open
wants to merge 6 commits into
base: dev
Choose a base branch
from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github May 9, 2024

Bumps Npgsql from 2.2.3 to 8.0.3 4.0.16.

Release notes

Sourced from Npgsql's releases.

v8.0.3

This version contains a high-severity security patch for CVE-2024-32655 everyone is advised to upgrade.

A large number of number of bugs have been fixed, here is the full list.

Thanks to @​paul-gerste-sonarsource for reporting the vulnerability.

v8.0.2

8.0.2 contains quite a few fixes, everyone is strongly encouraged to upgrade.

The full list of changes is available here.

v8.0.1

8.0.1 contains some important fixes discovered after releasing 8.0.0. Everyone is encouraged to upgrade.

The full list of changes is available here.

v8.0.0

See the release notes.

The full list of changes is available here.

v7.0.7

This version contains a high-severity security patch for CVE-2024-32655 everyone is advised to upgrade. An additional number of bugs have been fixed, here is the full list.

Thanks to @​paul-gerste-sonarsource for reporting the vulnerability.

v7.0.6

7.0.6 contains 12 fixes, everyone is strongly encouraged to upgrade.

The full list of changes is available here.

v7.0.4

7.0.4 contains 7 fixes, everyone is strongly encouraged to upgrade.

The full list of changes is available here.

v7.0.2

7.0.2 contains 8 fixes, everyone is strongly encouraged to upgrade.

The full list of changes is available here.

v7.0.1

7.0.1 contains 6 fixes, everyone is strongly encouraged to upgrade.

The full list of changes is available here.

v7.0.0

See the release notes.

... (truncated)

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    You can disable automated security fix PRs for this repo from the Security Alerts page.

Bumps [Npgsql](https://github.com/npgsql/npgsql) from 2.2.3 to 8.0.3.
- [Release notes](https://github.com/npgsql/npgsql/releases)
- [Commits](npgsql/npgsql@v2.2.3...v8.0.3)

---
updated-dependencies:
- dependency-name: Npgsql
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label May 9, 2024
4.0.14 is the lowest version that is not vulnerable and requires the least amount of further dependencies to be added
@BenedekFarkas BenedekFarkas changed the title Bump Npgsql from 2.2.3 to 8.0.3 in /src/Orchard.Web Bump Npgsql from 2.2.3 to 4.0.14 in Orchard.Web May 14, 2024
@BenedekFarkas
Copy link
Member

The application doesn't start when using 4.0.14, see npgsql/npgsql#5702.

Version 4.0.13 works, but the setup fails with the following error:

NHibernate.Exceptions.GenericADOException: could not execute query
[ SELECT this_.Id as id1_4_3_, this_.ContentItemRecord_id as contentitemrecord2_4_3_, this_.Number as number3_4_3_, this_.Published as published4_4_3_, this_.Latest as latest5_4_3_, this_.Data as data6_4_3_, titlepartr2_.Id as id1_40_0_, titlepartr2_.Title as title2_40_0_, titlepartr2_.ContentItemRecord_id as contentitemrecord3_40_0_, contentite1_.Id as id1_3_1_, contentite1_.ContentType_id as contenttype2_3_1_, contentite1_.Data as data3_3_1_, contenttyp6_.Id as id1_5_2_, contenttyp6_.Name as name2_5_2_ FROM Orchard_Framework_ContentItemVersionRecord this_ WITH(NOLOCK) inner join Title_TitlePartRecord titlepartr2_ WITH(NOLOCK) on this_.Id=titlepartr2_.Id inner join Orchard_Framework_ContentItemRecord contentite1_ WITH(NOLOCK) on this_.ContentItemRecord_id=contentite1_.Id left outer join Orchard_Framework_ContentTypeRecord contenttyp6_ on contentite1_.ContentType_id=contenttyp6_.Id WHERE contentite1_.ContentType_id = :p0 and this_.Published = :p1 ORDER BY titlepartr2_.Title asc ]
  Name:cp0 - Value:1  Name:cp1 - Value:True
[SQL: SELECT this_.Id as id1_4_3_, this_.ContentItemRecord_id as contentitemrecord2_4_3_, this_.Number as number3_4_3_, this_.Published as published4_4_3_, this_.Latest as latest5_4_3_, this_.Data as data6_4_3_, titlepartr2_.Id as id1_40_0_, titlepartr2_.Title as title2_40_0_, titlepartr2_.ContentItemRecord_id as contentitemrecord3_40_0_, contentite1_.Id as id1_3_1_, contentite1_.ContentType_id as contenttype2_3_1_, contentite1_.Data as data3_3_1_, contenttyp6_.Id as id1_5_2_, contenttyp6_.Name as name2_5_2_ FROM Orchard_Framework_ContentItemVersionRecord this_ WITH(NOLOCK) inner join Title_TitlePartRecord titlepartr2_ WITH(NOLOCK) on this_.Id=titlepartr2_.Id inner join Orchard_Framework_ContentItemRecord contentite1_ WITH(NOLOCK) on this_.ContentItemRecord_id=contentite1_.Id left outer join Orchard_Framework_ContentTypeRecord contenttyp6_ on contentite1_.ContentType_id=contenttyp6_.Id WHERE contentite1_.ContentType_id = :p0 and this_.Published = :p1 ORDER BY titlepartr2_.Title asc] ---> Npgsql.PostgresException: 42601: syntax error at or near "WITH"

POSITION: 563
   at Npgsql.Internal.NpgsqlConnector.<ReadMessageLong>d__231.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Npgsql.NpgsqlDataReader.<NextResult>d__52.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Npgsql.NpgsqlDataReader.<NextResult>d__52.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Npgsql.NpgsqlDataReader.NextResult()
   at Npgsql.NpgsqlCommand.<ExecuteReader>d__119.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Npgsql.NpgsqlCommand.<ExecuteReader>d__119.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Npgsql.NpgsqlCommand.ExecuteReader(CommandBehavior behavior)
   at NHibernate.AdoNet.AbstractBatcher.DoExecuteReader(DbCommand cmd)

@BenedekFarkas BenedekFarkas marked this pull request as draft May 16, 2024 13:01
@BenedekFarkas BenedekFarkas changed the title Bump Npgsql from 2.2.3 to 4.0.14 in Orchard.Web Bump Npgsql from 2.2.3 to 4.0.15 in Orchard.Web May 21, 2024
@BenedekFarkas BenedekFarkas changed the title Bump Npgsql from 2.2.3 to 4.0.15 in Orchard.Web Bump Npgsql from 2.2.3 to 4.0.16 in Orchard.Web May 21, 2024
@BenedekFarkas BenedekFarkas marked this pull request as ready for review May 21, 2024 21:15
Copy link
Contributor Author

dependabot bot commented on behalf of github Nov 15, 2024

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@dependabot dependabot bot deleted the dependabot/nuget/src/Orchard.Web/Npgsql-8.0.3 branch November 15, 2024 13:11
@BenedekFarkas BenedekFarkas restored the dependabot/nuget/src/Orchard.Web/Npgsql-8.0.3 branch November 15, 2024 14:50
@BenedekFarkas BenedekFarkas reopened this Nov 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant