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

BAC-296: update Client.Evaluate call to version 1.2alpha1 (breaking) #34

Merged
merged 1 commit into from
Jan 22, 2024

Commits on Jan 22, 2024

  1. update Client.Evaluate call to version 1.2alpha1 (breaking)

    this introduces a breaking change in `Evaluate` requiring users of
    this function to update as follows:
    ```
    Evaluate(items, calculations, data)
            ↓
    Evaluate(data).
        Items(items...).
        Calculations(calculations...)
    ```
    the type `AggregateMethod` has been updated as follows:
    ```
    AggregateMethod → TimeAggregationMethod
    ```
    with new value names:
    ```
    AggregateDefault          → TimeAggregationDefault
    AggregateCount            → TimeAggregationCount
    AggregateMin              → TimeAggregationMin
    AggregateMax              → TimeAggregationMax
    AggregateSum              → TimeAggregationSum
    AggregateAvg              → TimeAggregationAvg
    AggregateStateHistSeconds → TimeAggregationSeconds
    AggregateStateHistPercent → TimeAggregationPercent
    AggregateStateHistRate    → TimeAggregationRate
    ```
    the type `ItemAggregation` has been updated as follows:
    ```
    ItemAggregation → EvaluateItem
    ```
    magnusgohn committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    b0b1451 View commit details
    Browse the repository at this point in the history