Skip to content

fix(presets): fix javaLTSVersions not preserving partial semver for mise Java versions - #44899

Open
jonahsnider wants to merge 1 commit into
renovatebot:mainfrom
jonahsnider:fix-mise-partial-semver
Open

fix(presets): fix javaLTSVersions not preserving partial semver for mise Java versions#44899
jonahsnider wants to merge 1 commit into
renovatebot:mainfrom
jonahsnider:fix-mise-partial-semver

Conversation

@jonahsnider

Copy link
Copy Markdown
Contributor

Changes

#41179 makes it so a mise config of

[tools]
java = "temurin-21"

doesn't get expanded to

java = "temurin-21.0.12+8.0.LTS"

But the javaLTSVersions workaround preset was overwriting that behavior, which meant Java installs managed by mise would be rewritten to have a pinned version by Renovate. This PR updates workaround.preset.ts so that rolling versions are not upgraded to full-precision versions.

Context

Please select one of the following:

  • This closes an existing Issue
  • This doesn't close an Issue, but I accept the risk that this PR may be closed if maintainers disagree with its opening or implementation

AI assistance disclosure

Did you use AI tools to create any part of this pull request?

Please select one option and, if yes, briefly describe how AI was used (e.g., code, tests, docs) and which tool(s) you used.

  • No — I did not use AI for this contribution.
  • Yes — minimal assistance (e.g., IDE autocomplete, small code completions, grammar fixes).
  • Yes — substantive assistance (AI-generated non‑trivial portions of code, tests, or documentation).
  • Yes — other (please describe):

Documentation (please check one with an [x])

  • I have updated the documentation, or
  • No documentation update is required

How I've tested my work (please select one)

I have verified these changes via:

  • Code inspection only, or
  • Newly added/modified unit tests, or
  • No unit tests, but ran on a real repository, or
  • Both unit tests + ran on a real repository

…ise Java versions

Signed-off-by: Jonah Snider <jonah@jonahsnider.com>
@github-actions
github-actions Bot requested a review from viceice July 27, 2026 23:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant