Skip to content

Commit bf1ce55

Browse files
authored
Merge pull request #33 from highcharts-for-python/develop
PR for v.1.3.0
2 parents a424af7 + cafc0c8 commit bf1ce55

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

46 files changed

+155
-168
lines changed

CHANGES.rst

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,16 @@
1+
Release 1.3.0
2+
=========================================
3+
4+
* **ENHANCEMENT:** Modified the way that data points are serialized to JavaScript literal objects. Now, they are serialized to a JavaScript array if their configured properties are those that Highcharts (JS) supports in JavaScript array notation. Otherwise, the code falls back to serialize the data point as a JavaScript object literal. This change is intended to improve performance and reduce the size of the serialized data. (#32)
5+
* **ENHANCEMENT:** Added ``__repr__()`` method for Highcharts Core for Python classes.
6+
* **ENHANCEMENT:** Added ``__str__()`` method with special handling for difficult-to-read classes.
7+
* **ENHANCEMENT:** Added ``Chart.get_script_tags()`` to retrieve Javascript ``<script>`` tags.
8+
* **ENHANCEMENT:** Added ``utility_functions.to_snake_case()`` function.
9+
* **BUGFIX:** Fixed incorrect serialization of datetime and Pandas ``Timestamp`` objects in ``.to_dict()`` and ``.to_json()``.
10+
* **BUGFIX:** Fixed incorrect serialization of ``EnforcedNull`` in ``.to_dict()`` and ``.to_json()``.
11+
12+
------------------
13+
114
Release 1.2.3
215
=========================================
316

README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ Before you install, please be aware of the following "hard" dependencies:
8484
* Python 3.10 or higher
8585
* Highcharts Gantt (JS) v.10.3 or higher (not technically a Python dependency, but
8686
it won't work with earlier versions of Highcharts Stock)
87-
* `Highcharts Stock for Python <https://stock-docs.highchartspython.com/en/latest/>`__ v.1.0 or higher
87+
* `Highcharts Stock for Python <https://stock-docs.highchartspython.com/en/latest/>`__ v.1.3 or higher
8888
* `esprima-python <https://github.com/Kronuz/esprima-python>`__ v.4.0 or higher
8989
* `requests <https://requests.readthedocs.io/en/latest/>`__ v.2.31 or higher
9090
* `validator-collection <https://validator-collection.readthedocs.io/en/latest/>`__

docs/_dependencies.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
Not technically a Python dependency, but obviously **Highcharts Gantt for Python**
3333
will not work properly if your rendering layer does not leverage Highcharts Gantt.
3434

35-
* `highcharts-stock <https://stock-docs.highchartspython.com>`_ v.1.0.0 or higher
35+
* `highcharts-stock <https://stock-docs.highchartspython.com>`_ v.1.3.0 or higher
3636
* `esprima-python <https://github.com/Kronuz/esprima-python>`_ v.4.0 or higher
3737
* `requests <https://requests.readthedocs.io/en/latest/>`_ v.2.31 or higher
3838
* `validator-collection <https://validator-collection.readthedocs.io/en/latest/>`_

highcharts_gantt/__version__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = '1.2.3'
1+
__version__ = '1.3.0'

highcharts_gantt/options/series/data/bar.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
from typing import Optional, List
22

3-
from validator_collection import checkers
3+
from validator_collection import checkers, validators
44

55
from highcharts_core.options.series.data.bar import (BarData,
6-
WaterfallData,
7-
WindBarbData,
8-
XRangeData as XRangeDataBase)
6+
WaterfallData,
7+
WindBarbData,
8+
XRangeData as XRangeDataBase)
99

1010
from highcharts_gantt.options.series.data.connect import DataConnection
1111
from highcharts_gantt.decorators import validate_types

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ classifiers = [
5757

5858
requires-python = ">= 3.10"
5959
dependencies = [
60-
"highcharts-stock>=1.0.0-rc1",
60+
"highcharts-stock>=1.3.0",
6161
"esprima>=4.0.1",
6262
"validator-collection>=1.5.0",
6363
"requests>=2.31.0"

requirements.dev.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,4 @@ requests==2.31.0
1616
tox==4.0.0
1717
urllib3==1.26.9
1818
validator-collection==1.5.0
19-
highcharts-stock>=1.0.0-rc1
19+
highcharts-stock>=1.3.0

requirements.travis.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,4 @@ requests==2.31.0
1616
tox==4.0.0
1717
urllib3==1.26.9
1818
validator-collection==1.5.0
19-
highcharts-stock>=1.0.0-rc1
19+
highcharts-stock>=1.3.0

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
esprima==4.0.1
22
requests==2.31.0
33
validator-collection==1.5.0
4-
highcharts-stock>=1.0.0-rc1
4+
highcharts-stock>=1.3.0
24 Bytes
Loading

0 commit comments

Comments
 (0)