Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEATURE] Introduce SpecificationVersion class #431

Merged
merged 10 commits into from
Nov 28, 2022
Merged

Commits on Nov 24, 2022

  1. [FEATURE] Introduce SpecVersionUtil

    Introduce a utility module which handles SpecVersion
    comparators for an easier SpecVersion maintainance
    within the UI5 Tooling source code.
    This utility is a kind of semver compatibility layer which
    allows using semver functions with the SpecVersion
    typical format "Major.Minor".
    
    JIRA: CPOUI5FOUNDATION-224
    larskissel authored and RandomByte committed Nov 24, 2022
    Configuration menu
    Copy the full SHA
    0748ecf View commit details
    Browse the repository at this point in the history
  2. [INTERNAL] SpecVersionUtil: Transform to SpecVersionComparator class

    Add factory function to Specification class
    RandomByte committed Nov 24, 2022
    Configuration menu
    Copy the full SHA
    84807a4 View commit details
    Browse the repository at this point in the history
  3. [INTERNAL] SpecVersionComparator: Refactor static methods, add JSDoc

    Static methods now create an instance and always throw for unsupported
    versions (except isSupportedSpecVersion)
    RandomByte committed Nov 24, 2022
    Configuration menu
    Copy the full SHA
    af1b134 View commit details
    Browse the repository at this point in the history
  4. [INTERNAL] Update JSDoc

    RandomByte committed Nov 24, 2022
    Configuration menu
    Copy the full SHA
    8074615 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    1890a14 View commit details
    Browse the repository at this point in the history

Commits on Nov 25, 2022

  1. [INTERNAL] Apply suggestions from UA review

    Co-authored-by: Günter Klatt <57760635+KlattG@users.noreply.github.com>
    RandomByte and KlattG committed Nov 25, 2022
    Configuration menu
    Copy the full SHA
    e4c2433 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    22f62de View commit details
    Browse the repository at this point in the history

Commits on Nov 28, 2022

  1. Configuration menu
    Copy the full SHA
    7bd4c09 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    7630ad2 View commit details
    Browse the repository at this point in the history
  3. [INTERNAL] Rename SpecVersionComparator => SpecificationVersion

    Use it as the main representation of a specification version (instead of
    the raw string as before). This also helps motivate the use of the
    helper functions to compare the version. Which is the most common use of
    the specification version anyways.
    RandomByte committed Nov 28, 2022
    Configuration menu
    Copy the full SHA
    f1e97b7 View commit details
    Browse the repository at this point in the history