diff --git a/.github/release-drafter.yml b/.github/release-drafter.yml index 4ae501c2c7a..8ffd6fb835f 100644 --- a/.github/release-drafter.yml +++ b/.github/release-drafter.yml @@ -43,10 +43,10 @@ template: | # Essential Links * [npm](https://www.npmjs.com/package/chart.js) - * [Migration guide](https://www.chartjs.org/docs/next/getting-started/v3-migration) - * [Docs](https://www.chartjs.org/docs/next/) - * [API](https://www.chartjs.org/docs/next/api/) - * [Samples](https://www.chartjs.org/docs/next/samples/) + * [Migration guide](https://www.chartjs.org/docs/latest/getting-started/v3-migration) + * [Docs](https://www.chartjs.org/docs/latest/) + * [API](https://www.chartjs.org/docs/latest/api/) + * [Samples](https://www.chartjs.org/docs/latest/samples/) $CHANGES diff --git a/package-lock.json b/package-lock.json index 4f3f11db1ea..8896edf8403 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "chart.js", - "version": "3.0.0-rc.7", + "version": "3.0.0", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index df82e53e2ba..e6def137464 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "chart.js", "homepage": "https://www.chartjs.org", "description": "Simple HTML5 charts using the canvas element.", - "version": "3.0.0-rc.7", + "version": "3.0.0", "license": "MIT", "jsdelivr": "dist/chart.min.js", "unpkg": "dist/chart.min.js", diff --git a/types/index.esm.d.ts b/types/index.esm.d.ts index 64e9936b67b..cf2a4961c45 100644 --- a/types/index.esm.d.ts +++ b/types/index.esm.d.ts @@ -2796,12 +2796,10 @@ export type LinearScaleOptions = CartesianScaleOptions & { /** * Adjustment used when calculating the maximum data value. - * @see https://www.chartjs.org/docs/next/axes/cartesian/linear#axis-range-settings */ suggestedMin?: number; /** * Adjustment used when calculating the minimum data value. - * @see https://www.chartjs.org/docs/next/axes/cartesian/linear#axis-range-settings */ suggestedMax?: number; @@ -2823,7 +2821,6 @@ export type LinearScaleOptions = CartesianScaleOptions & { /** * User defined fixed step size for the scale - * @see https://www.chartjs.org/docs/next/axes/cartesian/linear#step-size */ stepSize: number; @@ -2844,12 +2841,10 @@ export type LogarithmicScaleOptions = CartesianScaleOptions & { /** * Adjustment used when calculating the maximum data value. - * @see https://www.chartjs.org/docs/next/axes/cartesian/linear#axis-range-settings */ suggestedMin?: number; /** * Adjustment used when calculating the minimum data value. - * @see https://www.chartjs.org/docs/next/axes/cartesian/linear#axis-range-settings */ suggestedMax?: number; @@ -2872,7 +2867,6 @@ export type TimeScaleOptions = CartesianScaleOptions & { * Scale boundary strategy (bypassed by min/max time options) * - `data`: make sure data are fully visible, ticks outside are removed * - `ticks`: make sure ticks are fully visible, data outside are truncated - * @see https://www.chartjs.org/docs/next/axes/cartesian/time#scale-bounds * @since 2.7.0 * @default 'data' */ @@ -2888,7 +2882,6 @@ export type TimeScaleOptions = CartesianScaleOptions & { time: { /** * Custom parser for dates. - * @see https://www.chartjs.org/docs/next/axes/cartesian/time#parser */ parser: string | ((v: unknown) => number); /** @@ -2903,7 +2896,6 @@ export type TimeScaleOptions = CartesianScaleOptions & { isoWeekday: false | number; /** * Sets how different time units are displayed. - * @see https://www.chartjs.org/docs/next/axes/cartesian/time#display-formats */ displayFormats: { [key: string]: string; @@ -2939,7 +2931,6 @@ export type TimeScaleOptions = CartesianScaleOptions & { * @see https://github.com/chartjs/Chart.js/pull/4507 * @since 2.7.0 * @default 'auto' - * @see https://www.chartjs.org/docs/next/axes/cartesian/time#ticks-source */ source: 'labels' | 'auto' | 'data'; }; @@ -3033,7 +3024,6 @@ export type RadialLinearScaleOptions = CoreScaleOptions & { */ color: Scriptable; /** - * @see https://www.chartjs.org/docs/next/axes/general/fonts.md */ font: Scriptable;