diff --git a/CHANGELOG.md b/CHANGELOG.md index ddccb9fbabb..69532cfc2b0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,56 @@ Change Log === +v4.5.0 +--- + +- [new-rule] `no-import-side-effect` (#2155) +- [new-rule] `match-default-export-name` (#2117) +- [new-rule] `no-non-null-assertion` (#2221) +- [new-rule] `ban-types` (#2175) +- [new-rule] `no-duplicate-super` (#2038) +- [new-rule] `newline-before-return` (#2173) +- [new-rule-option] `completed-docs` adds options for location, type, and privacy. Also adds interfaces, enums, types (#2095) +- [new-rule-option] `no-inferrable-types` adds option `ignore-properties` (#2178) +- [new-rule-option] `typedef` adds options `object-destructuring` and `array-destructuring` options (#2146) +- [new-rule-option] `member-ordering` adds option `alphabetize` (#2101) +- [new-rule-option] `no-trailing-whitespace` adds option `ignore-jsdoc` (#2177) +- [new-rule-option] `no-trailing-whitespace` adds option `ignore-comments` option (#2153) +- [new-fixer] `no-inferrable-types` automatically remove inferrable type annotations (#2178) +- [new-fixer] `no-any` (#2165) +- [new-fixer] `noConsecutiveBlankLines` (#2201) +- [new-fixer] `object-literal-shorthand` (#2165) +- [bugfix] `no-switch-case-fallthrough` handle break, throw, continue and return nested in block, if-else and switch (#2218) +- [bugfix] `no-switch-case-fallthrough` allow empty case clauses before default clause (#2218) +- [bugfix] `no-mergeable-namespace` ignore property types that can't be merged (#2105) +- [bugfix] `object-literal-key-quotes` no need to quote a float if its .toString() is the same. (#2144) +- [bugfix] `no-consecutive-blank-lines` Correctly apply fixes at EOF (#2239) +- [bugfix]: Fixes installation issue with node 7.5 (#2212) +- [bugfix]: `quotemark` now handles escaped chars (#2224) +- [enhancement] Don't exit when a rule requires type checking but type checking is not enabled (#2188) +- [enhancement] `no-switch-case-fallthrough` allow single line comment `// falls through` (#2218) +- [enhancement] `no-unbound-method` allows property access and binary expressions (#2143) + +Thanks to our contributors! + +- Andy Hanson +- Stefan Reichel +- Shlomi Assaf +- Josh Goldberg +- Minko Gechev +- Irfan Hudda +- Klaus Meinhardt +- Martin Probst +- Naoto Usuyama +- Caleb Eggensperger +- Arturs Vonda +- Joscha Feth +- Moritz +- Alexander Rusakov +- Alex Ryan +- Andy +- Yuichi Nukiyama + v4.4.2 --- @@ -37,7 +87,7 @@ v4.4.0 * [bugfix] `no-empty-interface` allow empty interface with 2 or more parents (#2070) * [bugfix] `no-trailing-whitespace` fixed for comments and EOF (#2060) * [bugfix] `no-empty` no longer fails for private or protected constructor (#1976) -* [bugfix] `tslint:disable`/`tslint-enable` now handles multiple rules and fixes what code is enabled/disabled (#2061) +* [bugfix] `tslint:disable`/`tslint-enable` now handles multiple rules and fixes what code is enabled/disabled (#2061) * [bugfix] `no-inferrable-types` now validates property declarations (#2081) * [bugfix] `unified-signatures` false positive (#2016) * [bugfix] `whitespace` finds all whitespace errors in JsxExpressions and TemplateExpressions (#2036) @@ -48,7 +98,7 @@ Thanks to our contributors! * Alexander Rusakov * Andrii Dieiev -* @andy-ms +* @andy-ms * Andy Hanson * Josh Goldberg * Kei Son @@ -92,7 +142,7 @@ v4.3.0 Thanks to our contributors! * Andrii Dieiev -* @andy-ms +* @andy-ms * Andy Hanson * Josh Goldberg * Klaus Meinhardt @@ -120,7 +170,7 @@ v4.2.0 Thanks to our contributors! * Andrew Scott -* @andy-ms +* @andy-ms * Andy Hanson * James Booth * Klaus Meinhardt @@ -234,8 +284,8 @@ v4.0.0-dev.1 --- * **BREAKING CHANGES** - * [enhancement] The `semicolon` rule now disallows semicolons in multi-line bound class methods - (to get the v3 behavior, use the `ignore-bound-class-methods` option) (#1643) + * [enhancement] The `semicolon` rule now disallows semicolons in multi-line bound class methods + (to get the v3 behavior, use the `ignore-bound-class-methods` option) (#1643) * [removed-rule] Removed `use-strict` rule (#678) * [removed-rule] Removed `label-undefined` rule; covered by compiler (#1614) * [enhancement] Renamed `no-constructor-vars` to `no-parameter-properties` (#1296) @@ -255,21 +305,21 @@ v4.0.0-dev.1 Thanks to our contributors! -* Alex Eagle -* Andrii Dieiev -* Ben Coveney -* Boris Aranovich -* Chris Barr -* Cyril Gandon -* Evgeniy Zhukovskiy -* Jay Anslow -* Kunal Marwaha -* Martin Probst -* Mingye Wang -* Raghav Katyal -* Sean Dawson -* Yuichi Nukiyama -* jakpaw +* Alex Eagle +* Andrii Dieiev +* Ben Coveney +* Boris Aranovich +* Chris Barr +* Cyril Gandon +* Evgeniy Zhukovskiy +* Jay Anslow +* Kunal Marwaha +* Martin Probst +* Mingye Wang +* Raghav Katyal +* Sean Dawson +* Yuichi Nukiyama +* jakpaw v4.0.0-dev.0 --- @@ -297,24 +347,24 @@ v4.0.0-dev.0 Thanks to our contributors! -* Alex Eagle -* Andrii Dieiev -* Andy Hanson -* Ben Coveney -* Boris Aranovich -* Chris Barr -* Christian Dreher -* Claas Augner -* Josh Goldberg -* Martin Probst -* Mike Deverell -* Nina Hartmann -* Satoshi Amemiya -* Scott Wu -* Steve Van Opstal -* Umar Bolatov -* Vladimir Matveev -* Yui +* Alex Eagle +* Andrii Dieiev +* Andy Hanson +* Ben Coveney +* Boris Aranovich +* Chris Barr +* Christian Dreher +* Claas Augner +* Josh Goldberg +* Martin Probst +* Mike Deverell +* Nina Hartmann +* Satoshi Amemiya +* Scott Wu +* Steve Van Opstal +* Umar Bolatov +* Vladimir Matveev +* Yui v3.15.1 --- diff --git a/package.json b/package.json index 3987176ea6c..e301095a471 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "tslint", - "version": "4.4.2", + "version": "4.5.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 d4b9cbb2294..c1bfd83c9eb 100644 --- a/src/linter.ts +++ b/src/linter.ts @@ -44,7 +44,7 @@ import { arrayify, dedent } from "./utils"; * Linter that can lint multiple files in consecutive runs. */ class Linter { - public static VERSION = "4.4.2"; + public static VERSION = "4.5.0"; public static findConfiguration = findConfiguration; public static findConfigurationPath = findConfigurationPath;