Skip to content

Bump github.com/bdlm/std/v2 from 2.1.0 to 2.2.0#18

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/go_modules/github.com/bdlm/std/v2-2.2.0
Open

Bump github.com/bdlm/std/v2 from 2.1.0 to 2.2.0#18
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/go_modules/github.com/bdlm/std/v2-2.2.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github May 25, 2026

Copy link
Copy Markdown

Bumps github.com/bdlm/std/v2 from 2.1.0 to 2.2.0.

Release notes

Sourced from github.com/bdlm/std/v2's releases.

v2.2.0: Interface cleanup

Added

  • model.Model.GetData() — returns snapshots of the data set and key/index maps; implementations must not expose internal storage directly
  • model.Model.Reverse() — reverses the order of the data store
  • sorter.SortByValue — zero-value SortFlag; type-stratified sort (nil < bool < numeric < string < other); now the default sort behavior
  • sorter.SortAsc, SortDesc, SortAsString, SortReverse — explicit bitflag sort options
  • .gitignore

Changed

  • model.ModelTypeHash / model.ModelTypeList renamed to model.HASH / model.LIST; order swapped so HASH is the zero/iota value
  • model.Model.Filter callback signature changed from func(Value) Model to func(Value) bool
  • model.Model.Map callback signature changed from func(Value) Model to func(Value) Value
  • model.Model.Reduce callback signature changed from func(Value) bool to func(carry, cur Value) Value (standard fold semantics)
  • model.Model.SetID now returns error
  • sorter.SortFlag underlying type changed from int to uint
  • sorter.Sorter.Reverse signature changed from Reverse(SortFlag) error to Reverse() error

Fixed

  • errors/error.go package declaration corrected from package error to package errors

v2.1.1-rc3

v2.1.1 Release Candidate 3

v2.1.1-rc2

v2.1.1 Release Candidate 2

v2.1.1-rc1

v2.1.1 Release Candidate 1

Changelog

Sourced from github.com/bdlm/std/v2's changelog.

v2.2.0 - 2026-05-23

Added

  • model.Model.GetData() — returns snapshots of the data set and key/index maps; implementations must not expose internal storage directly
  • model.Model.Reverse() — reverses the order of the data store
  • sorter.SortByValue — zero-value SortFlag; type-stratified sort (nil < bool < numeric < string < other); now the default sort behavior
  • sorter.SortAsc, SortDesc, SortAsString, SortReverse — explicit bitflag sort options
  • .gitignore

Changed

  • model.ModelTypeHash / model.ModelTypeList renamed to model.HASH / model.LIST; order swapped so HASH is the zero/iota value
  • model.Model.Filter callback signature changed from func(Value) Model to func(Value) bool
  • model.Model.Map callback signature changed from func(Value) Model to func(Value) Value
  • model.Model.Reduce callback signature changed from func(Value) bool to func(carry, cur Value) Value (standard fold semantics)
  • model.Model.SetID now returns error
  • sorter.SortFlag underlying type changed from int to uint
  • sorter.Sorter.Reverse signature changed from Reverse(SortFlag) error to Reverse() error

Fixed

  • errors/error.go package declaration corrected from package error to package errors
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 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)

Bumps [github.com/bdlm/std/v2](https://github.com/bdlm/std) from 2.1.0 to 2.2.0.
- [Release notes](https://github.com/bdlm/std/releases)
- [Changelog](https://github.com/bdlm/std/blob/main/CHANGELOG.md)
- [Commits](bdlm/std@v2.1.0...v2.2.0)

---
updated-dependencies:
- dependency-name: github.com/bdlm/std/v2
  dependency-version: 2.2.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

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 May 25, 2026
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.

0 participants