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 github.com/jackc/pgx/v5 from 5.5.2 to 5.5.4 #218

Merged
merged 2 commits into from
Apr 23, 2024

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Mar 14, 2024

Bumps github.com/jackc/pgx/v5 from 5.5.2 to 5.5.4.

Changelog

Sourced from github.com/jackc/pgx/v5's changelog.

5.5.4 (March 4, 2024)

Fix CVE-2024-27304

SQL injection can occur if an attacker can cause a single query or bind message to exceed 4 GB in size. An integer overflow in the calculated message size can cause the one large message to be sent as multiple messages under the attacker's control.

Thanks to Paul Gerste for reporting this issue.

  • Fix behavior of CollectRows to return empty slice if Rows are empty (Felix)
  • Fix simple protocol encoding of json.RawMessage
  • Fix *Pipeline.getResults should close pipeline on error
  • Fix panic in TryFindUnderlyingTypeScanPlan (David Kurman)
  • Fix deallocation of invalidated cached statements in a transaction
  • Handle invalid sslkey file
  • Fix scan float4 into sql.Scanner
  • Fix pgtype.Bits not making copy of data from read buffer. This would cause the data to be corrupted by future reads.

5.5.3 (February 3, 2024)

  • Fix: prepared statement already exists
  • Improve CopyFrom auto-conversion of text-ish values
  • Add ltree type support (Florent Viel)
  • Make some properties of Batch and QueuedQuery public (Pavlo Golub)
  • Add AppendRows function (Edoardo Spadolini)
  • Optimize convert UUID [16]byte to string (Kirill Malikov)
  • Fix: LargeObject Read and Write of more than ~1GB at a time (Mitar)
Commits
  • da6f2c9 Update changelog
  • c543134 SQL sanitizer wraps arguments in parentheses
  • 20344df Check for overflow on uint16 sizes in pgproto3
  • adbb38f Do not allow protocol messages larger than ~1GB
  • c1b0a01 Fix behavior of CollectRows to return empty slice if Rows are empty
  • 88dfc22 Fix simple protocol encoding of json.RawMessage
  • 2e84dcc *Pipeline.getResults should close pipeline on error
  • d149d3f Fix panic in TryFindUnderlyingTypeScanPlan
  • 046f497 deallocateInvalidatedCachedStatements now runs in transactions
  • 8896bd6 Handle invalid sslkey file
  • Additional commits viewable in compare view

Dependabot compatibility score

You can trigger a rebase of this PR 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.

Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

