Skip to content

Feature: Latest Patch Release Resolution for Major Version ReferencesΒ #1454

@tfactor2

Description

@tfactor2

Currently, when specifying a major version in .sdkmanrc (e.g., java=21-tem), it remains fixed and doesn't automatically update when new patch releases become available.
We request adding functionality for major version references to automatically resolve to the latest patch release (e.g., java=21-tem would use 21.0.7-tem instead of just 21-tem).

This would:

  • Eliminate the need to manually update .sdkmanrc files for security patches.
  • Expected behaviour (subjective but at least aligns with Docker's image versioning behavior).
  • Reduce maintenance overhead across multiple projects.

An option to toggle this behavior would be ideal for teams with different preferences.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions