Skip to content

Commit fcaad17

Browse files
committed
Update table class to reflect upstream, and Grafana V8+
1 parent df4596b commit fcaad17

File tree

2 files changed

+59
-403
lines changed

2 files changed

+59
-403
lines changed

CHANGELOG.rst

Lines changed: 0 additions & 307 deletions
Original file line numberDiff line numberDiff line change
@@ -2,313 +2,6 @@
22
Changelog
33
=========
44

5-
<<<<<<< HEAD
6-
0.x.x (?)
7-
==================
8-
9-
* Added ...
10-
* Added Minimum option for Timeseries
11-
* Added Maximum option for Timeseries
12-
* Added Number of decimals displays option for Timeseries
13-
* Added Bar_Chart_ panel support
14-
* Extended SqlTarget to support parsing queries from files
15-
* Fix AlertCondition backwards compatibility (``useNewAlerts`` default to ``False``)
16-
* Added RateMetricAgg_ for ElasticSearch
17-
18-
.. _`Bar_Chart`: https://grafana.com/docs/grafana/latest/panels-visualizations/visualizations/bar-chart/
19-
.. _`RateMetricAgg`: https://www.elastic.co/guide/en/elasticsearch/reference/current/search-aggregations-metrics-rate-aggregation.html
20-
21-
0.7.0 (2022-10-02)
22-
==================
23-
24-
* Added Grafana 8.x new Alert Rule
25-
* Added Grafana 9.x new Alert Rule
26-
* Added ePict_ plugin.
27-
* Added ae3e plotly panel support
28-
* Added datasource parameter to Influxdb targets
29-
* Added missing units for Boolean, Data, Data Rate, Date & Time, Energy, Length,
30-
Mass, and Misc
31-
* Fix typo in unit constant ``GIGA_WATT`` (was ``GAGA_WATT``)
32-
* Fix typo in unit constant ``NORMAL_CUBIC_METER`` (was ``NORMAIL_CUBIC_METER``)
33-
34-
.. _`ePict`: https://grafana.com/grafana/plugins/larona-epict-panel/
35-
36-
0.6.3 (2022-03-30)
37-
==================
38-
39-
* Added Azure Monitor Target
40-
* Added ``legendCalcs`` parameter to TimeSeries Panel
41-
* Added ``hide`` parameter to ElasticsearchTarget
42-
* Added ExpressionTarget support for ElasticSearch data sources
43-
44-
45-
0.6.2 (2022-02-24)
46-
==================
47-
48-
* Added percentage type for thresholds
49-
* Added ``datasource`` parameter to CloudWatch targets
50-
* Added support for auto panels ids to AlertList panel
51-
* Added ``SeriesOverride`` options (dashes and Z-index)
52-
* Added support for fields value in Stat panel
53-
* Added ``alertName`` parameter to AlertList panel
54-
* Added ``thresholdsStyleMode`` parameter to TimeSeries panel
55-
* Added Histogram panel support
56-
* Dashboard upload script updated to support overwriting dashboards
57-
58-
0.6.1 (2021-11-23)
59-
==================
60-
61-
* Added new SqlTarget to core to be able to define SQL queries as well
62-
* Added missing attributes to the Logs panel
63-
* Added Cloudwatch Logs Insights Target
64-
* Added overrides to panels
65-
* Extend ``SeriesOverride`` options
66-
67-
Changes
68-
-------
69-
70-
* Fix Text panel (and add tests)
71-
72-
**ATTENTION:** This might break panels generated for Grafana <8.0.6
73-
74-
0.6.0 (2021-10-26)
75-
===================
76-
77-
* Added Discrete panel (https://grafana.com/grafana/plugins/natel-discrete-panel/)
78-
* Added support for colors in stat mapping panel with StatValueMappings & StatRangeMappings
79-
* Added missing auto interval properties in Template
80-
* Added param to RowPanel to collapse the row
81-
* Added StateTimeline panel which was added in Grafana v8
82-
* Added support for timeseries panel added in Grafana v8
83-
* Added MinMetricAgg and PercentilesMetricAgg to Elasticsearch
84-
* Added support for News panel
85-
* Added support for Pie Chart v2 from Grafana v8
86-
87-
Changes
88-
-------
89-
90-
* Refine expectations of is_color_code
91-
* Deprecated StatMapping, StatValueMapping & StatRangeMapping
92-
* Change YAxis min value default from 0 to None
93-
* Support for Table panel for Grafana v8 may have broken backwards compatibility in old Table panel
94-
* Breaking change, support for styled columns in tables removed, no longer used in Grafana v8 new Table
95-
* Move development to ``main`` branch on GitHub. If you have work tracking the ``master`` you will need to update this.
96-
97-
0.5.14 (2021-09-14)
98-
==================
99-
100-
* Added colour overrides to pie chart panel
101-
* Added missing attributes from xAxis class
102-
* Added transformations for the Panel class (https://grafana.com/docs/grafana/latest/panels/reference-transformation-functions/)
103-
* Added Worldmap panel (https://grafana.com/grafana/plugins/grafana-worldmap-panel/)
104-
* Added missing fill gradient to Graph panel
105-
* Added missing align to graph panel
106-
* Added missing show percentage attribute to Pie chart panel
107-
* Added ``extraJson`` attribute to the Panel class for overriding the panel with raw JSON
108-
* Added inline script support for Elasticsearch metrics
109-
* Selected needs to be set as a bool value for templating to work.
110-
111-
0.5.13 (2021-05-17)
112-
===================
113-
114-
* Added a test for the Alert class.
115-
116-
Changes
117-
-------
118-
119-
* Bugfix: changed 'target' validator in AlertNotification to accept CloudwatchMetricsTarget
120-
* Moved the alertRuleTag field from Graph to Alert.
121-
122-
0.5.12 (2021-04-24)
123-
===================
124-
125-
* Added hide parameter to CloudwatchMetricsTarget class
126-
* Added table-driven example dashboard and upload script
127-
128-
Changes
129-
-------
130-
131-
* bugfix load_dashboard add support for old python version 2.x, 3.3 and 3.4
132-
* Fix default target datasource to work with newer versions of Grafana
133-
* Removed re-defined maxDataPoints field from multiple panels
134-
* Fix the AlertList class and add a test for it
135-
136-
Thanks to all those who have contributed to this release.
137-
138-
139-
0.5.11 (2021-04-06)
140-
===================
141-
142-
* Added timeField field for the Elasticsearch target to allow the alert to change its state
143-
* Added nameFilter field for the AlertList panel
144-
* Added dashboardTags field for the AlertList panel
145-
146-
Thanks a lot for your contributions to this release, @dafna-starkware
147-
148-
0.5.10 (2021-03-21)
149-
===================
150-
151-
* Added Logs panel (https://grafana.com/docs/grafana/latest/panels/visualizations/logs-panel/)
152-
* Added Cloudwatch metrics datasource (https://grafana.com/docs/grafana/latest/datasources/cloudwatch/)
153-
* Added option to hide dashboard time picker
154-
* Added Notification for Alert
155-
* Added alertRuleTags field to the graph panel
156-
* Added support for thresholds to graph panel
157-
* Added support for Elasticsearch alert condition
158-
* Added support for using gridPos for dashboard panels
159-
* Added support for Humio Data Source. (https://grafana.com/grafana/plugins/humio-datasource/)
160-
161-
162-
Changes
163-
-------
164-
165-
* Replace deprecated attr.assoc with attr.evolve
166-
167-
168-
169-
0.5.9 (2020-12-18)
170-
==================
171-
172-
* Added Alert Threshold enabled/disabled to Graphs.
173-
* Added constants for all Grafana value formats
174-
* Added support for repetitions to Stat Panels
175-
* Added textMode option to Stat Panels
176-
* Add Panel object for all panels to inherit from
177-
* Add Dashboard list panel (https://grafana.com/docs/grafana/latest/panels/visualizations/dashboard-list-panel/)
178-
179-
180-
Changes
181-
-------
182-
183-
* Change supported python versions from 3.6 to 3.9
184-
* Added hide parameter to Target
185-
* Updated dependencies (docs, build, CI)
186-
* Consistent coding style
187-
188-
189-
0.5.8 (2020-11-02)
190-
==================
191-
192-
This release adds quite a few new classes to grafanalib, ElasticSearch support was improved and support for InfluxDB data sources was added.
193-
194-
We would also very much like to welcome James Gibson as new maintainer of grafanalib. Thanks a lot for stepping up to this role!
195-
196-
Changes
197-
-------
198-
199-
* Added more YAxis formats, added Threshold and SeriesOverride types
200-
* dataLinks support in graphs
201-
* Add Elasticsearch bucket script pipeline aggregator
202-
* Added ability to hide metrics for Elasticsearch MetricAggs
203-
* Add derivative metric aggregation for Elasticsearch
204-
* Add ``Stat`` class (and ``StatMapping``, ``StatValueMapping``, ``StatRangeMapping``) to support the Stat panel
205-
* Add ``Svg`` class to support the SVG panel
206-
* Add ``PieChart`` class for creating Pie Chart panels
207-
* Add `transparent` setting to classes that were missing it (Heatmap, PieChart)
208-
* Add InfluxDB data source
209-
* Add ``auto_ref_ids`` to ``Graph``
210-
211-
Thanks a lot for your contributions to this release, @DWalker487, @JamesGibo, @daveworth, @dholbach, @fauust, @larsderidder, @matthewmrichter.
212-
213-
214-
0.5.7 (2020-05-11)
215-
==================
216-
217-
Changes
218-
-------
219-
220-
* Fix crasher instatiating elasticsearch panels.
221-
* Remove unused ``tools/`` directory.
222-
223-
Thanks a lot for your contributions to this release, @DWalker487, @dholbach and @matthewmrichter.
224-
225-
226-
0.5.6 (2020-05-05)
227-
==================
228-
229-
Changes
230-
-------
231-
232-
* Add ``Heatmap`` class (and ``HeatmapColor``) to support the Heatmap panel (#170)
233-
* Add ``BarGuage`` for creating bar guages panels in grafana 6
234-
* Add ``GuagePanel`` for creating guages in grafana 6
235-
* Add data links support to ``Graph``, ``BarGuage``, and ``GuagePanel`` panels
236-
* Removed gfdatasource - feature is built in to Grafana since v5.
237-
* Generate API docs for readthedocs.org
238-
* Fix AlertList panel generation
239-
* Add both upper and lower case `"time"` pattern for time_series column format in Table class
240-
* Drop testing of Python 2.7, it has been EOL'ed and CI was broken
241-
due to this.
242-
* Automatically test documentation examples.
243-
* Point to dev meeting resources.
244-
* Add description attribute to Dashboard.
245-
* Add support for custom variables.
246-
* Point out documentation on readthedocs more clearly.
247-
* Add average metric aggregation for elastic search
248-
* Bugfix to query ordering in Elasticsearch TermsGroupBy
249-
* Added all parameters for StringColumnStyle
250-
* Add Elasticsearch Sum metric aggregator
251-
* Add ``Statusmap`` class (and ``StatusmapColor``) to support the Statusmap panel plugin
252-
* Bugfix to update default ``Threshold`` values for ``GaugePanel`` and ``BarGauge``
253-
* Use Github Actions for CI.
254-
* Fix test warnings.
255-
* Update ``BarGauge`` and ``GaugePanel`` default Threshold values.
256-
* Update release instructions.
257-
258-
Thanks a lot to the contributions from @DWalker487, @bboreham, @butlerx, @dholbach, @franzs, @jaychitalia95, @matthewmrichter and @number492 for this release!
259-
260-
0.5.5 (2020-02-17)
261-
==================
262-
263-
It's been a while since the last release and we are happy to get this one into your hands.
264-
0.5.5 is a maintenance release, most importantly it adds support for Python >= 3.5.
265-
266-
We are very delighted to welcome Matt Richter on board as maintainer.
267-
268-
Changes
269-
-------
270-
271-
* Automate publishing to PyPI with GitHub Actions
272-
* Update README.rst to make the example work
273-
* Bump Dockerfile to use Alpine 3.10 as base
274-
* Fix up ``load_source()`` call which doesn't exist in Python 3.5
275-
* Update versions of Python tested
276-
* Repair tests
277-
* pin to attrs 19.2 and fix deprecated arguments
278-
279-
Many thanks to contributors @bboreham, @dholbach, @ducksecops, @kevingessner, @matthewmrichter, @uritau.
280-
281-
0.5.4 (2019-08-30)
282-
==================
283-
284-
Changes
285-
-------
286-
287-
* Add 'diff', 'percent_diff' and 'count_non_null' as RTYPE
288-
* Support for changing sort value in Template Variables.
289-
* Sort tooltips by value in Weave/Stacked-Charts
290-
* Add ``for`` parameter for alerts on Grafana 6.X
291-
* Add ``STATE_OK`` for alerts
292-
* Add named values for the Template.hide parameter
293-
* Add cardinality metric aggregator for ElasticSearch
294-
* Add Threshold and Series Override types
295-
* Add more YAxis formats
296-
297-
Many thanks to contributors @kevingessner, @2easy, @vicmarbev, @butlerx.
298-
299-
0.5.3 (2018-07-19)
300-
==================
301-
302-
Changes
303-
-------
304-
305-
* Minor markup tweaks to the README
306-
0.5.9 (2019-05-12)
307-
0.5.10 (2020-04-14)
308-
===================
309-
310-
=======
311-
>>>>>>> main
3125
0.6.1 (2020-04-23)
3136
==================
3147
* Set default refresh to 1m instead of 10s to reduce load on metric sources.

0 commit comments

Comments
 (0)