0.2.0 (2022-05-01)
Bug Fixes
-
ci: fix syntax error in upm.yml (8ef3784)
-
ci: stage copied meta files (d2189dc)
-
ci: use conventional commit format (d863234)
-
PathAttribute: do not mutate Path instance variable in GetAssetPathForComponent (cb01f27)
-
feat!: rework asset handling (1c50b26)
-
feat!: rework dependency injection, create AssetDatabaseAssetLoader (935703e)
-
feat!: allow specifying asset path with AssetPathAttribute (336b6b9)
Features
- add very basic dependency injection (dc12f9d)
- ci: add workflow for creating upm branch (973cdf7)
- DependencyInjector: add constructor for constructing injector using DependencyAttributes (7b697b7)
- DependencyInjector: add TryProvide method (9583b39)
- DependencyInjector: throw ArgumentNullException in SetDependency (caa2e1b)
- DependencyInjector: throw exception in Provide if no provider exists (4ccebe5)
- examples: add CounterComponent example (bbb8f10)
- UIComponent: make AssetResolver public (f2dc3b7)
- UIComponent: remove warning messages from when no layout or stylesheet files exist (cf72d2d)
BREAKING CHANGES
- The new ResourcesAssetResolver is
now used by default. AssetDatabaseAssetResolver has been
moved to the new UIComponents.Editor assembly. - InjectDependencyAttribute has been renamed
to DependencyAttribute. The provider argument has been renamed
to provide. The majority of DependencyInjector has been reworked
completely. - LayoutAttribute and StylesheetAttribute's
RelativeTo property has been removed.