Skip to content

Releases: microsoft/Microsoft.Unity.Analyzers

1.26.0

03 Feb 09:04
cb7880b

Choose a tag to compare

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

  • Added UNT0040 diagnostic, GameObject.isStatic is editor-only.
  • Added UNT0041 diagnostic, use Animator.StringToHash for repeated Animator method calls.
  • Added UNT0042 diagnostic, Mesh array property accessed in loop.
  • Fixed UNT0022 diagnostic side effects.
  • Recategorized UNT0034 (Vector3→Vector2 conversion) from Performance to Readability.
  • Recategorized UNT0035 (Vector2→Vector3 conversion) from Performance to Readability.

1.25.0

22 Aug 06:42

Choose a tag to compare

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

  • Fixed USP0023 suppressor, to properly support all message-based types.

1.24.0

15 Aug 14:05
907890f

Choose a tag to compare

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

  • Added UniTask support for all message-based diagnostics and suppressors.
  • Added USP0023 suppressor, Don't flag incorrect naming styles for Unity messages.
  • Added UNT0039 diagnostic, Use RequireComponent attribute when self-invoking GetComponent.
  • Added ignored members to UNT0031 diagnostic, Asset operations in LoadAttribute method.

1.23.0

24 Jun 18:14
b21d46b

Choose a tag to compare

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

1.22.0

14 Feb 15:42

Choose a tag to compare

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

1.21.0

29 Oct 16:47
9651544

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

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

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

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

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.