This repository was archived by the owner on Apr 7, 2024. It is now read-only.
v0.2.0
New Features
- Introduce new public APIs and data types:
NewDefaultNativeStore()detects the platform-default docker credentials helper and returns a native storeDynamicStoreis exported for config-file-based storesServerAddressFromRegistryandServerAddressFromHostnamecreate the proper keys for credentials store, especially for handlingdocker.ioscenarios
- Introduce a new option
DetectDefaultNativeStoreinStoreOptions- BREAKING CHANGE: The default value of
DetectDefaultNativeStoreisfalse, which was equivalently set totruein previous versions. Details can be found in #73
- BREAKING CHANGE: The default value of
Other Changes
- Remove dependency on
github.com/docker/docker-credential-helpers - Support context cancelling for native stores
- BREAKING CHANGE:
NewStoreandNewStoreFromDockerreturns*DynamicStoreinstead ofStore - Return more user-friendly error message when invoking
docker-credential-desktop.exein WSL2 while Docker Desktop is not running
Detailed Commits
- feat: add package client, the Program type and its related operations by @wangxiaoxuan273 in #68
- fix: added back handling no credentials error by @wangxiaoxuan273 in #74
- feat!: add
NewDefaultNativeStoreandDynamicStore.IsAuthConfiguredby @Wwwsylvia in #73 - refactor!: rename
DetectDefaultCredsStoretoDetectDefaultNativeStoreby @Wwwsylvia in #75 - feat: expose registry name mapping methods by @wangxiaoxuan273 in #76
- fix: use a better error message on WSL by @wangxiaoxuan273 in #77
Full Changelog: v0.1.1...v0.2.0