]> git.ipfire.org Git - thirdparty/Chart.js.git/commitdiff
v3.0.0 version bump (#8781) v3.0.0
authorEvert Timberg <evert.timberg+github@gmail.com>
Fri, 2 Apr 2021 18:56:54 +0000 (14:56 -0400)
committerGitHub <noreply@github.com>
Fri, 2 Apr 2021 18:56:54 +0000 (14:56 -0400)
* v3.0.0 version bump
* Update urls for next -> latest
* Remove TS urls

.github/release-drafter.yml
package-lock.json
package.json
types/index.esm.d.ts

index 4ae501c2c7a235aedbe5572f0c1dd2343cceff6f..8ffd6fb835fb76035c9bea566795f1540b1993a2 100644 (file)
@@ -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
 
index 4f3f11db1eab7936053e07d2a65d7b586c25d901..8896edf8403b3c1a942fe3dd43c6e7f01ed03717 100644 (file)
@@ -1,6 +1,6 @@
 {
   "name": "chart.js",
-  "version": "3.0.0-rc.7",
+  "version": "3.0.0",
   "lockfileVersion": 1,
   "requires": true,
   "dependencies": {
index df82e53e2ba81766aa6de04aa451d759e6e27d26..e6def1374643e2bf9602f1817b0b6aab1e504229 100644 (file)
@@ -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",
index 64e9936b67bf27a41b490e4b52e7848c363d45c4..cf2a4961c45d85976050e3fff7ff62f9ef289dd4 100644 (file)
@@ -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<Color, ScriptableScaleContext>;
     /**
-     * @see https://www.chartjs.org/docs/next/axes/general/fonts.md
      */
     font: Scriptable<FontSpec, ScriptableScaleContext>;