From e5e1b2e5c2105acd7b27cebdc6c1ae947bfb196c Mon Sep 17 00:00:00 2001 From: Lucas Bajolet Date: Thu, 21 Mar 2024 12:44:19 -0400 Subject: [PATCH] CHANGELOG: call out lexicographic version ordering Since v1.11.0 should fix the version ordering to work with semver comparison instead of reliying on glob (lexicographic), we should call out the problem in the CHANGELOG. --- CHANGELOG.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5a708ac1f56..5da2a31231a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -24,6 +24,14 @@ plugin binaries for the `build` and `validate` commands development plugin binaries. [GH-12828](https://github.com/hashicorp/packer/pull/12828) +### BUG FIXES: +* core: fix plugin version ordering to not be lexicographic. This fixes an issue + with how plugins are discovered by Packer, and ensures proper version ordering. + This means that with this change, versions that are semantically greater, + but lexicographically inferior will be loaded. + Ex: 1.0.9 vs. 1.0.10; `1.0.9 > 1.0.10` lexicographically, but semantically + `1.0.10 > 1.0.9` + ### IMPROVEMENTS: * core: Move to predictable plugin loading schema - Packer will now only load plugins stored under PACKER_PLUGIN_PATH using the expected namespaced