== Upgrade Notice ==
= 1.3.0 =
Update for improved compatibility with the WordPress 6.7 site editor.

= 1.2.6 =
Upgrade for PHP 8.3 support. Now uses chart.js v4.4.2

= 1.2.5 =
Upgrade for PHP 8.1 and PHP 8.2 support

= 1.2.4 =
Uses latest chart.js, updated wp-scripts and tested with WordPress 6.3.

= 1.2.3 =
Fixes a bug introduced in v1.2.0

= 1.2.2 =
Update for custom colors, font size options and multiple y-axis charts. Now uses chart.js v4.2.1.

= 1.2.1 =
Update for custom colors, font size options and multiple y-axis charts. Now uses chart.js v4.2.1.

= 1.2.0 =
Update for custom colors, font size options and multiple y-axis charts. Now uses chart.js v4.2.1.

= 1.1.0 =
Now uses chart.js v3.9.1. Tested with WordPress 6.0.1 and Gutenberg 13.8.2

= 1.0.0 =
Update for time line support and improved internationalization and localization.

= 0.4.1 =
Upgrade for compatibility with Gutenberg 11.4.0 and above.

= 0.4.0 =
Upgrade for an internationalized version compatible with the WordPress widget block editor.

= 0.3.0 =
Further updates for hosting on WordPress.org. Now uses chartjs v3.1.0.

= 0.2.0 =
Updated for hosting on WordPress.org. Improved color palette selection using palette.json.

= 0.1.1 =
Update for better colours in the Gutenberg palette.

= 0.1.0 =
Enqueues Chart.js in the footer to reduce render-blocking resources.

= 0.0.8 =
Update for begin Y-axis at 0 toggle.

= 0.0.7 =
Update for the chart type selection in the toolbar.

= 0.0.6 =
Update for ability to set the chart height, in pixels

= 0.0.5 =
Update for filled line charts - Area charts.

= 0.0.4 =
Update for stacked charts.

= 0.0.3 =
Update for the ability to control the height of each chart using CSS.

= 0.0.2 =
Update for a version that works without oik shared library functions.

= 0.0.1 =
First version to be used in Slog.

= 0.0.0 =
Initial version copied from SB Children block

== Changelog ==
= 1.3.0 =
* Changed: Avoid unexpected reporting of "The following has been modified" from the site editor #37
* Tested: With WordPress 6.7.1 and WordPress Multisite
* Tested: With PHP 8.3
* Tested: With PHPUnit 9.6

= 1.2.6 =
* Changed: Update wp-script and chart.js #35
* Tested: With WordPress 6.5.3 and WordPress Multisite
* Tested: With PHP 8.3
* Tested: With PHPUnit 9.6

= 1.2.5 =
* Changed: PHP 8.2 Declare class properties #36
* Tested: With WordPress 6.4-RC1 and WordPress Multisite
* Tested: With PHP 8.1 and PHP 8.2
* Tested: With PHPUnit 9.6

= 1.2.4 =
* Changed: Update chart.js to v4.3.3 #35
* Changed: Update chartjs-adapter-date-fns to v3.0.0 #35
* Changed: Update wp-scripts #35
* Fixed: Avoid error when no series are defined #35
* Tested: With WordPress 6.3 and WordPress Multisite
* Tested: With Gutenberg 16.3.0
* Tested: With PHP 8.0
* Tested: With PHPUnit 9

= 1.2.3 =
* Fixed: Fatal error - undefined function bw_trace2() #34

= 1.2.2 =
* Changed: Rebuilt language versions

= 1.2.1 =
* Fixed: Warning: Use of undefined constant FILTER_VALIDATE_BOOL in PHP 7.4 #32

= 1.2.0 =
* Added: Multi axis line chart #22
* Added: PHPUnit test cases #25
* Added: Per row color control - background and border colors #20
* Added: Set font size for legend labels and X-axis ticks #21
* Changed: Add filter hooks for options and content #23
* Changed: Added documentation about the [chartjs] shortcode #23
* Changed: Adds the value of the atribute `class` to the class list of the chart container #23
* Changed: Allow 2 decimals for Opacity. #31
* Changed: Chart options as object #23
* Changed: Extract utility functions to libs/sb-chart-block.php #29
* Changed: Improve parsing of the chart content to support CSV format & partial lines #30
* Changed: Improve sb_chart_block_array_get() to allow for lower cased attributes for shortcodes #21
* Changed: Improved validation for shortcode parameters #23
* Changed: New parameters for sb_chart_block_get_csv() to replace empty strings with null only when necessary #23
* Changed: Trim leading and trailing white space #30
* Changed: Update chart.js UMD v4.2.1 #26
* Fixed: Error in block when pasting in charts #28
* Fixed: Re-enable sliders for RangeControls; remove enclosing PanelRows #31
* Tested: With Gutenberg 15.1.0
* Tested: With PHP 8.0
* Tested: With WordPress 6.1.1 and WordPress Multi Site

