Skip to content
Shiny.NET
Shiny MAUI Shell v7 - App Links, App Shortcuts, & Navigation Interception!Shortcut me to it

Reflector Release Notes

Feature
New trim and AOT safe GetReflector() overload that only returns a source-generated reflector. The existing GetReflector(bool fallbackToTrueReflection) overload keeps the runtime reflection escape hatch and is now marked [RequiresUnreferencedCode], so the trimmer warns when you leave the safe path
Fix
TrueReflectionReflectorClass, ReflectorJsonConverter and ReflectorJsonConverter<T> are annotated with [RequiresUnreferencedCode]/[RequiresDynamicCode]. They were silently producing IL2026, IL2067, IL2070, IL2071 and IL2075 warnings inside the library instead of surfacing the real trim/AOT risk to consumers
Fix
TryGetValue<T> now annotates its out parameter with [MaybeNullWhen(false)], so nullable flow analysis is correct when the property is missing
Feature
New ReflectorExpressionExtensions — strongly-typed, expression-based property access. GetPropertyName(x => x.Prop) extracts a property name from a lambda, and IReflectorClass gains GetProperty, GetValue, and SetValue overloads that take an x => x.Prop expression instead of a string key. Unary boxing conversions for value/nullable types are handled automatically
BREAKINGEnhancement
Package renamed from Shiny.Reflector to Shiny.Extensions.Reflector — Reflector is now part of the Shiny.Extensions family. Update package references in your csproj from <PackageReference Include="Shiny.Reflector"/> to <PackageReference Include="Shiny.Extensions.Reflector"/>
BREAKINGEnhancement
Root namespace changed from Shiny.Reflector to Shiny.Extensions.Reflector. Update using Shiny.Reflector; to using Shiny.Extensions.Reflector; (or rely on the implicit <Using Include="Shiny.Extensions.Reflector"/> injected by the package targets)
Enhancement
Repository moved to https://github.com/shinyorg/Shiny.Extensions — version numbering aligned with the rest of the Shiny.Extensions family
Fix
Source generator no longer grab static properties
Enhancement
Fallback true reflection reflector now lazy loads property reflection until it is actually needed
Feature
Built-in System.Text.Json reflector json converter
Feature
New AssemblyInfo generation for improved metadata
Feature
Initial Public Release