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 367f3e47fbc..e44fc5e0f7e 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 e5958059106..4ff4ea04240 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 39cedbc4a4d..7176cb93e15 100644 --- a/types/index.esm.d.ts +++ b/types/index.esm.d.ts @@ -2795,12 +2795,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; @@ -2822,7 +2820,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; @@ -2843,12 +2840,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; @@ -2871,7 +2866,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' */ @@ -2887,7 +2881,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); /** @@ -2902,7 +2895,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; @@ -2938,7 +2930,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'; }; @@ -3032,7 +3023,6 @@ export type RadialLinearScaleOptions = CoreScaleOptions & { */ color: Scriptable; /** - * @see https://www.chartjs.org/docs/next/axes/general/fonts.md */ font: Scriptable;