Skip to content

Update to Go 1.26 and upgrade dependencies - #13

Merged
sfreiberg merged 1 commit into
masterfrom
update-deps
Oct 12, 2026
Merged

sfreiberg merged 1 commit into
masterfrom
update-deps

Conversation

@sfreiberg

Copy link
Copy Markdown
Owner

Summary

Bumps the module to Go 1.26 and upgrades all dependencies to their latest versions.

Module From To
go directive 1.18 1.26.0
github.com/pkg/sftp v1.13.4 v1.13.11
golang.org/x/crypto v0.0.0-20220411220226 v0.58.0
golang.org/x/sys (indirect) v0.0.0-20210615035016 v0.49.0

golang.org/x/crypto was nearly four years old; the upgrade picks up a number of SSH security fixes.

Note: the go 1.26.0 directive means anyone importing this module needs Go 1.26 or newer.

Testing

  • go build ./... and go vet ./... pass, and GOOS=windows go build ./... passes.
  • No tests on master yet. I also ran the UploadDir tests from Add UploadDir to upload a local directory #12 against these versions with go test -race, and they pass.

- go directive 1.18 -> 1.26.0
- github.com/pkg/sftp v1.13.4 -> v1.13.11
- golang.org/x/crypto v0.0.0-20220411220226 -> v0.58.0
- golang.org/x/sys (indirect) v0.0.0-20210615035016 -> v0.49.0
@sfreiberg
sfreiberg merged commit f1a802d into master Oct 12, 2026
1 check passed
@sfreiberg
sfreiberg deleted the update-deps branch October 12, 2026 22:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant