From cde7a6f8ea29377a1866f5f9240da24305b6b21f Mon Sep 17 00:00:00 2001 From: Markus Meissner Date: Sun, 27 Feb 2022 10:49:36 +0100 Subject: [PATCH] bump version to v0.7.1 --- VERSION | 2 +- changelog.md | 108 +++++++++++++++++++++++++-------------------- flex-table-card.js | 2 +- 3 files changed, 62 insertions(+), 50 deletions(-) diff --git a/VERSION b/VERSION index eb49d7c..39e898a 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -0.7 +0.7.1 diff --git a/changelog.md b/changelog.md index 3ae0bbd..570e7ed 100644 --- a/changelog.md +++ b/changelog.md @@ -1,48 +1,16 @@ -## 0.0.1 -- initial commit, forked from entity-attribute-card -- The goal is to provide a flexible table visualization - for Lovelace. - -## 0.2 -- Functionality existing as initially planned: -- arbitrary number of columns -- regex based matching of anything that can be accessed through the hass-object (states, attributes, any properties of entities, anything that's visible) -- restrictions in rows possible `max_rows` -- sorting by chosen column available `sort_by` (ascending and descending) -- column(s) might be hidden (to realize a hidden sorting) `hidden` -- `strict` forces each row to be completly filled with matched content, if not the row will be dropped -- using `attr_as_list` allows easy data visualization from external sources, like `appdaemon` -- in "productive" use now, will shortly go in Version 1.0 - -## 0.3 -- added 'modify' to change cell/col contents using javascript's: eval() -- for 'prop' column contents 'object_id' and 'name' are made available to match: https://www.home-assistant.io/docs/configuration/state_object/ - -## 0.3.1 -- flex-table-card now part of 'custom-cards' organization - -## 0.3.2 -- exluding mulitple items fixed -- sort_by works now also with 'props' columns thx @andreassolberg -- regular expressions now concated and applied instead on after another -- lots of cleanups +## 0.7.1 +- entity.attributes.state now available through special data: '_state', fixes #51 +- docs: add example for multi include/exclude filtering; fixes #48 +- docs: add new special 'data' fields +- remove redundant 'text-align: left' from default 'thead th' style; fixes #52 +- allow 'icon' as data to show the entity's default icon - fixes: #68, addresses #63 +- remove pre/suffix whitespaces in multi-data-column selection 'parser'; fixes #42 +- introduce and revert more aggressive null-cell handling, need's a more robust approach -## 0.3.3 -- minor improvements, code tidyness, changes for clickable rows started - -## 0.4.0 -- now with 'clickable' rows to show the entity_id's popup dialog for further information -- more or less full re-write introducing DataTable and DataRow as data representation objects - -## 0.5.0 -- allow sorting for multiple `attr_as_list` columns by using an `id` -- added `align` param to set text-alignment within a column including the header -- added `suffix` to add units or similar static after the actualy contents -- added `prefix` which does what the name implies ;) -- smaller bugfixes like keeping the entity order consistent if no sorting is applied - -## 0.5.1 -- added `css` configuration parameter to allow arbitrary modifications of the used CSS styles. +## 0.7 +- BACKWARD COMPATIBILITY / DEPRECATION WARNING: 'data' is replacing **all** other `column` selectors + i.e., 'attr_as_list', 'prop', 'multi', 'attr' shall **not be used anymore**. Initially only a + console.log() warning will be shown, soon this will change to console.warn(), then console.error() ## 0.5.2 - added `icon` configuration for adding an icon to column headers @@ -58,6 +26,16 @@ one cell get concatenated, i.e., which delimiter is to be found between the chunks +## 0.5.1 +- added `css` configuration parameter to allow arbitrary modifications of the used CSS styles. + +## 0.5.0 +- allow sorting for multiple `attr_as_list` columns by using an `id` +- added `align` param to set text-alignment within a column including the header +- added `suffix` to add units or similar static after the actualy contents +- added `prefix` which does what the name implies ;) +- smaller bugfixes like keeping the entity order consistent if no sorting is applied + ## 0.6.1 - fixed #28 and #23, which mainly occured due to #24, which changed the "empty" behavior output of 'get_raw_data()' away from not-iterable 'null' to an empty Array @@ -68,7 +46,41 @@ - fixed #22: using now proper 'strict' JavaScript - fixed #25 with PR #27: introduced auto-entities support, thanks @SBado -## 0.7 -- BACKWARD COMPATIBILITY / DEPRECATION WARNING: 'data' is replacing **all** other `column` selectors - i.e., 'attr_as_list', 'prop', 'multi', 'attr' shall **not be used anymore**. Initially only a - console.log() warning will be shown, soon this will change to console.warn(), then console.error() + +## 0.4.0 +- now with 'clickable' rows to show the entity_id's popup dialog for further information +- more or less full re-write introducing DataTable and DataRow as data representation objects + +## 0.3.3 +- minor improvements, code tidyness, changes for clickable rows started + +## 0.3.2 +- exluding mulitple items fixed +- sort_by works now also with 'props' columns thx @andreassolberg +- regular expressions now concated and applied instead on after another +- lots of cleanups + +## 0.3.1 +- flex-table-card now part of 'custom-cards' organization + +## 0.3 +- added 'modify' to change cell/col contents using javascript's: eval() +- for 'prop' column contents 'object_id' and 'name' are made available to match: https://www.home-assistant.io/docs/configuration/state_object/ + +## 0.2 +- Functionality existing as initially planned: +- arbitrary number of columns +- regex based matching of anything that can be accessed through the hass-object (states, attributes, any properties of entities, anything that's visible) +- restrictions in rows possible `max_rows` +- sorting by chosen column available `sort_by` (ascending and descending) +- column(s) might be hidden (to realize a hidden sorting) `hidden` +- `strict` forces each row to be completly filled with matched content, if not the row will be dropped +- using `attr_as_list` allows easy data visualization from external sources, like `appdaemon` +- in "productive" use now, will shortly go in Version 1.0 + +## 0.0.1 +- initial commit, forked from entity-attribute-card +- The goal is to provide a flexible table visualization + for Lovelace. + + diff --git a/flex-table-card.js b/flex-table-card.js index 122ac05..b2ef410 100644 --- a/flex-table-card.js +++ b/flex-table-card.js @@ -1,7 +1,7 @@ "use strict"; // VERSION info -var VERSION = "0.6.1"; +var VERSION = "0.7.1"; // typical [[1,2,3], [6,7,8]] to [[1, 6], [2, 7], [3, 8]] converter var transpose = m => m[0].map((x, i) => m.map(x => x[i]));