Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v3.0.0 version bump #8781

Merged
merged 3 commits into from
Apr 2, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 @@ -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;

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

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

Expand All @@ -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'
*/
Expand All @@ -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);
/**
Expand All @@ -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;
Expand Down Expand Up @@ -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';
};
Expand Down Expand Up @@ -3032,7 +3023,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