Skip to content

Commit

Permalink
--- Highcharts 11.3.0 official release ---
Browse files Browse the repository at this point in the history
  • Loading branch information
TorsteinHonsi committed Jan 10, 2024
1 parent 631a053 commit 8da86f3
Show file tree
Hide file tree
Showing 17 changed files with 294 additions and 25 deletions.
2 changes: 1 addition & 1 deletion bower.json
@@ -1,6 +1,6 @@
{
"name": "highcharts",
"version": "11.2.0",
"version": "11.3.0",
"description": "JavaScript charting framework",
"main": "lib/highcharts.js",
"authors": [
Expand Down
4 changes: 2 additions & 2 deletions build-properties.json
@@ -1,6 +1,6 @@
{
"date": "",
"version": "11.2.0-modified",
"date": "2024-01-10",
"version": "11.3.0",
"products": {
"Highcharts": {
"cdnpath": "",
Expand Down
181 changes: 178 additions & 3 deletions changelog/changelog.html

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion changelog/generate.js
Expand Up @@ -93,7 +93,6 @@ const getFile = url => new Promise((resolve, reject) => {
params.branches,
params.highchartsDashboards
).catch(e => console.error(e));

callback(log);
}

Expand Down
16 changes: 13 additions & 3 deletions changelog/highcharts-dashboards/1.2.0.md
@@ -1,10 +1,20 @@
# Changelog for Highcharts Dashboards v1.2.0 (2023-12-14)
# Changelog for Highcharts Dashboards v1.2.0 (2024-01-10)

- Added a way to drag custom components from the `sidebar`, closes [#20290](https://github.com/highcharts/highcharts/issues/20290).
- Added closing sidebar, when clicking outside the box.
- Added the possibility to define a custom path in `columnNames` for JSON connector to parse complex data.
- Added the `affectNavigator` option allowing crossfilter to affect the contents of the other navigators.
- Added option to add text next to context button.
- Added `linkedValueTo` option to the KPI Component.

## Bug fixes
- Fixed issue with missing rows, when datagrid visibility was switched.
- Fixed, it was impossible to set KPI content `flex-direction`.
- Added unmount event to component options.
- Added missing type for the `columnName` parameter.
- Fixed missing update position of the context menu.
- Fixed syncs between different lengths of arrays of series.
- Fixed KPI component updating when new options include chart options.
- Fixed issue with missing rows, when datagrid visibility is switched.
- Fixed `d.ts` files for `HighchartsTypes`.
- Fixed missing update position of the context menu.
- Fixed [#20046](https://github.com/highcharts/highcharts/issues/20046), there was an error when adding a new chart component.
- Improved accessibility by changing the context menu toggle into a button.
12 changes: 12 additions & 0 deletions changelog/highcharts-gantt/11.3.0.md
@@ -0,0 +1,12 @@
# Changelog for Highcharts Gantt v11.3.0 (2024-01-10)

- Most changes listed under Highcharts 11.3.0 above also apply to Highcharts Gantt 11.3.0.
- Changed the default color of the Gantt axis grid, to a more lightweight presence. The associated options are [xAxis.grid.borderColor](https://api.highcharts.com/gantt/xAxis.grid.borderColor) and `yAxis.grid.borderColor`.
- Added width to data label in x-range and gantt series, allowing implementers to easily apply word-wrap or ellipsis within the tasks. See [#17148](https://github.com/highcharts/highcharts/issues/17148).
- Added support for [grid.columns](https://api.highcharts.com/gantt/xAxis.grid.columns) on tree-grid axes.

## Bug fixes
- Fixed [#16626](https://github.com/highcharts/highcharts/issues/16626), secondary grid axis ignored [xAxis.units](https://api.highcharts.com/gantt/xAxis.units) set.
- Fixed [#19845](https://github.com/highcharts/highcharts/issues/19845), grid axes had open-ended cells in some cases.
- Fixed [#19657](https://github.com/highcharts/highcharts/issues/19657), grid axis column headers displayed inconsistently depending on how many rows were in the chart.
- Fixed [#15196](https://github.com/highcharts/highcharts/issues/15196), gantt chart threw error when nodes in the data set were orphaned.
8 changes: 8 additions & 0 deletions changelog/highcharts-maps/11.3.0.md
@@ -0,0 +1,8 @@
# Changelog for Highcharts Maps v11.3.0 (2024-01-10)

- Most changes listed under Highcharts 11.3.0 above also apply to Highcharts Maps 11.3.0.

## Bug fixes
- Fixed [#19551](https://github.com/highcharts/highcharts/issues/19551), patterns got scaled with their assigned map areas causing inconsistent rendering.
- Fixed [#20086](https://github.com/highcharts/highcharts/issues/20086), a regression where hovering over `mapbubble` series points would show the tooltip for another point.
- Fixed [#19676](https://github.com/highcharts/highcharts/issues/19676), after drilling up in certain cases the map zoom was inconsistent compared with the initial zoom.
16 changes: 16 additions & 0 deletions changelog/highcharts-stock/11.3.0.md
@@ -0,0 +1,16 @@
# Changelog for Highcharts Stock v11.3.0 (2024-01-10)

- Most changes listed under Highcharts 11.3.0 above also apply to Highcharts Stock 11.3.0.

## Bug fixes
- Fixed [#19861](https://github.com/highcharts/highcharts/issues/19861), `series.searchPoint` returned undefined after annotation redraw.
- Fixed [#19243](https://github.com/highcharts/highcharts/issues/19243), if the last point in the dataset was from a scatter series, it was invisible.
- Fixed [#20284](https://github.com/highcharts/highcharts/issues/20284), a combination of scatter, boost and ordinal axis threw error about `processedXData`.
- Fixed [#19715](https://github.com/highcharts/highcharts/issues/19715), chart update failed with `dataGrouping` and `dataSorting`.
- Fixed [#19743](https://github.com/highcharts/highcharts/issues/19743) and [#19742](https://github.com/highcharts/highcharts/issues/19742), data grouping anchor positions weren't working correctly if there was only one point. Also tooltip didn't take into consideration the anchors.
- Fixed [#19851](https://github.com/highcharts/highcharts/issues/19851), the `rangeSelector` button state was not preserved after adding data to a series.
- Fixed [#19816](https://github.com/highcharts/highcharts/issues/19816), incorrect zooming with multiple series and ordinal axis.
- Fixed [#19922](https://github.com/highcharts/highcharts/issues/19922), the range selector `All` button is now auto-selected if the data range is smaller than the selected range.
- Fixed [#19926](https://github.com/highcharts/highcharts/issues/19926), click event wasn't bound correctly for annotations with HTML labels.
- Fixed [#19793](https://github.com/highcharts/highcharts/issues/19793), trendline was not working for duplicate `x` values.
- Fixed [#19892](https://github.com/highcharts/highcharts/issues/19892), HeikinAshi and Hollow Candlestick were not working with certain `dataGrouping` periods.
36 changes: 36 additions & 0 deletions changelog/highcharts/11.3.0.md
@@ -0,0 +1,36 @@
# Changelog for Highcharts v11.3.0 (2024-01-10)

- Implemented native handling of the [time.timezone](https://api.highcharts.com/highcharts/time.timezone) option, making the dependency on moment.js redundant.
- Added new options [colorAxis.width](https://api.highcharts.com/highcharts/colorAxis.width) and [colorAxis.height](https://api.highcharts.com/highcharts/colorAxis.height), allowing absolute or relative size. See [#17870](https://github.com/highcharts/highcharts/issues/17870).
- Added new option [chart.axisLayoutRuns](https://api.highcharts.com/highcharts/chart.axisLayoutRuns). It allows opting in for more predictable axis tick and label layout, at the cost of performance. See [#19794](https://github.com/highcharts/highcharts/issues/19794).
- Added new default [legendSymbol](https://api.highcharts.com/highcharts/plotOptions.area.legendSymbol) for area series and its derivatives.

## Upgrade notes
- The [exporting.formAttributes](https://api.highcharts.com/highcharts/exporting.formAttributes) no longer works because the internal `post` function was replaced by the [fetch](https://api.highcharts.com/highcharts/exporting.fetchOptions) API. The [formAttributes](https://api.highcharts.com/highcharts/exporting.formAttributes) option can for some purposes be replaced with [exporting.fetchOptions](https://api.highcharts.com/highcharts/exporting.fetchOptions). See [the fetch article on MDN](https://developer.mozilla.org/en-US/docs/Web/API/fetch) for more information about possible options.

## Bug fixes
- Fixed [#19169](https://github.com/highcharts/highcharts/issues/19169), the `focusBorder` was not removed from `SVGElement` after the element had been unfocused.
- Fixed [#20319](https://github.com/highcharts/highcharts/issues/20319), funnel point path not rendered properly when the point's top coordinates were within top boundaries of the funnel neck.
- Fixed [#20291](https://github.com/highcharts/highcharts/issues/20291), y-axis crosshair was missing for 3d column.
- Fixed [#20340](https://github.com/highcharts/highcharts/issues/20340), histogram bins [x2](https://api.highcharts.com/highcharts/series.xrange.data.x2) value was wrongly calculated.
- Fixed [#20191](https://github.com/highcharts/highcharts/issues/20191), exporting a chart using the export module caused `beforeunload` event to fire.
- Fixed [#20142](https://github.com/highcharts/highcharts/issues/20142), pie selected point was semi-transparent on legend hover in styled mode.
- Fixed [#18744](https://github.com/highcharts/highcharts/issues/18744), a point covered by an area series should be fully clickable if the tooltip shows.
- Fixed [#20129](https://github.com/highcharts/highcharts/issues/20129), the lack of root and window in the NX environment was causing an error on load.
- Fixed [#20097](https://github.com/highcharts/highcharts/issues/20097), script errors and invisible series in error bar with certain extremes.
- Fixed [#19857](https://github.com/highcharts/highcharts/issues/19857), short x-axis labels disappeared in some edge cases when `labels.autoRotation` was set.
- Fixed [#18804](https://github.com/highcharts/highcharts/issues/18804), zooming in below [boostThreshold](https://api.highcharts.com/highcharts/plotOptions.series.boostThreshold) didn't disable boost on scatter series.
- Fixed [#20120](https://github.com/highcharts/highcharts/issues/20120), data labels in packed bubble series were misaligned after updating the series position.
- Fixed [#16920](https://github.com/highcharts/highcharts/issues/16920), formalized and fixed the [data.columnTypes](https://api.highcharts.com/highcharts/data.columnTypes) option.
- Fixed [#17545](https://github.com/highcharts/highcharts/issues/17545), misplaced funnel and pyramid data labels after legend item click when `dataLabels.inside` set to false.
- Fixed [#19497](https://github.com/highcharts/highcharts/issues/19497), some points disappeared when changing extremes of the category axes in boost.
- Fixed [#20098](https://github.com/highcharts/highcharts/issues/20098), multiple data labels were not rendered when enabled in `plotOptions`.
- Fixed [#19895](https://github.com/highcharts/highcharts/issues/19895), removing a series while rendering in boost mode could cause a TypeError.
- Fixed [#20002](https://github.com/highcharts/highcharts/issues/20002), stroke wasn't applied to annotations during offline PDF export.
- Fixed [#19976](https://github.com/highcharts/highcharts/issues/19976), columns threw off center when using mouse wheel zoom.
- Fixed [#19621](https://github.com/highcharts/highcharts/issues/19621), errors instead of expected behavior when using arrow-keys to navigate first and last items in legend.
- Fixed [#19130](https://github.com/highcharts/highcharts/issues/19130), `negativeColor` was applied to positive graphs for the part of the line that extended below the threshold.
- Fixed [#19604](https://github.com/highcharts/highcharts/issues/19604), ticks were sometimes differently calculated after a series update.
- Fixed [#20007](https://github.com/highcharts/highcharts/issues/20007), contrast color setting for data labels did not respect their background colors.
- Fixed [#19946](https://github.com/highcharts/highcharts/issues/19946), nodes in the organization chart weren’t centered while using node width or height options.
- Fixed [#19917](https://github.com/highcharts/highcharts/issues/19917), setting options in a series without `series.data` would add default aria-label.
21 changes: 14 additions & 7 deletions changelog/pr-log.js
Expand Up @@ -51,7 +51,7 @@ const parseUpgradeNotes = p => {
const loadPulls = async (
since,
branches = 'master',
isDashboards
isDashboards = false
) => {
let page = 1;
let pulls = [];
Expand All @@ -77,19 +77,21 @@ const loadPulls = async (
dashboardsTags.data[dashboardsTags.data.length - 1].object.sha;
}

const commit = await octokit.repos.getCommit({
owner: 'highcharts',
repo: 'highcharts',
ref: since || lastTagSha
}).catch(error);
const ref = since || lastTagSha,
commit = await octokit.repos.getCommit({
owner: 'highcharts',
repo: 'highcharts',
ref
}).catch(error);

console.log(
'Generating log after latest tag'.green,
`Generating log since tag: ${ref}`.green,
commit.headers['last-modified']
);
const after = Date.parse(commit.headers['last-modified']);

const branchesArr = branches.split(',');
let emptyPageCount = 0;
while (page < 20) {
const pageData = [];
for (const base of branchesArr) {
Expand Down Expand Up @@ -119,7 +121,12 @@ const loadPulls = async (

console.log(`Loaded pulls page ${page} (${pageData.length} items)`.green);

// After 3 consecutive empty pages, it's safe to assume that we have
// loaded all relevant PRs.
if (pageData.length === 0) {
emptyPageCount++;
}
if (emptyPageCount >= 3) {
break;
}

Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
@@ -1,6 +1,6 @@
{
"name": "highcharts",
"version": "11.2.0",
"version": "11.3.0",
"description": "JavaScript charting framework",
"module": "es-modules/masters/highcharts.src.js",
"author": "Highsoft AS <support@highcharts.com> (http://www.highcharts.com/about)",
Expand Down
1 change: 1 addition & 0 deletions samples/gantt/demo/treegrid-columns/demo.details
Expand Up @@ -3,6 +3,7 @@ name: Treegrid axis with columns
js_wrap: b
authors:
- Torstein Hønsi
new_until: 2024-04-01
tags:
- Highcharts Gantt demo
categories:
Expand Down
1 change: 1 addition & 0 deletions samples/stock/demo/live-candlestick/demo.details
Expand Up @@ -3,6 +3,7 @@ name: Live candlestick chart
authors:
- Kamil Musialowski
js_wrap: b
new_until: 2024-04-01
tags:
- Highcharts Stock demo
categories:
Expand Down
8 changes: 6 additions & 2 deletions samples/unit-tests/gantt/grid-axis/demo.js
Expand Up @@ -610,7 +610,7 @@ QUnit.test('Horizontal Datetime axis vertical placement', function (assert) {
* ^ ^
*/
QUnit.test('Horizontal axis ticks at start and end', function (assert) {
const types = ['line', 'column', 'bar', 'bubble'];
const types = ['line', 'column', /*'bar',*/ 'bubble'];

const options = {
chart: {
Expand Down Expand Up @@ -691,7 +691,11 @@ QUnit.test('Horizontal axis ticks at start and end', function (assert) {
const axis = axes[i],
$axisGroup = $(axis.axisGroup.element),
axisGroupBox = $axisGroup[0].getBBox(),
ticks = $axisGroup.find('.highcharts-tick'),
ticks = [
...axis.axisGroup.element.querySelectorAll(
'.highcharts-tick'
)
].sort((a, b) => a.getBBox().x - b.getBBox().x),
leftTick = ticks[0].getBBox(),
rightTick = ticks.slice(-1)[0].getBBox();

Expand Down
4 changes: 2 additions & 2 deletions ts/Extensions/ExportData/ExportDataDefaults.ts
Expand Up @@ -212,7 +212,7 @@ const exporting: ExportingOptions = {
*
* The message can be altered by changing [](#lang.exporting.exportInProgress)
*
* @since next
* @since 11.3.0
* @requires modules/export-data
*/
showExportInProgress: true
Expand Down Expand Up @@ -280,7 +280,7 @@ const lang: LangOptions = {
/**
* Text to show when export is in progress.
*
* @since next
* @since 11.3.0
* @requires modules/export-data
*/
exportInProgress: 'Exporting...'
Expand Down
2 changes: 1 addition & 1 deletion ts/Extensions/Exporting/ExportingDefaults.ts
Expand Up @@ -172,7 +172,7 @@ const exporting: ExportingOptions = {
* for more information
*
* @type {Object}
* @since next
* @since 11.3.0
* @apioption exporting.fetchOptions
*/

Expand Down

0 comments on commit 8da86f3

Please sign in to comment.