Skip to content

build(deps): bump github.com/stretchr/objx from 0.5.3 to 0.8.0 - #1993

Open
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/go_modules/github.com/stretchr/objx-0.8.0
Open

dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/go_modules/github.com/stretchr/objx-0.8.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Oct 19, 2026

Copy link
Copy Markdown
Contributor

Bumps github.com/stretchr/objx from 0.5.3 to 0.8.0.

Release notes

Sourced from github.com/stretchr/objx's releases.

v0.8.0

New features

  • Map.Delete removes values by selector. It takes one or more selectors in the same dot and bracket notation as Get and Set, removes the map keys or slice elements they point to, and returns the map so calls can be chained:

    m.Delete("books[1].chapters[2].title", "draft")

    Selectors run in order, so after a slice element is removed, later selectors see the shifted indexes. Missing paths and out-of-range indexes are ignored. Removing a slice element builds a new slice of the same type ([]string stays []string) and leaves the original backing array untouched. Maps along the path are modified in place. (#174)

What's Changed

New Contributors

Full Changelog: stretchr/objx@v0.7.0...v0.8.0

v0.7.0

Upgrade notes

Behavior changes

  • Has now reports keys whose value is nil. Map.Has used to return false both for missing keys and for keys set to nil, so the two couldn't be told apart. It now returns true whenever the selector exists, including nested keys, bracket keys and slice indexes that hold nil. If you relied on Has to mean "set and not nil", use !m.Get(selector).IsNil() instead. (#172)

Other

  • Added a contributing guide (#183), a security policy (#182) and issue templates (#184).
  • The Go workflow token is now restricted to read-only contents (#181).

What's Changed

New Contributors

Full Changelog: stretchr/objx@v0.6.0...v0.7.0

v0.6.0

Upgrade notes

Go 1.25 or later is now required (previously Go 1.20). (#175)

... (truncated)

Commits
  • 3af36f9 feat: add Delete method to Map by selector (#174)
  • be9331c Differentiate nil values from missing keys in Map.Has (#172)
  • 939338e Add bug report and feature request issue templates (#184)
  • a3ac3e0 Add a contributing guide (#183)
  • e1a4a14 Add a security policy (#182)
  • 3a6632b Restrict the Go workflow token to read-only contents (#181)
  • 7c54053 Fix Where* returning the items the decider rejected (#180)
  • 7b27248 Replace the browser-based codegen with go generate (#179)
  • 308c40d Cover nested URL values and keep repeated map-slice entries (#177)
  • a7f2e34 Enable more linters and the gofumpt and goimports formatters (#178)
  • Additional commits viewable 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 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/stretchr/objx](https://github.com/stretchr/objx) from 0.5.3 to 0.8.0.
- [Release notes](https://github.com/stretchr/objx/releases)
- [Commits](stretchr/objx@v0.5.3...v0.8.0)

---
updated-dependencies:
- dependency-name: github.com/stretchr/objx
  dependency-version: 0.8.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 Oct 19, 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