Skip to content

Commit e4ba750

Browse files
authored
Merge pull request #224 from highcharts-for-python/develop
PR for v.1.11.0
2 parents e058b4b + 0678224 commit e4ba750

31 files changed

Lines changed: 3741 additions & 2869 deletions

.gitignore

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,4 +134,7 @@ dmypy.json
134134
tests/input_files/headless_export/output/
135135

136136
# VSCode Settings
137-
.vscode/
137+
.vscode/
138+
139+
# test_stbox
140+
.test_stbox/

.travis.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,12 @@ job:
77
- python: "3.11"
88
dist: bionic
99
env: TOXENV=py311
10+
- python: "3.12"
11+
dist: bionic
12+
env: TOXENV=py312
13+
- python: "3.13"
14+
dist: bionic
15+
env: TOXENV=py313
1016
- python: "3.10"
1117
dist: focal
1218
env: TOXENV=coverage

CHANGES.rst

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,24 @@
1+
Release 1.11.0
2+
=========================================
3+
4+
* **ENHANCEMENT:** Align the API to **Highcharts (JS) v.12.6**. In particular, this includes:
5+
6+
* Added ``Credits.events`` property.
7+
* Added ``Boost.chunk_size`` property.
8+
* Added ``Exporting.local`` property.
9+
* Added non-Cartesian series zoom module.
10+
* Added ``Tooltip.show_delay`` and ``CrosshairOptions.show_delay`` properties.
11+
* Added ``Legend.max_width`` support.
12+
* Added multiple new properties to Treegraph and Treemap series types, including:
13+
``headers``, ``group_padding``, ``node_size_by``, ``traverse_to_leaf``, and ``zoom_enabled``.
14+
* Added ``Tooltip.fixed`` and ``Tooltip.position`` support.
15+
16+
* **TESTS:** Added unit tests to confirm ``Chart.module_url`` support for local path.
17+
* **ENHANCEMENT:** Updated dependencies and requirements to more-recent versions to address security patches.
18+
* **ENHANCEMENT:** Major performance optimization to data point serialization. (courtesy of @dcherman)
19+
* **BUGFIX:** Fixed import error associated with ``requests.auth.HTTPBasicAuth``. Closes #221
20+
21+
----
122

223
Release 1.10.3
324
=========================================

docs/_contributors.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,5 @@
55
* karlacio (`@karlacio <https://github.com/karlacio>`__)
66
* Max Dugan Knight (`@maxduganknight <https://github.com/maxduganknight>`__)
77
* Julien Bacquart (`@JulienBacquart <https://github.com/JulienBacquart>`__)
8-
* Thomas Glezer (`@ThomasGL <https://github.com/ThomasGl>`__)
8+
* Thomas Glezer (`@ThomasGL <https://github.com/ThomasGl>`__)
9+
* dherman (`@dcherman <https://github.com/dcherman>`__)

docs/_dependencies.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
not work properly if your rendering layer does not leverage Highcharts Core (JS).
3333

3434
* `esprima-python <https://github.com/Kronuz/esprima-python>`_ v.4.0 or higher
35-
* `requests <https://requests.readthedocs.io/en/latest/>`_ v.2.31 or higher
35+
* `requests <https://requests.readthedocs.io/en/latest/>`_ v.2.32 or higher
3636
* `validator-collection <https://validator-collection.readthedocs.io/en/latest/>`_
3737
v.1.5 or higher
3838

@@ -76,7 +76,7 @@
7676
7777
$ pip install highcharts-core[dev]
7878
79-
* `pytest <https://docs.pytest.org/en/7.1.x/>`_ v.7.1 or higher
79+
* `pytest <https://docs.pytest.org/en/9.0.x/>`_ v.9.0 or higher
8080
* `pytest-cov <https://pytest-cov.readthedocs.io/en/latest/>`_ v.3.0 or higher
8181
* `pytest-xdist <https://pytest-xdist.readthedocs.io/en/latest/>`_ v.2.5 or higher
8282
* `python-dotenv <https://github.com/theskumar/python-dotenv>`_ v. 0.21 or higher

docs/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ Highcharts Core for Python
3737

3838
.. sidebar:: Version Compatibility
3939

40-
**Latest Highcharts (JS) version supported:** v.11.4.0
40+
**Latest Highcharts (JS) version supported:** v.12.6.0
4141

4242
**Highcharts Core for Python** is designed to be compatible with:
4343

highcharts_core/__version__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = "1.10.3"
1+
__version__ = "1.11.0"

highcharts_core/chart.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -452,7 +452,7 @@ def callback(self, value):
452452

453453
@property
454454
def module_url(self) -> str:
455-
"""The URL from which Highcharts modules should be downloaded when
455+
"""The URL or local path from which Highcharts modules should be downloaded when
456456
generating the ``<script/>`` tags. Will default to the
457457
``HIGHCHARTS_MODULE_URL`` environment variable if available, and
458458
otherwise defaults to ``'https://code.highcharts.com/'``.
@@ -1971,7 +1971,7 @@ def from_pandas(
19711971

19721972
if not isinstance(kwargs, (dict, UserDict, type(None))):
19731973
raise errors.HighchartsValueError(
1974-
f"kwargs expects a dict. " f"Received: {kwargs.__class__.__name__}"
1974+
f"kwargs expects a dict. Received: {kwargs.__class__.__name__}"
19751975
)
19761976
if not kwargs:
19771977
kwargs = {}

0 commit comments

Comments
 (0)