Skip to content

Commit

Permalink
CHANGELOG: call out lexicographic version ordering
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
lbajolet-hashicorp committed Mar 21, 2024
1 parent a8f8902 commit e5e1b2e
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e5e1b2e

Please sign in to comment.