Skip to content
registry 2.8.3

Welcome to the v2.8.3 release of registry!

Welcome to the 2.8.3 release of registry!

The 2.8.3 registry release fixes a few bugs and makes a few dependency updates.
The Go runtime has been bumped to 1.20.8.

See the changelog below for full list of changes.

### Bugfixes

* Do not close HTTP request body in HTTP handler ([#4068](https://github.com/distribution/distribution/pull/4068))
* Set Content-Type header in registry client ReadFrom ([#4053](https://github.com/distribution/distribution/pull/4053))
* Do not parse errors as JSON unless Content-Type is set to JSON ([#4054](https://github.com/distribution/distribution/pull/4054))
* Enable Go build tags ([#4009](https://github.com/distribution/distribution/pull/4009))

### General updates

* replace deprecated function SplitHostname ([#4032](https://github.com/distribution/distribution/pull/4032))

### Runtime

* update to go1.20.8 ([#4056](https://github.com/distribution/distribution/pull/4056))

### Dependency Changes

* deprecate digestset package in favor of go-digest/digestset  ([#4064](https://github.com/distribution/distribution/pull/4064))
* deprecate reference package, migrate to github.com/distribution/reference ([#4063](https://github.com/distribution/distribution/pull/4063))

Previous release can be found at [v2.8.2](https://github.com/distribution/distribution/releases/tag/v2.8.2)

Please try out the release binaries and report any issues at
https://github.com/distribution/distribution/issues.

### Contributors

* Milos Gajdos
* Sebastiaan van Stijn
* Milos Gajdos
* James Hewitt
* Ben Manuel
* Marcus Pettersen Irgens
* zounengren

### Changes
<details><summary>30 commits</summary>
<p>

* Add v2.8.3 release notes ([#4088](https://github.com/distribution/distribution/pull/4088))
  * [`a4fa6992`](https://github.com/distribution/distribution/commit/a4fa69927538d336b6c537712b03ebb8e4194535) Add v2.8.3 release notes
* [release/2.8] Do not close HTTP request body in HTTP handler ([#4068](https://github.com/distribution/distribution/pull/4068))
  * [`5e6b1b5c`](https://github.com/distribution/distribution/commit/5e6b1b5c9823f5941f40f8dc2bbf93f86342a897) Do not close HTTP request body in HTTP handler
* [release/2.8] digestset: deprecate package in favor of go-digest/digestset  ([#4064](https://github.com/distribution/distribution/pull/4064))
  * [`29b00e8b`](https://github.com/distribution/distribution/commit/29b00e8b28994a706bb9eb20574ed60416ddc55c) digestset: deprecate package in favor of go-digest/digestset
  * [`d1ab2430`](https://github.com/distribution/distribution/commit/d1ab2430e6c6226cf54cb46d9a8c8f253f24f8ec) [release/2.8] vendor: github.com/opencontainers/go-digest v1.0.0
* [release/2.8] deprecate reference package, migrate to github.com/distribution/reference ([#4063](https://github.com/distribution/distribution/pull/4063))
  * [`3dda0677`](https://github.com/distribution/distribution/commit/3dda0677474a076ec5746e960fc0fb96ff738fd1) deprecate reference package, migrate to github.com/distribution/reference
* [release/2.8 backport] Set Content-Type header in registry client ReadFrom ([#4053](https://github.com/distribution/distribution/pull/4053))
  * [`cb121c3f`](https://github.com/distribution/distribution/commit/cb121c3f2061817ae1968d1b1e18dde58cfd4ca8) Set Content-Type header in registry client ReadFrom
* [release/2.8] update to go1.20.8 ([#4056](https://github.com/distribution/distribution/pull/4056))
  * [`3c6f7788`](https://github.com/distribution/distribution/commit/3c6f77884209e50bbe15cd95657c50cbd3a463bf) update to go1.20.8
  * [`31f5cd48`](https://github.com/distribution/distribution/commit/31f5cd4865c8053f8c5f62fba2ce13f7493aba1a) Handle rand deprecations in go 1.20
  * [`29b8ba0b`](https://github.com/distribution/distribution/commit/29b8ba0b937417c25700d641623ca09bf9b44f04) Update to go 1.20
  * [`3316b198`](https://github.com/distribution/distribution/commit/3316b19810e1b84bee372a8f285a59dd506381ef) Update to golang 1.19.10
  * [`444d053e`](https://github.com/distribution/distribution/commit/444d053e12d64179b6d3c7d610d493b53268f71c) update golangci-lint to v1.52
  * [`b800af44`](https://github.com/distribution/distribution/commit/b800af44090d4b70be7c5a94b15677327df84fcd) ignore SA1019: ac.(*accessController).rootCerts.Subjects has been deprecated
  * [`0a98a00d`](https://github.com/distribution/distribution/commit/0a98a00d175aa912275d603eadcf821168cf2208) Ignore SA1019: SplitHostname is deprecated.
* [release/2.8 backport] Dont parse errors as JSON unless Content-Type is set to JSON ([#4054](https://github.com/distribution/distribution/pull/4054))
  * [`2ec0471b`](https://github.com/distribution/distribution/commit/2ec0471bb5bb3e0380f5902ee38b92956fc56dff) Dont parse errors as JSON unless Content-Type is set to JSON
* [release/2.8 backport] reference: replace deprecated function SplitHostname ([#4032](https://github.com/distribution/distribution/pull/4032))
  * [`b57133cc`](https://github.com/distribution/distribution/commit/b57133cc21dd406aa8a927953ee06a4e99c14772) referene: fix formatting of "deprecated" comment.
  * [`2c4bf1a6`](https://github.com/distribution/distribution/commit/2c4bf1a66407e64b016d37fed681eadbaffff108) replace deprecated function
* [release/2.8 backport] Enable Go build tags ([#4009](https://github.com/distribution/distribution/pull/4009))
  * [`110cb753`](https://github.com/distribution/distribution/commit/110cb7538dc91e18fdf59893d9274e81cbba7201) Enable build tags in 2.8
  * [`2d62a402`](https://github.com/distribution/distribution/commit/2d62a4027add9ed41920784cf10bac0b6486a84b) s3: add interface assertion
  * [`2548973b`](https://github.com/distribution/distribution/commit/2548973b1d22e2f1de9b708f90218be8c4efd1b8) Enable Go build tags
* Pass `BUILDTAGS` argument to `go build` ([#3926](https://github.com/distribution/distribution/pull/3926))
  * [`ab7178cc`](https://github.com/distribution/distribution/commit/ab7178cc0aa708459cdf9f3b100999ba1ed12525) Pass BUILDTAGS argument to go build
</p>
</details>

### Dependency Changes

* **github.com/distribution/reference**    49c28499d219 **_new_**
* **github.com/opencontainers/go-digest**  a6d0ee40d420 -> ea51bea511f7

Previous release can be found at [v2.8.2](https://github.com/distribution/distribution/releases/tag/v2.8.2)
-----BEGIN SSH SIGNATURE-----
U1NIU0lHAAAAAQAAADMAAAALc3NoLWVkMjU1MTkAAAAgh4y+kRbSvdeLJu2rKfx44OqYHU
W1q+O/zsrLH+cTp0gAAAADZ2l0AAAAAAAAAAZzaGE1MTIAAABTAAAAC3NzaC1lZDI1NTE5
AAAAQAjEkURNXNmoL3ZQs5i+EdSFqLwzRWQlQql8TzffuOEB+cmFMipYrygY9ErKH+4+++
bu2GMRx05H9J73YAUUvQI=
-----END SSH SIGNATURE-----