From 194eddcb9371af02388039408a2a282b9a2aa613 Mon Sep 17 00:00:00 2001 From: Adi Dahiya Date: Sat, 23 Feb 2019 16:52:34 -0500 Subject: [PATCH] Prepare release v5.13.0 --- CHANGELOG.md | 61 +++++++++++++++++++++++++++++++++++++++++++++++++++ package.json | 2 +- src/linter.ts | 2 +- 3 files changed, 63 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5620bbb6e1f..288c01560be 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,66 @@ # Change Log +## v5.13.0 + +- [deprecation] Mark `RuleWalker` and `ProgramAwareRuleWalker` as deprecated (#4413) +- [bugfix] Create output directory when the output path (specified by `--out` CLI flag) does not exist. (#4507) +- [bugfix] Explicit disabling of rules is now copied over to jsRules when using `jsRules: true` (#4517) +- [bugfix] `unknown` is recognized as simple type in [`array-type`](https://palantir.github.io/tslint/rules/array-type/) (#4433) +- [bugfix] [`ban`](https://palantir.github.io/tslint/rules/ban/): Fix a false positive which would occur when banning method calls nested inside objects. Previously, banning `["a", "b", "c"]` would trigger lint failures on the syntax `b.c()`, which was not the intent of this rule. (#4383) +- [bugfix] Fixed single-line comment parsing for completed-docs (#3557) +- [bugfix] [`trailing-comma`](https://palantir.github.io/tslint/rules/trailing-comma/) no longer crashes if it cannot find the closing parenthesis of a function declaration (#4457) +- [bugfix] [`no-unsafe-any`](https://palantir.github.io/tslint/rules/no-unsafe-any/): allow implicitly downcasting `any` to `unknown` (#4442) +- [bugfix] Add `grouped-imports` to `tslint:all` (#4420) +- [docs] Fix docs typo (#4395) +- [enhancement] Add "formatting" rule category (#2832) +- [enhancement] [`ordered-imports`](https://palantir.github.io/tslint/rules/ordered-imports/) now supports a groups option to provide custom grouping rules. (#4134) +- [enhancement] Convert `completed-docs` to an untyped rule (#3557) +- [enhancement] Checkstyle formatter includes every file linted regardless of lint errors. (#3838) +- [enhancement] Formatters now receive the full list of of linted file paths as a third argument. (#3838) +- [enhancement] [`array-type`](https://palantir.github.io/tslint/rules/array-type/) rule handles Typescript 3.0's unknown type properly (#4219) +- [enhancement] [`import-blacklist`](https://palantir.github.io/tslint/rules/import-blacklist/) now supports regular expression patterns for blacklisting (#3504) +- [new-rule] `no-restricted-globals` (#3824) +- [new-fixer] added fixer for `newline-before-return` rule (#4482) +- [new-fixer] [`number-literal-format`](https://palantir.github.io/tslint/rules/number-literal-format/) now includes auto fix (#4496) +- [new-rule-option] Added `whitelist` option to [`no-unbound-method`](https://palantir.github.io/tslint/rules/no-unbound-method/) (#4472) +- [new-rule-option] added `jsx-ignore` option to [`no-magic-numbers`](https://palantir.github.io/tslint/rules/no-magic-numbers/) rule (#4460) +- [new-rule-option]: [`object-literal-sort-keys`](https://palantir.github.io/tslint/rules/object-literal-sort-keys/): Add `match-declaration-order-only` option (#3748) +- [new-rule-option] [`strict-boolean-expressions`](https://palantir.github.io/tslint/rules/strict-boolean-expressions/) accepts `ignore-rhs` option to disable checking the right-hand side of the `&&` and `||` operators as strictly boolean. (#4159) + +Thanks to our contributors! + +- Enes SOYLU +- jbsingh +- Sven Efftinge +- James C. Davis +- Norio Suzuki +- Thomas den Hollander +- Retsam +- Dobes Vandermeer +- Young Min Kim +- Grant Wu +- Felix Schindler +- Lydia +- Adrian Leonhard +- James Jensen +- Athene Noctua +- Allen +- Vincent Langlet +- Paul Medynski +- Liz +- Piotr Gajowniczek +- Max Sysoev +- Jakub Beneš +- Ian Mobley +- 周昊宇 +- Nazanin Delam +- Matt R. Wilson +- Andy Hanson +- Zen +- Josh Goldberg +- Jeff Lau + + ## v5.12.1 ## :hammer_and_wrench: Bugfixes & enhancements diff --git a/package.json b/package.json index 12eeeadcbf0..b61d0ecfd7c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "tslint", - "version": "5.12.1", + "version": "5.13.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 ceced932a88..322c358dc6f 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.12.1"; + public static VERSION = "5.13.0"; public static findConfiguration = findConfiguration; public static findConfigurationPath = findConfigurationPath;