Skip to content

Commit

Permalink
chore(release): 1.0.0 [skip ci]
Browse files Browse the repository at this point in the history
## 1.0.0 (2024-05-14)

### ⚠ BREAKING CHANGES

* `extend_to_end` has been removed and replaced by `extend_to` with support for `now` and `end`.
* Replace `hours_to_show` with `graph_span`. Takes a time string instead of a number of hours.

### Features

* `extend_to` replaces `extend_to_end` with new options ([4bb1dd2](4bb1dd2)), closes [RomRider#318](https://github.com/georgepauna/apexcharts-card/issues/318)
* **actions:** `header_actions` support for actions in header ([RomRider#171](https://github.com/georgepauna/apexcharts-card/issues/171)) ([bd6a497](bd6a497)), closes [RomRider#61](https://github.com/georgepauna/apexcharts-card/issues/61)
* Add `update_interval` config option ([357db9a](357db9a)), closes [RomRider#2](https://github.com/georgepauna/apexcharts-card/issues/2)
* Add delta and median function ([4a77e55](4a77e55))
* Add spinner while data is loading ([39d4b8e](39d4b8e))
* add state type to long term statistics ([RomRider#329](https://github.com/georgepauna/apexcharts-card/issues/329)) ([3fad4f0](3fad4f0))
* add stroke_width and experimental color_threshold/disable_config_validation ([fcdfa88](fcdfa88)), closes [RomRider#58](https://github.com/georgepauna/apexcharts-card/issues/58)
* **apex_config:** Support for functions in `apex_config` ([cebc03b](cebc03b)), closes [RomRider#81](https://github.com/georgepauna/apexcharts-card/issues/81)
* Apply a `time_delta` to all the datapoints of your serie ([435e381](435e381)), closes [RomRider#277](https://github.com/georgepauna/apexcharts-card/issues/277)
* Better cache handling ([RomRider#1](https://github.com/georgepauna/apexcharts-card/issues/1)) ([804415f](804415f))
* Bring back `hours_12` from the dead ([676bdb7](676bdb7))
* **brush:** Support for a timeframe selection chart ([RomRider#102](https://github.com/georgepauna/apexcharts-card/issues/102)) ([c8dedf7](c8dedf7))
* **cache:** Invalidate cache on every new card version ([RomRider#12](https://github.com/georgepauna/apexcharts-card/issues/12)) ([b1799d9](b1799d9))
* **card:** Support for pre-defined layouts ([c5987f8](c5987f8))
* **color:** Define your own `color` option for each `serie` ([RomRider#7](https://github.com/georgepauna/apexcharts-card/issues/7)) ([3a15db2](3a15db2)), closes [RomRider#4](https://github.com/georgepauna/apexcharts-card/issues/4)
* **config_tpl:** Create a config template and use it everywhere with `config_templates`, apply the same config to every series with `all_series_config` and add `color_list` to define your color list in one shot ([RomRider#64](https://github.com/georgepauna/apexcharts-card/issues/64)) ([17004a3](17004a3))
* **data_generator:** Build your own data based on the last state and attributes of your entity ([RomRider#14](https://github.com/georgepauna/apexcharts-card/issues/14)) ([18284b5](18284b5)), closes [RomRider#6](https://github.com/georgepauna/apexcharts-card/issues/6)
* **datalabels:** Option to display total when chart is stacked ([RomRider#75](https://github.com/georgepauna/apexcharts-card/issues/75)) ([e1c5b01](e1c5b01)), closes [RomRider#73](https://github.com/georgepauna/apexcharts-card/issues/73)
* Define your own float precision for legend, tooltip and Y axis ([7b0f30f](7b0f30f))
* display only the min or max extrema ([3db982b](3db982b)), closes [RomRider#319](https://github.com/georgepauna/apexcharts-card/issues/319)
* display the chart's last update time using `last_updated` ([2dd84ff](2dd84ff))
* Display warning if sensor doesn't exist ([a69df3d](a69df3d))
* **editor:** Preview in the GUI card selector ([d4cd7a3](d4cd7a3))
* **experimental:** `hidden_by_default` to toggle series on load ([RomRider#62](https://github.com/georgepauna/apexcharts-card/issues/62)) ([63717b7](63717b7)), closes [RomRider#60](https://github.com/georgepauna/apexcharts-card/issues/60)
* **experimental:** Header color can now follow `color_threshold` ([RomRider#88](https://github.com/georgepauna/apexcharts-card/issues/88)) ([074bfc3](074bfc3)), closes [RomRider#78](https://github.com/georgepauna/apexcharts-card/issues/78)
* **extremas:** Display the time on top of your extremas ([RomRider#97](https://github.com/georgepauna/apexcharts-card/issues/97)) ([d127b37](d127b37))
* Floating header ([1eccee8](1eccee8))
* follow Home Assistant number format ([9204de2](9204de2)), closes [RomRider#307](https://github.com/georgepauna/apexcharts-card/issues/307)
* **graph:** Extends graph's last value to the current time ([bfe64c5](bfe64c5))
* **graph:** New chart types `scatter`, `donut`, `pie` and `radialBar` ([RomRider#24](https://github.com/georgepauna/apexcharts-card/issues/24)) ([a0e4f85](a0e4f85))
* **group_by:** Add more functions and fix buckets ([c7324e0](c7324e0))
* **group_by:** Add new `diff` function ([57fd6a6](57fd6a6))
* **group_by:** With `start_with_last`, each bucket will start with the last data from the previous bucket ([8669411](8669411))
* **header:** More header options and title support ([RomRider#8](https://github.com/georgepauna/apexcharts-card/issues/8)) ([2cbd769](2cbd769)), closes [RomRider#5](https://github.com/georgepauna/apexcharts-card/issues/5)
* **header:** Standard header title home-assistant format using `standard_format` ([35c5391](35c5391)), closes [RomRider#35](https://github.com/georgepauna/apexcharts-card/issues/35)
* Initial support for aggregating data ([13dfd89](13dfd89))
* **invert:** Negates/Inverts the data for a serie ([RomRider#13](https://github.com/georgepauna/apexcharts-card/issues/13)) ([ab793c5](ab793c5))
* **locale:** Inherit locale from Home-Assistant, deprecate `hours_12` ([RomRider#70](https://github.com/georgepauna/apexcharts-card/issues/70)) ([af2d201](af2d201)), closes [RomRider#68](https://github.com/georgepauna/apexcharts-card/issues/68)
* make datagenerator async ([RomRider#157](https://github.com/georgepauna/apexcharts-card/issues/157)) ([b9049fc](b9049fc))
* Native multi y-axis support with auto-scale ([RomRider#160](https://github.com/georgepauna/apexcharts-card/issues/160)) ([e08aa14](e08aa14)), closes [RomRider#158](https://github.com/georgepauna/apexcharts-card/issues/158)
* **now:** Add a marker at the current time on the chart ([9b6b83d](9b6b83d)), closes [RomRider#44](https://github.com/georgepauna/apexcharts-card/issues/44)
* pie/donut now shows the value of the serie instead of the percentage. Old behavior with `datalabels: percent` ([7591aba](7591aba))
* Replace `hours_to_show` with `graph_span`. Takes a time string instead of a number of hours. ([e7ed408](e7ed408))
* **series.offset:** Compare data from another timeframe with the current timeframe ([RomRider#19](https://github.com/georgepauna/apexcharts-card/issues/19)) ([af8ba81](af8ba81)), closes [RomRider#18](https://github.com/georgepauna/apexcharts-card/issues/18)
* **series.show:** Display the value before/after the current time in the header ([2855403](2855403)), closes [RomRider#86](https://github.com/georgepauna/apexcharts-card/issues/86)
* **series.show:** Display your serie's extremas on the chart ([RomRider#85](https://github.com/georgepauna/apexcharts-card/issues/85)) ([f64169a](f64169a))
* **series.show:** Hide the name of a serie in the header ([b20133d](b20133d)), closes [RomRider#111](https://github.com/georgepauna/apexcharts-card/issues/111)
* **series.show:** Hide the offset from the name of the serie ([a46c3f0](a46c3f0)), closes [RomRider#112](https://github.com/georgepauna/apexcharts-card/issues/112)
* **series.show:** Option to show the raw data in the header ([RomRider#76](https://github.com/georgepauna/apexcharts-card/issues/76)) ([87b56f5](87b56f5)), closes [RomRider#69](https://github.com/georgepauna/apexcharts-card/issues/69)
* **series.show:** Show/hide dataLabels per serie ([9e28db3](9e28db3))
* **series:** `transform` the data the way you want ([RomRider#45](https://github.com/georgepauna/apexcharts-card/issues/45)) ([1cb6bb5](1cb6bb5))
* **series:** Define the `opacity` of the line or area ([8dfb3fd](8dfb3fd)), closes [RomRider#57](https://github.com/georgepauna/apexcharts-card/issues/57)
* **series:** Display values as a duration ([RomRider#21](https://github.com/georgepauna/apexcharts-card/issues/21)) ([227f0ea](227f0ea))
* **series:** Hide the value of a serie in the legend ([RomRider#22](https://github.com/georgepauna/apexcharts-card/issues/22)) ([1e8f748](1e8f748)), closes [RomRider#20](https://github.com/georgepauna/apexcharts-card/issues/20)
* **series:** New `fill_raw` option to fill missing data in raw history ([e2433b6](e2433b6))
* **series:** Retrieve an attribute of your entity instead of the state ([RomRider#32](https://github.com/georgepauna/apexcharts-card/issues/32)) ([b76bf16](b76bf16)), closes [RomRider#29](https://github.com/georgepauna/apexcharts-card/issues/29)
* **series:** Show/Hide a specific serie from the header or the graph ([RomRider#36](https://github.com/georgepauna/apexcharts-card/issues/36)) ([95c0433](95c0433))
* Show value in legend ([869a7f8](869a7f8))
* soft bounds and extended bounds for yaxis min/max ([RomRider#161](https://github.com/georgepauna/apexcharts-card/issues/161)) ([c57278b](c57278b))
* **span:** Add `end` as an option to end the graph at the end of the day, minute, etc... ([RomRider#11](https://github.com/georgepauna/apexcharts-card/issues/11)) ([1d0aca8](1d0aca8))
* **span:** Add support for `isoWeek` ([7abc750](7abc750)), closes [RomRider#106](https://github.com/georgepauna/apexcharts-card/issues/106)
* **span:** Display the graph from the start of the hour, day, month,… with an offset or not ([RomRider#10](https://github.com/georgepauna/apexcharts-card/issues/10)) ([bb6e88c](bb6e88c))
* support actions on the title with `title_actions` ([a9f406e](a9f406e)), closes [RomRider#323](https://github.com/georgepauna/apexcharts-card/issues/323)
* Support for 12-hour format ([RomRider#55](https://github.com/georgepauna/apexcharts-card/issues/55)) ([f38a18e](f38a18e)), closes [RomRider#48](https://github.com/georgepauna/apexcharts-card/issues/48) [RomRider#53](https://github.com/georgepauna/apexcharts-card/issues/53)
* Support for all ApexCharts options ([03efa8d](03efa8d))
* Support for auto-entities ([060e4c0](060e4c0))
* Support for HA long-term statistics ([RomRider#208](https://github.com/georgepauna/apexcharts-card/issues/208)) ([29aaa7c](29aaa7c)), closes [RomRider#308](https://github.com/georgepauna/apexcharts-card/issues/308)
* Support for header ([c5a8ee2](c5a8ee2))
* **transform:** Provide the full state as `entity` to the function ([RomRider#77](https://github.com/georgepauna/apexcharts-card/issues/77)) ([9919c10](9919c10)), closes [RomRider#71](https://github.com/georgepauna/apexcharts-card/issues/71)
* update from lit-html/lit-element to lit ([5a7d944](5a7d944))
* uses the time format defined in Home Assistant user profile ([78df800](78df800)), closes [RomRider#213](https://github.com/georgepauna/apexcharts-card/issues/213)
* **yaxis:** `id` and `yaxis_id` no longer needed with only 1 yaxis defined ([e5e8904](e5e8904))
* **yaxis:** Align the extremas to the closest `align_to`  value. ([a46c812](a46c812)), closes [RomRider#170](https://github.com/georgepauna/apexcharts-card/issues/170)
* **yaxis:** Set the number of decimals shown on the yaxis. Deprecate `y_axis_precision`. ([33fc474](33fc474)), closes [RomRider#164](https://github.com/georgepauna/apexcharts-card/issues/164)

### Bug Fixes

* `bar` should be `column` ([ff188ee](ff188ee))
* `group_by` was extending values into the future ([2cb79d2](2cb79d2))
* `group_by` would sometimes not work with `data_generator` ([cfa6871](cfa6871))
* `last_updated` date format was not following the configuration ([3dd4904](3dd4904))
* `update_interval` was broken ([31d2fb7](31d2fb7))
* 1st color was not using transparency ([77a9c8d](77a9c8d))
* actually really fix the issue with HA 2023.4 beta and above ([972f2c0](972f2c0)), closes [RomRider#529](https://github.com/georgepauna/apexcharts-card/issues/529)
* always get all state changes, not only significant ones ([3b2f9c8](3b2f9c8))
* annotations with time were not following the time format configuration ([5d08853](5d08853))
* another caching issue with statistics ([b93ee75](b93ee75))
* **axis:** X and Y Axis Tooltip color matches theme ([fb717ef](fb717ef))
* bug introduced by 591add ([b9c9297](b9c9297))
* **build:** Missing dependancy ([7d7d637](7d7d637))
* **build:** Remove comments from build ([268ef77](268ef77))
* caching issue for statistics ([8daff2f](8daff2f))
* card broken with HA 2023.4.0bXX and above ([e1aaf69](e1aaf69)), closes [RomRider#527](https://github.com/georgepauna/apexcharts-card/issues/527)
* Chart not displayed properly or at all with layout-card ([e5840fb](e5840fb)), closes [RomRider#121](https://github.com/georgepauna/apexcharts-card/issues/121)
* color with alpha would render area opaque ([100b6d4](100b6d4))
* color_threshold would sometimes render weirdly ([d7063a5](d7063a5)), closes [RomRider#177](https://github.com/georgepauna/apexcharts-card/issues/177)
* **color_threshold:** opacity for color_threshold ([5a325f4](5a325f4))
* **color_threshold:** Sometimes it would break the card ([65b5419](65b5419))
* **colorize_states:** Parameter was not applied ([28bb2e2](28bb2e2))
* **config_templates:** Was supposed to support a string ([f36d9b1](f36d9b1)), closes [RomRider#87](https://github.com/georgepauna/apexcharts-card/issues/87)
* **config:** `style` was not a valid config option (card-mod/picture-element) ([0a38778](0a38778)), closes [RomRider#15](https://github.com/georgepauna/apexcharts-card/issues/15)
* dataLabels would not follow `float_precision` ([cf9b63a](cf9b63a)), closes [RomRider#54](https://github.com/georgepauna/apexcharts-card/issues/54)
* **datalabels:** Truncate floats to 1 digit after the decimal point ([f5f744f](f5f744f))
* Disable support for colors with alpha channel ([RomRider#91](https://github.com/georgepauna/apexcharts-card/issues/91)) ([522363a](522363a)), closes [RomRider#90](https://github.com/georgepauna/apexcharts-card/issues/90)
* Display non inverted numbers in legend/tooltip/datalabels when `invert: true` ([331fe04](331fe04)), closes [RomRider#96](https://github.com/georgepauna/apexcharts-card/issues/96)
* Error was not displayed if duration couldn't be parsed ([2e2212f](2e2212f))
* extra space at bottom because of the card's action-handler ([533a784](533a784))
* extremas was not working with `invert: true` ([4d06ef6](4d06ef6)), closes [RomRider#96](https://github.com/georgepauna/apexcharts-card/issues/96)
* extremas would not display with offset applied on series ([4d7d77a](4d7d77a)), closes [RomRider#177](https://github.com/georgepauna/apexcharts-card/issues/177)
* **extremas:** Multi y-axis support ([RomRider#98](https://github.com/georgepauna/apexcharts-card/issues/98)) ([5c7d742](5c7d742)), closes [RomRider#89](https://github.com/georgepauna/apexcharts-card/issues/89)
* Float were not displayed in non-timeline charts ([e67d2d7](e67d2d7)), closes [RomRider#42](https://github.com/georgepauna/apexcharts-card/issues/42)
* Floats were not truncated properly for radialBar ([0c789ff](0c789ff)), closes [RomRider#174](https://github.com/georgepauna/apexcharts-card/issues/174)
* Friendly name wouldn't display anymore ([ef38724](ef38724))
* **func:** Filter `null` values in `diff` ([cfe736c](cfe736c))
* **func:** median was sometimes wrong ([c36dda7](c36dda7))
* Get rid of the initial load delay ([69f151b](69f151b))
* graph might be wrong when using `attributes` if value was 0 ([e200323](e200323))
* Graph stopped updating following ddf6ca9 ([bc54729](bc54729))
* **graph:** Loading message didn't appear ([ce3c45c](ce3c45c))
* **graph:** Not displaying the latest state in graph ([280e328](280e328))
* **group_by:** `group_by` reporting erronerous values for the first bucket of data ([8303b84](8303b84)), closes [RomRider#110](https://github.com/georgepauna/apexcharts-card/issues/110)
* **group_by:** When group_by was used with lines, the end of the chart was showing an empty slot (display bug only) ([0163f9e](0163f9e))
* header units for `radialBar` ([6883a8f](6883a8f)), closes [RomRider#105](https://github.com/georgepauna/apexcharts-card/issues/105)
* **header:** Hide unit when `as_duration` is used ([5686931](5686931))
* **header:** State was sometimes multi-line ([4187104](4187104))
* **header:** Unit would sometimes be on a new line ([92fad1b](92fad1b))
* hidden by default would not work without a name ([9c75ce8](9c75ce8)), closes [RomRider#280](https://github.com/georgepauna/apexcharts-card/issues/280)
* history data could be modified in some rare cases ([d38fd6e](d38fd6e))
* Home Assistant API deprecation warning ([1449c7f](1449c7f)), closes [RomRider#417](https://github.com/georgepauna/apexcharts-card/issues/417)
* Ignore recorder when not required ([c28a7a6](c28a7a6)), closes [RomRider#169](https://github.com/georgepauna/apexcharts-card/issues/169)
* **in_header:** `after/before_now` not working with offsetted series ([960b43c](960b43c))
* last caching issue with statistics ([2e528f7](2e528f7))
* Last computed history data shouldn't be null ([ec875d5](ec875d5))
* **legend:** Change ` - ` to `: ` between name and state ([4e3cdc6](4e3cdc6))
* **legend:** undefined was displayed for a hidden serie ([352c016](352c016))
* median function fails if it receives an empty table ([RomRider#316](https://github.com/georgepauna/apexcharts-card/issues/316)) ([12f8d2e](12f8d2e))
* Name and units displayed ([fe5526b](fe5526b))
* Not releasing file ([e1dc473](e1dc473))
* Optimize `extend_to_end` when used with `group_by` ([591add8](591add8))
* **series.offset:** Fix bug introduced by [RomRider#19](https://github.com/georgepauna/apexcharts-card/issues/19) ([f5c0d57](f5c0d57)), closes [RomRider#18](https://github.com/georgepauna/apexcharts-card/issues/18)
* Sometimes card would stay in warning mode ([ddf6ca9](ddf6ca9))
* Sometimes the graph was empty when changing tabs ([9232044](9232044))
* **start_with_last:** `start_with_last` would sometimes throw ([f5aa2e3](f5aa2e3))
* **style:** Better default styling of toolbar ([4d0ef1c](4d0ef1c)), closes [RomRider#16](https://github.com/georgepauna/apexcharts-card/issues/16)
* Support for `rgba` colors ([7ecfafd](7ecfafd))
* Support for card-mod >= 3.0 ([8348119](8348119)), closes [RomRider#104](https://github.com/georgepauna/apexcharts-card/issues/104)
* Support for custom views config parameters (`view_layout`) ([76a8023](76a8023))
* Support for fire-dom-event with browser-mod ([3dc9625](3dc9625)), closes [RomRider#196](https://github.com/georgepauna/apexcharts-card/issues/196)
* the hass object could sometimes be null ([ff27baf](ff27baf)), closes [RomRider#191](https://github.com/georgepauna/apexcharts-card/issues/191)
* Tooltip should not be in a fixed position ([1762049](1762049))
* **tooltip:** Use colors from the theme ([5c263f1](5c263f1))
* **tooltip:** Values where following the selected point ([0145ca2](0145ca2))
* truncate floats in total datalabels ([917a20a](917a20a)), closes [RomRider#73](https://github.com/georgepauna/apexcharts-card/issues/73)
* Update apexcharts.js to the the latest version ([dd0bf6f](dd0bf6f))
* When recorder was skipped, attributes were ignored ([15e5372](15e5372))
* Wrong labels in tooltip in some cases ([8f0aca1](8f0aca1))
* **xasis:** Better handling of graph end time if everything is `column` and `group_by` is enabled ([b5b85a6](b5b85a6))
* yaxis would always start at 0 ([50ef9e4](50ef9e4)), closes [RomRider#158](https://github.com/georgepauna/apexcharts-card/issues/158)
* **yaxis:** apex_config.yaxis was not taken into account properly ([ce04230](ce04230))
* **yaxis:** auto scale was not taking the serie's offset into account ([f82f7e0](f82f7e0)), closes [RomRider#172](https://github.com/georgepauna/apexcharts-card/issues/172)
* **yaxis:** Fixed + unfixed bounds on the same yaxis is now working ([f7e4668](f7e4668))

### Documentation

* `align_to` description update ([4471469](4471469))
* Add an example to change the line thickness ([fd4a495](fd4a495))
* Add examples and fix documentation ([c71b76a](c71b76a))
* Add more example ([ffaa5df](ffaa5df))
* Better info about month and year as offset units ([c194f87](c194f87)), closes [RomRider#65](https://github.com/georgepauna/apexcharts-card/issues/65)
* Card is now available in HACS by default ([1200abd](1200abd))
* **config_templates:** Fix wrong config example ([ea1fef4](ea1fef4))
* Fix ApexCharts link ([9394dee](9394dee))
* Fix error `data_generator` example ([6d1c7a0](6d1c7a0)), closes [RomRider#34](https://github.com/georgepauna/apexcharts-card/issues/34)
* Fix HACS doc (not yet available by default) ([53fece2](53fece2))
* fix some README glitches ([3dd8b48](3dd8b48))
* Fix some typos ([3df6aed](3df6aed))
* Fix typo in doc ([89ed3c5](89ed3c5))
* Fix typos and broken links ([7789b8f](7789b8f))
* Initial README release ([7a87694](7a87694))
* Missing `title` documentation in the header section ([ff7f35b](ff7f35b))
* Missing doc for `last_updated` ([93ae54a](93ae54a))
* Missing link to the `now` section ([9747257](9747257))
* Update README.md ([b9d49ab](b9d49ab))
  • Loading branch information
semantic-release-bot committed May 14, 2024
1 parent 9b8f1d5 commit 2a8f161
Show file tree
Hide file tree
Showing 4 changed files with 201 additions and 5 deletions.
Loading

0 comments on commit 2a8f161

Please sign in to comment.