Skip to content

Commit

Permalink
chore(release): v1.0.0-beta.1
Browse files Browse the repository at this point in the history
  • Loading branch information
jonisavo committed Mar 12, 2023
1 parent a8a9601 commit e35e7be
Show file tree
Hide file tree
Showing 92 changed files with 203 additions and 184 deletions.
Binary file modified Assets/UIComponents/Roslyn/UIComponents.Roslyn.Generation.dll
Binary file not shown.
Binary file modified Assets/UIComponents/Roslyn/UIComponents.Roslyn.Generation.pdb
Binary file not shown.
2 changes: 1 addition & 1 deletion Assets/UIComponents/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "io.savolainen.uicomponents",
"displayName": "UIComponents",
"version": "1.0.0-beta.0",
"version": "1.0.0-beta.1",
"description": "A small front-end framework for Unity's UIToolkit.",
"unity": "2021.3",
"author": {
Expand Down
19 changes: 19 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,24 @@


# [1.0.0-beta.1](https://github.com/jonisavo/uicomponents/compare/v1.0.0-beta.0...v1.0.0-beta.1) (2023-03-12)


### Bug Fixes

* **UxmlTraitAttribute:** default trait name no longer has trailing or leading dashes ([74a73f7](https://github.com/jonisavo/uicomponents/commit/74a73f70f129c53dd2fa4870ae76b10a187f0d87))


### Features

* **UIComponent:** remove WaitForInitialization method ([d21e194](https://github.com/jonisavo/uicomponents/commit/d21e1941c3bb33dd1588d0e633a139bfeca7af68))
* **UxmlTraitAttribute:** remove obsolete DefaultValue property ([adb4715](https://github.com/jonisavo/uicomponents/commit/adb47154e99375fe527fbc7a6acc0afde436136d))


### BREAKING CHANGES

* **UxmlTraitAttribute:** UxmlTraitAttribute's obsolete DefaultValue property has been removed. Use field and property initializers instead.
* **UIComponent:** UIComponent's obsolete WaitForInitialization method has been removed. Use its InitializationTask instead.

# [1.0.0-beta.0](https://github.com/jonisavo/uicomponents/compare/v1.0.0-alpha.6...v1.0.0-beta.0) (2023-03-05)


Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ Alternatively, merge this snippet to your `Packages/manifest.json` file:
}
],
"dependencies": {
"io.savolainen.uicomponents": "1.0.0-beta.0"
"io.savolainen.uicomponents": "1.0.0-beta.1"
}
}
```
Expand All @@ -179,12 +179,12 @@ Alternatively, merge this snippet to your `Packages/manifest.json` file:
Add this under `dependencies` in your `Packages/manifest.json` file:

```
"io.savolainen.uicomponents": "https://github.com/jonisavo/uicomponents.git#upm/v1.0.0-beta.0"
"io.savolainen.uicomponents": "https://github.com/jonisavo/uicomponents.git#upm/v1.0.0-beta.1"
```

This will install version 1.0.0-beta.0.
This will install version 1.0.0-beta.1.

To update, change `upm/v1.0.0-beta.0` to point to the latest version.
To update, change `upm/v1.0.0-beta.1` to point to the latest version.

### With .unitypackage

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,14 @@

public partial class ConsumerComponent
{
[GeneratedCode("UIComponents.Roslyn.Generation", "1.0.0-beta.0")]
[GeneratedCode("UIComponents.Roslyn.Generation", "1.0.0-beta.1")]
private static readonly IDependency[] UIC_Dependencies = new IDependency[] {
UIComponents.DependencyInjection.Dependency.SingletonFor<UIComponents.IAssetResolver, UIComponents.ResourcesAssetResolver>(),
UIComponents.DependencyInjection.Dependency.SingletonFor<UIComponents.ILogger, UIComponents.DebugLogger>(),
UIComponents.DependencyInjection.Dependency.SingletonFor<IMyDependency, MyDependency>()
};

[GeneratedCode("UIComponents.Roslyn.Generation", "1.0.0-beta.0")]
[GeneratedCode("UIComponents.Roslyn.Generation", "1.0.0-beta.1")]
public override IEnumerable<IDependency> GetDependencies()
{
return UIC_Dependencies;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,13 @@

public partial class UIComponentWithNoOwnDependencies
{
[GeneratedCode("UIComponents.Roslyn.Generation", "1.0.0-beta.0")]
[GeneratedCode("UIComponents.Roslyn.Generation", "1.0.0-beta.1")]
private static readonly IDependency[] UIC_Dependencies = new IDependency[] {
UIComponents.DependencyInjection.Dependency.SingletonFor<UIComponents.IAssetResolver, UIComponents.ResourcesAssetResolver>(),
UIComponents.DependencyInjection.Dependency.SingletonFor<UIComponents.ILogger, UIComponents.DebugLogger>()
};

[GeneratedCode("UIComponents.Roslyn.Generation", "1.0.0-beta.0")]
[GeneratedCode("UIComponents.Roslyn.Generation", "1.0.0-beta.1")]
public override IEnumerable<IDependency> GetDependencies()
{
return UIC_Dependencies;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,13 @@

public partial class ConsumerClass
{
[GeneratedCode("UIComponents.Roslyn.Generation", "1.0.0-beta.0")]
[GeneratedCode("UIComponents.Roslyn.Generation", "1.0.0-beta.1")]
private static readonly IDependency[] UIC_Dependencies = new IDependency[] {
UIComponents.DependencyInjection.Dependency.SingletonFor<IMyDependency, MyDependency>(),
UIComponents.DependencyInjection.Dependency.SingletonFor<ISecondDependency, SecondDependency>()
};

[GeneratedCode("UIComponents.Roslyn.Generation", "1.0.0-beta.0")]
[GeneratedCode("UIComponents.Roslyn.Generation", "1.0.0-beta.1")]
public IEnumerable<IDependency> GetDependencies()
{
return UIC_Dependencies;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,14 @@

public partial class SecondConsumerClass
{
[GeneratedCode("UIComponents.Roslyn.Generation", "1.0.0-beta.0")]
[GeneratedCode("UIComponents.Roslyn.Generation", "1.0.0-beta.1")]
private static readonly IDependency[] UIC_Dependencies = new IDependency[] {
UIComponents.DependencyInjection.Dependency.SingletonFor<IMyDependency, MyDependency>(),
UIComponents.DependencyInjection.Dependency.SingletonFor<ISecondDependency, SecondDependency>(),
UIComponents.DependencyInjection.Dependency.SingletonFor<IThirdDependency, ThirdDependency>()
};

[GeneratedCode("UIComponents.Roslyn.Generation", "1.0.0-beta.0")]
[GeneratedCode("UIComponents.Roslyn.Generation", "1.0.0-beta.1")]
public override IEnumerable<IDependency> GetDependencies()
{
return UIC_Dependencies;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@

public partial class ConsumerClass
{
[GeneratedCode("UIComponents.Roslyn.Generation", "1.0.0-beta.0")]
[GeneratedCode("UIComponents.Roslyn.Generation", "1.0.0-beta.1")]
private static readonly IDependency[] UIC_Dependencies = new IDependency[] {
UIComponents.DependencyInjection.Dependency.SingletonFor<IMyDependency, ConsumerDependency>()
};

[GeneratedCode("UIComponents.Roslyn.Generation", "1.0.0-beta.0")]
[GeneratedCode("UIComponents.Roslyn.Generation", "1.0.0-beta.1")]
public IEnumerable<IDependency> GetDependencies()
{
return UIC_Dependencies;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,13 @@

public partial class SecondConsumerClass
{
[GeneratedCode("UIComponents.Roslyn.Generation", "1.0.0-beta.0")]
[GeneratedCode("UIComponents.Roslyn.Generation", "1.0.0-beta.1")]
private static readonly IDependency[] UIC_Dependencies = new IDependency[] {
UIComponents.DependencyInjection.Dependency.SingletonFor<IMyDependency, OverriddenMyDependency>(),
UIComponents.DependencyInjection.Dependency.SingletonFor<ISecondDependency, OverriddenSecondDependency>()
};

[GeneratedCode("UIComponents.Roslyn.Generation", "1.0.0-beta.0")]
[GeneratedCode("UIComponents.Roslyn.Generation", "1.0.0-beta.1")]
public override IEnumerable<IDependency> GetDependencies()
{
return UIC_Dependencies;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@

public partial class ConsumerClass
{
[GeneratedCode("UIComponents.Roslyn.Generation", "1.0.0-beta.0")]
[GeneratedCode("UIComponents.Roslyn.Generation", "1.0.0-beta.1")]
private static readonly IDependency[] UIC_Dependencies = new IDependency[] {
UIComponents.DependencyInjection.Dependency.TransientFor<IMyDependency, MyDependency>()
};

[GeneratedCode("UIComponents.Roslyn.Generation", "1.0.0-beta.0")]
[GeneratedCode("UIComponents.Roslyn.Generation", "1.0.0-beta.1")]
public IEnumerable<IDependency> GetDependencies()
{
return UIC_Dependencies;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,13 @@

public partial class ConsumerClass
{
[GeneratedCode("UIComponents.Roslyn.Generation", "1.0.0-beta.0")]
[GeneratedCode("UIComponents.Roslyn.Generation", "1.0.0-beta.1")]
private static readonly IDependency[] UIC_Dependencies = new IDependency[] {
UIComponents.DependencyInjection.Dependency.SingletonFor<IMyDependency, MyDependency>(),
UIComponents.DependencyInjection.Dependency.TransientFor<ISecondDependency, SecondDependency>()
};

[GeneratedCode("UIComponents.Roslyn.Generation", "1.0.0-beta.0")]
[GeneratedCode("UIComponents.Roslyn.Generation", "1.0.0-beta.1")]
public IEnumerable<IDependency> GetDependencies()
{
return UIC_Dependencies;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,13 @@

public partial struct ConsumerStruct
{
[GeneratedCode("UIComponents.Roslyn.Generation", "1.0.0-beta.0")]
[GeneratedCode("UIComponents.Roslyn.Generation", "1.0.0-beta.1")]
private static readonly IDependency[] UIC_Dependencies = new IDependency[] {
UIComponents.DependencyInjection.Dependency.SingletonFor<IMyDependency, MyDependency>(),
UIComponents.DependencyInjection.Dependency.TransientFor<ISecondDependency, SecondDependency>()
};

[GeneratedCode("UIComponents.Roslyn.Generation", "1.0.0-beta.0")]
[GeneratedCode("UIComponents.Roslyn.Generation", "1.0.0-beta.1")]
public IEnumerable<IDependency> GetDependencies()
{
return UIC_Dependencies;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,13 @@

public partial class ConsumerClass
{
[GeneratedCode("UIComponents.Roslyn.Generation", "1.0.0-beta.0")]
[GeneratedCode("UIComponents.Roslyn.Generation", "1.0.0-beta.1")]
private static readonly IDependency[] UIC_Dependencies = new IDependency[] {
UIComponents.DependencyInjection.Dependency.SingletonFor<IMyDependency, MyDependency>(),
UIComponents.DependencyInjection.Dependency.TransientFor<ISecondDependency, SecondDependency>()
};

[GeneratedCode("UIComponents.Roslyn.Generation", "1.0.0-beta.0")]
[GeneratedCode("UIComponents.Roslyn.Generation", "1.0.0-beta.1")]
public IEnumerable<IDependency> GetDependencies()
{
return UIC_Dependencies;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,13 @@

public partial struct ConsumerStruct
{
[GeneratedCode("UIComponents.Roslyn.Generation", "1.0.0-beta.0")]
[GeneratedCode("UIComponents.Roslyn.Generation", "1.0.0-beta.1")]
private static readonly IDependency[] UIC_Dependencies = new IDependency[] {
UIComponents.DependencyInjection.Dependency.SingletonFor<IMyDependency, MyDependency>(),
UIComponents.DependencyInjection.Dependency.TransientFor<ISecondDependency, SecondDependency>()
};

[GeneratedCode("UIComponents.Roslyn.Generation", "1.0.0-beta.0")]
[GeneratedCode("UIComponents.Roslyn.Generation", "1.0.0-beta.1")]
public IEnumerable<IDependency> GetDependencies()
{
return UIC_Dependencies;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,14 @@ namespace MyLibrary.GUI.Components
{
public partial class MyGUIComponent
{
[GeneratedCode("UIComponents.Roslyn.Generation", "1.0.0-beta.0")]
[GeneratedCode("UIComponents.Roslyn.Generation", "1.0.0-beta.1")]
private static readonly IDependency[] UIC_Dependencies = new IDependency[] {
UIComponents.DependencyInjection.Dependency.SingletonFor<UIComponents.IAssetResolver, UIComponents.ResourcesAssetResolver>(),
UIComponents.DependencyInjection.Dependency.SingletonFor<UIComponents.ILogger, UIComponents.DebugLogger>(),
UIComponents.DependencyInjection.Dependency.SingletonFor<IService, Service>()
};

[GeneratedCode("UIComponents.Roslyn.Generation", "1.0.0-beta.0")]
[GeneratedCode("UIComponents.Roslyn.Generation", "1.0.0-beta.1")]
public override IEnumerable<IDependency> GetDependencies()
{
return UIC_Dependencies;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@

public partial class PriorityEffectComponent
{
[GeneratedCode("UIComponents.Roslyn.Generation", "1.0.0-beta.0")]
[GeneratedCode("UIComponents.Roslyn.Generation", "1.0.0-beta.1")]
private static UIComponentEffectAttribute[] UIC_EffectAttributes;

[GeneratedCode("UIComponents.Roslyn.Generation", "1.0.0-beta.0")]
[GeneratedCode("UIComponents.Roslyn.Generation", "1.0.0-beta.1")]
private static void UIC_InitializeEffectAttributes()
{
UIC_EffectAttributes = new [] {
Expand All @@ -24,7 +24,7 @@ private static void UIC_InitializeEffectAttributes()
Array.Sort(UIC_EffectAttributes);
}

[GeneratedCode("UIComponents.Roslyn.Generation", "1.0.0-beta.0")]
[GeneratedCode("UIComponents.Roslyn.Generation", "1.0.0-beta.1")]
protected override void UIC_ApplyEffects()
{
if (UIC_EffectAttributes == null)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@

public partial class BasicEffectComponent
{
[GeneratedCode("UIComponents.Roslyn.Generation", "1.0.0-beta.0")]
[GeneratedCode("UIComponents.Roslyn.Generation", "1.0.0-beta.1")]
private static UIComponentEffectAttribute[] UIC_EffectAttributes;

[GeneratedCode("UIComponents.Roslyn.Generation", "1.0.0-beta.0")]
[GeneratedCode("UIComponents.Roslyn.Generation", "1.0.0-beta.1")]
private static void UIC_InitializeEffectAttributes()
{
UIC_EffectAttributes = new [] {
Expand All @@ -24,7 +24,7 @@ private static void UIC_InitializeEffectAttributes()
Array.Sort(UIC_EffectAttributes);
}

[GeneratedCode("UIComponents.Roslyn.Generation", "1.0.0-beta.0")]
[GeneratedCode("UIComponents.Roslyn.Generation", "1.0.0-beta.1")]
protected override void UIC_ApplyEffects()
{
if (UIC_EffectAttributes == null)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@

public partial class BaseEffectComponent
{
[GeneratedCode("UIComponents.Roslyn.Generation", "1.0.0-beta.0")]
[GeneratedCode("UIComponents.Roslyn.Generation", "1.0.0-beta.1")]
private static UIComponentEffectAttribute[] UIC_EffectAttributes;

[GeneratedCode("UIComponents.Roslyn.Generation", "1.0.0-beta.0")]
[GeneratedCode("UIComponents.Roslyn.Generation", "1.0.0-beta.1")]
private static void UIC_InitializeEffectAttributes()
{
UIC_EffectAttributes = new [] {
Expand All @@ -23,7 +23,7 @@ private static void UIC_InitializeEffectAttributes()
Array.Sort(UIC_EffectAttributes);
}

[GeneratedCode("UIComponents.Roslyn.Generation", "1.0.0-beta.0")]
[GeneratedCode("UIComponents.Roslyn.Generation", "1.0.0-beta.1")]
protected override void UIC_ApplyEffects()
{
if (UIC_EffectAttributes == null)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@

public partial class SecondSubclassEffectComponent
{
[GeneratedCode("UIComponents.Roslyn.Generation", "1.0.0-beta.0")]
[GeneratedCode("UIComponents.Roslyn.Generation", "1.0.0-beta.1")]
private static UIComponentEffectAttribute[] UIC_EffectAttributes;

[GeneratedCode("UIComponents.Roslyn.Generation", "1.0.0-beta.0")]
[GeneratedCode("UIComponents.Roslyn.Generation", "1.0.0-beta.1")]
private static void UIC_InitializeEffectAttributes()
{
UIC_EffectAttributes = new [] {
Expand All @@ -25,7 +25,7 @@ private static void UIC_InitializeEffectAttributes()
Array.Sort(UIC_EffectAttributes);
}

[GeneratedCode("UIComponents.Roslyn.Generation", "1.0.0-beta.0")]
[GeneratedCode("UIComponents.Roslyn.Generation", "1.0.0-beta.1")]
protected override void UIC_ApplyEffects()
{
if (UIC_EffectAttributes == null)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@

public partial class SubclassEffectComponent
{
[GeneratedCode("UIComponents.Roslyn.Generation", "1.0.0-beta.0")]
[GeneratedCode("UIComponents.Roslyn.Generation", "1.0.0-beta.1")]
private static UIComponentEffectAttribute[] UIC_EffectAttributes;

[GeneratedCode("UIComponents.Roslyn.Generation", "1.0.0-beta.0")]
[GeneratedCode("UIComponents.Roslyn.Generation", "1.0.0-beta.1")]
private static void UIC_InitializeEffectAttributes()
{
UIC_EffectAttributes = new [] {
Expand All @@ -24,7 +24,7 @@ private static void UIC_InitializeEffectAttributes()
Array.Sort(UIC_EffectAttributes);
}

[GeneratedCode("UIComponents.Roslyn.Generation", "1.0.0-beta.0")]
[GeneratedCode("UIComponents.Roslyn.Generation", "1.0.0-beta.1")]
protected override void UIC_ApplyEffects()
{
if (UIC_EffectAttributes == null)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

public partial class BaseLayoutComponent
{
[GeneratedCode("UIComponents.Roslyn.Generation", "1.0.0-beta.0")]
[GeneratedCode("UIComponents.Roslyn.Generation", "1.0.0-beta.1")]
protected override Task<VisualTreeAsset> UIC_StartLayoutLoad()
{
return AssetResolver.LoadAsset<VisualTreeAsset>("Components/BaseLayoutComponent");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

public partial class OverriddenLayoutComponent
{
[GeneratedCode("UIComponents.Roslyn.Generation", "1.0.0-beta.0")]
[GeneratedCode("UIComponents.Roslyn.Generation", "1.0.0-beta.1")]
protected override Task<VisualTreeAsset> UIC_StartLayoutLoad()
{
return AssetResolver.LoadAsset<VisualTreeAsset>("Components/OverriddenLayoutComponent");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

public partial class LayoutTestComponent
{
[GeneratedCode("UIComponents.Roslyn.Generation", "1.0.0-beta.0")]
[GeneratedCode("UIComponents.Roslyn.Generation", "1.0.0-beta.1")]
protected override Task<VisualTreeAsset> UIC_StartLayoutLoad()
{
return AssetResolver.LoadAsset<VisualTreeAsset>("Components/LayoutTestComponent");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ public partial class ParentClass
{
public partial class FirstNestedComponent
{
[GeneratedCode("UIComponents.Roslyn.Generation", "1.0.0-beta.0")]
[GeneratedCode("UIComponents.Roslyn.Generation", "1.0.0-beta.1")]
protected override Task<VisualTreeAsset> UIC_StartLayoutLoad()
{
return AssetResolver.LoadAsset<VisualTreeAsset>("Components/FirstNestedComponent");
Expand Down
Loading

0 comments on commit e35e7be

Please sign in to comment.