Skip to content

Commit

Permalink
chore(release): 2.1.0 [skip ci]
Browse files Browse the repository at this point in the history
## [2.1.0](v2.0.4...v2.1.0) (2024-07-09)

### Features

* Add change type for statistics ([#555](#555)) ([608fbe5](608fbe5)), closes [#552](#552)
* **locales:** Support for new locales ([2fca527](2fca527))
* **series:** Direct support for dashed lines ([29aad77](29aad77)), closes [#413](#413)
* **series:** hide specific serie in legend with `in_legend: false` ([12cb893](12cb893)), closes [#74](#74)
* **series:** support for `monotoneCubic` curves ([998cb99](998cb99))
* **series:** Support for stack group of columns ([2935b4e](2935b4e)), closes [#673](#673) [#550](#550)
* **statistics:** add weekly statistics period ([#680](#680)) ([e923126](e923126))
* support for server time ([55c8f97](55c8f97)), closes [#709](#709) [#579](#579)

### Bug Fixes

* `extremas` with `time_delta` would generate wrong results ([f7ab3e8](f7ab3e8)), closes [#713](#713)
* display was wrong when using server time + serie offset ([84357f9](84357f9)), closes [#579](#579)
* **series:** fix `in_legend` for apexcharts.js v3.50.0 ([221b0a5](221b0a5))
  • Loading branch information
semantic-release-bot committed Jul 9, 2024
1 parent 221b0a5 commit 4828d48
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 7 deletions.
21 changes: 21 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,24 @@
## [2.1.0](https://github.com/RomRider/apexcharts-card/compare/v2.0.4...v2.1.0) (2024-07-09)


### Features

* Add change type for statistics ([#555](https://github.com/RomRider/apexcharts-card/issues/555)) ([608fbe5](https://github.com/RomRider/apexcharts-card/commit/608fbe577672752177a9b000c692e120b844f9f3)), closes [#552](https://github.com/RomRider/apexcharts-card/issues/552)
* **locales:** Support for new locales ([2fca527](https://github.com/RomRider/apexcharts-card/commit/2fca527345e0ec7cc4072903cbd1089fe40a2b66))
* **series:** Direct support for dashed lines ([29aad77](https://github.com/RomRider/apexcharts-card/commit/29aad77ef1d2bedbc04c507d2319ed1f6f764f23)), closes [#413](https://github.com/RomRider/apexcharts-card/issues/413)
* **series:** hide specific serie in legend with `in_legend: false` ([12cb893](https://github.com/RomRider/apexcharts-card/commit/12cb8933270eb133aece07938acef6fec70ff58d)), closes [#74](https://github.com/RomRider/apexcharts-card/issues/74)
* **series:** support for `monotoneCubic` curves ([998cb99](https://github.com/RomRider/apexcharts-card/commit/998cb994b6c8295b430fb138c54d1a9e30e7506a))
* **series:** Support for stack group of columns ([2935b4e](https://github.com/RomRider/apexcharts-card/commit/2935b4efb73d67014b8043c369e089ce692dfc24)), closes [#673](https://github.com/RomRider/apexcharts-card/issues/673) [#550](https://github.com/RomRider/apexcharts-card/issues/550)
* **statistics:** add weekly statistics period ([#680](https://github.com/RomRider/apexcharts-card/issues/680)) ([e923126](https://github.com/RomRider/apexcharts-card/commit/e923126d162b49a344a673df8cd413078d48adf0))
* support for server time ([55c8f97](https://github.com/RomRider/apexcharts-card/commit/55c8f9720bd3ddcf37a7a9f8c8f9d4609bc1c728)), closes [#709](https://github.com/RomRider/apexcharts-card/issues/709) [#579](https://github.com/RomRider/apexcharts-card/issues/579)


### Bug Fixes

* `extremas` with `time_delta` would generate wrong results ([f7ab3e8](https://github.com/RomRider/apexcharts-card/commit/f7ab3e808a577d0ea6a6d9e3b76d386ab761e43c)), closes [#713](https://github.com/RomRider/apexcharts-card/issues/713)
* display was wrong when using server time + serie offset ([84357f9](https://github.com/RomRider/apexcharts-card/commit/84357f9bc85a7111e73ec6aa2c91a402d90cbfc8)), closes [#579](https://github.com/RomRider/apexcharts-card/issues/579)
* **series:** fix `in_legend` for apexcharts.js v3.50.0 ([221b0a5](https://github.com/RomRider/apexcharts-card/commit/221b0a50ad46e47050653ba0ee4a544a3fb3a6df))

## [2.1.0-dev.4](https://github.com/RomRider/apexcharts-card/compare/v2.1.0-dev.3...v2.1.0-dev.4) (2024-07-09)


Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ This card is available in [HACS](https://hacs.xyz/) (Home Assistant Community St
2. Grab `apexcharts-card.js`:

```
$ wget https://github.com/RomRider/apexcharts-card/releases/download/v2.0.4/apexcharts-card.js
$ wget https://github.com/RomRider/apexcharts-card/releases/download/v2.1.0/apexcharts-card.js
```

3. Add the resource reference as decribed below.
Expand All @@ -99,7 +99,7 @@ If you configure Lovelace via YAML, add a reference to `apexcharts-card.js` insi

```yaml
resources:
- url: /local/apexcharts-card.js?v=2.0.4
- url: /local/apexcharts-card.js?v=2.1.0
type: module
```
Expand Down Expand Up @@ -162,11 +162,11 @@ The card stricly validates all the options available (but not for the `apex_conf
| :white_check_mark: `entity` | string | | v1.0.0 | The `entity_id` of the sensor to display |
| `attribute` | string | | v1.4.0 | Instead of retrieving the state, it will retrieve an `attribute` of the entity. Make sure you increase `update_delay` if the chart doesn't reflect the last value of the attribute |
| `name` | string | | v1.0.0 | Override the name of the entity |
| `stack_group` | string | | NEXT_VERSION | When `stacked` is `true`, groups the different series with the name `stack_group` together. Only works for `type: column`. All series' names need to be be unique because of a bug in apexcharts.js |
| `stack_group` | string | | v2.1.0 | When `stacked` is `true`, groups the different series with the name `stack_group` together. Only works for `type: column`. All series' names need to be be unique because of a bug in apexcharts.js |
| `color` | string | | v1.1.0 | Color of the serie. Supported formats: `yellow`, `#aabbcc`, `rgb(128, 128, 128)` or `var(--css-color-variable)` |
| `opacity` | number | `0.7` for `area`<br/>else `1` | v1.6.0 | The opacity of the line or filled area, between `0` and `1` |
| `stroke_width` | number | `5` | v1.6.0 | Change the width of the line. Only works for `area` and `line` |
| `stroke_dash` | number | `0` | NEXT_VERSION | Creates a dashed line. The higher the number, the bigger the dash. |
| `stroke_dash` | number | `0` | v2.1.0 | Creates a dashed line. The higher the number, the bigger the dash. |
| `type` | string | `line` | v1.0.0 | `line`, `area` or `column` are supported for now |
| `curve` | string | `smooth` | v1.0.0 | `smooth` (nice curve), `straight` (direct line between points) or `stepline` (flat line until next point then straight up or down), `monotoneCubic` (create a monotone cubic spline) |
| ~~`extend_to_end`~~ | ~~boolean~~ | ~~`true`~~ | ~~v1.0.0~~ | **DEPRECATED since v2.0.0** ~~If the last data is older than the end time displayed on the graph, setting to true will extend the value until the end of the timeline. Only works for `line` and `area` types.~~ |
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "apexcharts-card",
"version": "2.1.0-dev.4",
"version": "2.1.0",
"description": "A Home Assistant Lovelace card using ApexCharts to render graphs",
"main": "src/apexcharts-card.ts",
"scripts": {
Expand Down

0 comments on commit 4828d48

Please sign in to comment.