v2.0.0-rc.2
Pre-release
Pre-release
New Features
- Supports artifacts-spec v1.0.0-rc.2
- Added new API
content.ReadAll()
to safely read fetched blobs content/file.Store
allows skipping unnamed blobs when pushingoras.Copy()
andoras.ExtendedCopy()
support platform selectionoras.ExtendedCopy()
supports filtering predecessors by artifact type and / or annotations using regular expressions
Bug Fixes
- fix #236: same content with different names will be skipped when being pushing to file store
- fix #239:
oras.Copy()
may skip tagging if manifest blob already exists in the destination - fix #252: pushing blobs to ECR will fail
Other Changes
- Improved documentation
- Migrated to codecov.io for code coverage reports
oras.Pack()
packs empty config blob of size 0 bytes instead of{}
(empty JSON object of size 2 bytes).
Detailed Commits
- Bug: oras.Copy() may skip tagging if manifest blob already exists in the destination by @m5i-work in #243
- created pull blob example by @wangxiaoxuan273 in #234
- added an example of copying artifact manifest by @wangxiaoxuan273 in #241
- moved ReadAll and related functions to package Content by @wangxiaoxuan273 in #245
- update artifact-spec to v1.0.0-rc.2 by @Wwwsylvia in #251
- Reuse post token for put when pushing blobs by @qweeah in #253
- Migrate to codecov.io by @junczhuMSFT in #247
- replaced io.ReadAll with content.ReadAll in examples by @wangxiaoxuan273 in #255
- Added an example of using ExtendedCopy by @wangxiaoxuan273 in #248
- Failed to download all the files in an artifact using oras.Copy() by @m5i-work in #256
- fix: Fix runnable examples by @lizMSFT in #257
- Allow skipping unnamed blobs when pushing to file store by @m5i-work in #254
- Upload empty blob when packing by @m5i-work in #262
- support filtering on annotation with regex by @wangxiaoxuan273 in #259
- fix: fix typo in example test by @lizMSFT in #263
- feat: Support platform selection on Copy by @lizMSFT in #244
- added filtering by artifact type with regex by @wangxiaoxuan273 in #258
- fix: added manifest parsing when annotation is not in the descriptor by @wangxiaoxuan273 in #266
New Contributors
Full Changelog: v2.0.0-rc.1...v2.0.0-rc.2