diff --git a/.editorconfig b/.editorconfig
index 8cea3b4f020..922810ad734 100644
--- a/.editorconfig
+++ b/.editorconfig
@@ -1,4 +1,4 @@
-# http://editorconfig.org
+# https://editorconfig.org
root = true
[*]
@@ -7,7 +7,7 @@ indent_size = 4
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
-insert_final_newline = false
+insert_final_newline = true
[gulpfile.js]
indent_style = space
diff --git a/.github/ISSUE_TEMPLATE.md b/.github/ISSUE_TEMPLATE.md
index e6ead94ecb3..a926215c1f0 100644
--- a/.github/ISSUE_TEMPLATE.md
+++ b/.github/ISSUE_TEMPLATE.md
@@ -1,42 +1,14 @@
-
-
-
-## Expected Behavior
-
-
-
-## Current Behavior
-
-
+ Ahoy!
-## Possible Solution
-
-
+ You're seeing this because you felt none of the other options fit the type of
+ issue you'd like to create. Please use this opportunity to tell us about the
+ type of issue you were looking for, so we can try to accommodate similar
+ issues in the future.
-## Steps to Reproduce (for bugs)
-
-
-1.
-2.
-3.
-4.
-
-## Context
-
-
-
-## Environment
-
-* Chart.js version:
-* Browser name and version:
-* Link to your project:
+ If you're using this template to report an issue covered by an existing issue
+ type, we'll close it as invalid faster than you can spell 'Mississippi'.
+-->
diff --git a/.github/ISSUE_TEMPLATE/BUG.md b/.github/ISSUE_TEMPLATE/BUG.md
new file mode 100644
index 00000000000..1d9ca8c2754
--- /dev/null
+++ b/.github/ISSUE_TEMPLATE/BUG.md
@@ -0,0 +1,50 @@
+---
+name: Bug Report
+about: Something went awry
+labels: 'type: bug'
+---
+
+
+
+## Expected Behavior
+
+
+## Current Behavior
+
+
+## Possible Solution
+
+
+## Steps to Reproduce (for bugs)
+
+
+## Context
+
+
+## Environment
+
+* Chart.js version:
+* Browser name and version:
+* Link to your project:
diff --git a/.github/ISSUE_TEMPLATE/DOCS.md b/.github/ISSUE_TEMPLATE/DOCS.md
new file mode 100644
index 00000000000..70e8b34c1ef
--- /dev/null
+++ b/.github/ISSUE_TEMPLATE/DOCS.md
@@ -0,0 +1,25 @@
+---
+name: Documentation
+about: Are the docs lacking or missing something?
+labels: 'type: documentation'
+---
+
+Documentation Is:
+
+
+
+- [ ] Missing or needed
+- [ ] Confusing
+- [ ] Not Sure?
+
+### Please Explain in Detail...
+
+
+### Your Proposal for Changes
+
+
+### Example
+
diff --git a/.github/ISSUE_TEMPLATE/FEATURE.md b/.github/ISSUE_TEMPLATE/FEATURE.md
new file mode 100644
index 00000000000..22b716a1db5
--- /dev/null
+++ b/.github/ISSUE_TEMPLATE/FEATURE.md
@@ -0,0 +1,25 @@
+---
+name: Feature Request
+about: Suggest an idea
+labels: 'type: enhancement'
+---
+
+
+
+### Feature Proposal
+
+
+### Feature Use Case
+
+
+
+## Possible Implementation
+
diff --git a/.github/ISSUE_TEMPLATE/SUPPORT.md b/.github/ISSUE_TEMPLATE/SUPPORT.md
new file mode 100644
index 00000000000..1b554bbf4bb
--- /dev/null
+++ b/.github/ISSUE_TEMPLATE/SUPPORT.md
@@ -0,0 +1,27 @@
+---
+name: Support, Help, and Advice
+about: Need help or support? Head to https://stackoverflow.com/questions/tagged/chart.js
+labels: 'type: support'
+---
+
+
diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md
index 9625965b493..7dd68ba0f29 100644
--- a/.github/PULL_REQUEST_TEMPLATE.md
+++ b/.github/PULL_REQUEST_TEMPLATE.md
@@ -4,8 +4,8 @@ Please consider the following before submitting a pull request:
Guidelines for contributing: https://github.com/chartjs/Chart.js/blob/master/docs/developers/contributing.md
Example of changes on an interactive website such as the following:
-- http://jsbin.com/
-- http://jsfiddle.net/
-- http://codepen.io/pen/
-- Premade template: http://codepen.io/pen?template=JXVYzq
+- https://jsbin.com/
+- https://jsfiddle.net/
+- https://codepen.io/pen/
+- Premade template: https://codepen.io/pen?template=JXVYzq
-->
diff --git a/.gitignore b/.gitignore
index 0a65be9b282..f275dac0706 100644
--- a/.gitignore
+++ b/.gitignore
@@ -9,6 +9,8 @@
/package-lock.json
.DS_Store
.idea
+.project
+.settings
.vscode
bower.json
*.log
diff --git a/.npmignore b/.npmignore
deleted file mode 100644
index 47b4948ed27..00000000000
--- a/.npmignore
+++ /dev/null
@@ -1,13 +0,0 @@
-/.git
-/.github
-/coverage
-/custom
-/dist/*.zip
-/docs/index.md
-/node_modules
-
-.codeclimate.yml
-.DS_Store
-.gitignore
-.idea
-.travis.yml
diff --git a/.travis.yml b/.travis.yml
index 9b38ab3c146..0be85778214 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,6 +1,6 @@
language: node_js
node_js:
- - "6"
+ - lts/*
before_install:
- "export CHROME_BIN=/usr/bin/google-chrome"
@@ -42,13 +42,12 @@ deploy:
branch: release
- provider: releases
api_key: $GITHUB_AUTH_TOKEN
- file:
- - "./dist/Chart.bundle.js"
- - "./dist/Chart.bundle.min.js"
- - "./dist/Chart.js"
- - "./dist/Chart.min.js"
- - "./dist/Chart.js.zip"
skip_cleanup: true
+ file_glob: true
+ file:
+ - ./dist/*.css
+ - ./dist/*.js
+ - ./dist/*.zip
on:
tags: true
- provider: npm
diff --git a/MAINTAINING.md b/MAINTAINING.md
index 5e34f433c18..288b03945ff 100644
--- a/MAINTAINING.md
+++ b/MAINTAINING.md
@@ -5,7 +5,7 @@ Chart.js relies on [Travis CI](https://travis-ci.org/) to automate the library [
### Releasing a New Version
1. draft release notes on [GitHub](https://github.com/chartjs/Chart.js/releases/new) for the upcoming tag
-1. update `master` `package.json` version using [semver](http://semver.org/) semantic
+1. update `master` `package.json` version using [semver](https://semver.org/) semantic
1. merge `master` into the `release` branch
1. follow the build process on [Travis CI](https://travis-ci.org/chartjs/Chart.js)
diff --git a/README.md b/README.md
index d7e966ca784..5a522a5e915 100644
--- a/README.md
+++ b/README.md
@@ -1,57 +1,32 @@
-# Chart.js
-
-[![travis](https://img.shields.io/travis/chartjs/Chart.js.svg?style=flat-square&maxAge=60)](https://travis-ci.org/chartjs/Chart.js) [![coveralls](https://img.shields.io/coveralls/chartjs/Chart.js.svg?style=flat-square&maxAge=600)](https://coveralls.io/github/chartjs/Chart.js?branch=master) [![codeclimate](https://img.shields.io/codeclimate/maintainability/chartjs/Chart.js.svg?style=flat-square&maxAge=600)](https://codeclimate.com/github/chartjs/Chart.js) [![slack](https://img.shields.io/badge/slack-chartjs-blue.svg?style=flat-square&maxAge=3600)](https://chartjs-slack.herokuapp.com/)
-
-*Simple HTML5 Charts using the canvas element* [chartjs.org](http://www.chartjs.org)
-
-## Installation
-
-You can download the latest version of Chart.js from the [GitHub releases](https://github.com/chartjs/Chart.js/releases/latest) or use a [Chart.js CDN](https://cdnjs.com/libraries/Chart.js).
-
-To install via npm:
-
-```bash
-npm install chart.js --save
-```
-
-To install via bower:
-```bash
-bower install chart.js --save
-```
-
-### Selecting the Correct Build
-
-Chart.js provides two different builds for you to choose: `Stand-Alone Build`, `Bundled Build`.
-
-#### Stand-Alone Build
-Files:
-* `dist/Chart.js`
-* `dist/Chart.min.js`
-
-The stand-alone build includes Chart.js as well as the color parsing library. If this version is used, you are required to include [Moment.js](http://momentjs.com/) before Chart.js for the functionality of the time axis.
-
-#### Bundled Build
-Files:
-* `dist/Chart.bundle.js`
-* `dist/Chart.bundle.min.js`
-
-The bundled build includes Moment.js in a single file. You should use this version if you require time axes and want to include a single file. You should not use this build if your application already included Moment.js. Otherwise, Moment.js will be included twice which results in increasing page load time and possible version compatibility issues. The Moment.js version in the bundled build is private to Chart.js so if you want to use Moment.js yourself, it's better to use Chart.js (non bundled) and import Moment.js manually.
+
## Documentation
-You can find documentation at [www.chartjs.org/docs](http://www.chartjs.org/docs). The markdown files that build the site are available under `/docs`. Previous version documentation is available at [www.chartjs.org/docs/latest/developers/#previous-versions](http://www.chartjs.org/docs/latest/developers/#previous-versions).
+- [Introduction](https://www.chartjs.org/docs/latest/)
+- [Getting Started](https://www.chartjs.org/docs/latest/getting-started/)
+- [General](https://www.chartjs.org/docs/latest/general/)
+- [Configuration](https://www.chartjs.org/docs/latest/configuration/)
+- [Charts](https://www.chartjs.org/docs/latest/charts/)
+- [Axes](https://www.chartjs.org/docs/latest/axes/)
+- [Developers](https://www.chartjs.org/docs/latest/developers/)
+- [Popular Extensions](https://github.com/chartjs/awesome)
+- [Samples](https://www.chartjs.org/samples/)
## Contributing
-Before submitting an issue or a pull request, please take a moment to look over the [contributing guidelines](https://github.com/chartjs/Chart.js/blob/master/docs/developers/contributing.md) first. For support using Chart.js, please post questions with the [`chartjs` tag on Stack Overflow](http://stackoverflow.com/questions/tagged/chartjs).
-
-## Building
-Instructions on building and testing Chart.js can be found in [the documentation](https://github.com/chartjs/Chart.js/blob/master/docs/developers/contributing.md#building-and-testing).
-
-## Thanks
-- [BrowserStack](https://browserstack.com) for allowing our team to test on thousands of browsers.
-- [@n8agrin](https://twitter.com/n8agrin) for the Twitter handle donation.
+Instructions on building and testing Chart.js can be found in [the documentation](https://github.com/chartjs/Chart.js/blob/master/docs/developers/contributing.md#building-and-testing). Before submitting an issue or a pull request, please take a moment to look over the [contributing guidelines](https://github.com/chartjs/Chart.js/blob/master/docs/developers/contributing.md) first. For support, please post questions on [Stack Overflow](https://stackoverflow.com/questions/tagged/chartjs) with the `chartjs` tag.
## License
-Chart.js is available under the [MIT license](http://opensource.org/licenses/MIT).
+Chart.js is available under the [MIT license](https://opensource.org/licenses/MIT).
diff --git a/book.json b/book.json
index 8b0f73970df..22acbde968c 100644
--- a/book.json
+++ b/book.json
@@ -3,7 +3,15 @@
"title": "Chart.js documentation",
"author": "chartjs",
"gitbook": "3.2.2",
- "plugins": ["-lunr", "-search", "search-plus", "anchorjs", "chartjs", "ga"],
+ "plugins": [
+ "-lunr",
+ "-search",
+ "search-plus",
+ "anchorjs",
+ "chartjs",
+ "ga",
+ "redirect"
+ ],
"pluginsConfig": {
"anchorjs": {
"icon": "#",
diff --git a/composer.json b/composer.json
index 48d05b8dcb7..b332bb0f595 100644
--- a/composer.json
+++ b/composer.json
@@ -6,7 +6,7 @@
"chart",
"js"
],
- "homepage": "http://www.chartjs.org/",
+ "homepage": "https://www.chartjs.org/",
"license": "MIT",
"authors": [
{
diff --git a/docs/README.md b/docs/README.md
index 24ee8d49982..9592ecf2c10 100644
--- a/docs/README.md
+++ b/docs/README.md
@@ -4,21 +4,21 @@
## Installation
-You can download the latest version of Chart.js from the [GitHub releases](https://github.com/chartjs/Chart.js/releases/latest) or use a [Chart.js CDN](https://cdnjs.com/libraries/Chart.js). Detailed installation instructions can be found on the [installation](./getting-started/installation.md) page.
+You can download the latest version of Chart.js from the [GitHub releases](https://github.com/chartjs/Chart.js/releases/latest) or use a [Chart.js CDN](https://www.jsdelivr.com/package/npm/chart.js). Detailed installation instructions can be found on the [installation](./getting-started/installation.md) page.
## Creating a Chart
It's easy to get started with Chart.js. All that's required is the script included in your page along with a single `