Skip to content

Commit

Permalink
v3.0.0 version bump (#8781)
Browse files Browse the repository at this point in the history
* v3.0.0 version bump
* Update urls for next -> latest
* Remove TS urls
  • Loading branch information
etimberg authored Apr 2, 2021
1 parent 73a5ec3 commit 8780e15
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 16 deletions.
8 changes: 4 additions & 4 deletions .github/release-drafter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion 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
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
10 changes: 0 additions & 10 deletions types/index.esm.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand All @@ -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;

Expand All @@ -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;

Expand All @@ -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'
*/
Expand All @@ -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);
/**
Expand All @@ -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;
Expand Down Expand Up @@ -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';
};
Expand Down Expand Up @@ -3033,7 +3024,6 @@ export type RadialLinearScaleOptions = CoreScaleOptions & {
*/
color: Scriptable<Color, ScriptableScaleContext>;
/**
* @see https://www.chartjs.org/docs/next/axes/general/fonts.md
*/
font: Scriptable<FontSpec, ScriptableScaleContext>;

Expand Down

0 comments on commit 8780e15

Please sign in to comment.