From 85555fbd379fe0d14e7e67e87d868d0c704e7c57 Mon Sep 17 00:00:00 2001 From: Noah Chen Date: Thu, 5 Jan 2017 16:12:11 -0800 Subject: [PATCH] Prepare release v4.3.0 (#1990) --- CHANGELOG.md | 38 ++++++++++++++++++++++++++++++++++++++ package.json | 2 +- src/linter.ts | 2 +- 3 files changed, 40 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index be073113511..67fa2878dfa 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,44 @@ Change Log === +v4.3.0 +--- + +* **Enabled additional rules in `tslint:latest` configuration** (#1981) +* [new-rule] `space-before-function-paren` (#1897) +* [new-rule] `typeof-compare` (#1927) +* [new-rule] `import-spacing` (#1935) +* [new-rule] `unified-signatures` (#1944) +* [new-fixer] `object-literal-key-quotes` (#1953) +* [new-fixer] `no-angle-bracket-type-assertion` (#1979) +* [bugfix] `adjacent-overload-signature` now handles static/computed function names (#1831) +* [bugfix] `file-header` now handles files with only comments (#1913) +* [bugfix] `no-consecutive-blank-lines` now allows blank lines in template strings (#1886) +* [bugfix] `object-literal-key-quotes` no longer throws exception when using rest operator (#1916) +* [bugfix] `restrict-plus-operands` no longer shows false positive in ternary operation (#1925) +* [bugfix] `prefer-for-of` now handles nested `for` loops with reused iterator (#1926) +* [bugfix] Exit gracefully when `tsconfig.json` passed as `--project` argument doens't have files (#1933) +* [bugfix] `object-literal-key-quotes` now handles shorthand and spread properties (#1945) +* [bugfix] `arrow-parens` Allow binding patterns `([x, y]) => ...` and `({x, y}) => ...` to have parens (#1958) +* [bugfix] `semicolon` fixer now handles comma separator in interfaces and indicates failure when commas are using in interfaces (#1856) +* [bugfix] `only-arrow-functions` option `allow-named-functions` now allows function declarations (#1961) +* [bugfix] `prefer-for-of` no longer shows false positive when array is in parentheses (#1986) +* [bugfix] `prefer-const` now works for TypeScript versions < 2.1.0 (#1989) +* [enhancement] `member-access` narrow location of error (#1964) + +Thanks to our contributors! + +* Andrii Dieiev +* @andy-ms +* Andy Hanson +* Josh Goldberg +* Klaus Meinhardt +* Linda_pp +* Mohsen Azimi +* Victor Grigoriu +* Yuichi Nukiyama +* cameron-mcateer + v4.2.0 --- diff --git a/package.json b/package.json index 1a609cf95f8..a97611c9fff 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "tslint", - "version": "4.2.0", + "version": "4.3.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 d35b5066c38..6b5c8fe3272 100644 --- a/src/linter.ts +++ b/src/linter.ts @@ -42,7 +42,7 @@ import { arrayify, dedent } from "./utils"; * Linter that can lint multiple files in consecutive runs. */ class Linter { - public static VERSION = "4.2.0"; + public static VERSION = "4.3.0"; public static findConfiguration = findConfiguration; public static findConfigurationPath = findConfigurationPath;