Skip to content
This repository was archived by the owner on Oct 13, 2023. It is now read-only.

Commit 9c2c887

Browse files
authored
Merge pull request moby#37141 from thaJeztah/bump_api_v1_38
Update API version to v1 38
2 parents 80bfcc3 + a061b1e commit 9c2c887

File tree

4 files changed

+9
-6
lines changed

4 files changed

+9
-6
lines changed

api/common.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ package api // import "github.com/docker/docker/api"
33
// Common constants for daemon and client.
44
const (
55
// DefaultVersion of Current REST API
6-
DefaultVersion = "1.37"
6+
DefaultVersion = "1.38"
77

88
// NoBaseImageSpecifier is the symbol used by the FROM
99
// command to specify that no base image is to be used.

api/swagger.yaml

+4-4
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,10 @@ produces:
1919
consumes:
2020
- "application/json"
2121
- "text/plain"
22-
basePath: "/v1.37"
22+
basePath: "/v1.38"
2323
info:
2424
title: "Docker Engine API"
25-
version: "1.37"
25+
version: "1.38"
2626
x-logo:
2727
url: "https://docs.docker.com/images/logo-docker-main.png"
2828
description: |
@@ -49,8 +49,8 @@ info:
4949
the URL is not supported by the daemon, a HTTP `400 Bad Request` error message
5050
is returned.
5151
52-
If you omit the version-prefix, the current version of the API (v1.37) is used.
53-
For example, calling `/info` is the same as calling `/v1.37/info`. Using the
52+
If you omit the version-prefix, the current version of the API (v1.38) is used.
53+
For example, calling `/info` is the same as calling `/v1.38/info`. Using the
5454
API without a version-prefix is deprecated and will be removed in a future release.
5555
5656
Engine releases in the near future should support this version of the API,

docs/api/version-history.md

+3
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@ keywords: "API, Docker, rcli, REST, documentation"
1515

1616
## V1.38 API changes
1717

18+
[Docker Engine API v1.38](https://docs.docker.com/engine/api/v1.38/) documentation
19+
20+
1821
* `GET /tasks` and `GET /tasks/{id}` now return a `NetworkAttachmentSpec` field,
1922
containing the `ContainerID` for non-service containers connected to "attachable"
2023
swarm-scoped networks.

integration/build/build_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ func TestBuildMultiStageParentConfig(t *testing.T) {
175175

176176
// Test cases in #36996
177177
func TestBuildLabelWithTargets(t *testing.T) {
178-
skip.If(t, versions.LessThan(testEnv.DaemonAPIVersion(), "1.37"), "test added after 1.37")
178+
skip.If(t, versions.LessThan(testEnv.DaemonAPIVersion(), "1.38"), "test added after 1.38")
179179
bldName := "build-a"
180180
testLabels := map[string]string{
181181
"foo": "bar",

0 commit comments

Comments
 (0)