Skip to content

Add support for components to specify a minimum required Commodore version #479

@simu

Description

@simu

Summary

As a component developer
I want to be able to specify a minimum Commodore version for my component
So that I can use the latest Commodore features

Context

For some features (most recently #446), it would be quite nice if components could specify that they need a minimum Commodore version, so that new features can be used safely and compiling such components with a Commodore version that's too old will result in a sensible error rather than a cryptic stack trace.

Out of Scope

  • TBD

Acceptance criteria

  • Commodore aborts compilation if it detects any components which require a newer version than its own version.

Implementation Ideas

  • Add optional field minimum_commodore_version (or similar) to component parameter _metadata. If the field is present, Commodore checks against its internal version and aborts compilation if the component requires a newer version than the current Commodore version.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions