Skip to content

Commit 8780e15

Browse files
authored
v3.0.0 version bump (#8781)
* v3.0.0 version bump * Update urls for next -> latest * Remove TS urls
1 parent 73a5ec3 commit 8780e15

File tree

4 files changed

+6
-16
lines changed

4 files changed

+6
-16
lines changed

.github/release-drafter.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -43,10 +43,10 @@ template: |
4343
# Essential Links
4444
4545
* [npm](https://www.npmjs.com/package/chart.js)
46-
* [Migration guide](https://www.chartjs.org/docs/next/getting-started/v3-migration)
47-
* [Docs](https://www.chartjs.org/docs/next/)
48-
* [API](https://www.chartjs.org/docs/next/api/)
49-
* [Samples](https://www.chartjs.org/docs/next/samples/)
46+
* [Migration guide](https://www.chartjs.org/docs/latest/getting-started/v3-migration)
47+
* [Docs](https://www.chartjs.org/docs/latest/)
48+
* [API](https://www.chartjs.org/docs/latest/api/)
49+
* [Samples](https://www.chartjs.org/docs/latest/samples/)
5050
5151
$CHANGES
5252

package-lock.json

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "chart.js",
33
"homepage": "https://www.chartjs.org",
44
"description": "Simple HTML5 charts using the canvas element.",
5-
"version": "3.0.0-rc.7",
5+
"version": "3.0.0",
66
"license": "MIT",
77
"jsdelivr": "dist/chart.min.js",
88
"unpkg": "dist/chart.min.js",

types/index.esm.d.ts

-10
Original file line numberDiff line numberDiff line change
@@ -2796,12 +2796,10 @@ export type LinearScaleOptions = CartesianScaleOptions & {
27962796

27972797
/**
27982798
* Adjustment used when calculating the maximum data value.
2799-
* @see https://www.chartjs.org/docs/next/axes/cartesian/linear#axis-range-settings
28002799
*/
28012800
suggestedMin?: number;
28022801
/**
28032802
* Adjustment used when calculating the minimum data value.
2804-
* @see https://www.chartjs.org/docs/next/axes/cartesian/linear#axis-range-settings
28052803
*/
28062804
suggestedMax?: number;
28072805

@@ -2823,7 +2821,6 @@ export type LinearScaleOptions = CartesianScaleOptions & {
28232821

28242822
/**
28252823
* User defined fixed step size for the scale
2826-
* @see https://www.chartjs.org/docs/next/axes/cartesian/linear#step-size
28272824
*/
28282825
stepSize: number;
28292826

@@ -2844,12 +2841,10 @@ export type LogarithmicScaleOptions = CartesianScaleOptions & {
28442841

28452842
/**
28462843
* Adjustment used when calculating the maximum data value.
2847-
* @see https://www.chartjs.org/docs/next/axes/cartesian/linear#axis-range-settings
28482844
*/
28492845
suggestedMin?: number;
28502846
/**
28512847
* Adjustment used when calculating the minimum data value.
2852-
* @see https://www.chartjs.org/docs/next/axes/cartesian/linear#axis-range-settings
28532848
*/
28542849
suggestedMax?: number;
28552850

@@ -2872,7 +2867,6 @@ export type TimeScaleOptions = CartesianScaleOptions & {
28722867
* Scale boundary strategy (bypassed by min/max time options)
28732868
* - `data`: make sure data are fully visible, ticks outside are removed
28742869
* - `ticks`: make sure ticks are fully visible, data outside are truncated
2875-
* @see https://www.chartjs.org/docs/next/axes/cartesian/time#scale-bounds
28762870
* @since 2.7.0
28772871
* @default 'data'
28782872
*/
@@ -2888,7 +2882,6 @@ export type TimeScaleOptions = CartesianScaleOptions & {
28882882
time: {
28892883
/**
28902884
* Custom parser for dates.
2891-
* @see https://www.chartjs.org/docs/next/axes/cartesian/time#parser
28922885
*/
28932886
parser: string | ((v: unknown) => number);
28942887
/**
@@ -2903,7 +2896,6 @@ export type TimeScaleOptions = CartesianScaleOptions & {
29032896
isoWeekday: false | number;
29042897
/**
29052898
* Sets how different time units are displayed.
2906-
* @see https://www.chartjs.org/docs/next/axes/cartesian/time#display-formats
29072899
*/
29082900
displayFormats: {
29092901
[key: string]: string;
@@ -2939,7 +2931,6 @@ export type TimeScaleOptions = CartesianScaleOptions & {
29392931
* @see https://github.com/chartjs/Chart.js/pull/4507
29402932
* @since 2.7.0
29412933
* @default 'auto'
2942-
* @see https://www.chartjs.org/docs/next/axes/cartesian/time#ticks-source
29432934
*/
29442935
source: 'labels' | 'auto' | 'data';
29452936
};
@@ -3033,7 +3024,6 @@ export type RadialLinearScaleOptions = CoreScaleOptions & {
30333024
*/
30343025
color: Scriptable<Color, ScriptableScaleContext>;
30353026
/**
3036-
* @see https://www.chartjs.org/docs/next/axes/general/fonts.md
30373027
*/
30383028
font: Scriptable<FontSpec, ScriptableScaleContext>;
30393029

0 commit comments

Comments
 (0)