|
1 | 1 | # CHANGELOG
|
2 | 2 |
|
| 3 | +## [1.19.0](https://github.com/PowerShell/PSScriptAnalyzer/tree/1.19.0) |
| 4 | + |
| 5 | +### New Rules |
| 6 | + |
| 7 | +- UseUsingScopeModifierInNewRunspaces (#1419) (thanks @Jawz84!) |
| 8 | +- ReviewUnusedParameter (#1382) (thanks @mattmcnabb!) |
| 9 | +- AvoidOverwritingBuiltInCmdlets (#1348) (thanks @thomasrayner!) |
| 10 | +- UseProcessBlockForPipelineCommand (#1373) (thanks @mattmcnabb!) |
| 11 | +- AvoidLongLines (#1329) (thanks @thomasrayner!) |
| 12 | + |
| 13 | +### Rule Enhancements |
| 14 | + |
| 15 | +- Add more automatic variables to PSAvoidAssignmentToAutomaticVariables that are not read-only but should still not be assigned to in most cases (#1394) (by @bergmeister) |
| 16 | + |
| 17 | +### Compatibility Rules |
| 18 | + |
| 19 | +- Make CompatibilityCollector able to parse a single version String #1446 (by @bergmeister) |
| 20 | +- Update compatibility profiles for PowerShell 7 (#1429) (by @rjmholt) |
| 21 | +- Ps7 syntax (#1426) (by @rjmholt) |
| 22 | +- Fix ps3 syntax check (#1395) (by @rjmholt) |
| 23 | +- Add PS 7 to UseCompatibleSyntax (#1331) (by @rjmholt) |
| 24 | +- Fix UseCompatibleSyntax configuration doc ([e37daeb](https://github.com/PowerShell/PSScriptAnalyzer/commit/e37daeb62d7ae6267b1a2c78a50404c8ab271786)) (by @rjmholt) |
| 25 | +- Update UseCompatibleTypes docs with more info ([42f5e58](https://github.com/PowerShell/PSScriptAnalyzer/commit/42f5e58ad689fd3871bf4d9c5977b9352d1d4a1f)) (by @rjmholt) |
| 26 | +- UseCompatibleCommands doc improvements ([7874b55](https://github.com/PowerShell/PSScriptAnalyzer/commit/7874b555643315dc3d8c00394fac81e0684504ff)) (by @rjmholt) |
| 27 | +- Update AzF profile to be useful (#1341) (by @rjmholt) |
| 28 | + |
| 29 | +### Formatter |
| 30 | + |
| 31 | +- Set default of CheckParameter configuration setting to false to ensure that setting won't be enabled by default if an old version of the VS-Code extension uses a new version of - PSScriptAnalyzer (1.19) (#1411) (by @bergmeister) |
| 32 | +- Split CheckPipe feature of trimming redundant whitespace out into option CheckPipeForRedundantWhiteSpace (#1413) (by @bergmeister) |
| 33 | +- Fix recently introduced bug (PR #1391) for UseCorrectCasing (#1408) (by @bergmeister) |
| 34 | +- Add PipelineIndentationStyle.None option for scenarios where indentation is custom, inconsistent or the user does not like any of the 3 pipeline indentation styles (#1399) (by @bergmeister) |
| 35 | +- Correct casing of parameters as well in PSUseCorrectCasing formatter rule (#1391) (by @bergmeister) |
| 36 | +- Remove redundant whitespace between parameters with new option (disabled by default) in UseConsistentWhitespace (#1392) (by @bergmeister) |
| 37 | +- Fix complex case when PipelineIndentation is not set to default (NoIndentation) (#1359) (by @bergmeister) |
| 38 | +- UseConsistentWhitespace: Ignore empty hashtable for CheckInnerBrace configuration (#1349) (by @bergmeister) |
| 39 | + |
| 40 | +### Fixes |
| 41 | + |
| 42 | +- Fix edge case of PSUseConsistentIndentation for non-default value (IncreaseIndentationForFirstPipeline/IncreaseIndentationAfterEveryPipeline) (#1423) (by @bergmeister) |
| 43 | +- Fix rule suppression ID in compat rules (#1432) (by @rjmholt) |
| 44 | +- Changes to build analyzer for PS7 and PS6 and ship in separate directories and bump version to 1.19.0 (#1425) (by @JamesWTruher) |
| 45 | +- Use AST to determine SupportsShouldProcess when an error is thrown (#1397) (by @rjmholt) |
| 46 | +- Fix false positive of AvoidAlias rule for implicit aliasing of Get- commands for the CommandType ExternalScript (#1386) (by @bergmeister) |
| 47 | + |
| 48 | +### Build/Tests/Maintenance |
| 49 | + |
| 50 | +- Update Newtonsoft.Json from 12.0.2 to 12.0.3 in Compatibility project as well (#1447) (by @bergmeister) |
| 51 | +- Replace usage of $MyInvocation.MyCommand.Path with $PSScriptRoot and cleanup tests as a preparation for Pester v5 (#1438) (by @bergmeister) |
| 52 | +- Compatibility tests: Use correct genericVerCases test case and remove invalid test case (#1440) (by @bergmeister) |
| 53 | +- Add out folder to .gitignore (#1443) (by @bergmeister) |
| 54 | +- Pin major version of Pester to 4 and upgrade Pester version for WMF4 build (#1433) (by @bergmeister) |
| 55 | +- ms-vscode.csharp to ms-dotnettools.csharp (#1424) (thanks @devlead!) |
| 56 | +- Upgrade .net sdk to latest path (#1421) (by @bergmeister) |
| 57 | +- Fix #1417 modulehelp false positives (#1418) (thanks @Jawz84!) |
| 58 | +- Increase macOs CI coverage to include both 10.14 and 10.15 as 10.15 has recently been added to Azure DevOps hosted agents (#1412) (by @bergmeister) |
| 59 | +- Fix vmImage entries in build to match description (#1409) (by @bergmeister) |
| 60 | +- Update .Net Core SDK from 3.1.100 to latest patch 3.1.101 (#1405) (by @bergmeister) |
| 61 | +- Multi-stage pipelines (to split build->test) (#1404) (by @bergmeister) |
| 62 | +- Use vmImage in yaml and merge build definitions into 1 by using jobs. Disable all AppVeyor images except for WMF4. Disable flaky UseCompatibleCommand tests on Ubuntu in CI (#1403) (by @bergmeister) |
| 63 | +- Azure pipelines migration (#1267) (by @bergmeister) |
| 64 | +- Add DevContainer support (#1286) (by @bergmeister) |
| 65 | +- Increase maximum runspace pool size in flaky test (#1358) (by @bergmeister) |
| 66 | +- Use latest version of PlatyPS in AppVeyor (#1390) (by @bergmeister) |
| 67 | +- .Net core sdk 3.1 (#1388) (by @bergmeister) |
| 68 | +- Use Where-Object instead of alias in buildmodule.tests.ps1 (#1360) (thanks @kvprasoon!) |
| 69 | +- Remove legacy methods (#1387) (by @bergmeister) |
| 70 | +- Upgrade .Net Core SDK version to a newer version that is also available in Visual Studio Online environment (#1377) (by @bergmeister) |
| 71 | +- Update Newtonsoft.Json from 12.0.1 to 12.02 (latest version), which increases the minimum PS Core version from 6.2.0 to 6.2.1 (#1357) (by @bergmeister) |
| 72 | +- Harden dotnet --version handling (#1367) (by @JamesWTruher) |
| 73 | +- Fix configuration for PS v5 and v6 builds to be Debug/Release as it used to be to allow for actual debug builds (#1356) (by @bergmeister) |
| 74 | +- Disable bad tests on Linux for now (#1365) (by @rjmholt) |
| 75 | +- Fix Ubuntu build and runspace test (#1340) (by @bergmeister) |
| 76 | + |
| 77 | +### Documentation |
| 78 | + |
| 79 | +- Change term to satisfy policheck requirements #1445 (by @JamesWTruher) |
| 80 | +- Update adopters file with entry for Microsoft internal teams (#1398) (thanks @pperrier27!) |
| 81 | +- Add ADOPTERS.md (#1380) (by @SteveL-MSFT) |
| 82 | +- Update SuppressMessageAttribute docs link and use single quotes for examples (#1389) (by @bergmeister) |
| 83 | +- Update ShouldProcess.md (#1383) (thanks @baardhermansen!) |
| 84 | +- Fix typo in example (#1379) (thanks @Farwaykorse!) |
| 85 | +- Update Hyperlink for Approved Verbs (#1374) (thanks @MysticRyuujin!) |
| 86 | + |
3 | 87 | ## [1.18.3](https://github.com/PowerShell/PSScriptAnalyzer/tree/1.18.3) - 2019-09-13
|
4 | 88 |
|
5 | 89 | This release adds one more important fix, which prevents a leak of runspaces when repeatedly invoking the PSScriptAnalyzer cmdlets. Furthermore it ups the minimum version of PowerShell Core to `6.2.0` due to `6.1` reaching its [end of life](https://docs.microsoft.com/en-us/powershell/scripting/powershell-support-lifecycle?view=powershell-6#powershell-releases-end-of-life) this month.
|
|
0 commit comments