Skip to content

Releases: oras-project/oras-go

v2.0.0-rc.3

07 Sep 15:54
a018d99

Choose a tag to compare

v2.0.0-rc.3 Pre-release
Pre-release

New Features

Deprecation

  • BREAKING CHANGE Moved content.ErrSizeExceedLimit to errdef.ErrSizeExceedsLimit
  • BREAKING CHANGE Removed registry.ReferenceTagger
  • BREAKING CHANGE Removed registry/remote.Repository.TagReference()

Bug Fixes

  • fix #225: Pulling from AWS ECR fails with error empty response Docker-Content-Digest
  • fix #294: Pushing artifacts to Google GAR fails with error Error PUT ... unexpected status code 400: Bad Request
  • fix potential security vulnerabilities: #289, #291

Other Changes

Detailed Commits

  • build: update support window to Go 1.18, 1.19 by @wangxiaoxuan273 in #270
  • refactor: Small refactor of reference module and tests by @nima in #279
  • fix: oras pull error empty response Docker-Content-Digest by @nima in #237
  • refactor!: add read-only interfaces by @Wwwsylvia in #283
  • feat: add utility methods for creating and comparing OCI descriptors by @wangxiaoxuan273 in #281
  • fix: remove +json encoding from the default config media type by @Wwwsylvia in #288
  • feat!: support oras.Fetch and oras.FetchBytes by @Wwwsylvia in #282
  • feat: add a utility method for specifying static credentials by @wangxiaoxuan273 in #280
  • refactor: improve error message on platform mismatch in order to distinguish platform not found and manifest not found by @lizMSFT in #292
  • feat: Support oras.PushBytes and oras.TagBytes by @Wwwsylvia in #293
  • fix: Revert "Upload empty blob when packing" by @Wwwsylvia in #295
  • fix: Revert "fix: remove +json encoding from the default config media type" by @Wwwsylvia in #297
  • fix: use a default value when Concurrency is not specified by @Wwwsylvia in #296
  • feat!: Support specifying MaxMetadataBytes option for oras.Resolve and oras.Copy by @Wwwsylvia in #299
  • feat: Repository.Manifest() now returns a ManifestStore by @Wwwsylvia in #300
  • feat!: support oras.TagN by @Wwwsylvia in #301
  • feat: implement ReferenceParser for manifestStore by @Wwwsylvia in #305

New Contributors

  • @nima made their first contribution in #279

Full Changelog: v2.0.0-rc.2...v2.0.0-rc.3

v1.2.1

17 Oct 07:15
3b21210

Choose a tag to compare

What's Changed

  • Implement Info, which will return metadata about the content available in the OCI store by @oanatmaria in #187
  • Bump docker/distribution to v2.8.1 by @mihaibuzgau in #276

New Contributors

Full Changelog: v1.2.0...v1.2.1

v2.0.0-rc.2

12 Aug 15:15
c76df08

Choose a tag to compare

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 pushing
  • oras.Copy() and oras.ExtendedCopy() support platform selection
  • oras.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

New Contributors

  • @junczhuMSFT made their first contribution in #247
  • @lizMSFT made their first contribution in #257

Full Changelog: v2.0.0-rc.1...v2.0.0-rc.2

v2.0.0-rc.1

07 Jul 11:46
4660638

Choose a tag to compare

v2.0.0-rc.1 Pre-release
Pre-release

Major Changes

What's Changed

New Contributors

Full Changelog: v2.0.0-alpha...v2.0.0-rc.1

v2.0.0-alpha

24 Jun 07:09
c7bac50

Choose a tag to compare

v2.0.0-alpha Pre-release
Pre-release

In version v2, ORAS Go library has been completely refreshed with:

  • More unified interfaces
  • Notably fewer dependencies
  • Higher test coverage
  • Better documentation

Besides, ORAS Go v2 is now a registry client.

Major Changes in v2

  • Moves content.FileStore to file.Store
  • Moves content.OCIStore to oci.Store
  • Moves content.MemoryStore to memory.Store
  • Provides SDK to interact with OCI-compliant and Docker-compliant registries
  • Supports Copy with more flexible options
  • Supports Extended Copy with options (experimental)
  • No longer supports docker.Login and docker.Logout (removes the dependency on docker); instead, provides authentication through auth.Client

Documentation and examples are available at pkg.go.dev.
Detailed migration guide are available at MIGRATION_GUIDE.md.

New Contributors

Full Changelog: v0.5.0...v2.0.0-alpha

v1.2.0

15 Jun 13:07
991ecbb

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v1.1.1...v1.2.0

v1.1.1

12 Apr 17:04
48b5a4e

Choose a tag to compare

Update dependencies on v1 branch

v1.1.0

12 Jan 16:26
f487ae5

Choose a tag to compare

The "Helm 3.8 enabler" release!

v1.1.0-rc3

11 Jan 15:27
f487ae5

Choose a tag to compare

v1.1.0-rc3 Pre-release
Pre-release

Release candidate 3 for v1.1.0

v1.1.0-rc2

07 Jan 21:02
a05ce7f

Choose a tag to compare

v1.1.0-rc2 Pre-release
Pre-release

Release candidate 2 for v1.1.0