diff --git a/CHANGELOG.md b/CHANGELOG.md index f75e2d6be52..22202a8332c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,34 @@ Change Log === +v5.1.0 +--- + +- [new-rule] `no-invalid-template-strings` (#2332) +- [new-rule] `no-sparse-arrays` (#2407) +- [new-rule-option] `no-void-expression`: adds `ignore-arrow-function-shorthand` (#2445) +- [api] `tslint:all` configuration (#2417) +- [bugfix] In tslint:recommended move `no-reference-import` from `jsRules` to `rules` (#2441) +- [bugfix] `no-unnecessary-callback-wrapper`: only check if callback is identifier, allow all other expressions (#2510) +- [bugfix] `member-access`: Skip index signature, it can not have an access modifier (#2437) +- [bugfix] `restrict-plus-operands` fixes regression where every assignment and comparison was checked (#2454) +- [bugfix] `no-unnecessary-callback-wrapper`: allow async wrapper function (#2510) +- [bugfix] `prefer-for-of`: No error if `delete` is used (#2458) +- [bugfix] `radix`: don't warn for missing radix on method calls (#2352) +- [bugfix] `no-use-before-declare`: Handle symbol with empty declarations list. (#2436) +- [bugfix] `strict-type-predicates`: Check for construct signatures in `isFunction`. (#2479) +- [enhancement] `strict-boolean-expressions`: When `--strictNullChecks` is turned off, `allow-null-union` and `allow-undefined-union` turn off "always truthy" errors. (#2373) +- [enhancement] `radix`: added check for global.parseInt and window.parseInt (#2352) +- [enhancement] `arrow-return-shorthand`: Improve failure message when return expression is an object literal (#2466) + +Thanks to our contributors! +- Andy Hanson +- bumbleblym +- Klaus Meinhardt +- Jonas Kello +- Minko Gechev +- Donald Pipowitch + v5.0.0 --- diff --git a/package.json b/package.json index 8c79ca1a343..b361edd7ec6 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "tslint", - "version": "5.0.0", + "version": "5.1.0", "description": "An extensible static analysis linter for the TypeScript language", "bin": { "tslint": "./bin/tslint" diff --git a/src/configs/latest.ts b/src/configs/latest.ts index 16b4f2d84a7..05f79e7a130 100644 --- a/src/configs/latest.ts +++ b/src/configs/latest.ts @@ -20,6 +20,7 @@ export const rules = { // added in v5.1 "no-invalid-template-strings": true, + "no-sparse-arrays": true, }; // tslint:enable object-literal-sort-keys diff --git a/src/linter.ts b/src/linter.ts index b6e062e7dab..e7f1d03676d 100644 --- a/src/linter.ts +++ b/src/linter.ts @@ -43,7 +43,7 @@ import { arrayify, dedent } from "./utils"; * Linter that can lint multiple files in consecutive runs. */ class Linter { - public static VERSION = "5.0.0"; + public static VERSION = "5.1.0"; public static findConfiguration = findConfiguration; public static findConfigurationPath = findConfigurationPath;