Skip to content

Commit 1ca62d4

Browse files
authored
Merge pull request #17 from Supheria/v1.3.1
V1.3.1
2 parents 6ae3b98 + d072ed3 commit 1ca62d4

File tree

4 files changed

+30
-2
lines changed

4 files changed

+30
-2
lines changed

CHANGE_LOG.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,17 @@
1+
# v1.3.1
2+
3+
## Bug Fixes
4+
5+
Fix error message in Scope:
6+
7+
> [GodotSharpDI] Host '{providerType}' failed to provide service
8+
9+
After fixed:
10+
11+
> [GodotSharpDI] Host 'HostaNodeA' failed to provide service
12+
13+
---
14+
115
# v1.3.0
216

317
## ✨ New Features

CHANGE_LOG.zh-CN.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,17 @@
1+
# v1.3.1
2+
3+
## Bug 修复
4+
5+
修复 Scope 的报错信息:
6+
7+
> [GodotSharpDI] Host '{providerType}' failed to provide service
8+
9+
修复后:
10+
11+
> [GodotSharpDI] Host 'HostaNodeA' failed to provide service
12+
13+
---
14+
115
# v1.3.0
216

317
## ✨ 新功能

GodotSharpDI.SourceGenerator/Internal/Coding/ScopeInterfaceGenerator.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ private static void GenerateProvideService(CodeFormatter f)
107107
f.AppendLine("var sb = CreateErrorMessageBuilder(");
108108
f.BeginLevel();
109109
{
110-
f.AppendLine("title: \"Host '{providerType}' failed to provide service\",");
110+
f.AppendLine("title: $\"Host '{providerType}' failed to provide service\",");
111111
f.AppendLine(
112112
"reason: $\"Null reference provided for implementation type: {implType.Name}\","
113113
);

GodotSharpDI/GodotSharpDI.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<NoWarn>$(NoWarn);NU5128</NoWarn>
1010
<!-- Package Metadata -->
1111
<PackageId>GodotSharpDI</PackageId>
12-
<Version>1.3.0</Version>
12+
<Version>1.3.1</Version>
1313
<Authors>Supheria</Authors>
1414
<Description>A source generator based dependency injection framework for Godot C# projects. Provides compile-time DI with support for singleton services, constructor and member injection.</Description>
1515
<PackageTags>godot;dependency-injection;di;source-generator;csharp;dotnet</PackageTags>

0 commit comments

Comments
 (0)