You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
fix(lexicon-upgrade): 0.x-aware version bumping (breaking upstream shouldn't force pre-1.0 lexicons to 1.0.0) #549
computeBumpedVersion maps breaking → major. For a pre-1.0 lexicon this is wrong by semver convention: a breaking upstream spec change bumps a 0.x package straight to 1.0.0. Observed on the regenerated k8s upgrade PR #548 — a k8s v1.32→v1.36 spec bump (classified breaking due to required/optional flips) bumps @intentius/chant-lexicon-k8s0.13.1 → 1.0.0. 1.0.0 should signal intentional API stability of the lexicon itself, not track an upstream spec's breaking change.
Fix
Make computeBumpedVersion 0.x-aware:
While major is 0: breaking → minor (0.13.1 → 0.14.0), additive → patch (or minor — decide) — never auto-promote to 1.0.0.
At >= 1.0.0: keep breaking → major, additive → minor.
Promotion to 1.0.0 should be a deliberate human action, not automatic.
Acceptance criteria
A breaking upstream spec change on a 0.x lexicon bumps the minor, not the major.
>= 1.0.0 lexicons keep standard breaking→major / additive→minor.
Unit tests cover the 0.x and >=1.0 branches.
Note
Until this lands, pinned upgrade PRs for pre-1.0 lexicons will propose x.0.0-style bumps — review the version before merging.
Activity
fix(lexicon-upgrade): 0.x-aware version bumping (#569)
chore(aws): bump to 0.14.0 so the accepted drift can publish (#617)