diff --git a/CHANGELOG.md b/CHANGELOG.md index 43aac196f..6271cc2b4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,52 @@ +# v9.15.0 (Sun Mar 01 2020) + +### Release Notes + +_From #998_ + +Configs are now fully validated including plugins 🎉 + +Screen Shot 2020-02-29 at 10 19 01 PM + +### 🚀 Command Configuration 🚀 + +With the inclusion of configuration validation we decided to restrict valid root level keys to only options that are shared between commands. All of these options are called out in the [`.autorc` docs](https://intuit.github.io/auto/pages/autorc.html). + +But for some commands it still makes sense to configure flag permanently in the `.autorc`. For those commands you can now supply defaults for flags using the following format. + +**Example:** Adding the following to you `.autorc` will make `auto` only release pre-releases to GitHub. + +```json +{ + "release": { + "prerelease": true + } +} +``` + +Please refer to each command's documentation to see which options are configurable. + +### New Hook + +For plugins configuration validation a new hook `validateConfiguration` was added for plugins to tap into and report configuration errors. [Read more](https://intuit.github.io/auto/pages/writing-plugins.html#validateconfig) + +--- + +#### 🚀 Enhancement + +- `auto`, `@auto-it/core`, `@auto-it/all-contributors`, `@auto-it/chrome`, `@auto-it/conventional-commits`, `@auto-it/crates`, `@auto-it/git-tag`, `@auto-it/gradle`, `@auto-it/jira`, `@auto-it/maven`, `@auto-it/npm`, `@auto-it/omit-commits`, `@auto-it/omit-release-notes`, `@auto-it/released`, `@auto-it/s3`, `@auto-it/slack`, `@auto-it/twitter`, `@auto-it/upload-assets` + - Config Validation + Command Defaults [#998](https://github.com/intuit/auto/pull/998) ([@hipstersmoothie](https://github.com/hipstersmoothie)) + +#### 📝 Documentation + +- Add @unknownerror404 as a contributor [#997](https://github.com/intuit/auto/pull/997) ([@hipstersmoothie](https://github.com/hipstersmoothie)) + +#### Authors: 1 + +- Andrew Lisowski ([@hipstersmoothie](https://github.com/hipstersmoothie)) + +--- + # v9.14.0 (Tue Feb 25 2020) #### 🚀 Enhancement diff --git a/packages/cli/CHANGELOG.md b/packages/cli/CHANGELOG.md index 597f8d6c2..6e7a37548 100644 --- a/packages/cli/CHANGELOG.md +++ b/packages/cli/CHANGELOG.md @@ -1,3 +1,16 @@ +# v9.15.0 (Sun Mar 01 2020) + +#### 🐛 Bug Fix + +- enable autorc configuration for some command flags ([@hipstersmoothie](https://github.com/hipstersmoothie)) +- fix tests ([@hipstersmoothie](https://github.com/hipstersmoothie)) + +#### Authors: 1 + +- Andrew Lisowski ([@hipstersmoothie](https://github.com/hipstersmoothie)) + +--- + # v9.13.1 (Mon Feb 24 2020) #### 🐛 Bug Fix diff --git a/packages/core/CHANGELOG.md b/packages/core/CHANGELOG.md index b9e6eca74..7066b0786 100644 --- a/packages/core/CHANGELOG.md +++ b/packages/core/CHANGELOG.md @@ -1,3 +1,41 @@ +# v9.15.0 (Sun Mar 01 2020) + +#### 🐛 Bug Fix + +- use fromEntries ponyfill until node 10 EOL ([@hipstersmoothie](https://github.com/hipstersmoothie)) +- don't valide config with flag overrides ([@hipstersmoothie](https://github.com/hipstersmoothie)) +- enable autorc configuration for some command flags ([@hipstersmoothie](https://github.com/hipstersmoothie)) +- dont include intersections in valdation error path ([@hipstersmoothie](https://github.com/hipstersmoothie)) +- dont match none labels. this fixes bug where releaseType none labels would get the internal label's description ([@hipstersmoothie](https://github.com/hipstersmoothie)) +- fix label ordering for validation error paths ([@hipstersmoothie](https://github.com/hipstersmoothie)) +- strip ansi codes from snapshots ([@hipstersmoothie](https://github.com/hipstersmoothie)) +- layout validaiton erros with more space ([@hipstersmoothie](https://github.com/hipstersmoothie)) +- fix tests ([@hipstersmoothie](https://github.com/hipstersmoothie)) +- validate fully loaded configuration ([@hipstersmoothie](https://github.com/hipstersmoothie)) +- print objects better ([@hipstersmoothie](https://github.com/hipstersmoothie)) +- print arrays better ([@hipstersmoothie](https://github.com/hipstersmoothie)) +- dont report redundant errors ([@hipstersmoothie](https://github.com/hipstersmoothie)) +- add test to ensure command configuration doesn't throw errors ([@hipstersmoothie](https://github.com/hipstersmoothie)) +- fix lint ([@hipstersmoothie](https://github.com/hipstersmoothie)) +- add test to make sure auto exits with configuration errors ([@hipstersmoothie](https://github.com/hipstersmoothie)) +- fix old tests ([@hipstersmoothie](https://github.com/hipstersmoothie)) +- validate raw config ([@hipstersmoothie](https://github.com/hipstersmoothie)) +- fix union type overriding ([@hipstersmoothie](https://github.com/hipstersmoothie)) +- get array of objects working ([@hipstersmoothie](https://github.com/hipstersmoothie)) +- recursively convert type to exact ([@hipstersmoothie](https://github.com/hipstersmoothie)) +- make plugin configuration helper util ([@hipstersmoothie](https://github.com/hipstersmoothie)) +- exit on invalid config ([@hipstersmoothie](https://github.com/hipstersmoothie)) +- when validating stop at unknown top level keys ([@hipstersmoothie](https://github.com/hipstersmoothie)) +- remove dead code, was never used anywher ([@hipstersmoothie](https://github.com/hipstersmoothie)) +- validate autorc configuration + add validateConfig hook for plugins ([@hipstersmoothie](https://github.com/hipstersmoothie)) +- refactor autorc type ([@hipstersmoothie](https://github.com/hipstersmoothie)) + +#### Authors: 1 + +- Andrew Lisowski ([@hipstersmoothie](https://github.com/hipstersmoothie)) + +--- + # v9.14.0 (Tue Feb 25 2020) #### 🐛 Bug Fix diff --git a/plugins/all-contributors/CHANGELOG.md b/plugins/all-contributors/CHANGELOG.md index 707795015..368e31d99 100644 --- a/plugins/all-contributors/CHANGELOG.md +++ b/plugins/all-contributors/CHANGELOG.md @@ -1,3 +1,18 @@ +# v9.15.0 (Sun Mar 01 2020) + +#### 🐛 Bug Fix + +- update plugin and autorc docs ([@hipstersmoothie](https://github.com/hipstersmoothie)) +- use fromEntries ponyfill until node 10 EOL ([@hipstersmoothie](https://github.com/hipstersmoothie)) +- add fp and io-ts as deps ([@hipstersmoothie](https://github.com/hipstersmoothie)) +- add plugin configuration validation ([@hipstersmoothie](https://github.com/hipstersmoothie)) + +#### Authors: 1 + +- Andrew Lisowski ([@hipstersmoothie](https://github.com/hipstersmoothie)) + +--- + # v9.13.1 (Mon Feb 24 2020) #### 🐛 Bug Fix diff --git a/plugins/chrome/CHANGELOG.md b/plugins/chrome/CHANGELOG.md index 2aa38cdbf..ce0ec147c 100644 --- a/plugins/chrome/CHANGELOG.md +++ b/plugins/chrome/CHANGELOG.md @@ -1,3 +1,17 @@ +# v9.15.0 (Sun Mar 01 2020) + +#### 🐛 Bug Fix + +- update plugin and autorc docs ([@hipstersmoothie](https://github.com/hipstersmoothie)) +- add fp and io-ts as deps ([@hipstersmoothie](https://github.com/hipstersmoothie)) +- add plugin configuration validation ([@hipstersmoothie](https://github.com/hipstersmoothie)) + +#### Authors: 1 + +- Andrew Lisowski ([@hipstersmoothie](https://github.com/hipstersmoothie)) + +--- + # v9.13.1 (Mon Feb 24 2020) #### 🐛 Bug Fix diff --git a/plugins/conventional-commits/CHANGELOG.md b/plugins/conventional-commits/CHANGELOG.md index 5bb96d394..c5bc9b985 100644 --- a/plugins/conventional-commits/CHANGELOG.md +++ b/plugins/conventional-commits/CHANGELOG.md @@ -1,3 +1,15 @@ +# v9.15.0 (Sun Mar 01 2020) + +#### 🐛 Bug Fix + +- add plugin configuration validation ([@hipstersmoothie](https://github.com/hipstersmoothie)) + +#### Authors: 1 + +- Andrew Lisowski ([@hipstersmoothie](https://github.com/hipstersmoothie)) + +--- + # v9.13.1 (Mon Feb 24 2020) #### 🐛 Bug Fix diff --git a/plugins/crates/CHANGELOG.md b/plugins/crates/CHANGELOG.md index 2e910e2aa..724948520 100644 --- a/plugins/crates/CHANGELOG.md +++ b/plugins/crates/CHANGELOG.md @@ -1,3 +1,15 @@ +# v9.15.0 (Sun Mar 01 2020) + +#### 🐛 Bug Fix + +- add plugin configuration validation ([@hipstersmoothie](https://github.com/hipstersmoothie)) + +#### Authors: 1 + +- Andrew Lisowski ([@hipstersmoothie](https://github.com/hipstersmoothie)) + +--- + # v9.13.1 (Mon Feb 24 2020) #### 🐛 Bug Fix diff --git a/plugins/git-tag/CHANGELOG.md b/plugins/git-tag/CHANGELOG.md index f923e0c7a..09503bc84 100644 --- a/plugins/git-tag/CHANGELOG.md +++ b/plugins/git-tag/CHANGELOG.md @@ -1,3 +1,15 @@ +# v9.15.0 (Sun Mar 01 2020) + +#### 🐛 Bug Fix + +- add plugin configuration validation ([@hipstersmoothie](https://github.com/hipstersmoothie)) + +#### Authors: 1 + +- Andrew Lisowski ([@hipstersmoothie](https://github.com/hipstersmoothie)) + +--- + # v9.13.1 (Mon Feb 24 2020) #### 🐛 Bug Fix diff --git a/plugins/gradle/CHANGELOG.md b/plugins/gradle/CHANGELOG.md index af4a66a3c..8aa0e0b51 100644 --- a/plugins/gradle/CHANGELOG.md +++ b/plugins/gradle/CHANGELOG.md @@ -1,3 +1,15 @@ +# v9.15.0 (Sun Mar 01 2020) + +#### 🐛 Bug Fix + +- add plugin configuration validation ([@hipstersmoothie](https://github.com/hipstersmoothie)) + +#### Authors: 1 + +- Andrew Lisowski ([@hipstersmoothie](https://github.com/hipstersmoothie)) + +--- + # v9.13.1 (Mon Feb 24 2020) #### 🐛 Bug Fix diff --git a/plugins/jira/CHANGELOG.md b/plugins/jira/CHANGELOG.md index 3c8257d3a..5a766faeb 100644 --- a/plugins/jira/CHANGELOG.md +++ b/plugins/jira/CHANGELOG.md @@ -1,3 +1,17 @@ +# v9.15.0 (Sun Mar 01 2020) + +#### 🐛 Bug Fix + +- update plugin and autorc docs ([@hipstersmoothie](https://github.com/hipstersmoothie)) +- add fp and io-ts as deps ([@hipstersmoothie](https://github.com/hipstersmoothie)) +- add plugin configuration validation ([@hipstersmoothie](https://github.com/hipstersmoothie)) + +#### Authors: 1 + +- Andrew Lisowski ([@hipstersmoothie](https://github.com/hipstersmoothie)) + +--- + # v9.13.1 (Mon Feb 24 2020) #### 🐛 Bug Fix diff --git a/plugins/maven/CHANGELOG.md b/plugins/maven/CHANGELOG.md index 8c9d56175..c8d207638 100644 --- a/plugins/maven/CHANGELOG.md +++ b/plugins/maven/CHANGELOG.md @@ -1,3 +1,15 @@ +# v9.15.0 (Sun Mar 01 2020) + +#### 🐛 Bug Fix + +- fix tests ([@hipstersmoothie](https://github.com/hipstersmoothie)) + +#### Authors: 1 + +- Andrew Lisowski ([@hipstersmoothie](https://github.com/hipstersmoothie)) + +--- + # v9.13.1 (Mon Feb 24 2020) #### 🐛 Bug Fix diff --git a/plugins/npm/CHANGELOG.md b/plugins/npm/CHANGELOG.md index 475b673a5..3da2a4b68 100644 --- a/plugins/npm/CHANGELOG.md +++ b/plugins/npm/CHANGELOG.md @@ -1,3 +1,18 @@ +# v9.15.0 (Sun Mar 01 2020) + +#### 🐛 Bug Fix + +- update plugin and autorc docs ([@hipstersmoothie](https://github.com/hipstersmoothie)) +- add fp and io-ts as deps ([@hipstersmoothie](https://github.com/hipstersmoothie)) +- fix old tests ([@hipstersmoothie](https://github.com/hipstersmoothie)) +- add plugin configuration validation ([@hipstersmoothie](https://github.com/hipstersmoothie)) + +#### Authors: 1 + +- Andrew Lisowski ([@hipstersmoothie](https://github.com/hipstersmoothie)) + +--- + # v9.13.1 (Mon Feb 24 2020) #### 🐛 Bug Fix diff --git a/plugins/omit-commits/CHANGELOG.md b/plugins/omit-commits/CHANGELOG.md index 9b54b07b8..0c8ca646c 100644 --- a/plugins/omit-commits/CHANGELOG.md +++ b/plugins/omit-commits/CHANGELOG.md @@ -1,3 +1,17 @@ +# v9.15.0 (Sun Mar 01 2020) + +#### 🐛 Bug Fix + +- update plugin and autorc docs ([@hipstersmoothie](https://github.com/hipstersmoothie)) +- add fp and io-ts as deps ([@hipstersmoothie](https://github.com/hipstersmoothie)) +- add plugin configuration validation ([@hipstersmoothie](https://github.com/hipstersmoothie)) + +#### Authors: 1 + +- Andrew Lisowski ([@hipstersmoothie](https://github.com/hipstersmoothie)) + +--- + # v9.13.1 (Mon Feb 24 2020) #### 🐛 Bug Fix diff --git a/plugins/omit-release-notes/CHANGELOG.md b/plugins/omit-release-notes/CHANGELOG.md index 9b54b07b8..0c8ca646c 100644 --- a/plugins/omit-release-notes/CHANGELOG.md +++ b/plugins/omit-release-notes/CHANGELOG.md @@ -1,3 +1,17 @@ +# v9.15.0 (Sun Mar 01 2020) + +#### 🐛 Bug Fix + +- update plugin and autorc docs ([@hipstersmoothie](https://github.com/hipstersmoothie)) +- add fp and io-ts as deps ([@hipstersmoothie](https://github.com/hipstersmoothie)) +- add plugin configuration validation ([@hipstersmoothie](https://github.com/hipstersmoothie)) + +#### Authors: 1 + +- Andrew Lisowski ([@hipstersmoothie](https://github.com/hipstersmoothie)) + +--- + # v9.13.1 (Mon Feb 24 2020) #### 🐛 Bug Fix diff --git a/plugins/released/CHANGELOG.md b/plugins/released/CHANGELOG.md index c22124f9c..914d51c8b 100644 --- a/plugins/released/CHANGELOG.md +++ b/plugins/released/CHANGELOG.md @@ -1,3 +1,17 @@ +# v9.15.0 (Sun Mar 01 2020) + +#### 🐛 Bug Fix + +- update plugin and autorc docs ([@hipstersmoothie](https://github.com/hipstersmoothie)) +- add fp and io-ts as deps ([@hipstersmoothie](https://github.com/hipstersmoothie)) +- add plugin configuration validation ([@hipstersmoothie](https://github.com/hipstersmoothie)) + +#### Authors: 1 + +- Andrew Lisowski ([@hipstersmoothie](https://github.com/hipstersmoothie)) + +--- + # v9.13.1 (Mon Feb 24 2020) #### 🐛 Bug Fix diff --git a/plugins/s3/CHANGELOG.md b/plugins/s3/CHANGELOG.md index 914b9f213..c3891a66e 100644 --- a/plugins/s3/CHANGELOG.md +++ b/plugins/s3/CHANGELOG.md @@ -1,3 +1,18 @@ +# v9.15.0 (Sun Mar 01 2020) + +#### 🐛 Bug Fix + +- update plugin and autorc docs ([@hipstersmoothie](https://github.com/hipstersmoothie)) +- add fp and io-ts as deps ([@hipstersmoothie](https://github.com/hipstersmoothie)) +- fix old tests ([@hipstersmoothie](https://github.com/hipstersmoothie)) +- add plugin configuration validation ([@hipstersmoothie](https://github.com/hipstersmoothie)) + +#### Authors: 1 + +- Andrew Lisowski ([@hipstersmoothie](https://github.com/hipstersmoothie)) + +--- + # v8.6.0 (Tue Dec 17 2019) #### 🐛 Bug Fix diff --git a/plugins/slack/CHANGELOG.md b/plugins/slack/CHANGELOG.md index 4ac7c6473..f0a5fe7a6 100644 --- a/plugins/slack/CHANGELOG.md +++ b/plugins/slack/CHANGELOG.md @@ -1,3 +1,16 @@ +# v9.15.0 (Sun Mar 01 2020) + +#### 🐛 Bug Fix + +- add fp and io-ts as deps ([@hipstersmoothie](https://github.com/hipstersmoothie)) +- add plugin configuration validation ([@hipstersmoothie](https://github.com/hipstersmoothie)) + +#### Authors: 1 + +- Andrew Lisowski ([@hipstersmoothie](https://github.com/hipstersmoothie)) + +--- + # v9.13.1 (Mon Feb 24 2020) #### 🐛 Bug Fix diff --git a/plugins/twitter/CHANGELOG.md b/plugins/twitter/CHANGELOG.md index 87dc739df..1f0bdea8a 100644 --- a/plugins/twitter/CHANGELOG.md +++ b/plugins/twitter/CHANGELOG.md @@ -1,3 +1,17 @@ +# v9.15.0 (Sun Mar 01 2020) + +#### 🐛 Bug Fix + +- update plugin and autorc docs ([@hipstersmoothie](https://github.com/hipstersmoothie)) +- add fp and io-ts as deps ([@hipstersmoothie](https://github.com/hipstersmoothie)) +- add plugin configuration validation ([@hipstersmoothie](https://github.com/hipstersmoothie)) + +#### Authors: 1 + +- Andrew Lisowski ([@hipstersmoothie](https://github.com/hipstersmoothie)) + +--- + # v9.13.1 (Mon Feb 24 2020) #### 🐛 Bug Fix diff --git a/plugins/upload-assets/CHANGELOG.md b/plugins/upload-assets/CHANGELOG.md index 5ede9da72..8b6dde3b8 100644 --- a/plugins/upload-assets/CHANGELOG.md +++ b/plugins/upload-assets/CHANGELOG.md @@ -1,3 +1,17 @@ +# v9.15.0 (Sun Mar 01 2020) + +#### 🐛 Bug Fix + +- update plugin and autorc docs ([@hipstersmoothie](https://github.com/hipstersmoothie)) +- add fp and io-ts as deps ([@hipstersmoothie](https://github.com/hipstersmoothie)) +- add plugin configuration validation ([@hipstersmoothie](https://github.com/hipstersmoothie)) + +#### Authors: 1 + +- Andrew Lisowski ([@hipstersmoothie](https://github.com/hipstersmoothie)) + +--- + # v9.13.1 (Mon Feb 24 2020) #### 🐛 Bug Fix