You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
UIComponent: use source generation for layouts and stylesheets (a8d5e01)
UxmlNameAttribute: move from UIComponents.Experimental namespace to UIComponents (a484ec4)
UxmlTraitAttribute: move from UIComponents.Experimental namespace to UIComponents (e1ba54a)
UxmlTraitAttribute: use a kebab-case version of member name by default (7bfb5e0)
BREAKING CHANGES
UIComponent: UIComponent's GetTypeName method has been removed as it was unnecessary. Use GetType().Name instead.
The IUIComponentLogger interface has been renamed to ILogger. Its methods' second argument is now of type object rather than UIComponent.
UxmlTraitAttribute: UxmlTraitAttribute has been moved from the UIComponents.Experimental namespace to UIComponents.
UxmlTraitAttribute: UxmlNameAttribute now uses a kebab-case version of the member name by default.
UxmlNameAttribute: UxmlNameAttribute has been moved from the UIComponents.Experimental namespace to UIComponents.
AssetPathAttribute has been renamed to AssetPrefixAttribute.
TraitAttribute has been renamed to UxmlTraitAttribute.
Because of the removal of reflection, the UIComponent attribute cache has been removed. UIComponent's static ClearCache method has been removed, as well.
ProvideAttribute: ProvideAttribute now uses source generation and requires a partial class.
UIComponent: Effects use source generation, which means that RootClassAttribute now requires a partial class to function.
QueryAttribute: QueryAttribute uses source generation now. Classes that use it must be partial.
UIComponent: LayoutAttribute and StylesheetAttribute use source generation now and require classes to be partial. GetAssetPaths function has been removed from UIComponent. Only one AssetPath attribute can be used with a class.