diff --git a/.versionbot/CHANGELOG.yml b/.versionbot/CHANGELOG.yml index 504ba12..ff2c786 100644 --- a/.versionbot/CHANGELOG.yml +++ b/.versionbot/CHANGELOG.yml @@ -1,3 +1,44 @@ +- commits: + - subject: Remove `cachefrom` from pull options + hash: babd4101761b10964e01cf4a922e75219d3debca + body: > + This option is not used by the [Docker + + API](https://docs.docker.com/engine/api/v1.43/#tag/Image/operation/ImageCreate). + + + As the cache can get really big, depending on how the cache list is + + obtained, this may mean sending a huge query string over the local + + network. There is good evidence to suggest that this could be the cause of + + balena-io/balena-cli#2165, which would cause the query string to over + + the 1MB limit set by [Golang's net/http server](https://pkg.go.dev/net/http#Server). + footer: + Change-type: patch + change-type: patch + author: Felipe Lalanne + nested: [] + - subject: Skip manifest query for intermediate build stages + hash: d5ad39b82ad698c850dadf049449ad3ef8627d5e + body: | + This removes unnecessary queries to the registry for intermediate + stage images in the dockerfile. Querying the registry for these images + would fail in the best case or could cause false positives in the worst + case. + + This commit adds an additional filter during parsing of the dockerfile + to remove any intermediate stages from the query list. + footer: + Change-type: patch + change-type: patch + author: Felipe Lalanne + nested: [] + version: 3.0.2 + title: "" + date: 2023-07-13T23:23:47.164Z - commits: - subject: Use native map where possible hash: cc549117b6a454a5b5893410a7a0352201b65377 diff --git a/CHANGELOG.md b/CHANGELOG.md index 9775f07..7b3f98a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,11 @@ All notable changes to this project will be documented in this file automatically by Versionist. DO NOT EDIT THIS FILE MANUALLY! This project adheres to [Semantic Versioning](http://semver.org/). +## 3.0.2 - 2023-07-13 + +* Remove `cachefrom` from pull options [Felipe Lalanne] +* Skip manifest query for intermediate build stages [Felipe Lalanne] + ## 3.0.1 - 2023-07-07 * Use native map where possible [Pagan Gazzard] diff --git a/package.json b/package.json index fc4dead..524000f 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@balena/compose", - "version": "3.0.1", + "version": "3.0.2", "description": "Complete toolkit to build docker-compose.yml files and optionally deploy them to balenaCloud", "main": "dist/index.js", "types": "dist/index.d.ts", @@ -93,6 +93,6 @@ "typed-error": "^3.2.1" }, "versionist": { - "publishedAt": "2023-07-07T16:25:41.351Z" + "publishedAt": "2023-07-13T23:23:47.295Z" } }