Skip to content

Releases: microsoft/Microsoft.Unity.Analyzers

1.21.0

29 Oct 16:47
9651544
Compare
Choose a tag to compare

https://www.nuget.org/packages/Microsoft.Unity.Analyzers/1.21.0

  • Added Awaitable support for all message-based diagnostics and suppressors.
  • Improved UNT0014 detection consistency.

1.20.0

16 Aug 15:02
3b731b7
Compare
Choose a tag to compare

https://www.nuget.org/packages/Microsoft.Unity.Analyzers/1.20.0

  • Improved UNT0024, to support Unity.Mathematics.floatX types.
  • Added USP0022, Unity objects should not use if null coalescing.
  • Simplified UNT0026, to only support variable declaration constructs.

1.19.0

18 Mar 08:15
f54a146
Compare
Choose a tag to compare

https://www.nuget.org/packages/Microsoft.Unity.Analyzers/1.19.0

  • Fixed trivia handling with UNT0021, when using messages without modifiers.
  • Fixed batch provider for all diagnostics.
  • Fixed UNT0034 and UNT0035 with ambiguous overloads.

1.18.0

02 Nov 10:17
61a94d2
Compare
Choose a tag to compare

https://www.nuget.org/packages/Microsoft.Unity.Analyzers/1.18.0

  • Added USP0021, Prefer reference equality.
  • Added support for TransformAccess with UNT0022 and UNT0032
  • Added UNT0036, Inefficient method to get position and rotation.
  • Added UNT0037, Inefficient method to get localPosition and localRotation.
  • Fixed USP0008 with partial types.

1.17.0

31 May 08:56
919faae
Compare
Choose a tag to compare

https://www.nuget.org/packages/Microsoft.Unity.Analyzers/1.17.0

  • Added UNT0034, A Vector3 can be converted into a Vector2.
  • Added UNT0035, A Vector2 can be converted into a Vector3.
  • Added support for help links for all analyzers.

1.16.1

16 Mar 09:30
5c22e1a
Compare
Choose a tag to compare

https://www.nuget.org/packages/Microsoft.Unity.Analyzers/1.16.1

  • Added USP0020, The Unity runtime invokes Unity messages.

1.16.0

21 Feb 16:59
a34ea93
Compare
Choose a tag to compare

https://www.nuget.org/packages/Microsoft.Unity.Analyzers/1.16.0

  • Fixed UNT0033 to support all OnPostprocessAllAssets overloads.

1.15.0

30 Nov 10:19
7a68fa6
Compare
Choose a tag to compare

https://www.nuget.org/packages/Microsoft.Unity.Analyzers/1.15.0

  • Updated UNT0006 to support all OnPostprocessAllAssets overloads.
  • Added UNT0031, Asset operations in LoadAttribute method.
  • Added UNT0032, Inefficient method to set localPosition and localRotation.
  • Added UNT0033, Incorrect message case.
  • Bumped severity to Warning for UNT0033, UNT0015 and UNT0006 diagnostics.
  • Fixed inline ifs incorrectly processed by UNT0026.

1.14.0

16 Jul 15:13
2faed96
Compare
Choose a tag to compare

https://www.nuget.org/packages/Microsoft.Unity.Analyzers/1.14.0

  • Added UNT0027, Prevent call to default PropertyDrawer.OnGUI() implementation.
  • Added UNT0028, Use non-allocating physics APIs.
  • Added UNT0029, Pattern matching with null on Unity objects.
  • Added UNT0030, Calling Destroy or DestroyImmediate on a Transform.

1.13.0

04 Apr 15:23
cfbc837
Compare
Choose a tag to compare

https://www.nuget.org/packages/Microsoft.Unity.Analyzers/1.13.0

  • Updated UNT0015 and USP0012 to support DidReloadScripts attribute.
  • Added USP0019, Don't flag private methods decorated with PreserveAttribute or UsedImplicitlyAttribute as unused.
  • Added USP0018, Unity objects should not be used with throw expressions.