From a9a1673a42c3a011d5df633c09a1fa7d32a05e40 Mon Sep 17 00:00:00 2001 From: Valentin Rothberg Date: Fri, 13 Nov 2020 09:54:34 +0100 Subject: [PATCH] v5.8.0 * pkg/shortnames * Finally, split configuration loading and merging * Reorder merging code in loadConfig to match field order in V2RegistriesConf * Remove "TODO: separate upper format from internal data below:" * Move shortNameMode from V2RegistriesConf to parsedConfig * Behavior change: Move unqualifiedSearchRegistriesOrigin to parsedConfig * Deprecate TryUpdatingCache return value, warn about parsedConfig.v2 * Some progress: Move aliasCache out of V2RegistriesConf to parsedConfig * Add a parsedConfig return value to loadConfigFile * Split shortNameAliasCache.updateWithConfigurationFrom from loadConfig * Move the creation of shortNameAliasCache to loadConfigFile * Rename shortNameAliasConf.parseAndValidate to newShortNameAliasCache * Move the allocation of an empty alias map to editShortNameAlias * Bump github.com/klauspost/compress from 1.11.1 to 1.11.2 * Split shortNameAliasCache from shortNameAliasConf * Split the error and success return paths of shortNameAliasConf.parseAndValidate * Sort Registries in V2RegistriesConf.postProcess * Make it clearer that .postProcessRegistries() is called on the V2RegistriesConf data * Make tomlConfig private * Split loadConfigFile from loadConfig * Make loadConfig a method on parsedConfig instead of tomlConfig * Introduce sysregistriesv2.parsedConfig, use it for configCache * Don't hard-code cache implementation details in tests * Add a test for correctly merging unqualified-search-registries * sysregistriesv2: short-name aliasing * Add GetDigest method to retrieve digest from manifest HEAD request * Fix misleading network error * Bump github.com/containers/storage from 1.23.6 to 1.23.7 * docs: update reference to containers-registeries.d.md Signed-off-by: Valentin Rothberg --- version/version.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/version/version.go b/version/version.go index 833d556e9..3ef1c2410 100644 --- a/version/version.go +++ b/version/version.go @@ -6,12 +6,12 @@ const ( // VersionMajor is for an API incompatible changes VersionMajor = 5 // VersionMinor is for functionality in a backwards-compatible manner - VersionMinor = 7 + VersionMinor = 8 // VersionPatch is for backwards-compatible bug fixes - VersionPatch = 1 + VersionPatch = 0 // VersionDev indicates development branch. Releases will be empty string. - VersionDev = "-dev" + VersionDev = "" ) // Version is the specification version that the package types support.