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

go.mod: bump github.com/gammazero/deque from 0.2.1 to 1.0.0 #1979

Merged
merged 2 commits into from
Nov 18, 2024

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Nov 15, 2024

Bumps github.com/gammazero/deque from 0.2.1 to 1.0.0.

Release notes

Sourced from github.com/gammazero/deque's releases.

v1.0.0

What's Changed

  • Add Grow function to grow deque, if necessary, so that it has space for at least n additional items.
  • Add Swap function to exchange two items in deque
  • Allow Insert with out of range indexes, inserting item at front or back of deque.
  • Update required go version to 1.22
  • BREAKING Replace SetMinCapacity with SetBaseCap to set base capacity, so that deque always has space reserved for at least the specified number of items.
  • BREAKING Remove New function as it is not needed to initialize Deque with initial size and base capacity. Use Grow and SetBaseCap for this.

Full Changelog: gammazero/deque@v0.2.1...v1.0.0

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)

@dependabot dependabot bot requested a review from a team as a code owner November 15, 2024 09:44
@dependabot dependabot bot added dependencies Pull requests that update a dependency file go Pull requests that update Go code labels Nov 15, 2024
@dependabot dependabot bot force-pushed the dependabot/go_modules/github.com/gammazero/deque-1.0.0 branch from 580b271 to 8c41317 Compare November 15, 2024 09:50
Bumps [github.com/gammazero/deque](https://github.com/gammazero/deque) from 0.2.1 to 1.0.0.
- [Release notes](https://github.com/gammazero/deque/releases)
- [Commits](gammazero/deque@v0.2.1...v1.0.0)

---
updated-dependencies:
- dependency-name: github.com/gammazero/deque
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot force-pushed the dependabot/go_modules/github.com/gammazero/deque-1.0.0 branch from 8c41317 to 11381be Compare November 15, 2024 09:58
Copy link
Member

@raulb raulb left a comment

Choose a reason for hiding this comment

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

Checked out this branch locally, and it seems like a safe upgrade for us. We weren't using any of the methods that changed.

@raulb raulb merged commit 39d5f90 into main Nov 18, 2024
3 checks passed
@raulb raulb deleted the dependabot/go_modules/github.com/gammazero/deque-1.0.0 branch November 18, 2024 10:19
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