NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Go modules
Go modules, #2162 by repository stars
Latest stable
v0.8.0
Last release 20 days ago
02 Nov 2026
Release timing varies
gaps range from 9 days to 4 months
Nearly every release is documented
notes for 11 of 12 stable releases
Nothing withdrawn
no release was ever pulled
13 years old
134 releases · first in 2013
Drag across the ruler to compare, or tap a release to open it.
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Your coding agent can read these notes before it upgrades. Set up the MCP server →
Nothing published for this version
Nothing published for this version
`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 s
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)
Full Changelog: https://github.com/stretchr/objx/compare/v0.7.0...v0.8.0
`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 a
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)Full Changelog: https://github.com/stretchr/objx/compare/v0.6.0...v0.7.0
Nothing published for this version
Go 1.25 or later is now required (previously Go 1.20).
Go 1.25 or later is now required (previously Go 1.20). (#175)
Where* now returns the items the decider selects. Previously every Where* method (WhereInt, WhereStr, WhereMSI, WhereObjxMap, …) returned the items for which the decider returned false, the opposite of what its documentation says. If you negated your decider to work around this, remove the negation. (#180)Set updates the element instead of replacing the slice. Set("names[0]", "Mat") used to replace the whole names slice with "Mat"; it now sets only the first element. Indexing into a value that isn't a slice (e.g. Get("name[0]") on a string) now returns a missing value instead of the value itself. (#170)null in JSON. objx.Map{"items": []any(nil)} now encodes as {"items":null} instead of {"items":[]}. Empty, non-nil containers still encode as [] / {}. (#171)URLValues keeps every element of a slice of maps. With the [] and "" key suffixes, only the last element's values used to be kept. []any values (e.g. arrays decoded from JSON) are now encoded element by element instead of as a Go-syntax string. (#177)SetURLValuesSliceKeySuffix for an invalid suffix now reads objx: invalid URLValuesSliceKeySuffix provided. (#176)any instead of interface{}. They are the same type, so this doesn't affect callers. (#175)go generate (#179), and CI runs golangci-lint (#176, #178).Full Changelog: https://github.com/stretchr/objx/compare/v0.5.3...v0.6.0
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Bump github.com/stretchr/testify from 1.8.4 to 1.9.0 by @dependabot[bot] in https://github.com/stretchr/objx/pull/150
testify assertions with custom testing helpers by @emilien-puget in https://github.com/stretchr/objx/pull/159Full Changelog: https://github.com/stretchr/objx/compare/v0.5.2...v0.5.3
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Bump actions/checkout from 3 to 4 by @dependabot in https://github.com/stretchr/objx/pull/143
Full Changelog: https://github.com/stretchr/objx/compare/v0.5.1...v0.5.2
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Bump github.com/stretchr/testify from 1.8.0 to 1.8.1 by @dependabot in https://github.com/stretchr/objx/pull/126
Full Changelog: https://github.com/stretchr/objx/compare/v0.5.0...v0.5.1
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
- 50a2c06 Fix typo in Taskfile
Nothing published for this version
Nothing published for this version
6c797d8 Add helpers for slice of Map
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
a4ea3d6 Check more errors in tests
Nothing published for this version
Nothing published for this version
Nothing published for this version
This release drops the support for go version less then 1.10.
This release drops the support for go version less then 1.10.
One column per quarter.