Skip to content

Commit

Permalink
chore(release): v1.0.0-beta.2
Browse files Browse the repository at this point in the history
  • Loading branch information
jonisavo committed Mar 21, 2023
1 parent ca0d2e9 commit 3dba6e8
Show file tree
Hide file tree
Showing 92 changed files with 191 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.1",
"version": "1.0.0-beta.2",
"description": "A small front-end framework for Unity's UIToolkit.",
"unity": "2021.3",
"author": {
Expand Down
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@


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


### Bug Fixes

* include meta files in .unitypackage distribution ([856d398](https://github.com/jonisavo/uicomponents/commit/856d398961ed7883cae9a40d0cef62792cd4a24c))

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


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.1"
"io.savolainen.uicomponents": "1.0.0-beta.2"
}
}
```
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.1"
"io.savolainen.uicomponents": "https://github.com/jonisavo/uicomponents.git#upm/v1.0.0-beta.2"
```

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

To update, change `upm/v1.0.0-beta.1` to point to the latest version.
To update, change `upm/v1.0.0-beta.2` 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.1")]
[GeneratedCode("UIComponents.Roslyn.Generation", "1.0.0-beta.2")]
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.1")]
[GeneratedCode("UIComponents.Roslyn.Generation", "1.0.0-beta.2")]
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.1")]
[GeneratedCode("UIComponents.Roslyn.Generation", "1.0.0-beta.2")]
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.1")]
[GeneratedCode("UIComponents.Roslyn.Generation", "1.0.0-beta.2")]
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.1")]
[GeneratedCode("UIComponents.Roslyn.Generation", "1.0.0-beta.2")]
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.1")]
[GeneratedCode("UIComponents.Roslyn.Generation", "1.0.0-beta.2")]
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.1")]
[GeneratedCode("UIComponents.Roslyn.Generation", "1.0.0-beta.2")]
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.1")]
[GeneratedCode("UIComponents.Roslyn.Generation", "1.0.0-beta.2")]
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.1")]
[GeneratedCode("UIComponents.Roslyn.Generation", "1.0.0-beta.2")]
private static readonly IDependency[] UIC_Dependencies = new IDependency[] {
UIComponents.DependencyInjection.Dependency.SingletonFor<IMyDependency, ConsumerDependency>()
};

[GeneratedCode("UIComponents.Roslyn.Generation", "1.0.0-beta.1")]
[GeneratedCode("UIComponents.Roslyn.Generation", "1.0.0-beta.2")]
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.1")]
[GeneratedCode("UIComponents.Roslyn.Generation", "1.0.0-beta.2")]
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.1")]
[GeneratedCode("UIComponents.Roslyn.Generation", "1.0.0-beta.2")]
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.1")]
[GeneratedCode("UIComponents.Roslyn.Generation", "1.0.0-beta.2")]
private static readonly IDependency[] UIC_Dependencies = new IDependency[] {
UIComponents.DependencyInjection.Dependency.TransientFor<IMyDependency, MyDependency>()
};

[GeneratedCode("UIComponents.Roslyn.Generation", "1.0.0-beta.1")]
[GeneratedCode("UIComponents.Roslyn.Generation", "1.0.0-beta.2")]
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.1")]
[GeneratedCode("UIComponents.Roslyn.Generation", "1.0.0-beta.2")]
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.1")]
[GeneratedCode("UIComponents.Roslyn.Generation", "1.0.0-beta.2")]
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.1")]
[GeneratedCode("UIComponents.Roslyn.Generation", "1.0.0-beta.2")]
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.1")]
[GeneratedCode("UIComponents.Roslyn.Generation", "1.0.0-beta.2")]
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.1")]
[GeneratedCode("UIComponents.Roslyn.Generation", "1.0.0-beta.2")]
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.1")]
[GeneratedCode("UIComponents.Roslyn.Generation", "1.0.0-beta.2")]
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.1")]
[GeneratedCode("UIComponents.Roslyn.Generation", "1.0.0-beta.2")]
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.1")]
[GeneratedCode("UIComponents.Roslyn.Generation", "1.0.0-beta.2")]
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.1")]
[GeneratedCode("UIComponents.Roslyn.Generation", "1.0.0-beta.2")]
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.1")]
[GeneratedCode("UIComponents.Roslyn.Generation", "1.0.0-beta.2")]
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.1")]
[GeneratedCode("UIComponents.Roslyn.Generation", "1.0.0-beta.2")]
private static UIComponentEffectAttribute[] UIC_EffectAttributes;

[GeneratedCode("UIComponents.Roslyn.Generation", "1.0.0-beta.1")]
[GeneratedCode("UIComponents.Roslyn.Generation", "1.0.0-beta.2")]
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.1")]
[GeneratedCode("UIComponents.Roslyn.Generation", "1.0.0-beta.2")]
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.1")]
[GeneratedCode("UIComponents.Roslyn.Generation", "1.0.0-beta.2")]
private static UIComponentEffectAttribute[] UIC_EffectAttributes;

[GeneratedCode("UIComponents.Roslyn.Generation", "1.0.0-beta.1")]
[GeneratedCode("UIComponents.Roslyn.Generation", "1.0.0-beta.2")]
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.1")]
[GeneratedCode("UIComponents.Roslyn.Generation", "1.0.0-beta.2")]
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.1")]
[GeneratedCode("UIComponents.Roslyn.Generation", "1.0.0-beta.2")]
private static UIComponentEffectAttribute[] UIC_EffectAttributes;

[GeneratedCode("UIComponents.Roslyn.Generation", "1.0.0-beta.1")]
[GeneratedCode("UIComponents.Roslyn.Generation", "1.0.0-beta.2")]
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.1")]
[GeneratedCode("UIComponents.Roslyn.Generation", "1.0.0-beta.2")]
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.1")]
[GeneratedCode("UIComponents.Roslyn.Generation", "1.0.0-beta.2")]
private static UIComponentEffectAttribute[] UIC_EffectAttributes;

[GeneratedCode("UIComponents.Roslyn.Generation", "1.0.0-beta.1")]
[GeneratedCode("UIComponents.Roslyn.Generation", "1.0.0-beta.2")]
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.1")]
[GeneratedCode("UIComponents.Roslyn.Generation", "1.0.0-beta.2")]
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.1")]
[GeneratedCode("UIComponents.Roslyn.Generation", "1.0.0-beta.2")]
private static UIComponentEffectAttribute[] UIC_EffectAttributes;

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

0 comments on commit 3dba6e8

Please sign in to comment.