Skip to content

Commit b3130d7

Browse files
authored
Upgrade analyzer SDK (#97)
* Upgrade analyzer SDK
1 parent 12a7edc commit b3130d7

3 files changed

Lines changed: 90 additions & 81 deletions

File tree

CHANGELOG.md

Lines changed: 80 additions & 71 deletions
Original file line numberDiff line numberDiff line change
@@ -1,188 +1,197 @@
11
# Changelog
22

3-
## 0.18.0 - 2025-08-27
3+
## [0.19.0] - 2025-10-20
44

55
### Changed
6-
* The magic string for the DisposedBeforeAsyncRunAnalyzer has changed: it is now "disposed before returned workflow runs". [#94](https://github.com/G-Research/fsharp-analyzers/pull/94)
6+
- Update FSharp.Analyzers.SDK to `0.33.1`. [#97](https://github.com/G-Research/fsharp-analyzers/pull/97)
77

8-
## 0.17.0 - 2025-07-12
8+
## [0.18.0] - 2025-08-27
99

1010
### Changed
11-
* Update FSharp.Analyzers.SDK to `0.32.0`. [#92](https://github.com/G-Research/fsharp-analyzers/pull/92)
11+
- The magic string for the DisposedBeforeAsyncRunAnalyzer has changed: it is now "disposed before returned workflow runs". [#94](https://github.com/G-Research/fsharp-analyzers/pull/94)
1212

13-
## 0.16.0 - 2025-06-30
13+
## [0.17.0] - 2025-07-12
14+
15+
### Changed
16+
- Update FSharp.Analyzers.SDK to `0.32.0`. [#92](https://github.com/G-Research/fsharp-analyzers/pull/92)
17+
18+
## [0.16.0] - 2025-06-30
1419

1520
### Added
16-
* StringAnalyzer now supports String.LastIndexOf. [#91](https://github.com/G-Research/fsharp-analyzers/pull/91)
21+
- StringAnalyzer now supports String.LastIndexOf. [#91](https://github.com/G-Research/fsharp-analyzers/pull/91)
1722

18-
## 0.15.0 - 2025-05-18
23+
## [0.15.0] - 2025-05-18
1924

2025
### Changed
21-
* Update FSharp.Analyzers.SDK to `0.31.0`. [#90](https://github.com/G-Research/fsharp-analyzers/pull/90)
26+
- Update FSharp.Analyzers.SDK to `0.31.0`. [#90](https://github.com/G-Research/fsharp-analyzers/pull/90)
2227

23-
## 0.14.0 - 2025-04-01
28+
## [0.14.0] - 2025-04-01
2429

2530
### Changed
26-
* Update FSharp.Analyzers.SDK to `0.30.0`. [#89](https://github.com/G-Research/fsharp-analyzers/pull/89)
31+
- Update FSharp.Analyzers.SDK to `0.30.0`. [#89](https://github.com/G-Research/fsharp-analyzers/pull/89)
2732

28-
## 0.13.0 - 2025-02-14
33+
## [0.13.0] - 2025-02-14
2934

3035
### Changed
31-
* Update FSharp.Analyzers.SDK to `0.29.0`. [#88](https://github.com/G-Research/fsharp-analyzers/pull/88)
36+
- Update FSharp.Analyzers.SDK to `0.29.0`. [#88](https://github.com/G-Research/fsharp-analyzers/pull/88)
3237

33-
## 0.12.1 - 2024-01-08
38+
## [0.12.1] - 2024-01-08
3439

3540
### Fixed
36-
* VirtualCall analyzer suggests quickfix on Collections.Generic.List. [#86](https://github.com/G-Research/fsharp-analyzers/issues/86)
41+
- VirtualCall analyzer suggests quickfix on Collections.Generic.List. [#86](https://github.com/G-Research/fsharp-analyzers/issues/86)
3742

38-
## 0.12.0 - 2024-11-20
43+
## [0.12.0] - 2024-11-20
3944

4045
### Changed
41-
* Update FSharp.Analyzers.SDK to `0.28.0`. [#85](https://github.com/G-Research/fsharp-analyzers/pull/85)
46+
- Update FSharp.Analyzers.SDK to `0.28.0`. [#85](https://github.com/G-Research/fsharp-analyzers/pull/85)
4247

43-
## 0.11.0 - 2024-08-19
48+
## [0.11.0] - 2024-08-19
4449

4550
### Changed
46-
* Update FSharp.Analyzers.SDK to `0.27.0`. [#51](https://github.com/G-Research/fsharp-analyzers/pull/84)
51+
- Update FSharp.Analyzers.SDK to `0.27.0`. [#51](https://github.com/G-Research/fsharp-analyzers/pull/84)
4752

48-
## 0.10.0 - 2024-05-17
53+
## [0.10.0] - 2024-05-17
4954

5055
### Changed
51-
* Update FSharp.Analyzers.SDK to `0.26.0`. [#51](https://github.com/G-Research/fsharp-analyzers/pull/83)
56+
- Update FSharp.Analyzers.SDK to `0.26.0`. [#51](https://github.com/G-Research/fsharp-analyzers/pull/83)
5257

53-
## 0.9.3 - 2024-02-16
58+
## [0.9.3] - 2024-02-16
5459

5560
### Fixed
56-
* Fixed a false positive of LoggingTemplateMissingValuesAnalyzer. [#78](https://github.com/G-Research/fsharp-analyzers/issues/78)
61+
- Fixed a false positive of LoggingTemplateMissingValuesAnalyzer. [#78](https://github.com/G-Research/fsharp-analyzers/issues/78)
5762

58-
## 0.9.2 - 2024-02-16
63+
## [0.9.2] - 2024-02-16
5964

6065
### Fixed
61-
* Fixed a false negative of LoggingTemplateMissingValuesAnalyzer. [#79](https://github.com/G-Research/fsharp-analyzers/issues/79)
66+
- Fixed a false negative of LoggingTemplateMissingValuesAnalyzer. [#79](https://github.com/G-Research/fsharp-analyzers/issues/79)
6267

63-
## 0.9.1 - 2024-02-15
68+
## [0.9.1] - 2024-02-15
6469

6570
### Fixed
66-
* Fixed a false negative of DisposedBeforeAsyncRunAnalyzer. [#75](https://github.com/G-Research/fsharp-analyzers/issues/75)
71+
- Fixed a false negative of DisposedBeforeAsyncRunAnalyzer. [#75](https://github.com/G-Research/fsharp-analyzers/issues/75)
6772

68-
## 0.9.0 - 2024-02-15
73+
## [0.9.0] - 2024-02-15
6974

7075
### Removed
7176

72-
* Removed the PartialAppAnalyzer. [#68](https://github.com/G-Research/fsharp-analyzers/issues/68)
77+
- Removed the PartialAppAnalyzer. [#68](https://github.com/G-Research/fsharp-analyzers/issues/68)
7378

7479
### Fixed
75-
* Fixed a false positive of LoggingTemplateMissingValuesAnalyzer. [#69](https://github.com/G-Research/fsharp-analyzers/issues/69)
80+
- Fixed a false positive of LoggingTemplateMissingValuesAnalyzer. [#69](https://github.com/G-Research/fsharp-analyzers/issues/69)
7681

7782
### Changed
78-
* Update FSharp.Analyzers.SDK to `0.25.0`. [#51](https://github.com/G-Research/fsharp-analyzers/pull/67)
83+
- Update FSharp.Analyzers.SDK to `0.25.0`. [#51](https://github.com/G-Research/fsharp-analyzers/pull/67)
7984

80-
## 0.8.0 - 2024-01-30
85+
## [0.8.0] - 2024-01-30
8186

8287
### Fixed
83-
* Add support for abbreviated list/array/set types to the VirtualCallAnalyzer. [#63](https://github.com/G-Research/fsharp-analyzers/pull/63)
88+
- Add support for abbreviated list/array/set types to the VirtualCallAnalyzer. [#63](https://github.com/G-Research/fsharp-analyzers/pull/63)
8489

8590
### Added
86-
* Disposable will be disposed before async is run. [#54](https://github.com/G-Research/fsharp-analyzers/issues/54)
91+
- Disposable will be disposed before async is run. [#54](https://github.com/G-Research/fsharp-analyzers/issues/54)
8792

8893
### Changed
89-
* Update FSharp.Analyzers.SDK to `0.24.0`. [#51](https://github.com/G-Research/fsharp-analyzers/pull/67)
94+
- Update FSharp.Analyzers.SDK to `0.24.0`. [#51](https://github.com/G-Research/fsharp-analyzers/pull/67)
9095

91-
## 0.7.0 - 2024-01-10
96+
## [0.7.0] - 2024-01-10
9297

9398
### Fixed
94-
* Don't report FormattableStrings in TypedInterpolatedStringsAnalyzer. [#46](https://github.com/G-Research/fsharp-analyzers/pull/46)
99+
- Don't report FormattableStrings in TypedInterpolatedStringsAnalyzer. [#46](https://github.com/G-Research/fsharp-analyzers/pull/46)
95100

96101
### Added
97-
* Add editor support to all analyzers. [#50](https://github.com/G-Research/fsharp-analyzers/pull/50)
98-
* Add fix to VirtualCall Analyzer. [#51](https://github.com/G-Research/fsharp-analyzers/pull/51)
99-
* Add fix to UnionCaseAnalyzer. [#51](https://github.com/G-Research/fsharp-analyzers/pull/51)
100-
* Add new LoggingTemplateMissingValuesAnalyzer. [#53](https://github.com/G-Research/fsharp-analyzers/pull/53)
102+
- Add editor support to all analyzers. [#50](https://github.com/G-Research/fsharp-analyzers/pull/50)
103+
- Add fix to VirtualCall Analyzer. [#51](https://github.com/G-Research/fsharp-analyzers/pull/51)
104+
- Add fix to UnionCaseAnalyzer. [#51](https://github.com/G-Research/fsharp-analyzers/pull/51)
105+
- Add new LoggingTemplateMissingValuesAnalyzer. [#53](https://github.com/G-Research/fsharp-analyzers/pull/53)
101106

102107
### Changed
103-
* Update FSharp.Analyzers.SDK to `0.23.0`. [#51](https://github.com/G-Research/fsharp-analyzers/pull/45)
108+
- Update FSharp.Analyzers.SDK to `0.23.0`. [#51](https://github.com/G-Research/fsharp-analyzers/pull/45)
104109

105-
## 0.6.0 - 2023-12-20
110+
## [0.6.0] - 2023-12-20
106111

107112
### Added
108-
* Add TypedInterpolatedStringsAnalyzer. [#40](https://github.com/G-Research/fsharp-analyzers/pull/40)
113+
- Add TypedInterpolatedStringsAnalyzer. [#40](https://github.com/G-Research/fsharp-analyzers/pull/40)
109114

110115
### Changed
111-
* Update FSharp.Analyzers.SDK to `0.22.0`. [#27](https://github.com/G-Research/fsharp-analyzers/pull/45)
116+
- Update FSharp.Analyzers.SDK to `0.22.0`. [#27](https://github.com/G-Research/fsharp-analyzers/pull/45)
112117

113-
## 0.5.1 - 2023-12-06
118+
## [0.5.1] - 2023-12-06
114119

115120
### Fixed
116-
* Handle types without a FullName more gracefully. [#39](https://github.com/G-Research/fsharp-analyzers/pull/39)
121+
- Handle types without a FullName more gracefully. [#39](https://github.com/G-Research/fsharp-analyzers/pull/39)
117122

118-
## 0.5.0 - 2023-12-04
123+
## [0.5.0] - 2023-12-04
119124

120125
### Added
121-
* Add ImmutableCollectionEquality analyzer. [#37](https://github.com/G-Research/fsharp-analyzers/pull/37)
122-
* Add LoggingArgFuncNotFullyApplied analyzer. [#38](https://github.com/G-Research/fsharp-analyzers/pull/38)
126+
- Add ImmutableCollectionEquality analyzer. [#37](https://github.com/G-Research/fsharp-analyzers/pull/37)
127+
- Add LoggingArgFuncNotFullyApplied analyzer. [#38](https://github.com/G-Research/fsharp-analyzers/pull/38)
123128

124-
## 0.4.0 - 2023-11-23
129+
## [0.4.0] - 2023-11-23
125130

126131
### Added
127-
* Add TypeAnnotateStringFunction analyzer. [#34](https://github.com/G-Research/fsharp-analyzers/pull/34)
132+
- Add TypeAnnotateStringFunction analyzer. [#34](https://github.com/G-Research/fsharp-analyzers/pull/34)
128133

129134
### Changed
130-
* Update FSharp.Analyzers.SDK to `0.21.0`. [#34](https://github.com/G-Research/fsharp-analyzers/pull/34)
135+
- Update FSharp.Analyzers.SDK to `0.21.0`. [#34](https://github.com/G-Research/fsharp-analyzers/pull/34)
131136

132-
## 0.3.1 - 2023-11-15
137+
## [0.3.1] - 2023-11-15
133138

134139
### Changed
135-
* Reduced warnings in VirtualCallAnalyzer. [#31](https://github.com/G-Research/fsharp-analyzers/pull/31)
136-
* Update FSharp.Analyzers.SDK to `0.20.2`. [#32](https://github.com/G-Research/fsharp-analyzers/pull/32)
140+
- Reduced warnings in VirtualCallAnalyzer. [#31](https://github.com/G-Research/fsharp-analyzers/pull/31)
141+
- Update FSharp.Analyzers.SDK to `0.20.2`. [#32](https://github.com/G-Research/fsharp-analyzers/pull/32)
137142

138-
## 0.3.0 - 2023-11-14
143+
## [0.3.0] - 2023-11-14
139144

140145
### Changed
141-
* Update FSharp.Analyzers.SDK to `0.20.0`. [#27](https://github.com/G-Research/fsharp-analyzers/pull/29)
146+
- Update FSharp.Analyzers.SDK to `0.20.0`. [#27](https://github.com/G-Research/fsharp-analyzers/pull/29)
142147

143-
## 0.2.0 - 2023-11-10
148+
## [0.2.0] - 2023-11-10
144149

145150
### Changed
146-
* Update FSharp.Analyzers.SDK to `0.18.0`. [#26](https://github.com/G-Research/fsharp-analyzers/pull/26)
147-
* Update FSharp.Analyzers.SDK to `0.19.0`. [#27](https://github.com/G-Research/fsharp-analyzers/pull/27)
151+
- Update FSharp.Analyzers.SDK to `0.18.0`. [#26](https://github.com/G-Research/fsharp-analyzers/pull/26)
152+
- Update FSharp.Analyzers.SDK to `0.19.0`. [#27](https://github.com/G-Research/fsharp-analyzers/pull/27)
148153

149154
### Added
150-
* Virtual call analyzer. [#27](https://github.com/G-Research/fsharp-analyzers/pull/27)
155+
- Virtual call analyzer. [#27](https://github.com/G-Research/fsharp-analyzers/pull/27)
151156

152157
## [0.1.6] - 2023-12-26
153158

154159
### Changed
155-
* Add more MSBuild properties to align with Roslyn. [#25](https://github.com/G-Research/fsharp-analyzers/pull/25)
156-
* Update FSharp.Analyzers.SDK to `0.17.0`. [#25](https://github.com/G-Research/fsharp-analyzers/pull/25)
160+
- Add more MSBuild properties to align with Roslyn. [#25](https://github.com/G-Research/fsharp-analyzers/pull/25)
161+
- Update FSharp.Analyzers.SDK to `0.17.0`. [#25](https://github.com/G-Research/fsharp-analyzers/pull/25)
157162

158163
## [0.1.5] - 2023-10-17
159164

160165
### Fixed
161-
* Partial application analyzer takes piped arguments into account.
166+
- Partial application analyzer takes piped arguments into account.
162167

163168
## [0.1.4] - 2023-10-16
164169

165170
### Changed
166-
* Update FSharp.Analyzers.SDK to `0.16.0`. [#22](https://github.com/G-Research/fsharp-analyzers/pull/22)
171+
- Update FSharp.Analyzers.SDK to `0.16.0`. [#22](https://github.com/G-Research/fsharp-analyzers/pull/22)
167172

168173
### Fixed
169-
* String analyzers work for netstandard. [#19](https://github.com/G-Research/fsharp-analyzers/pull/19)
174+
- String analyzers work for netstandard. [#19](https://github.com/G-Research/fsharp-analyzers/pull/19)
170175

171176
### Added
172-
* Partial application analyzer. [#10](https://github.com/G-Research/fsharp-analyzers/pull/10)
177+
- Partial application analyzer. [#10](https://github.com/G-Research/fsharp-analyzers/pull/10)
173178

174179
## [0.1.3] - 2023-10-11
175-
* Fix StringAnalyzers for netstandard projects
180+
181+
### Fixed
182+
- Fix StringAnalyzers for netstandard projects
176183

177184
## [0.1.2] - 2023-10-10
178-
* Update FSharp.Analyzers.SDK to `0.15.0`
185+
186+
### Changed
187+
- Update FSharp.Analyzers.SDK to `0.15.0`
179188

180189
## [0.1.1] - 2023-10-10
181190

182191
### Fixed
183-
* Handle internal compiler exception regarding an unsupported kind of pattern match
192+
- Handle internal compiler exception regarding an unsupported kind of pattern match
184193

185194
## [0.1.0] - 2023-10-06
186195

187196
### Added
188-
* Initial version
197+
- Initial version

Directory.Packages.props

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,14 @@
55
</PropertyGroup>
66
<ItemGroup>
77
<!-- locking the version of F# Core as FCS does this anyway and in practise all will be using the same version -->
8-
<PackageVersion Include="FSharp.Analyzers.SDK" Version="[0.32.0]" />
9-
<PackageVersion Include="FSharp.Analyzers.SDK.Testing" Version="[0.32.0]" />
8+
<PackageVersion Include="FSharp.Analyzers.SDK" Version="[0.33.1]" />
9+
<PackageVersion Include="FSharp.Analyzers.SDK.Testing" Version="[0.33.1]" />
1010
<PackageVersion Include="FSharp.Core" Version="[9.0.300]" />
1111
<PackageVersion Include="FSharp.Compiler.Service" Version="[43.9.300]" />
12-
<PackageVersion Include="Ionide.KeepAChangelog.Tasks" Version="0.1.8" />
13-
<PackageVersion Include="DotNet.ReproducibleBuilds" Version="1.1.1" />
14-
<PackageVersion Include="NUnit3TestAdapter" Version="4.5.0" />
15-
<PackageVersion Include="Microsoft.NET.Test.Sdk" Version="17.7.2" />
16-
<PackageVersion Include="NUnit" Version="4.0.1" />
12+
<PackageVersion Include="Ionide.KeepAChangelog.Tasks" Version="0.3.1" />
13+
<PackageVersion Include="DotNet.ReproducibleBuilds" Version="1.2.39" />
14+
<PackageVersion Include="NUnit3TestAdapter" Version="5.2.0" />
15+
<PackageVersion Include="Microsoft.NET.Test.Sdk" Version="18.0.0" />
16+
<PackageVersion Include="NUnit" Version="4.4.0" />
1717
</ItemGroup>
1818
</Project>

docs/index.fsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
(*** hide ***)
2-
#r "../src/FSharp.Analyzers/bin/Release/net6.0/FSharp.Compiler.Service.dll"
3-
#r "../src/FSharp.Analyzers/bin/Release/net6.0/FSharp.Analyzers.SDK.dll"
4-
#r "../src/FSharp.Analyzers/bin/Release/net6.0/G-Research.FSharp.Analyzers.dll"
2+
#r "../src/FSharp.Analyzers/bin/Release/net8.0/FSharp.Compiler.Service.dll"
3+
#r "../src/FSharp.Analyzers/bin/Release/net8.0/FSharp.Analyzers.SDK.dll"
4+
#r "../src/FSharp.Analyzers/bin/Release/net8.0/G-Research.FSharp.Analyzers.dll"
55

66
(**
77
# G-Research FSharp Analyzers

0 commit comments

Comments
 (0)