Goproxy Goproxy Versions Save

A minimalist Go module proxy handler.

v0.15.0

7 months ago

Changelog

  • 38e4c50 test: improve error matching
  • eca3399 refactor: make DirCacher create cache files with 0644 permissions
  • 67628b3 chore: use .yaml as YAML file extension for GitHub Actions
  • b07aef6 chore: improve README.md
  • e523687 refactor(cmd/goproxy): improve flag usages
  • b42d473 docs: improve comments
  • f25159e chore: bump all GitHub Actions
  • 20ac5e6 test: fix data races caused by misuse of httptest.Server
  • 439cb26 test: make only local network connections during testing
  • 3438e36 refactor: make notFoundError matches fs.ErrNotExist
  • c22d2a1 refactor: replace interface{} with any
  • 79c32ca test: use loops to make tests more maintainable
  • e7ba05e refactor: do not force local caches created by fetch.doDirect to be writable
  • bc483ec refactor: rename exponentialBackoffSleep to backoffSleep
  • a37afd3 test: utilize testing.T.TempDir
  • fd12ce2 refactor: change permissions for directories created by DirCacher.Put to 0755
  • 5e9fff6 refactor: make local caches created by fetch.doDirect writable
  • d0241fc refactor: get rid of 80-column rule to make code more compact
  • 0c42a7c chore: improve Docker image with default USER, WORKDIR, and listening address
  • 5f62e90 chore: simplify "Quick Start" section in README.md
  • 8c82e46 refactor: clean up misuse of fmt.Sprint and fmt.Sprintf
  • a32d730 refactor: utilize strings.Cut
  • d832cfd refactor: bump golang.org/x/mod to v0.13.0
  • 586904d refactor: bump minimum supported Go version to 1.18
  • ac045fb refactor: use Go 1.21 for releases
  • a49144b test: cover Go 1.21
  • 3ab2b29 chore: update Test status badge in README.md

v0.14.1

7 months ago

Changelog

  • 39d1074 fix: correct auto-retry on http.Client.Do error for httpGet

v0.14.0

1 year ago

Changelog

  • f3c0bb0 chore: bump version of all GitHub Actions
  • 082b195 chore: use Alpine 3.18 as base image for Docker
  • 5b2c60e chore: add supported VCS packages to Docker image
  • 702fcb1 docs: improve optional interface comment of Cacher.Get
  • bf9a707 refactor: use Go 1.20 for releases
  • bcf1472 test: cover Go 1.20
  • 2f24fa5 refactor: rename Cacher.Set to Cacher.Put
  • 3ee27c4 refactor: redesign optional interfaces for return value of Cacher.Get
  • cff7144 docs: improve comments of Goproxy

v0.13.0

1 year ago

Changelog

  • 8bc16cc feat(cmd/goproxy): add file URI scheme support
  • da5febd refactor: do not check scheme in parseRawURL
  • 2a31997 feat: use exponential backoff algorithm in httpGet
  • e1656ea test: avoid using deprecated httptest.ResponseRecorder.HeaderMap
  • ec6395a test: correct ineffectual assignments

v0.12.0

1 year ago

Changelog

  • 271218a chore: update modules
  • a215b3d chore: add codecov badge to README.md
  • cb855d3 test: avoid passing nil context.Context
  • 7622060 docs: mention Disable-Module-Fetch header support
  • 621dd49 test: enrich TestDirCacher
  • c55bfa8 refactor: rename Goproxy.load and sumdbClientOps.load
  • 31008d9 test: cover Goproxy
  • c694229 refactor: avoid adding duplicate prefix in responseNotFound
  • fd66e9d refactor: improve go error parsing in fetch.doDirect
  • 789087b test: cover fetch
  • 93f8818 test: cover fetch.doProxy
  • b7db93d test: cover module file verification funcs
  • bd00756 refactor: improve Goproxy.GoBinEnv parsing
  • 51bb6cd refactor: improve module file checking and formatting
  • 1ba6787 test: cover sumdbClientOps
  • fe86455 refactor: improve GOPROXY walking
  • af9c030 refactor: format temporary file name created by Cacher.Set
  • d262dfb refactor: improve retryable http.Client.Do error determination
  • ab92faa test: cover Goproxy.load, newFetch and fetchOps
  • 5908145 chore: update README.md
  • 52f9021 refactor: remove unnecessary conversions for IDNs
  • 0704044 refactor(cmd/goproxy): default -connect-timeout to 30s
  • 0790b11 test: cover responseSuccess
  • 1788991 test: cover fetchResult
  • f13f333 refactor: simplify info marshalling
  • 5154c7b feat: add Disable-Module-Fetch header support
  • 9e88b83 refactor: disallow resolving version "latest"
  • fe8d8d0 refactor(cmd/goproxy): add -connect-timeout
  • ac2d6e4 refactor(cmd/goproxy): add -fetch-timeout
  • 040c85e feat: cache proxied checksum database content
  • 1c28b63 refactor: replace io.ReadSeekCloser and io.NopCloser
  • 23dc691 refactor: redesign module fetch
  • 5da185b feat: cache module files for all valid operations
  • 4ce1139 docs: replace golang.org with go.dev

v0.11.0

1 year ago

Changelog

  • 27501d9 chore: add Docker image support
  • 326601b docs: update comments to Go 1.19 style
  • c397ec0 chore: use Go 1.19 for future releases
  • 926d785 chore: cover Go 1.19
  • 418b4ac refactor: improve error logging
  • 2125edc revert: refactor: improve error logging
  • 80534b0 refactor: improve error logging
  • e3edbe4 feat: cache module version list
  • a12c598 refactor: improve module file caching
  • 3052582 refactor: parse proxied checksum database URLs in Goproxy.load
  • d17cce3 refactor: add more retryable status codes to httpGet
  • 93c07e4 chore: format .github/workflows/release.yml

v0.10.2

2 years ago

Changelog

  • 3dba9bd refactor(cmd/goproxy): default -go-bin-max-workers to 0

v0.10.1

2 years ago

Changelog

  • 0009d36 chore: update .github/workflows/test.yml
  • 34aaea2 chore: rename .github/workflows/main.yml
  • cc20b1e chore: add .github/workflows/release.yml