From 4722df460d4571627ac2762daebf27283487a01d Mon Sep 17 00:00:00 2001 From: John Wiseheart Date: Mon, 16 Jul 2018 10:19:06 -0700 Subject: [PATCH] Prepare release 5.11.0 (#4042) * Prepare release 5.11.0 * Fix changelog --- CHANGELOG.md | 57 +++++++++++++++++++++++++++++++++++++++++++++++++++ package.json | 2 +- src/linter.ts | 2 +- 3 files changed, 59 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 198b14cf486..71d1bf4860f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,63 @@ Change Log === +v5.11.0 +--- + +## :warning: Deprecations + +- [deprecation] [`no-unused-variable`](https://palantir.github.io/tslint/rules/no-unused-variable/) is deprecated because typescript now covers most of its functionality (#3919) + +## :tada: Features +- [new-rule] [`file-name-casing`](https://palantir.github.io/tslint/rules/file-name-casing/) (#3978) +- [new-fixer] Add fixer for [`switch-final-break`](https://palantir.github.io/tslint/rules/switch-final-break/) (#3615) +- [new-fixer] Implemented fixer for [`member-ordering`](https://palantir.github.io/tslint/rules/member-ordering/) and added corresponding tests. (#3935) +- [new-rule-option] Add whitelist for [`no-implicit-dependencies`](https://palantir.github.io/tslint/rules/no-implicit-dependencies/) (#3979) + +## :hammer_and_wrench: Bugfixes & enhancements + +- [bugfix] [`no-use-before-declare`](https://palantir.github.io/tslint/rules/no-use-before-declare/) Fixes false positives when using the destructuring syntax (#3761) (#3876) +- [bugfix] Fix Copyright: @license JSDoc tag was missing (#3879) +- [bugfix] Fix missing newline at end of file (#3896) +- [bugfix] allow-empty-functions option of [`no-empty`](https://palantir.github.io/tslint/rules/no-empty/) rule is now properly respecting empty methods (#3897) +- [bugfix] [`no-magic-numbers`](https://palantir.github.io/tslint/rules/no-magic-numbers/) - support for negative zero (#3903) +- [bugfix] Handle tsconfig.json errors without using JSON.stringify (#3908) +- [bugfix] Fix CI: [`no-implicit-dependencies`](https://palantir.github.io/tslint/rules/no-implicit-dependencies/) test failure; typescript@next failure (#4019) +- [bugfix] Fix edge case in [`no-console`](https://palantir.github.io/tslint/rules/no-console/) rule (#4041) +- [docs] Fix typos in the [`no-floating-promises`](https://palantir.github.io/tslint/rules/no-floating-promises/) rule docs. (#3886) +- [docs] Updated [`prefer-while`](https://palantir.github.io/tslint/rules/prefer-while/) docs to be semantically correct (#3888) +- [docs] Fix link to configuration page (#3891) +- [docs] Fix docs typo (#3898) +- [docs] Fix docs typo (#3910) +- [enhancement] Turn on strictPropertyInitialization for src/ and test/ (#3924) +- [enhancement] Use Buffer.allocUnsafe instead of the deprecated new Buffer() (#3985) +- [enhancement] Improve [`radix`](https://palantir.github.io/tslint/rules/radix/) rule checks (#3901) +- [enhancement] Output +/- on diff so added/removed empty lines are visible. (#3973) +- [rule-change] [`no-implicit-dependencies`](https://palantir.github.io/tslint/rules/no-implicit-dependencies/) now always considers peer dependencies (#3875) + +Thanks to our contributors! + +- Bowen Ni +- Peter Safranek +- Saugat Acharya +- Jason Mendes +- Ryan Waskiewicz +- Dariusz RumiƄski +- Xinhu Liu +- Rado Kirov +- aervin_ +- Josh Goldberg +- mertdeg2 +- Jason Killian +- Adrian Leonhard +- david-cannady +- Andy Russell +- Tibor Blenessy +- Andrew Crites +- Pavel Birukov +- shalomdotnet + + v5.10.0 --- diff --git a/package.json b/package.json index b89e18ed4a3..ebee3682ca1 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "tslint", - "version": "5.10.0", + "version": "5.11.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 ab6cbbb18f7..3f2edd9eaa9 100644 --- a/src/linter.ts +++ b/src/linter.ts @@ -41,7 +41,7 @@ import { arrayify, dedent, flatMap, mapDefined } from "./utils"; * Linter that can lint multiple files in consecutive runs. */ export class Linter { - public static VERSION = "5.10.0"; + public static VERSION = "5.11.0"; public static findConfiguration = findConfiguration; public static findConfigurationPath = findConfigurationPath;