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/motoki317/sc from 1.7.1 to 1.8.1 #139

Merged
merged 1 commit into from
Apr 28, 2024

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Apr 12, 2024

Bumps github.com/motoki317/sc from 1.7.1 to 1.8.1.

Release notes

Sourced from github.com/motoki317/sc's releases.

v1.8.1

Changes

  • Pure documentation update. No changes to the source code.

Full Changelog: motoki317/sc@v1.8.0...v1.8.1

v1.8.0

Changes

  • Added size-related statistics to Stats() method.
  • Contexts passed to replaceFn no longer propagates cancellation signals.
    • Cancel propagation inside request coalescing is not usually desirable, as it represents multiple value requests. If only one request that initiated the replaceFn call cancels the context, all other waiting goroutines get the same "context canceled" error, which is usually not something desirable.
    • The library now requires Go >= 1.21 as it uses context.WithoutCancel().
  • Allow context value propagation (but without cancel propagation) for all replaceFn call paths, including background update.
    • BREAKING This change breaks the signature of Notify() method, but you can just supply context.Background() to keep the old behavior.
    • This should better support use-cases like distributed tracing.

Full Changelog: motoki317/sc@v1.7.1...v1.8.0

Commits
  • 74a85af Clarify map backend usage
  • fd1c572 Add note about built-in map backend in README
  • a6177e4 Clarify / add missing references
  • f6f4ded Fix doc of SizeStats.Capacity regarding map backend
  • 7ec5515 add slide link in readme
  • 42c201c Update go to 1.21
  • 4661a01 Breaking signature: Allow context propagation (but without cancel propagation...
  • c24560d Prevent cancel propagation into replaceFn
  • f680c50 Add size-related cache stats
  • See full diff in compare view

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)

@dependabot dependabot bot added dependencies Pull requests that update a dependency file go Pull requests that update Go code labels Apr 12, 2024
@dependabot dependabot bot force-pushed the dependabot/go_modules/github.com/motoki317/sc-1.8.1 branch from 76fed93 to 8b1d240 Compare April 28, 2024 17:35
@codecov-commenter
Copy link

codecov-commenter commented Apr 28, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 8.11%. Comparing base (368803b) to head (4f093d2).

Additional details and impacted files
@@          Coverage Diff          @@
##            main    #139   +/-   ##
=====================================
  Coverage   8.11%   8.11%           
=====================================
  Files          9       9           
  Lines       1195    1195           
=====================================
  Hits          97      97           
  Misses      1094    1094           
  Partials       4       4           

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

@mazrean mazrean enabled auto-merge April 28, 2024 17:37
Bumps [github.com/motoki317/sc](https://github.com/motoki317/sc) from 1.7.1 to 1.8.1.
- [Release notes](https://github.com/motoki317/sc/releases)
- [Commits](motoki317/sc@v1.7.1...v1.8.1)

---
updated-dependencies:
- dependency-name: github.com/motoki317/sc
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot force-pushed the dependabot/go_modules/github.com/motoki317/sc-1.8.1 branch from 8b1d240 to 4f093d2 Compare April 28, 2024 17:38
@mazrean mazrean merged commit cfa37cf into main Apr 28, 2024
3 checks passed
@mazrean mazrean deleted the dependabot/go_modules/github.com/motoki317/sc-1.8.1 branch April 28, 2024 17:39
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.

2 participants