Skip to content

Releases

1.28.0

Choose a tag to compare

@sailro sailro released this 29 Sep 19:21
fd250c3

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

  • Added UNT0044 diagnostic, avoid temporary strings when setting TextMeshPro text.
  • Added UNT0045 diagnostic, use non-allocating access for collision contacts, touches, and acceleration events.
  • Added UNT0046 diagnostic, cache Shader.PropertyToID results.
  • Updated UNT0016 diagnostic to support IsInvoking.
  • Reduced UNT0043 false positives for Unity platform and version symbols.
  • Added Unity 6.7 AssetPostprocessor.OnProcessScene message support.

1.27.0

Choose a tag to compare

@sailro sailro released this 05 Aug 12:23
4302355

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

  • Added UNT0043 diagnostic, flag likely typos in conditional compilation symbols.
  • Improved multiple code fixes to preserve comments and formatting.
  • Fixed UNT0008 code fix for null-propagation expressions, statements, member chains, and element access.
  • Updated UNT0013 diagnostic to support public serialized dictionary fields.
  • Fixed UNT0038 diagnostic crash on yield instructions with multiple arguments.
  • Fixed UNT0039 diagnostic false positives for generic component types and calls from Reset or OnValidate.

1.26.0

Choose a tag to compare

@sailro sailro released this 03 Feb 09:04
cb7880b

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

Choose a tag to compare

@sailro sailro released this 22 Aug 06:42

1.24.0

Choose a tag to compare

@sailro sailro released this 15 Aug 14:05
907890f

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

Choose a tag to compare

@sailro sailro released this 24 Jun 18:14
b21d46b

1.22.0

Choose a tag to compare

@sailro sailro released this 14 Feb 15:42

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

1.21.0

Choose a tag to compare

@sailro sailro released this 29 Oct 16:47
9651544

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

Choose a tag to compare

@sailro sailro released this 16 Aug 15:02
3b731b7

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

Choose a tag to compare

@sailro sailro released this 18 Mar 08:15
f54a146

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.