Skip to content

Commit 7ab1f2c

Browse files
chore(main): release 0.4.0
1 parent 8c6c5ec commit 7ab1f2c

4 files changed

Lines changed: 17 additions & 3 deletions

File tree

.release-please-manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
".": "0.3.2"
2+
".": "0.4.0"
33
}

CHANGELOG.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,20 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1212
* **image inspect:** `mocker image inspect` and `mocker inspect --type=image` now return Docker-compatible `ImageInspect` JSON arrays with PascalCase keys instead of the previous lowercase `ImageInfo` object shape.
1313
* **MockerKit:** `ImageManager.inspect(_:platform:)` returns `ImageInspect` instead of `ImageInfo`.
1414

15+
## [0.4.0](https://github.com/us/mocker/compare/v0.3.2...v0.4.0) (2026-06-16)
16+
17+
18+
### ⚠ BREAKING CHANGES
19+
20+
* image inspect output now uses the Docker ImageInspect shape — a JSON array of objects with PascalCase keys (Id, RepoTags, Created, Size, Config, RootFS, ...) instead of a single object with lowercase keys (id, repository, tag, size, created, labels). The Id field now reports the image config digest (Docker parity) rather than the index digest, so it differs from 'mocker images'. MockerKit consumers: ImageManager.inspect(_:) now returns ImageInspect (was ImageInfo) and takes an optional platform: argument.
21+
22+
### Bug Fixes
23+
24+
* add Docker-compatible ImageInspect model and mapping ([aa318d5](https://github.com/us/mocker/commit/aa318d538cf7b7128ccb8b5cb12487971914c9d9))
25+
* address image inspect review feedback ([8c6c5ec](https://github.com/us/mocker/commit/8c6c5ec3af2df20366b81eeefa84f53b87df7c3c))
26+
* **compose:** forward published ports ([#19](https://github.com/us/mocker/issues/19)) and accept -f before subcommand ([#21](https://github.com/us/mocker/issues/21)) ([#22](https://github.com/us/mocker/issues/22)) ([5255e50](https://github.com/us/mocker/commit/5255e503044246c80d6076f008f2dc4ac6d0e323))
27+
* make image inspect Docker-compatible and honor --type ([2b80af3](https://github.com/us/mocker/commit/2b80af3862298a5f66dfa5332b88f4b62f673772))
28+
1529
## [0.3.2](https://github.com/us/mocker/compare/v0.3.1...v0.3.2) (2026-06-11)
1630

1731

Sources/Mocker/Commands/Version.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ struct Version: AsyncParsableCommand {
77
)
88

99
// x-release-please-start-version
10-
static let currentVersion = "0.3.2"
10+
static let currentVersion = "0.4.0"
1111
// x-release-please-end
1212

1313
@Option(name: .shortAndLong, help: "Format output using a custom template")

Tests/MockerTests/CLITests.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ struct CLITests {
99
let version = Version.currentVersion
1010
#expect(!version.isEmpty)
1111
// x-release-please-start-version
12-
#expect(version == "0.3.2")
12+
#expect(version == "0.4.0")
1313
// x-release-please-end
1414
}
1515

0 commit comments

Comments
 (0)