Skip to content

build(deps): Bump github.com/stmcginnis/gofish from 0.15.0 to 0.21.3#35

Closed
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/go_modules/github.com/stmcginnis/gofish-0.21.3
Closed

build(deps): Bump github.com/stmcginnis/gofish from 0.15.0 to 0.21.3#35
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/go_modules/github.com/stmcginnis/gofish-0.21.3

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Feb 20, 2026

Copy link
Copy Markdown
Contributor

Bumps github.com/stmcginnis/gofish from 0.15.0 to 0.21.3.

Release notes

Sourced from github.com/stmcginnis/gofish's releases.

v0.21.3

What's Changed

New Contributors

Full Changelog: stmcginnis/gofish@v0.21.2...v0.21.3

v0.21.2

What's Changed

Full Changelog: stmcginnis/gofish@v0.21.1...v0.21.2

v0.21.1

What's Changed

New Contributors

Full Changelog: stmcginnis/gofish@v0.21.0...v0.21.1

v0.21.0

⚠️ This release has many breaking changes ⚠️

Significant Changes

Package refactoring

There has been a lot of struggle and compromises trying to keep the Redfish and Swordfish packages separate. The Swordfish schema builds on top of Redfish, but there are now many cases where Redfish schemas refer to Swordfish schema objects and types. This works fine for defining a spec, but has some issues with languages like Go and avoiding circular imports.

This release refactors nearly everything to move all Redfish and Swordfish objects into the schemas package. This makes it easier to find everything and avoids the circular import issue.

Code generation

There were some helpers for generating some source files in the past, but it wasn't very well maintained and the resulting files required a lot of clean up to make them usable. Some effort was put in to creating new generator tooling for everything. Cleanup is still needed, but much less than before. Now, when new spec versions are released, the generator can be run and the diff of the old and new code can be used to find differences and keep our workarounds.

This has also made it easy to flesh out a lot more of the spec implementation. Many objects and properties have been added that were in the spec but missing from Gofish. Implementation should be much more complete than it was before.

Optional numeric values

Monitoring software using Gofish has had the issue that some values would be reported as 0, but it wasn't always clear if that was the actual value or if the service didn't report anything. This could be a challenge for things like metrics reporting.

This release is now consistent where any numeric value that is defined as optional: true in the spec is now a pointer value. For library users that need to know if the value was present or not, you can now do something like:

</tr></table> 

... (truncated)

Commits
  • fdd87a7 Fix Drive.Location regression: restore array type per DMTF spec (#506)
  • 3bfd741 fix: In computersystem Boot struct, omitempty everything (#504)
  • 4cd0ed3 generator: Fetch latest release
  • 31be123 generator: Simplify swordfish schema retrieval
  • d1c49b0 Fix the reset request target (#502)
  • 47a61ec Update examples (#500)
  • 9a50ce5 Add schema URLs to generated files (#499)
  • 22b2013 Add back VirtualMedia MediaType handling (#498)
  • 41085bb Update definitions with generated content (#493)
  • 75b5882 Add IPMIHostInterface property (#497)
  • 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/stmcginnis/gofish](https://github.com/stmcginnis/gofish) from 0.15.0 to 0.21.3.
- [Release notes](https://github.com/stmcginnis/gofish/releases)
- [Commits](stmcginnis/gofish@v0.15.0...v0.21.3)

---
updated-dependencies:
- dependency-name: github.com/stmcginnis/gofish
  dependency-version: 0.21.3
  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 Feb 20, 2026
@dependabot @github

dependabot Bot commented on behalf of github Mar 3, 2026

Copy link
Copy Markdown
Contributor Author

Superseded by #36.

@dependabot dependabot Bot closed this Mar 3, 2026
@dependabot dependabot Bot deleted the dependabot/go_modules/github.com/stmcginnis/gofish-0.21.3 branch March 3, 2026 00:27
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