Bumps [github.com/jackc/pgx/v5](https://github.com/jackc/pgx) from 5.5.2 to 5.5.4.
- [Changelog](https://github.com/jackc/pgx/blob/master/CHANGELOG.md)
- [Commits](jackc/pgx@v5.5.2...v5.5.4)

---
updated-dependencies:
- dependency-name: github.com/jackc/pgx/v5
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file go Pull requests that update Go code labels Mar 14, 2024
@mgdigital mgdigital merged commit e5bdce2 into main Apr 23, 2024
9 checks passed
@mgdigital mgdigital deleted the dependabot/go_modules/github.com/jackc/pgx/v5-5.5.4 branch April 23, 2024 22:46
truecharts-admin added a commit to truecharts/charts that referenced this pull request May 5, 2024
… v0.8.0@c638773 by renovate (#21612)

This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
|
[ghcr.io/bitmagnet-io/bitmagnet](https://togithub.com/bitmagnet-io/bitmagnet)
| minor | `0.7.14` -> `v0.8.0` |

---

> [!WARNING]
> Some dependencies could not be looked up. Check the Dependency
Dashboard for more information.

---

### Release Notes

<details>
<summary>bitmagnet-io/bitmagnet
(ghcr.io/bitmagnet-io/bitmagnet)</summary>

###
[`v0.8.0`](https://togithub.com/bitmagnet-io/bitmagnet/releases/tag/v0.8.0)

[Compare
Source](https://togithub.com/bitmagnet-io/bitmagnet/compare/v0.7.14...v0.8.0)

#### Classifier reimplementation

The classifier has been re-implemented and now uses a DSL allowing for
full customisation. Several bugs have also been fixed, and a preparatory
database migration for search ordering has been added.

The classifier documentation can be found at
https://bitmagnet.io/tutorials/classifier.html.

#### Build reimplementation

The build has been re-implemented using
https://github.com/goreleaser/goreleaser, thanks to
[@&#8203;KyleSanderson](https://togithub.com/KyleSanderson). A number of
new platform-specific build artifacts are now available.

#### Seeders/Leechers bug

There has somehow been a bug present, since day 1, whereby seeders and
leechers were being swapped by the DHT crawler! This is fixed in 0.8.x.
The first beta included a migration that would fix existing data, but
the query just takes too long (for larger indexes), and so it has been
removed from the migration.

Until now, no-one noticed - but If you care and would like to fix this
in your index, you can run the following query, replacing the time with
the time at which you did the 0.8.x upgrade. Be warned, this query may
take a while for larger indexes! In time, much of the data will
naturally fix itself anyway as the S/L numbers get re-scraped by the
crawler when the torrent is re-discovered.

```sql
update torrents_torrent_sources set seeders = leechers, leechers = seeders where source = 'dht' and  updated_at < '2024-04-30 00:00:00+00';
```

#### What's Changed

- Create FUNDING.yml by
[@&#8203;mgdigital](https://togithub.com/mgdigital) in
[bitmagnet-io/bitmagnet#219
- Fix angular cli version by
[@&#8203;mgdigital](https://togithub.com/mgdigital) in
[bitmagnet-io/bitmagnet#220
- Torrent search: Fix for Safari on iOS. by
[@&#8203;josteink](https://togithub.com/josteink) in
[bitmagnet-io/bitmagnet#235
- Classifier rewrite by
[@&#8203;mgdigital](https://togithub.com/mgdigital) in
[bitmagnet-io/bitmagnet#213
- Fix slow migration of published_at field by
[@&#8203;mgdigital](https://togithub.com/mgdigital) in
[bitmagnet-io/bitmagnet#240
- Fix slow migration by
[@&#8203;mgdigital](https://togithub.com/mgdigital) in
[bitmagnet-io/bitmagnet#241
- Fix slow migration by
[@&#8203;mgdigital](https://togithub.com/mgdigital) in
[bitmagnet-io/bitmagnet#242
- Keep a default placeholder value for published_at to avoid a breaking
change by [@&#8203;mgdigital](https://togithub.com/mgdigital) in
[bitmagnet-io/bitmagnet#243
- Add an order by updated_at column, as there may be many records with
the same published_at by
[@&#8203;mgdigital](https://togithub.com/mgdigital) in
[bitmagnet-io/bitmagnet#244
- Add orphans option to reprocess command by
[@&#8203;mgdigital](https://togithub.com/mgdigital) in
[bitmagnet-io/bitmagnet#245
- Use budgeted count for reprocess by
[@&#8203;mgdigital](https://togithub.com/mgdigital) in
[bitmagnet-io/bitmagnet#246
- Bump golang.org/x/net from 0.20.0 to 0.23.0 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[bitmagnet-io/bitmagnet#239
- Bump express from 4.18.2 to 4.19.2 in /webui by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[bitmagnet-io/bitmagnet#236
- Bump webpack-dev-middleware from 5.3.3 to 5.3.4 in /webui by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[bitmagnet-io/bitmagnet#231
- Bump follow-redirects from 1.15.5 to 1.15.6 in /webui by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[bitmagnet-io/bitmagnet#221
- Bump github.com/jackc/pgx/v5 from 5.5.2 to 5.5.4 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[bitmagnet-io/bitmagnet#218
- Add Nix shell and refactor actions by
[@&#8203;mgdigital](https://togithub.com/mgdigital) in
[bitmagnet-io/bitmagnet#249
- Use goreleaser for build process
([#&#8203;212](https://togithub.com/bitmagnet-io/bitmagnet/issues/212))
by [@&#8203;mgdigital](https://togithub.com/mgdigital) in
[bitmagnet-io/bitmagnet#216
- Upgrade dependencies by
[@&#8203;mgdigital](https://togithub.com/mgdigital) in
[bitmagnet-io/bitmagnet#250
- Don't run GHCR action on main by
[@&#8203;mgdigital](https://togithub.com/mgdigital) in
[bitmagnet-io/bitmagnet#251
- Fix docsite plugin by
[@&#8203;mgdigital](https://togithub.com/mgdigital) in
[bitmagnet-io/bitmagnet#252

#### New Contributors

- [@&#8203;josteink](https://togithub.com/josteink) made their first
contribution in
[bitmagnet-io/bitmagnet#235
- [@&#8203;KyleSanderson](https://togithub.com/KyleSanderson) made their
first contribution in
[bitmagnet-io/bitmagnet#212

**Full Changelog**:
bitmagnet-io/bitmagnet@v0.7.14...v0.8.0

</details>

---

### Configuration

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

🚦 **Automerge**: Enabled.

♻ **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://togithub.com/renovatebot/renovate).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4zNDEuMCIsInVwZGF0ZWRJblZlciI6IjM3LjM0MS4wIiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIiwibGFiZWxzIjpbImF1dG9tZXJnZSIsInVwZGF0ZS9kb2NrZXIvZ2VuZXJhbC9ub24tbWFqb3IiXX0=-->
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 go Pull requests that update Go code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant