Skip to content

Commit

Permalink
chore(release): v1.0.0-beta.8
Browse files Browse the repository at this point in the history
  • Loading branch information
jonisavo committed Sep 27, 2023
1 parent a329624 commit 7ac8800
Show file tree
Hide file tree
Showing 107 changed files with 210 additions and 197 deletions.
Binary file not shown.
Binary file not shown.
Binary file modified Assets/UIComponents/Roslyn/UIComponents.Roslyn.Analyzers.dll
Binary file not shown.
Binary file modified Assets/UIComponents/Roslyn/UIComponents.Roslyn.Analyzers.pdb
Binary file not shown.
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.7",
"version": "1.0.0-beta.8",
"description": "A small front-end framework for Unity's UIToolkit.",
"unity": "2021.3",
"author": {
Expand Down
13 changes: 13 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,18 @@


# [1.0.0-beta.8](https://github.com/jonisavo/uicomponents/compare/v1.0.0-beta.7...v1.0.0-beta.8) (2023-09-27)


### Bug Fixes

* **analyzers:** fix NullReferenceExceptions in UIC103 ([#110](https://github.com/jonisavo/uicomponents/issues/110)) ([67f5406](https://github.com/jonisavo/uicomponents/commit/67f540617cfad1012e348063c7f4b6ee1678918e))
* **core:** fix compile error inside AddressableAssetResolver in Unity 2020 ([7956148](https://github.com/jonisavo/uicomponents/commit/79561489ebb299709ef6c3a0f095fb8f46153b31))


### Features

* **analyzers:** add rule for disallowing readonly members with Provide or Query (UIC003) ([c04dce6](https://github.com/jonisavo/uicomponents/commit/c04dce684f1fe42af541d8e7c0a72bee908ecf23))

# [1.0.0-beta.7](https://github.com/jonisavo/uicomponents/compare/v1.0.0-beta.6...v1.0.0-beta.7) (2023-09-25)


Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ Alternatively, merge this snippet to your `Packages/manifest.json` file:
}
],
"dependencies": {
"io.savolainen.uicomponents": "1.0.0-beta.7"
"io.savolainen.uicomponents": "1.0.0-beta.8"
}
}
```
Expand All @@ -182,12 +182,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.7"
"io.savolainen.uicomponents": "https://github.com/jonisavo/uicomponents.git#upm/v1.0.0-beta.8"
```

This will install version 1.0.0-beta.7.
This will install version 1.0.0-beta.8.

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

### With .unitypackage

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<IncludeBuildOutput>false</IncludeBuildOutput>
<IsRoslynComponent>true</IsRoslynComponent>
<RootNamespace>UIComponents.Roslyn.Analyzers</RootNamespace>
<ReleaseVersion>1.0.0-beta.7</ReleaseVersion>
<ReleaseVersion>1.0.0-beta.8</ReleaseVersion>
</PropertyGroup>

<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<IncludeBuildOutput>false</IncludeBuildOutput>
<SuppressDependenciesWhenPacking>true</SuppressDependenciesWhenPacking>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<ReleaseVersion>1.0.0-beta.7</ReleaseVersion>
<ReleaseVersion>1.0.0-beta.8</ReleaseVersion>
</PropertyGroup>

<PropertyGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
<GenerateBindingRedirectsOutputType>true</GenerateBindingRedirectsOutputType>
<ReleaseVersion>1.0.0-beta.7</ReleaseVersion>
<ReleaseVersion>1.0.0-beta.8</ReleaseVersion>
</PropertyGroup>

<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<IsRoslynComponent>true</IsRoslynComponent>
<!-- Avoid ID conflicts with the package project. -->
<PackageId>*$(MSBuildProjectFile)*</PackageId>
<ReleaseVersion>1.0.0-beta.7</ReleaseVersion>
<ReleaseVersion>1.0.0-beta.8</ReleaseVersion>
</PropertyGroup>

<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<Nullable>enable</Nullable>

<IsPackable>false</IsPackable>
<ReleaseVersion>1.0.0-beta.7</ReleaseVersion>
<ReleaseVersion>1.0.0-beta.8</ReleaseVersion>
</PropertyGroup>

<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<TargetFramework>netstandard2.0</TargetFramework>
<IncludeBuildOutput>false</IncludeBuildOutput>
<IsRoslynComponent>true</IsRoslynComponent>
<ReleaseVersion>1.0.0-beta.7</ReleaseVersion>
<ReleaseVersion>1.0.0-beta.8</ReleaseVersion>
</PropertyGroup>

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

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

[GeneratedCode("UIComponents.Roslyn.Generation", "1.0.0-beta.7")]
[GeneratedCode("UIComponents.Roslyn.Generation", "1.0.0-beta.8")]
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.7")]
[GeneratedCode("UIComponents.Roslyn.Generation", "1.0.0-beta.8")]
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.7")]
[GeneratedCode("UIComponents.Roslyn.Generation", "1.0.0-beta.8")]
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.7")]
[GeneratedCode("UIComponents.Roslyn.Generation", "1.0.0-beta.8")]
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.7")]
[GeneratedCode("UIComponents.Roslyn.Generation", "1.0.0-beta.8")]
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.7")]
[GeneratedCode("UIComponents.Roslyn.Generation", "1.0.0-beta.8")]
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.7")]
[GeneratedCode("UIComponents.Roslyn.Generation", "1.0.0-beta.8")]
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.7")]
[GeneratedCode("UIComponents.Roslyn.Generation", "1.0.0-beta.8")]
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.7")]
[GeneratedCode("UIComponents.Roslyn.Generation", "1.0.0-beta.8")]
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 ConsumerComponent
{
[GeneratedCode("UIComponents.Roslyn.Generation", "1.0.0-beta.7")]
[GeneratedCode("UIComponents.Roslyn.Generation", "1.0.0-beta.8")]
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<MyDependency, MyDependency>()
};

[GeneratedCode("UIComponents.Roslyn.Generation", "1.0.0-beta.7")]
[GeneratedCode("UIComponents.Roslyn.Generation", "1.0.0-beta.8")]
public override 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 TransientConsumerComponent
{
[GeneratedCode("UIComponents.Roslyn.Generation", "1.0.0-beta.7")]
[GeneratedCode("UIComponents.Roslyn.Generation", "1.0.0-beta.8")]
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.TransientFor<MyDependency, MyDependency>()
};

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

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

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

[GeneratedCode("UIComponents.Roslyn.Generation", "1.0.0-beta.7")]
[GeneratedCode("UIComponents.Roslyn.Generation", "1.0.0-beta.8")]
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.7")]
[GeneratedCode("UIComponents.Roslyn.Generation", "1.0.0-beta.8")]
protected override void UIC_ApplyEffects()
{
if (UIC_EffectAttributes == null)
Expand Down
Loading

0 comments on commit 7ac8800

Please sign in to comment.