Releases: distribution/distribution
v2.8.2-beta.1
NOTE: This is a pre-release that does not contain any artifacts!
What's Changed
- Fix runaway allocation on /v2/_catalog by @josegomezr
521ea3d9 - Fix CVE-2022-28391 by bumping alpine from 3.14 to 3.16 by @thaJeztah in #3650
- Fix panic in inmemory driver by @wy65701436 in #3815
- bump up golang version (alternative) by @thaJeztah in #3903
- Dockerfile: update xx to v1.2.1 by @thaJeztah in #3907
- update to go1.19.9 by @thaJeztah in #3908
- Add code to handle pagination of parts. Fixes max layer size of 10GB bug by @davidspek in #3893
Full Changelog: v2.8.1...v2.8.2-beta.1
v2.8.1
Welcome to the v2.8.1 release of registry!
The 2.8.1 registry release fixes the Go module issues that have popped up in the v2.8.0
There have been no changes made in the released binaries other than the bump of the Go runtime.
See the changelog below for a full list of changes.
CI
- ci: use proper git ref for versioning #3595
- Go: make Go version explicit and pin it to the latest 1.16 release #3604
Contributors
- CrazyMax
- Milos Gajdos
Changes
6 commits
Dependency Changes
This release has no dependency changes
The previous release can be found at v2.8.0
v2.8.0
registry 2.8.0
Welcome to the v2.8.0 release of registry!
The 2.8.0 registry release has been a long time overdue.
This is the first step towards the last 2.x release.
No further active development will continue on 2.x branch.
Security vulnerability patches to 2.x might be considered, but
all active development will be focussed on v3 release due in 2022.
This release includes a security vulnerability fix along
with a few minor bug fixes and improvemnts in documentation and CI.
See changelog below for full list of changes.
Bugfixes
- Close the io.ReadCloser from storage driver #3370
- Remove empty Content-Type header #3297
- Make ipfilteredby not required in cloudfront storage middleware #3088
Features
- Add reference.ParseDockerRef utility function #3002
CI build
- First draft of actions based ci #3347
- Fix vndr and check #3001
- Improve code quality by adding linter checks #3385
Documentation
- Add redirect for old URL #3197
- Fix broken table #3073
- Adding deprecated schema v1 instructions #2987
- Change should to must in v2 spec (#3495)
Storage drivers
- S3 Driver: add support for ceph radosgw #3119
Security
- Added flag for user configurable cipher suites #3384
- Address CVE-2020-26160 by replacing vulnerable third-party depedency#3466
- Replace math rand with crypto rand #3531
- Address CVE-2021-41190 by validating document type before unmarshal GHSA-77vh-xpmg-72qh
Changes
50 commits
- Prepare for v2.8.0 release (#3552)
- [2.8] Release artifacts (#3568)
6241e099[2.8] Release artifacts
- [2.8] Release workflow (#3565)
65ca39e6release workflow3b7b5345Merge pull request from GHSA-qq97-vm5h-rrhg10ade61dmanifest: validate document type before unmarshal
- [release/2.7] github.com/golang-jwt/jwt v3.2.2 (#3466)
c5679da3[release/2.7] vendor: github.com/golang-jwt/jwt v3.2.1
- [release/2.7] vendor: github.com/opencontainers/image-spec v1.0.2 (#3535)
97f6dace[release/2.7] vendor: github.com/opencontainers/image-spec v1.0.2
- [release/2.7]fix go check issues (#3531)
9a3ff113fix go check issues
- [release/2.7 backport] Change should to must in v2 spec (#3495)
19b573a6Change should to must in v2 spec
- [release/2.7] update to go1.16 (#3472)
d836b23f[release/2.7] update to go1.16
- [backport release/2.7]Added flag for user configurable cipher suites (#3384)
cc341b01Added flag for user configurable cipher suites
- enable ci for release/2.7 (#3385)
- [cherry pick]close the io.ReadCloser from storage driver (#3370)
3fe1d67aclose the io.ReadCloser from storage driver
- [backport release/2.7] First draft of actions based ci (#3347)
f1bd6551First draft of actions based ci
- [release/2.7 backport] Remove empty Content-Type header (#3297)
cf8615deRemove empty Content-Type header
- [release/2.7 backport] docs: add redirect for old URL (#3197)
48eeac88docs: add redirect for old URL
- [release/2.7] Fix s3 driver for supporting ceph radosgw (#3119)
- [release/2.7 backport] Bugfix: Make ipfilteredby not required (#3088)
afa91463Bugfix: Make ipfilteredby not required
- [release/2.7 backport] Add reference.ParseDockerRef utility function (#3002)
fad36ed1Add reference.ParseDockerRef utility function
- [release/2.7 backport] fix markdown issues on configuration page (#3073)
- [release/2.7] Fix vndr and check (#3001)
5883e2d9Fix vndr and check
- [release/2.7] Adding deprecated schema v1 page (#2987)
a3c027e6Adding deprecated schema instructions
Dependency Changes
- github.com/dgrijalva/jwt-go -> github.com/golang-jwt/jwt.git # v3.2.2 (a601269ab70c -> 4bbdd8ac624f)
- github.com/opencontainers/image-spec -> github.com/opencontainers/image-spec # v1.0.2 (ab7389ef9f50 -> 67d2d5658fe0)
Previous release can be found at v2.7.1
v2.8.0-beta.1
Welcome to the v2.8.0-beta.1 release of registry!
The 2.8.0 registry release has been a long time overdue.
This is the first step towards the last 2.x release.
No further active development will continue on 2.x branch.
Security vulnerability patches to 2.x might be considered, but
all active development will be focussed on v3 release due in 2022.
This beta release includes a security vulnerability fix along
with a few minor bug fixes and improvemnts in documentation and CI.
See changelog below for full list of changes.
Bugfixes
- Close the io.ReadCloser from storage driver #3370
- Remove empty Content-Type header #3297
- Make ipfilteredby not required in cloudfront storage middleware #3088
Features
- Add reference.ParseDockerRef utility function #3002
CI build
- First draft of actions based ci #3347
- Fix vndr and check #3001
- Improve code quality by adding linter checks #3385
Documentation
- Add redirect for old URL #3197
- Fix broken table #3073
- Adding deprecated schema v1 instructions #2987
- Change should to must in v2 spec (#3495)
Storage drivers
- S3 Driver: add support for ceph radosgw #3119
Security
- Added flag for user configurable cipher suites #3384
- Address CVE-2020-26160 by replacing vulnerable third-party depedency#3466
- Replace math rand with crypto rand #3531
- Address CVE-2021-41190 by validating document type before unmarshal GHSA-77vh-xpmg-72qh
Changes
50 commits
- Prepare for v2.8.0 release (#3552)
- [2.8] Release artifacts (#3568)
6241e099[2.8] Release artifacts
- [2.8] Release workflow (#3565)
65ca39e6release workflow3b7b5345Merge pull request from GHSA-qq97-vm5h-rrhg10ade61dmanifest: validate document type before unmarshal
- [release/2.7] github.com/golang-jwt/jwt v3.2.2 (#3466)
c5679da3[release/2.7] vendor: github.com/golang-jwt/jwt v3.2.1
- [release/2.7] vendor: github.com/opencontainers/image-spec v1.0.2 (#3535)
97f6dace[release/2.7] vendor: github.com/opencontainers/image-spec v1.0.2
- [release/2.7]fix go check issues (#3531)
9a3ff113fix go check issues
- [release/2.7 backport] Change should to must in v2 spec (#3495)
19b573a6Change should to must in v2 spec
- [release/2.7] update to go1.16 (#3472)
d836b23f[release/2.7] update to go1.16
- [backport release/2.7]Added flag for user configurable cipher suites (#3384)
cc341b01Added flag for user configurable cipher suites
- enable ci for release/2.7 (#3385)
- [cherry pick]close the io.ReadCloser from storage driver (#3370)
3fe1d67aclose the io.ReadCloser from storage driver
- [backport release/2.7] First draft of actions based ci (#3347)
f1bd6551First draft of actions based ci
- [release/2.7 backport] Remove empty Content-Type header (#3297)
cf8615deRemove empty Content-Type header
- [release/2.7 backport] docs: add redirect for old URL (#3197)
48eeac88docs: add redirect for old URL
- [release/2.7] Fix s3 driver for supporting ceph radosgw (#3119)
- [release/2.7 backport] Bugfix: Make ipfilteredby not required (#3088)
afa91463Bugfix: Make ipfilteredby not required
- [release/2.7 backport] Add reference.ParseDockerRef utility function (#3002)
fad36ed1Add reference.ParseDockerRef utility function
- [release/2.7 backport] fix markdown issues on configuration page (#3073)
- [release/2.7] Fix vndr and check (#3001)
5883e2d9Fix vndr and check
- [release/2.7] Adding deprecated schema v1 page (#2987)
a3c027e6Adding deprecated schema instructions
Dependency Changes
- github.com/dgrijalva/jwt-go -> github.com/golang-jwt/jwt.git # v3.2.2 (a601269ab70c -> 4bbdd8ac624f)
- github.com/opencontainers/image-spec -> github.com/opencontainers/image-spec # v1.0.2 (ab7389ef9f50 -> 67d2d5658fe0)
Previous release can be found at v2.7.1
registry 2.7.1
Welcome to the v2.7.1 release of registry!
The first patch release of 2.7 addresses an upgrade issue when
using configurations from pre-2.7 registries. When upgrading from
2.6 or earlier use this patch release or newer to avoid a failure
on startup from not updating the configuration file.
- Set default for new
autoredirectoption - GCS driver is now included in binary builds using Dockerfile
Please try out the release binaries and report any issues at
https://github.com/docker/distribution/issues.
Contributors
- Derek McGowan
- Ryan Abrams
- David Wu
Changes
2461543dMerge pull request #2824 from dmcgowan/update-version-file-2.7.15b98226aUpdate version file for 2.7.12eab12dfMerge pull request #2805 from dmcgowan/release-2.7.1445ef068Release notes for 2.7.1cbc30be4Merge pull request #2821 from caervs/ISS-2819bf74e4f9Use same env var in Dockerfile and Makefile62994fddMerge pull request #2804 from caervs/ISS-2793-2.7e702d95cMerge pull request #2802 from davidswu/2.7-autoredirectcaf43bbcdefault autoredirect to falsed1abdeb6Add docs for autoredirect config parameter
Dependency Changes
Previous release can be found at v2.7.0
registry 2.7.0
Welcome to the v2.7.0 release of registry!
The 2.7 registry release has been a long time coming and represents both
a long gap since the previous release and a renewed effort to release
regularly. The maintainers were committed to get OCI support into the
next release and thanks to much effort in the community that has
been accomplished.
OCI Support
Push and Pull of OCI Images
The registry now allows pushing and pulling OCI images. OCI images will always
be preserved exactly without conversion to older types. With this change,
clients which implement OCI can feel comfortable creating OCI images as part of
their container image build process.
Specification Donation
The Distribution specification which has had 4 years of review, implementation,
and production use is now part of OCI. As part of that move, specification
changes will no longer be accepted in the open source registry and should
instead go to OCI's distribution-spec.
Bug Fixes and Improvements
General
- Update Go version to 1.11
- Switch to multi-stage Dockerfile
- Validations enabled by default with new
disabledconfig option - Optimize health check performance
- Create separate permission for deleting objects in a repo
- Fix storage driver error propagation for manifest GETs
- Fix forwarded header resolution
- Add prometheus metrics
- Disable schema1 manifest by default (this affects docker versions
1.9and older) - Graceful shutdown
- TLS: remove ciphers that do not support perfect forward secrecy
- Fix registry stripping newlines from manifests
- Add bugsnag logrus hook
- Support ARM builds
Storage Driver
- OSS: fix current directory showing up in OSS driver.List()
- Azure: fix race condition in PutContent()
- Azure: update vendor
- S3: update AWS SDK and use AWS SDK to validate regions
- S3: remove expiration tag on multi-part uploads
- S3: improve
Walkperformance - S3: allow bypassing cloudfront when in the same region
- S3: remove s3-goamz driver in favor of s3-aws
- Swift: update vendor
See changelog below for full list of changes
Please try out the release binaries and report any issues at
https://github.com/docker/distribution/issues.
Contributors
- Derek McGowan
- Stephen J Day
- Olivier Gambier
- Mike Brown
- Aaron Lehmann
- David Wu
- Manish Tomar
- Misty Stanley-Jones
- Sargun Dhillon
- fate-grand-order
- Huu Nguyen
- Ryan Abrams
- Yu Wang
- Ahmet Alp Balkan
- Andrew Leung
- Andrey Kostov
- Clayton Coleman
- Noah Treuhaft
- Owen W. Taylor
- Rui Cao
- Troels Thomsen
- Feng Honglin
- Gwendolynne Barr
- Haibing Zhou 周海兵
- Masataka Mizukoshi
- Michal Fojtik
- Oleg Bulatov
- Per Lundberg
- Tibor Vass
- Viktor Stanchev
- ning xie
- Alvin Feng
- Antonio Murdaca
- Christy Perez
- Corey Quon
- Deshi Xiao
- Elsan Li 李楠
- Elton Stoneman
- Eric Yang
- Felix Bünemann
- Gladkov Alexey
- Grachev Mikhail
- Helen Xie
- Igor Morozov
- Ina Panova
- Javier Palomo Almena
- Jesse Haka
- Joao Fernandes
- Jon Johnson
- Justin Cormack
- Justin Santa Barbara
- Kevin Lin
- Kira
- Leonardo Azize Martins
- LingFaKe
- Liron Levin
- Luis Lobo Borobia
- Matt Tescher
- Michal Minář
- Monika Katiyar
- Nishant Totla
- Nycholas de Oliveira e Oliveira
- Oleg Bulatov
- Parth Mehrotra
- Raphaël Enrici
- Riyaz Faizullabhoy
- Sakeven Jiang
- Santiago Torres
- Sebastiaan van Stijn
- Tianon Gravi
- Tonis Tiigi
- Tony Holdstock-Brown
- Wenkai Yin
- Yong Tang
- Yongxin Li
- YuJie
- kaiwentan
- liyongxin
- mlmhl
- uhayate
- william wei
- yixi zhang
Changes
40b7b583Merge pull request #2775 from caervs/release_notes_2.708c6bbedRelease notes for 2.7d9e12182Merge pull request #2772 from dmcgowan/add-arm-flag63f6c120Add GOARM flag to dockerfileaa985ba8Merge pull request #2711 from davidswu/autoredirectdd36fd36Merge pull request #2742 from tescherm/configure-bugsnag-logging7c4d584eadd bugsnag logrus hook93e08274Merge pull request #2734 from mgrachev/patch-1f7046a6dMerge pull request #2735 from tonistiigi/update-dockerfilecd1648d6Fix typo8a800e12update Dockerfile to multi-stage1cb4180bMerge pull request #2729 from liyongxin/master451cd548Merge pull request #2731 from mirake/fix-typos6335cc25Fix typo: commmand -> command17b3ff18Merge pull request #2730 from dmcgowan/version-update-2.7.0-rc.0f08b3486Update version to 2.7.0-rc.0f3adfea3Merge pull request #2721 from dmcgowan/release-notes-2.7.0-rce1817db8Merge pull request #2720 from dmcgowan/update-release-processde8636b7typo fix about overridden97cb7f35Update release documents2eb7a172Add 2.7.0-rc release notes06a4c2f6Update mailmap filed37f8164Merge pull request #2723 from mirake/fix-typos569d18aeFix some typos2e1e6307add autoredirect to optionb2bd4657fix checksf730f3abadd autoredirect auth config16128bbaMerge pull request #2707 from davidswu/go-1.11b089e916Merge pull request #2712 from liyongxin/master6133840ftypo fix from existant to existenta927fbdbtrack digest offset in blobwriterd8bde9b9remove go 1.9 and 1.10 checks from travisbd41413dremove closenotifier166874adfix gofmt and goimportsa5c2fdc5Merge pull request #2705 from mirake/fix-typo9da0f07cupdate travis with go 1.11877d706bremove dependencies on resumabled1f36d46Fix some typos642075f4Merge pull request [#2631](https://github.com/dock...
registry 2.7.0-rc.0
Welcome to the v2.7.0-rc.0 release of registry!
This is a pre-release of registry
The 2.7 registry release has been a long time coming and represents both
a long gap since the previous release and a renewed effort to release
regularly. The maintainers were committed to get OCI support into the
next release and thanks to much effort in the community that has
been accomplished.
OCI Support
Push and Pull of OCI Images
The registry now allows pushing and pulling OCI images. OCI images will always
be preserved exactly without conversion to older types. With this change,
clients which implement OCI can feel comfortable creating OCI images as part of
their container image build process.
Specification Donation
The Distribution specification which has had 4 years of review, implementation,
and production use is now part of OCI. As part of that move, specification
changes will no longer be accepted in the open source registry and should
instead go to OCI's distribution-spec.
Bug fixes
Many many fixes and improvements, see the change log below
Please try out the release binaries and report any issues at
https://github.com/docker/distribution/issues.
Contributors
- Derek McGowan
- Stephen J Day
- Olivier Gambier
- Mike Brown
- Aaron Lehmann
- David Wu
- Manish Tomar
- Misty Stanley-Jones
- Sargun Dhillon
- fate-grand-order
- Huu Nguyen
- Yu Wang
- Ahmet Alp Balkan
- Andrew Leung
- Andrey Kostov
- Clayton Coleman
- Noah Treuhaft
- Owen W. Taylor
- Ryan Abrams
- Troels Thomsen
- Feng Honglin
- Gwendolynne Barr
- Haibing Zhou 周海兵
- Masataka Mizukoshi
- Michal Fojtik
- Oleg Bulatov
- Per Lundberg
- Rui Cao
- Tibor Vass
- ning xie
- Alvin Feng
- Antonio Murdaca
- Christy Perez
- Corey Quon
- Deshi Xiao
- Elsan Li 李楠
- Elton Stoneman
- Eric Yang
- Felix Bünemann
- Gladkov Alexey
- Helen Xie
- Igor Morozov
- Ina Panova
- Javier Palomo Almena
- Jesse Haka
- Joao Fernandes
- Jon Johnson
- Justin Cormack
- Justin Santa Barbara
- Kevin Lin
- Kira
- Leonardo Azize Martins
- LingFaKe
- Liron Levin
- Luis Lobo Borobia
- Michal Minář
- Monika Katiyar
- Nishant Totla
- Nycholas de Oliveira e Oliveira
- Oleg Bulatov
- Parth Mehrotra
- Raphaël Enrici
- Riyaz Faizullabhoy
- Sakeven Jiang
- Santiago Torres
- Sebastiaan van Stijn
- Tianon Gravi
- Tony Holdstock-Brown
- Viktor Stanchev
- Wenkai Yin
- Yong Tang
- YuJie
- kaiwentan
- liyongxin
- mlmhl
- uhayate
- william wei
- yixi zhang
Changes
17b3ff18Merge pull request #2730 from dmcgowan/version-update-2.7.0-rc.0f08b3486Update version to 2.7.0-rc.0f3adfea3Merge pull request #2721 from dmcgowan/release-notes-2.7.0-rce1817db8Merge pull request #2720 from dmcgowan/update-release-process97cb7f35Update release documents2eb7a172Add 2.7.0-rc release notes06a4c2f6Update mailmap filed37f8164Merge pull request #2723 from mirake/fix-typos569d18aeFix some typos16128bbaMerge pull request #2707 from davidswu/go-1.11b089e916Merge pull request #2712 from liyongxin/master6133840ftypo fix from existant to existenta927fbdbtrack digest offset in blobwriterd8bde9b9remove go 1.9 and 1.10 checks from travisbd41413dremove closenotifier166874adfix gofmt and goimportsa5c2fdc5Merge pull request #2705 from mirake/fix-typo9da0f07cupdate travis with go 1.11877d706bremove dependencies on resumabled1f36d46Fix some typos642075f4Merge pull request #2631 from whoshuu/feature/improve-gcs-driver15de837aMerge pull request #2704 from dmcgowan/fix-27037a195dd5Add back include_gcs build constraint69299d93Use existing jwtConf instead of creating a scoped onef9187b25Add regulator to GCSb424c3d8Better error handling for GCS credential argument addition3f9f073cEdit configuration.md to add gcs credentials option78238ef1Add credentials argument for GCS driverefa4c3bbMerge pull request #2702 from caervs/fix_path_enumeration6d66d036Merge pull request #2698 from cquon/swift_vendorc88728f2Fix registry stripping newlines from manifests6b73a9abIgnore missing paths during enumerationfd32d5f9update github.com/ncw/swift package in vendor to v1.0.405a74b806update github.com/ncw/swift package in vendor to avoid potential memory leaks9930542dMerge pull request #2701 from davidswu/metalinter8d7e4cd3fix goimports and gofmt90705d2fMerge pull request #2362 from twistlock/populate_htpasswdb12bd400Merge pull request #2639 from andrew-leung/manifesteventlayers059f301dMerge pull request #2685 from manishtomar/mani-graceful-shutdownf95ac7dbfix doc - thanks @dmp423354cf98Merge pull request #2680 from manishtomar/mani-fix-mem-leakef859e1bMerge pull request #2474 from vikstrous/disable-v1-master90070b33Merge pull request #2694 from caervs/fix_nginx_spacing- [
0101db11](0101db...
Docker Registry v2.6.2
This release is a special security release to address an issue allowing
an attacker to force arbitrarily-sized memory allocations in a registry
instance through the manifest endpoint. The problem has been mitigated
by limiting the size of reads for image manifest content.
Details for mitigation are in 29fa466
CVE-2017-11468 has been assigned for this issue.
Changelog
48294d9 Merge pull request #2343 from stevvooe/prepare-2.6.2
04ce686 release: prepare for 2.6.2 release
c829241 Merge pull request #2341 from stevvooe/limit-payload-size-26
29fa466 registry/{storage,handlers}: limit content sizes
42ea75c Merge pull request #2284 from mstanleyjones/release/2.6
ed2b686 Put architecture.md back into distribution repo
Docker Registry v2.5.2
This release is a special security release to address an issue allowing
an attacker to force arbitrarily-sized memory allocations in a registry
instance through the manifest endpoint. The problem has been mitigated
by limiting the size of reads for image manifest content.
Details for mitigation are in 58d239d.
CVE-2017-11468 has been assigned for this issue.
Changelog
0bae751 Merge pull request #2344 from stevvooe/prepare-2.5.2
48cb60a release: prepare for 2.5.2 release
2b0952d Merge pull request #2342 from stevvooe/limit-payload-size-25
58d239d registry/{storage,handlers}: limit content sizes
9bc9d21 Merge pull request #2122 from
mstanleyjones/configuration_changes_backport
fcbea60 Improve formatting of configuration.md
6b114e6 Merge pull request #2081 from Windfarer/release/2.5
6c985f7 Update main.go
2c3b616 Merge pull request #2054 from mstanleyjones/2.5_metadata_fixes
5adfbe3 Remove newlines from end of error strings
cfe7079 Satisfy the latest go lint rules
abd2d76 Metadata and formatting fixes needed for Jekyll build
6b3ccf9 Convert Markdown frontmatter to YAML
a8402a2 Merge pull request #1985 from johndmulhausen/master
0a22649 Update to fix lint errors
Docker Registry v2.6.1
Changelog
Registry
- Fix
Forwardedheader handling, revert use ofX-Forwarded-Port - Use driver
Statfor registry health check