- Add
application/json
to the list of acceptable response formats from registries to fix Artifactory returning 406 Not Acceptable errors when application/vnd.docker.distribution.manifest.v2+json is requested on the tags endpoint
- Add
auto_paginate
option toDockerRegistry2::Registry#tags
. When set to true (as a keyword argument) the client will automatically paginate through responses from the client to return a list of all tags
- Use DockerRegistry2::NotFound in unauthenticated request calls
- Use DockerRegistry2::NotFound in basic request calls (as well as bearer ones)
- New DockerRegistry2::NotFound exceptions
- Add basic tests
- Add support for both v1 and v2 schemas thanks to https://github.com/lehn-etracker
- Add shorter default timeouts. Previously, the RestClient default of 60 seconds was used for both open_timeout and read_timeout. Now, those values are set at 2 seconds and 5 seconds, respectively.
- Move
ping
call fromDockerRegistry2::Registry.new
toDockerRegistry2.connect
, to allow a registry to be initialized without a ping.