build(deps): [SDCB-19152] fix vulnerability - Bump golang.org/x/crypt…#18
Merged
Conversation
There was a problem hiding this comment.
Pull request overview
Updates Go dependencies (notably golang.org/x/crypto) to address a reported vulnerability, along with broader module/workspace metadata changes that affect build tooling and the REST API’s Swagger integration.
Changes:
- Bump
golang.org/x/cryptotov0.53.0(and refresh several relatedgolang.org/x/*dependencies) in both the root module andrestapi. - Raise
goversions to1.25.0and removetoolchainpins ingo.mod,restapi/go.mod, andgo.work. - Remove the blank import of the generated Swagger docs package from
restapi/main.go.
Reviewed changes
Copilot reviewed 5 out of 7 changed files in this pull request and generated 4 comments.
Show a summary per file
| File | Description |
|---|---|
restapi/main.go |
Removes restapi/docs blank import, affecting Swagger doc registration at runtime. |
restapi/go.mod |
Updates dependency set (incl. x/crypto) and bumps Go version metadata for the REST API module. |
restapi/go.sum |
Records updated dependency hashes for the REST API module after the bump/tidy. |
go.mod |
Updates root module dependency versions (incl. x/crypto) and bumps Go version metadata. |
go.sum |
Records updated dependency hashes for the root module after the bump/tidy. |
go.work |
Updates workspace Go version metadata (affects required Go toolchain for workspace usage). |
go.work.sum |
Records updated workspace dependency hashes after the bump/tidy. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Comment on lines
3
to
7
| import ( | ||
| "os" | ||
|
|
||
| "github.com/danielpaulus/go-ios/restapi/api" | ||
| _ "github.com/danielpaulus/go-ios/restapi/docs" | ||
| log "github.com/sirupsen/logrus" |
Comment on lines
1
to
6
| module github.com/danielpaulus/go-ios | ||
|
|
||
| go 1.24 | ||
|
|
||
| toolchain go1.24.4 | ||
| go 1.25.0 | ||
|
|
||
| require ( | ||
| github.com/Masterminds/semver v1.5.0 |
Comment on lines
+1
to
4
| go 1.25.0 | ||
|
|
||
| use ( | ||
| . |
Comment on lines
1
to
6
| module github.com/danielpaulus/go-ios/restapi | ||
|
|
||
| go 1.22.0 | ||
|
|
||
| toolchain go1.22.5 | ||
| go 1.25.0 | ||
|
|
||
| require ( | ||
| github.com/danielpaulus/go-ios v1.0.91 |
maciej-lendzion
approved these changes
Jun 29, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
…o to v0.53.0