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

chore(deps): update all non-major dependencies #264

Merged
merged 2 commits into from
Jan 6, 2025

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jan 1, 2025

This PR contains the following updates:

Package Change Age Adoption Passing Confidence Type Update
github.com/google/flatbuffers v24.3.25+incompatible -> v24.12.23+incompatible age adoption passing confidence require minor
github.com/tmaxmax/go-sse v0.8.0 -> v0.10.0 age adoption passing confidence require minor
golang 7003184 -> 7ea4c9d image digest
golang 7003184 -> 7ea4c9d container digest
golang.org/x/term v0.27.0 -> v0.28.0 age adoption passing confidence require minor
peter-evans/create-pull-request 5e91468 -> 67ccf78 action digest
postgres fe4efc6 -> 888402a service-image digest
postgres fe4efc6 -> 888402a service digest

Release Notes

google/flatbuffers (github.com/google/flatbuffers)

v24.12.23+incompatible

Compare Source

tmaxmax/go-sse (github.com/tmaxmax/go-sse)

v0.10.0

Compare Source

If you're working with LLMs in Go this update will make you happy! sse.Read is now a thing – it just parses all events from an io.Reader. Use it with your response bodies and forget about any sse.Client configuration. It also makes use of the new Go 1.23 iterators to keep your code neat and tidy.

Added
  • Read and ReadConfig

v0.9.0

Compare Source

This is the replayer update. Oh, what is a "replayer"? It's how we call replay providers starting with this version! Anyway, besides renaming, this update removes many replaying bugs, improves performance, robustness and error handling and better defines expected behavior for ReplayProviders... err, Replayers.

More such overhauls are planned. I'm leaving it up to you to guess which comes next – the server or the client? ;)

Removed
  • FiniteReplayer.{Count, AutoIDs} – use the constructor instead.
  • ValidReplayer.{TTL, AutoIDs} – use the constructor instead.
Changed
  • The ReplayProvider and related entities are renamed to just Replayer. go-sse strives to have a minimal and expressive API, and minimal and expressive names are an important step in that direction. The changelog will use the new names onwards.
  • Due to a change in the internal implementation, the FiniteReplayer is now able to replay events only if the event with the LastEventID provided by the client is still buffered. Previously if the LastEventID was that of the latest removed event, events would still be replayed. This detail added complexity to the implementation without an apparent significant win, so it was dropped.
  • FiniteReplayer.GCInterval should be set to 0 now in order to disable GC.
  • Automatic ID generation for both replayers does not overwrite already existing message IDs and errors instead. Ensure that your events do not have IDs when using replayers configured to generate IDs.
  • Replayer.Put now returns an error instead of being required to panic. Read the method documentation for more info. Joe also propagates this error through Joe.Publish.
  • Replayers are now required to not overwrite message IDs and return errors instead. Sending unsupported messages to replayers is a bug which should not go unnoticed. Both replayers in this library now implement this behavior.
  • Joe does not log replayer panics to the console anymore. Handle these panics inside the replay provider itself.
Added
  • NewFiniteReplayer constructor
  • NewValidReplayer constructor
  • Connection.Buffer
Fixed
  • FiniteReplayer doesn't leak memory anymore and respects the stored messages count it was given. Previously when a new message was put after the messages count was reached and some other messages were removed, the total messages count would grow unexpectedly and FiniteReplayer would store and replay more events than it was configured to.
  • ValidReplayer was also susceptible to a similar memory leak, which is also fixed now.
  • #​41sse.Session now writes the header explicitly when upgrading.

Configuration

📅 Schedule: Branch creation - "* 0-3 1 * *" (UTC), 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 if that's undesired.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot requested a review from michaeladler as a code owner January 1, 2025 00:56
@renovate renovate bot requested a review from stormc as a code owner January 1, 2025 00:56
@renovate renovate bot assigned stormc Jan 1, 2025
Copy link

codecov bot commented Jan 1, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 83.07%. Comparing base (0e751b2) to head (95af7a4).
Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #264   +/-   ##
=======================================
  Coverage   83.07%   83.07%           
=======================================
  Files          97       97           
  Lines        4885     4885           
=======================================
  Hits         4058     4058           
  Misses        599      599           
  Partials      228      228           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
@renovate renovate bot force-pushed the renovate/all-minor-patch branch from 718a181 to d0f36f5 Compare January 5, 2025 03:16
Copy link
Contributor Author

renovate bot commented Jan 5, 2025

ℹ Artifact update notice

File name: go.mod

In order to perform the update(s) described in the table above, Renovate ran the go get command, which resulted in the following additional change(s):

  • 1 additional dependency was updated

Details:

Package Change
golang.org/x/sys v0.28.0 -> v0.29.0

Signed-off-by: Michael Adler <[email protected]>
Copy link
Contributor Author

renovate bot commented Jan 6, 2025

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

⚠️ Warning: custom changes will be lost.

@michaeladler michaeladler merged commit aee20ca into main Jan 6, 2025
26 checks passed
@michaeladler michaeladler deleted the renovate/all-minor-patch branch January 6, 2025 12:34
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.

2 participants