Sourced from oras.land/oras-go/v2's releases.
v2.0.0-rc.6
New Features
- Upgrade package
content/oci
- Support creating read-only OCI store from
fs.FS
- Support reading OCI layout from tar archives
- Compatible with tar archives generated by
docker buildx build
with option--output=type=oci
- Support resolving a digest to a descriptor
- Support discovering predecessors that are not tagged in
index.json
oras.Copy()
supports copying images with non-distributable / foreign layers by skipping.Bug Fixes
- fix #368: Range query is attempted for fetching blob from registries without range query support
- fix #374:
Repository.FetchReference()
fails when registry responds with chunked transfer encoding- fix #383:
oras.Copy()
may fail when the optionFindSuccessors
finds successors from external sourcesOther Changes
- BREAKING CHANGE: Change the type of
Concurrency
options fromint64
toint
- Improve code quality (#363, #364)
- Improve the readability of GoDoc
What's Changed
- doc: fix testable example name by
@Wwwsylvia
in oras-project/oras-go#365- fix: avoid copying Repository mutex state by
@abursavich
in oras-project/oras-go#364- fix: attempt range query only if server explicitly supports by
@shizhMSFT
in oras-project/oras-go#369- doc: make the default options displayed next to the option type on godoc by
@Wwwsylvia
in oras-project/oras-go#372- fix: avoid panic from releasing unacquired semaphore by
@abursavich
in oras-project/oras-go#363- refactor!: update the type of
Concurrency
options toint
by@Wwwsylvia
in oras-project/oras-go#376- fix: allow chunked responses via HEAD request fallback by
@AaronFriel
in oras-project/oras-go#370- feat: support creating read-only OCI store from
fs.FS
by@Wwwsylvia
in oras-project/oras-go#367- feat: support reading OCI layout from tarballs by
@Wwwsylvia
in oras-project/oras-go#379- feat: change foreign layer error message at repository.Fetch() by
@wangxiaoxuan273
in oras-project/oras-go#377- feat: skip foreign layers on
oras.Copy
by@shizhMSFT
in oras-project/oras-go#380- fix: use proxy when copying node with successors by
@qweeah
in oras-project/oras-go#384- refactor: refactor OCI store to fully support
Predecessors()
andResolve()
by@Wwwsylvia
in oras-project/oras-go#385New Contributors
@abursavich
made their first contribution in oras-project/oras-go#364@AaronFriel
made their first contribution in oras-project/oras-go#370Full Changelog: https://github.com/oras-project/oras-go/compare/v2.0.0-rc.5...v2.0.0-rc.6
4e58192
refactor: refactor OCI store to fully support
Predecessors()
and `Resolve()...4b1d016
fix: use proxy when copying node with successors (#384)79e13bc
feat: skip foreign layers on oras.Copy
(#380)8500e54
feat: change foreign layer error message at repository.Fetch() (#377)0382be2
feat: support reading OCI layout from tarballs (#379)04d11f9
feat: support creating read-only OCI store from fs.FS
(#367)253d5ec
fix: allow chunked responses via HEAD request fallback (#370)275b940
refactor!: update the type of Concurrency
options to
int
(#376)a5be49a
fix: avoid panic from releasing unacquired semaphore (#363)ff05195
doc: make the default options displayed next to the option type on godoc
(#372)