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

fix: stop and drain timers #993

Merged
merged 1 commit into from
May 3, 2024
Merged

fix: stop and drain timers #993

merged 1 commit into from
May 3, 2024

Conversation

caarlos0
Copy link
Member

Stop the timers and drain them.

I got a situation in which this was causing a bubbletea app to use A LOT of ram.

Per my understanding, some timed commands were being fired twice sometimes... on most cases this might not be perceptible, but in this particular case, each of these commands generated another message, and the program went on double firing those too.

Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
@caarlos0 caarlos0 added the bug Something isn't working label Apr 30, 2024
@caarlos0 caarlos0 self-assigned this Apr 30, 2024
@caarlos0
Copy link
Member Author

after investigating a bit further, found what was causing the double fires: charmbracelet/mods#252

this is still a good PR though, IMHO :)

@caarlos0 caarlos0 merged commit 0c937f4 into master May 3, 2024
18 checks passed
@caarlos0 caarlos0 deleted the timers branch May 3, 2024 12:23
cuixq referenced this pull request in google/osv-scanner May 24, 2024
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[github.com/charmbracelet/bubbletea](https://github.com/charmbracelet/bubbletea)
| `v0.26.1` -> `v0.26.2` |
[![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fcharmbracelet%2fbubbletea/v0.26.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2fcharmbracelet%2fbubbletea/v0.26.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2fcharmbracelet%2fbubbletea/v0.26.1/v0.26.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fcharmbracelet%2fbubbletea/v0.26.1/v0.26.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
|
[github.com/package-url/packageurl-go](https://github.com/package-url/packageurl-go)
| `v0.1.2` -> `v0.1.3` |
[![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fpackage-url%2fpackageurl-go/v0.1.3?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2fpackage-url%2fpackageurl-go/v0.1.3?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2fpackage-url%2fpackageurl-go/v0.1.2/v0.1.3?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fpackage-url%2fpackageurl-go/v0.1.2/v0.1.3?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
| golang.org/x/exp | `v0.0.0-20240416160154-fe59bbe5cc7f` ->
`v0.0.0-20240506185415-9bf2ced13842` |
[![age](https://developer.mend.io/api/mc/badges/age/go/golang.org%2fx%2fexp/v0.0.0-20240506185415-9bf2ced13842?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/golang.org%2fx%2fexp/v0.0.0-20240506185415-9bf2ced13842?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/golang.org%2fx%2fexp/v0.0.0-20240416160154-fe59bbe5cc7f/v0.0.0-20240506185415-9bf2ced13842?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/golang.org%2fx%2fexp/v0.0.0-20240416160154-fe59bbe5cc7f/v0.0.0-20240506185415-9bf2ced13842?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
| [google.golang.org/grpc](https://github.com/grpc/grpc-go) |
`v1.63.2` -> `v1.64.0` |
[![age](https://developer.mend.io/api/mc/badges/age/go/google.golang.org%2fgrpc/v1.64.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/google.golang.org%2fgrpc/v1.64.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/google.golang.org%2fgrpc/v1.63.2/v1.64.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/google.golang.org%2fgrpc/v1.63.2/v1.64.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
|
[google.golang.org/protobuf](https://github.com/protocolbuffers/protobuf-go)
| `v1.34.0` -> `v1.34.1` |
[![age](https://developer.mend.io/api/mc/badges/age/go/google.golang.org%2fprotobuf/v1.34.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/google.golang.org%2fprotobuf/v1.34.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/google.golang.org%2fprotobuf/v1.34.0/v1.34.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/google.golang.org%2fprotobuf/v1.34.0/v1.34.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>charmbracelet/bubbletea
(github.com/charmbracelet/bubbletea)</summary>

###
[`v0.26.2`](https://github.com/charmbracelet/bubbletea/releases/tag/v0.26.2)

[Compare
Source](https://github.com/charmbracelet/bubbletea/compare/v0.26.1...v0.26.2)

This fixes a small regression that was introduced in v0.26.0 related to
the first line on the first render not being displayed correctly. Thank
you [@&#8203;mistakenelf](https://github.com/mistakenelf) for pointing
this out in
[https://github.com/charmbracelet/bubbletea/issues/1000](https://github.com/charmbracelet/bubbletea/issues/1000)!

#### What's Changed

- fix: stop and drain timers by
[@&#8203;caarlos0](https://github.com/caarlos0) in
[https://github.com/charmbracelet/bubbletea/pull/993](https://github.com/charmbracelet/bubbletea/pull/993)
- chore(lint): minor lint-related improvements by
[@&#8203;meowgorithm](https://github.com/meowgorithm) in
[https://github.com/charmbracelet/bubbletea/pull/1007](https://github.com/charmbracelet/bubbletea/pull/1007)
- fix: renderer: reset the cursor on the first line by
[@&#8203;aymanbagabas](https://github.com/aymanbagabas) in
[https://github.com/charmbracelet/bubbletea/pull/1008](https://github.com/charmbracelet/bubbletea/pull/1008)
- chore(deps): bump golang.org/x/sys from 0.19.0 to 0.20.0 by
[@&#8203;dependabot](https://github.com/dependabot) in
[https://github.com/charmbracelet/bubbletea/pull/1003](https://github.com/charmbracelet/bubbletea/pull/1003)
- chore(deps): bump golangci/golangci-lint-action from 5 to 6 by
[@&#8203;dependabot](https://github.com/dependabot) in
[https://github.com/charmbracelet/bubbletea/pull/1005](https://github.com/charmbracelet/bubbletea/pull/1005)
- chore(deps): bump golang.org/x/term from 0.19.0 to 0.20.0 by
[@&#8203;dependabot](https://github.com/dependabot) in
[https://github.com/charmbracelet/bubbletea/pull/1002](https://github.com/charmbracelet/bubbletea/pull/1002)

**Full Changelog**:
charmbracelet/bubbletea@v0.26.1...v0.26.2

***

<a href="https://charm.sh/"><img alt="The Charm logo"
src="https://stuff.charm.sh/charm-badge.jpg" width="400"></a>

Thoughts? Questions? We love hearing from you. Feel free to reach out on
[Twitter](https://twitter.com/charmcli), [The
Fediverse](https://mastodon.social/@&#8203;charmcli), or
[Discord](https://charm.sh/chat).

</details>

<details>
<summary>package-url/packageurl-go
(github.com/package-url/packageurl-go)</summary>

###
[`v0.1.3`](https://github.com/package-url/packageurl-go/releases/tag/v0.1.3)

[Compare
Source](https://github.com/package-url/packageurl-go/compare/v0.1.2...v0.1.3)

#### What's Changed

- go.mod: Bump required Go version to 1.18 by
[@&#8203;magnusbaeck](https://github.com/magnusbaeck) in
[https://github.com/package-url/packageurl-go/pull/66](https://github.com/package-url/packageurl-go/pull/66)
- Fix Github Actions by [@&#8203;shibumi](https://github.com/shibumi)
in
[https://github.com/package-url/packageurl-go/pull/69](https://github.com/package-url/packageurl-go/pull/69)
- Adds `./` and `../` as valid subpath prefix by
[@&#8203;ridhoq](https://github.com/ridhoq) in
[https://github.com/package-url/packageurl-go/pull/68](https://github.com/package-url/packageurl-go/pull/68)

#### New Contributors

- [@&#8203;magnusbaeck](https://github.com/magnusbaeck) made their
first contribution in
[https://github.com/package-url/packageurl-go/pull/66](https://github.com/package-url/packageurl-go/pull/66)
- [@&#8203;ridhoq](https://github.com/ridhoq) made their first
contribution in
[https://github.com/package-url/packageurl-go/pull/68](https://github.com/package-url/packageurl-go/pull/68)

**Full Changelog**:
package-url/packageurl-go@v0.1.2...v0.1.3

</details>

<details>
<summary>grpc/grpc-go (google.golang.org/grpc)</summary>

### [`v1.64.0`](https://github.com/grpc/grpc-go/releases/tag/v1.64.0):
Release 1.64.0

[Compare
Source](https://github.com/grpc/grpc-go/compare/v1.63.2...v1.64.0)

### API Changes

- stats: Deprecate `InPayload.Data` and `OutPayload.Data`; they were
experimental and will be deleted in the next release
([#&#8203;7121](https://github.com/grpc/grpc-go/issues/7121))

### Behavior Changes

- codec: Remove handling of environment variable
`GRPC_GO_ADVERTISE_COMPRESSORS` to suppress setting supported
compressors in `grpc-accept-encoding` header. Compressors will always be
advertised, as they have been by default for some time
([#&#8203;7203](https://github.com/grpc/grpc-go/issues/7203))

### New Features

- resolver/dns: Add `SetMinResolutionInterval` to set the minimum
interval at which DNS re-resolutions may occur
([#&#8203;6962](https://github.com/grpc/grpc-go/issues/6962))
- Special Thanks:
[@&#8203;HomayoonAlimohammadi](https://github.com/HomayoonAlimohammadi)
- peer/peer: Implement the `fmt.Stringer` interface for pretty printing
`Peer`, and
- metadata/metadata: Implement the `fmt.Stringer` interface for pretty
printing `MD`
([#&#8203;7137](https://github.com/grpc/grpc-go/issues/7137))
- Special Thanks: [@&#8203;AnomalRoil](https://github.com/AnomalRoil)

### Performance Improvements

- client: Improve RPC performance by reducing work while holding a lock
([#&#8203;7132](https://github.com/grpc/grpc-go/issues/7132))

### Bug Fixes

- transport/server: Display the proper timeout value when keepalive
pings are not ack'd in time
([#&#8203;7038](https://github.com/grpc/grpc-go/issues/7038))
- Special Thanks: [@&#8203;BatmanAoD](https://github.com/BatmanAoD)
- channelz: Fix bug that was causing the subchannel's target to be unset
([#&#8203;7189](https://github.com/grpc/grpc-go/issues/7189))
- stats: Fix bug where peer was not set in context when calling stats
handler for `OutPayload`, `InPayload`, and `End`
([#&#8203;7096](https://github.com/grpc/grpc-go/issues/7096))

### Dependencies

- deps: Remove dependency on deprecated `github.com/golang/protobuf`
module ([#&#8203;7122](https://github.com/grpc/grpc-go/issues/7122))

### Documentation

- grpc: Deprecate `WithBlock`, `WithReturnConnectionError`,
`FailOnNonTempDialError` which are ignored by `NewClient`
([#&#8203;7097](https://github.com/grpc/grpc-go/issues/7097))
- Special Thanks: [@&#8203;pellared](https://github.com/pellared)
- grpc: Deprecate `Dial` and `DialContext`. These will continue to be
supported throughout 1.x, but are deprecated to direct users to
`NewClient` (See
[#&#8203;7090](https://github.com/grpc/grpc-go/issues/7090) for more
information)
- examples: Add custom lb example
([#&#8203;6691](https://github.com/grpc/grpc-go/issues/6691))

</details>

<details>
<summary>protocolbuffers/protobuf-go
(google.golang.org/protobuf)</summary>

###
[`v1.34.1`](https://github.com/protocolbuffers/protobuf-go/releases/tag/v1.34.1)

[Compare
Source](https://github.com/protocolbuffers/protobuf-go/compare/v1.34.0...v1.34.1)

Minor fixes for editions compliance:

- [CL/582635](https://go.dev/cl/582635): all: update to protobuf
27.0-rc1 and regenerate protos
- [CL/582755](https://go.dev/cl/582755): encoding/proto\[json|text]:
accept lower case names for group-like fields

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "before 6am on monday" in timezone
Australia/Sydney, 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.

👻 **Immortal**: This PR will be recreated if closed unmerged. Get
[config help](https://github.com/renovatebot/renovate/discussions) if
that's undesired.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/google/osv-scanner).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4zNTEuMiIsInVwZGF0ZWRJblZlciI6IjM3LjM2My41IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJkZXBlbmRlbmNpZXMiXX0=-->

---------

Co-authored-by: Xueqin Cui <72771658+cuixq@users.noreply.github.com>
Comment on lines +153 to +155
for len(t.C) > 0 {
<-t.C
}

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why need do this after timer expires and C already recv?

josieang referenced this pull request in josieang/osv-scanner Jun 6, 2024
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[github.com/charmbracelet/bubbletea](https://github.com/charmbracelet/bubbletea)
| `v0.26.1` -> `v0.26.2` |
[![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fcharmbracelet%2fbubbletea/v0.26.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2fcharmbracelet%2fbubbletea/v0.26.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2fcharmbracelet%2fbubbletea/v0.26.1/v0.26.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fcharmbracelet%2fbubbletea/v0.26.1/v0.26.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
|
[github.com/package-url/packageurl-go](https://github.com/package-url/packageurl-go)
| `v0.1.2` -> `v0.1.3` |
[![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fpackage-url%2fpackageurl-go/v0.1.3?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2fpackage-url%2fpackageurl-go/v0.1.3?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2fpackage-url%2fpackageurl-go/v0.1.2/v0.1.3?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fpackage-url%2fpackageurl-go/v0.1.2/v0.1.3?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
| golang.org/x/exp | `v0.0.0-20240416160154-fe59bbe5cc7f` ->
`v0.0.0-20240506185415-9bf2ced13842` |
[![age](https://developer.mend.io/api/mc/badges/age/go/golang.org%2fx%2fexp/v0.0.0-20240506185415-9bf2ced13842?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/golang.org%2fx%2fexp/v0.0.0-20240506185415-9bf2ced13842?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/golang.org%2fx%2fexp/v0.0.0-20240416160154-fe59bbe5cc7f/v0.0.0-20240506185415-9bf2ced13842?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/golang.org%2fx%2fexp/v0.0.0-20240416160154-fe59bbe5cc7f/v0.0.0-20240506185415-9bf2ced13842?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
| [google.golang.org/grpc](https://github.com/grpc/grpc-go) |
`v1.63.2` -> `v1.64.0` |
[![age](https://developer.mend.io/api/mc/badges/age/go/google.golang.org%2fgrpc/v1.64.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/google.golang.org%2fgrpc/v1.64.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/google.golang.org%2fgrpc/v1.63.2/v1.64.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/google.golang.org%2fgrpc/v1.63.2/v1.64.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
|
[google.golang.org/protobuf](https://github.com/protocolbuffers/protobuf-go)
| `v1.34.0` -> `v1.34.1` |
[![age](https://developer.mend.io/api/mc/badges/age/go/google.golang.org%2fprotobuf/v1.34.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/google.golang.org%2fprotobuf/v1.34.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/google.golang.org%2fprotobuf/v1.34.0/v1.34.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/google.golang.org%2fprotobuf/v1.34.0/v1.34.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>charmbracelet/bubbletea
(github.com/charmbracelet/bubbletea)</summary>

###
[`v0.26.2`](https://github.com/charmbracelet/bubbletea/releases/tag/v0.26.2)

[Compare
Source](https://github.com/charmbracelet/bubbletea/compare/v0.26.1...v0.26.2)

This fixes a small regression that was introduced in v0.26.0 related to
the first line on the first render not being displayed correctly. Thank
you [@&#8203;mistakenelf](https://github.com/mistakenelf) for pointing
this out in
[https://github.com/charmbracelet/bubbletea/issues/1000](https://github.com/charmbracelet/bubbletea/issues/1000)!

#### What's Changed

- fix: stop and drain timers by
[@&#8203;caarlos0](https://github.com/caarlos0) in
[https://github.com/charmbracelet/bubbletea/pull/993](https://github.com/charmbracelet/bubbletea/pull/993)
- chore(lint): minor lint-related improvements by
[@&#8203;meowgorithm](https://github.com/meowgorithm) in
[https://github.com/charmbracelet/bubbletea/pull/1007](https://github.com/charmbracelet/bubbletea/pull/1007)
- fix: renderer: reset the cursor on the first line by
[@&#8203;aymanbagabas](https://github.com/aymanbagabas) in
[https://github.com/charmbracelet/bubbletea/pull/1008](https://github.com/charmbracelet/bubbletea/pull/1008)
- chore(deps): bump golang.org/x/sys from 0.19.0 to 0.20.0 by
[@&#8203;dependabot](https://github.com/dependabot) in
[https://github.com/charmbracelet/bubbletea/pull/1003](https://github.com/charmbracelet/bubbletea/pull/1003)
- chore(deps): bump golangci/golangci-lint-action from 5 to 6 by
[@&#8203;dependabot](https://github.com/dependabot) in
[https://github.com/charmbracelet/bubbletea/pull/1005](https://github.com/charmbracelet/bubbletea/pull/1005)
- chore(deps): bump golang.org/x/term from 0.19.0 to 0.20.0 by
[@&#8203;dependabot](https://github.com/dependabot) in
[https://github.com/charmbracelet/bubbletea/pull/1002](https://github.com/charmbracelet/bubbletea/pull/1002)

**Full Changelog**:
charmbracelet/bubbletea@v0.26.1...v0.26.2

***

<a href="https://charm.sh/"><img alt="The Charm logo"
src="https://stuff.charm.sh/charm-badge.jpg" width="400"></a>

Thoughts? Questions? We love hearing from you. Feel free to reach out on
[Twitter](https://twitter.com/charmcli), [The
Fediverse](https://mastodon.social/@&#8203;charmcli), or
[Discord](https://charm.sh/chat).

</details>

<details>
<summary>package-url/packageurl-go
(github.com/package-url/packageurl-go)</summary>

###
[`v0.1.3`](https://github.com/package-url/packageurl-go/releases/tag/v0.1.3)

[Compare
Source](https://github.com/package-url/packageurl-go/compare/v0.1.2...v0.1.3)

#### What's Changed

- go.mod: Bump required Go version to 1.18 by
[@&#8203;magnusbaeck](https://github.com/magnusbaeck) in
[https://github.com/package-url/packageurl-go/pull/66](https://github.com/package-url/packageurl-go/pull/66)
- Fix Github Actions by [@&#8203;shibumi](https://github.com/shibumi)
in
[https://github.com/package-url/packageurl-go/pull/69](https://github.com/package-url/packageurl-go/pull/69)
- Adds `./` and `../` as valid subpath prefix by
[@&#8203;ridhoq](https://github.com/ridhoq) in
[https://github.com/package-url/packageurl-go/pull/68](https://github.com/package-url/packageurl-go/pull/68)

#### New Contributors

- [@&#8203;magnusbaeck](https://github.com/magnusbaeck) made their
first contribution in
[https://github.com/package-url/packageurl-go/pull/66](https://github.com/package-url/packageurl-go/pull/66)
- [@&#8203;ridhoq](https://github.com/ridhoq) made their first
contribution in
[https://github.com/package-url/packageurl-go/pull/68](https://github.com/package-url/packageurl-go/pull/68)

**Full Changelog**:
package-url/packageurl-go@v0.1.2...v0.1.3

</details>

<details>
<summary>grpc/grpc-go (google.golang.org/grpc)</summary>

### [`v1.64.0`](https://github.com/grpc/grpc-go/releases/tag/v1.64.0):
Release 1.64.0

[Compare
Source](https://github.com/grpc/grpc-go/compare/v1.63.2...v1.64.0)

### API Changes

- stats: Deprecate `InPayload.Data` and `OutPayload.Data`; they were
experimental and will be deleted in the next release
([#&#8203;7121](https://github.com/grpc/grpc-go/issues/7121))

### Behavior Changes

- codec: Remove handling of environment variable
`GRPC_GO_ADVERTISE_COMPRESSORS` to suppress setting supported
compressors in `grpc-accept-encoding` header. Compressors will always be
advertised, as they have been by default for some time
([#&#8203;7203](https://github.com/grpc/grpc-go/issues/7203))

### New Features

- resolver/dns: Add `SetMinResolutionInterval` to set the minimum
interval at which DNS re-resolutions may occur
([#&#8203;6962](https://github.com/grpc/grpc-go/issues/6962))
- Special Thanks:
[@&#8203;HomayoonAlimohammadi](https://github.com/HomayoonAlimohammadi)
- peer/peer: Implement the `fmt.Stringer` interface for pretty printing
`Peer`, and
- metadata/metadata: Implement the `fmt.Stringer` interface for pretty
printing `MD`
([#&#8203;7137](https://github.com/grpc/grpc-go/issues/7137))
- Special Thanks: [@&#8203;AnomalRoil](https://github.com/AnomalRoil)

### Performance Improvements

- client: Improve RPC performance by reducing work while holding a lock
([#&#8203;7132](https://github.com/grpc/grpc-go/issues/7132))

### Bug Fixes

- transport/server: Display the proper timeout value when keepalive
pings are not ack'd in time
([#&#8203;7038](https://github.com/grpc/grpc-go/issues/7038))
- Special Thanks: [@&#8203;BatmanAoD](https://github.com/BatmanAoD)
- channelz: Fix bug that was causing the subchannel's target to be unset
([#&#8203;7189](https://github.com/grpc/grpc-go/issues/7189))
- stats: Fix bug where peer was not set in context when calling stats
handler for `OutPayload`, `InPayload`, and `End`
([#&#8203;7096](https://github.com/grpc/grpc-go/issues/7096))

### Dependencies

- deps: Remove dependency on deprecated `github.com/golang/protobuf`
module ([#&#8203;7122](https://github.com/grpc/grpc-go/issues/7122))

### Documentation

- grpc: Deprecate `WithBlock`, `WithReturnConnectionError`,
`FailOnNonTempDialError` which are ignored by `NewClient`
([#&#8203;7097](https://github.com/grpc/grpc-go/issues/7097))
- Special Thanks: [@&#8203;pellared](https://github.com/pellared)
- grpc: Deprecate `Dial` and `DialContext`. These will continue to be
supported throughout 1.x, but are deprecated to direct users to
`NewClient` (See
[#&#8203;7090](https://github.com/grpc/grpc-go/issues/7090) for more
information)
- examples: Add custom lb example
([#&#8203;6691](https://github.com/grpc/grpc-go/issues/6691))

</details>

<details>
<summary>protocolbuffers/protobuf-go
(google.golang.org/protobuf)</summary>

###
[`v1.34.1`](https://github.com/protocolbuffers/protobuf-go/releases/tag/v1.34.1)

[Compare
Source](https://github.com/protocolbuffers/protobuf-go/compare/v1.34.0...v1.34.1)

Minor fixes for editions compliance:

- [CL/582635](https://go.dev/cl/582635): all: update to protobuf
27.0-rc1 and regenerate protos
- [CL/582755](https://go.dev/cl/582755): encoding/proto\[json|text]:
accept lower case names for group-like fields

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "before 6am on monday" in timezone
Australia/Sydney, 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.

👻 **Immortal**: This PR will be recreated if closed unmerged. Get
[config help](https://github.com/renovatebot/renovate/discussions) if
that's undesired.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/google/osv-scanner).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4zNTEuMiIsInVwZGF0ZWRJblZlciI6IjM3LjM2My41IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJkZXBlbmRlbmNpZXMiXX0=-->

---------

Co-authored-by: Xueqin Cui <72771658+cuixq@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants