Skip to content

Commit

Permalink
Merge pull request moby#47651 from vvoland/api-bump
Browse files Browse the repository at this point in the history
API: bump version to 1.46
  • Loading branch information
vvoland committed May 7, 2024
2 parents 9314eaf + 8bbba63 commit 8e14f27
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion api/common.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package api // import "github.com/docker/docker/api"
// Common constants for daemon and client.
const (
// DefaultVersion of the current REST API.
DefaultVersion = "1.45"
DefaultVersion = "1.46"

// MinSupportedAPIVersion is the minimum API version that can be supported
// by the API server, specified as "major.minor". Note that the daemon
Expand Down
8 changes: 4 additions & 4 deletions api/swagger.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@ produces:
consumes:
- "application/json"
- "text/plain"
basePath: "/v1.45"
basePath: "/v1.46"
info:
title: "Docker Engine API"
version: "1.45"
version: "1.46"
x-logo:
url: "https://docs.docker.com/assets/images/logo-docker-main.png"
description: |
Expand Down Expand Up @@ -55,8 +55,8 @@ info:
the URL is not supported by the daemon, a HTTP `400 Bad Request` error message
is returned.
If you omit the version-prefix, the current version of the API (v1.45) is used.
For example, calling `/info` is the same as calling `/v1.45/info`. Using the
If you omit the version-prefix, the current version of the API (v1.46) is used.
For example, calling `/info` is the same as calling `/v1.46/info`. Using the
API without a version-prefix is deprecated and will be removed in a future release.
Engine releases in the near future should support this version of the API,
Expand Down
2 changes: 2 additions & 0 deletions docs/api/version-history.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ keywords: "API, Docker, rcli, REST, documentation"
will be rejected.
-->

## v1.46 API changes

## v1.45 API changes

[Docker Engine API v1.45](https://docs.docker.com/engine/api/v1.45/) documentation
Expand Down

0 comments on commit 8e14f27

Please sign in to comment.