diff --git a/CHANGELOG.md b/CHANGELOG.md index 239076310..1ab375e13 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,27 @@ # Change Log +## v0.20.0 + +:tada: Since the last release we published an [official extension for VSCode](https://marketplace.visualstudio.com/items?itemName=fimbullinter.vscode-plugin). + +:warning: **Breaking Changes:** + +* TypeScript v3.0 is no longer officially supported + +**Features:** + +* `bifrost`: pass names of all linted files to TSLint formatters +* new rule: `no-useless-destructuring` +* `no-useless-assertion`: detect redundant `as const` assertions +* `no-useless-assertion`: stricter checks of literal type assertions in const context (`{ prop: 1 as 1 } as const`) +* `no-inferred-empty-object`: correctly handle higher order function type inference (type parameter propagation) and unions of call signatures + +**Bugfixes:** + +* `wotan`: fixed a crash caused by changes to TypeScript's internal API +* `no-useless-predicate`: fixes false positive with `typeof {} === 'object'` +* `no-useless-assertion`: don't treat `as const` like `as any` + ## v0.19.0 **Features:** diff --git a/package.json b/package.json index 9a1fd99f2..3a60cf861 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,5 @@ { - "version": "0.20.0", + "version": "0.21.0", "private": true, "scripts": { "clean": "rimraf \"{packages/*/{index,{src,language-service}/**/*,test/*.spec},scripts/!(last-travis-nightly)}.{js?(.map),d.ts}\"", @@ -26,8 +26,8 @@ ], "dependencies": { "@fimbul/disir": "^0.18.0", - "@fimbul/valtyr": "^0.19.0", - "@fimbul/wotan": "^0.19.0", + "@fimbul/valtyr": "^0.20.0", + "@fimbul/wotan": "^0.20.0", "@octokit/rest": "^16.0.1", "@types/chalk": "^2.2.0", "@types/cross-spawn": "^6.0.0", diff --git a/packages/bifrost/package.json b/packages/bifrost/package.json index 71a82acf7..16296e21e 100644 --- a/packages/bifrost/package.json +++ b/packages/bifrost/package.json @@ -1,6 +1,6 @@ { "name": "@fimbul/bifrost", - "version": "0.18.0", + "version": "0.20.0", "description": "Compatibility layer for TSLint rules", "main": "src/index", "types": "src/index", @@ -26,7 +26,7 @@ ], "peerDependencies": { "tslint": "^5.0.0", - "typescript": ">= 3.0.1 || >= 3.3.0-dev || >= 3.4.0-dev" + "typescript": ">= 3.1.1 || >= 3.4.0-dev || >= 3.5.0-dev" }, "dependencies": { "@fimbul/ymir": "^0.18.0", diff --git a/packages/heimdall/package.json b/packages/heimdall/package.json index 3e31f23ae..90a9aa509 100644 --- a/packages/heimdall/package.json +++ b/packages/heimdall/package.json @@ -1,6 +1,6 @@ { "name": "@fimbul/heimdall", - "version": "0.19.0", + "version": "0.20.0", "description": "Wotan plugin to load and use TSLint rules and formatters", "main": "src/index", "types": "src/index", @@ -26,10 +26,10 @@ "formatters" ], "peerDependencies": { - "@fimbul/wotan": "^0.19.0" + "@fimbul/wotan": "^0.20.0" }, "dependencies": { - "@fimbul/bifrost": "^0.18.0", + "@fimbul/bifrost": "^0.20.0", "inversify": "^5.0.0", "tslib": "^1.8.1", "tslint": "^5.0.0" diff --git a/packages/mimir/package.json b/packages/mimir/package.json index 25cd72d88..4e95b2706 100644 --- a/packages/mimir/package.json +++ b/packages/mimir/package.json @@ -1,6 +1,6 @@ { "name": "@fimbul/mimir", - "version": "0.19.0", + "version": "0.20.0", "description": "Core rules of the Fimbullinter project", "main": "recommended.yaml", "publishConfig": { @@ -32,6 +32,6 @@ "tsutils": "^3.8.0" }, "peerDependencies": { - "typescript": ">= 3.0.1 || >= 3.3.0-dev || >= 3.4.0-dev" + "typescript": ">= 3.1.1 || >= 3.4.0-dev || >= 3.5.0-dev" } } diff --git a/packages/valtyr/package.json b/packages/valtyr/package.json index 3c4527af1..a11f2520c 100644 --- a/packages/valtyr/package.json +++ b/packages/valtyr/package.json @@ -1,6 +1,6 @@ { "name": "@fimbul/valtyr", - "version": "0.19.0", + "version": "0.20.0", "description": "Wotan plugin to behave almost like TSLint", "author": "Klaus Meinhardt", "license": "Apache-2.0", @@ -30,11 +30,11 @@ "resolve": "^1.5.0" }, "peerDependencies": { - "@fimbul/wotan": "^0.19.0", - "typescript": ">= 3.0.1 || >= 3.3.0-dev || >= 3.4.0-dev" + "@fimbul/wotan": "^0.20.0", + "typescript": ">= 3.1.1 || >= 3.4.0-dev || >= 3.5.0-dev" }, "dependencies": { - "@fimbul/bifrost": "^0.18.0", + "@fimbul/bifrost": "^0.20.0", "inversify": "^5.0.0", "tslib": "^1.8.1", "tslint": "^5.0.0", diff --git a/packages/wotan/package.json b/packages/wotan/package.json index 78b51d568..b412737dd 100644 --- a/packages/wotan/package.json +++ b/packages/wotan/package.json @@ -1,6 +1,6 @@ { "name": "@fimbul/wotan", - "version": "0.19.0", + "version": "0.20.0", "description": "Pluggable TypeScript and JavaScript linter", "bin": "bin/main.js", "publishConfig": { @@ -40,7 +40,7 @@ "rimraf": "^2.6.2" }, "dependencies": { - "@fimbul/mimir": "^0.19.0", + "@fimbul/mimir": "^0.20.0", "@fimbul/ymir": "^0.18.0", "bind-decorator": "^1.0.11", "chalk": "^2.3.0", @@ -62,6 +62,6 @@ "tsutils": "^3.6.0" }, "peerDependencies": { - "typescript": ">= 3.0.1 || >= 3.3.0-dev || >= 3.4.0-dev" + "typescript": ">= 3.1.1 || >= 3.4.0-dev || >= 3.5.0-dev" } }