= 1.1.0 =
* Changed: Updated wp-scripts #13
* Changed: Put Height and Bar thickness in separate panelbody tags #17
* Changed: Update chart.js to v3.9.1 #11
* Fixed: Fix Fatal on PHP 7.4 Remove default: #11
* Tested: With WordPress 6.0.1 and WordPress Multi Site
* Tested: With Gutenberg 13.8.2
* Tested: With PHP 8.0

= 1.0.0 =
* Added: Add tension Range Control for Line charts #11
* Added: Add support for Time line on x-axis, with timeunit and barThickness #17
* Added: Support additional parameters for performance related charts #18
* Changed: Update to chartjs v3.7.1 #11
* Changed: Add chartjs-adapter-date-fns v2.0.0 #15
* Changed: Catch and report errors when using Time line #17
* Changed: Enable Time options for x or y axis #17
* Changed: Improve support for the chartjs shortcode for beginYAxisAt0 #15
* Changed: Reintroduced chartLine icon #14
* Changed: Improved internationalization and localization #13
* Tested: With WordPress 5.9.1
* Tested: With Gutenberg 12.6.0
* Tested: With PHP 8.0

= 0.4.1 =
* Fixed: Chart block example doesn't show a chart #16
* Tested: With Gutenberg 11.6.0

= 0.4.0 =
* Changed: Attempt to deal with deprecated blocks #13
* Changed: Refactored to use apiVersion: 2 #13
* Changed: Replace chartLine icon by trendingUp #14
* Fixed: Ensure stacked and beginAtZero are true / false #15
* Fixed: Remove some unnecessary code in sb_chart_block_shortcode #12
* Tested: With Gutenberg 11.5.1
* Tested: With PHP 8.0
* Tested: With WordPress 5.8.1 and WordPress Multi Site

= 0.3.0 =
* Changed: Added language files,[github bobbingwide sb-chart-block issues 10]
* Changed: Remove redundant / unwanted logic,[github bobbingwide sb-chart-block issues 10]
* Changed: Improve color palettes and selection,[github bobbingwide sb-chart-block issues 2]
* Changed: Upgrade to use chartjs v3.1.0,[github bobbingwide sb-chart-block issues 11]
* Changed: Add opacity with range from 0 to 1 for chart background colours,[github bobbingwide sb-chart-block issues 2]
* Changed: Refactor Color_Palettes to SB_Chart_Color_Palettes,[github bobbingwide sb-chart-block issues 10]
* Tested: With WordPress 5.7.1 and WordPress Multi Site
* Tested: With Gutenberg 10.4.0
* Tested: With PHP 8.0
* Tested: With PHPUnit 9

= 0.2.0 =
* Changed: Enqueue scripts from the plugin,[github bobbingwide sb-chart-block issues 10]
* Changed: Load color palettes from palettes.json,[github bobbingwide sb-chart-block issues 10]
* Tested: With WordPress 5.7 and WordPress Multi Site
* Tested: With Gutenberg 10.3.1
* Tested: With PHP 8.0
* Tested: With PHPUnit 9

= 0.1.1 =
* Changed: Eliminate very light gray and white from the Gutenberg colour palette. Add yellowish grey.,[github bobbingwide sb-chart-block issues 2]
* Tested: With WordPress 5.6.1 and WordPress Multi Site
* Tested: With Gutenberg 9.9.2

= 0.1.0 =
* Changed: Enqueue chart.js in the footer, when necessary. Run Chart when DOMContentLoaded.,[github bobbingwide sb-chart-block issues 9]

= 0.0.8 =
* Added: Begin Y-axis at 0 toggle.
* Changed: Option toggle arrangement
* Tested: With Gutenberg 9.8.0

= 0.0.7 =
* Added: Chart type toolbar group and new icons,[github bobbingwide sb-chart-block issues 5]
* Added: Example - a simple pie chart,[github bobbingwide sb-chart-block issues 5]

= 0.0.6 =
* Added: Height range control. Default 450px in the editor.,[github bobbingwide sb-chart-block issues 5]

= 0.0.5 =
* Added: Toggle to Fill line charts,[github bobbingwide sb-chart-block issues 5]

= 0.0.4 =
* Added: Toggle to Stack charts,[github bobbingwide sb-chart-block issues 5]

= 0.0.3 =
* Fixed: Support setting of the chart height using CSS,[github bobbingwide sb-chart-block issues 5]

= 0.0.2 =
* Fixed: Remove dependency on oik related shared library functions,[github bobbingwide sb-chart-block issues 1]

= 0.0.1 =
* Added: Server Side Rendered charts using Chart.js,[github bobbingwide sb-chart-block issues 1]
* Added: 4 theme options for chart colors,[github bobbingwide sb-chart-block issues 2]
* Added: Chart block in the block editor,[github bobbingwide sb-chart-block issues 4]
* Tested: With WordPress 5.6.0 and WordPress Multi Site
* Tested: With Gutenberg 9.7.2

= 0.0.0 =
* First version copied from SB Children block
