From 98edf1afe78cdcb1427bce1b40deeea1cc888f75 Mon Sep 17 00:00:00 2001 From: Adi Dahiya Date: Mon, 9 Sep 2019 20:39:45 -0400 Subject: [PATCH] Prepare release v5.20.0 (#4853) --- CHANGELOG.md | 23 +++++++++++++++++++++++ package.json | 2 +- src/linter.ts | 2 +- 3 files changed, 25 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9286540e18b..61cc9ce16c1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,28 @@ # Change Log +## v5.20.0 + +- [bugfix] fix [`strict-boolean-expressions`](https://palantir.github.io/tslint/rules/strict-boolean-expressions/) false positive with `"ignore-rhs"` option (#4833) +- [bugfix] fix [`no-unnecessary-type-assertion`](https://palantir.github.io/tslint/rules/no-unnecessary-type-assertion/) no error when `"strict": true` in compiler flags (#4841) +- [bugfix] "ignore" option for [`file-name-casing`](https://palantir.github.io/tslint/rules/file-name-casing/) rule works correctly (#4848) +- [bugfix] fix [`array-type`](https://palantir.github.io/tslint/rules/array-type/) false positive for simple parenthesized types with "array-simple" option (#4844) +- [new-rule-option] [`object-literal-shorthand`](https://palantir.github.io/tslint/rules/object-literal-shorthand/) supports `{"property"?: "never", "method"?: "never"}` as config options (#4842) +- [new-rule-option]: `allow-generics` option for [`invalid-void`](https://palantir.github.io/tslint/rules/invalid-void) rule (#4839) +- [new-rule-option] `check-super-calls` option for [`unnecessary-constructor`](https://palantir.github.io/tslint/rules/unnecessary-constructor/) rule (#4813) +- [chore] Upgrade `diff` dependency to v4.0.1 (#4845, #4852) + +Thanks to our contributors! + +- Bas Bosman +- Tanmoy Bhowmik +- David Zulaica +- Maxime Kjaer +- @guidsdo +- Pavel Birukov +- Josh Goldberg +- Akshaya Srivatsa + + ## v5.19.0 - [bugfix] relax [`promise-function-async`](https://palantir.github.io/tslint/rules/promise-function-async/) for short parenthesized arrow functions (#4765) diff --git a/package.json b/package.json index 9bc22757544..d6930bccebd 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "tslint", - "version": "5.19.0", + "version": "5.20.0", "description": "An extensible static analysis linter for the TypeScript language", "bin": { "tslint": "./bin/tslint" diff --git a/src/linter.ts b/src/linter.ts index 1d7bc285469..58703200b70 100644 --- a/src/linter.ts +++ b/src/linter.ts @@ -42,7 +42,7 @@ import { arrayify, dedent, flatMap, mapDefined } from "./utils"; * Linter that can lint multiple files in consecutive runs. */ export class Linter { - public static VERSION = "5.19.0"; + public static VERSION = "5.20.0"; public static findConfiguration = findConfiguration; public static findConfigurationPath = findConfigurationPath;