Skip to content

Commit 08619bc

Browse files
committed
Preparing for release
1 parent 80eafdf commit 08619bc

4 files changed

Lines changed: 71 additions & 62 deletions

File tree

CustomGeneratorTests/CustomGeneratorTests.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<EnforceExtendedAnalyzerRules>true</EnforceExtendedAnalyzerRules>
77
</PropertyGroup>
88
<ItemGroup>
9-
<PackageReference Include="GodotSharp.SourceGenerators" Version="2.3.2-240105-2330.Release" PrivateAssets="all" />
9+
<PackageReference Include="GodotSharp.SourceGenerators" Version="2.3.2" PrivateAssets="all" />
1010
<PackageReference Include="Microsoft.CodeAnalysis.CSharp" Version="4.7.0" PrivateAssets="all" />
1111
</ItemGroup>
1212
</Project>

Godot 3 Tests/Godot 3 Tests.csproj

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@
88
<None Include="**\*.tscn" />
99
</ItemGroup>
1010
<ItemGroup>
11-
<PackageReference Include="FluentAssertions" Version="6.12.0" PrivateAssets="all" />
12-
<PackageReference Include="GodotSharp.SourceGenerators" Version="2.3.2-240105-2330.Release" PrivateAssets="all" />
11+
<PackageReference Include="FluentAssertions" Version="6.12.0" />
12+
<PackageReference Include="GodotSharp.SourceGenerators" Version="2.3.2" />
1313
</ItemGroup>
1414
<ItemGroup>
15-
<ProjectReference Include="..\CustomGeneratorTests\CustomGeneratorTests.csproj" OutputItemType="analyzer" PrivateAssets="all" />
15+
<ProjectReference Include="..\CustomGeneratorTests\CustomGeneratorTests.csproj" OutputItemType="analyzer" />
1616
</ItemGroup>
1717
</Project>

Godot 4 Tests/Godot 4 Tests.csproj

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@
1010
<None Include="**\plugin.cfg" />
1111
</ItemGroup>
1212
<ItemGroup>
13-
<PackageReference Include="FluentAssertions" Version="6.12.0" PrivateAssets="all" />
14-
<PackageReference Include="GodotSharp.SourceGenerators" Version="2.3.2-240105-2330.Release" PrivateAssets="all" />
13+
<PackageReference Include="FluentAssertions" Version="6.12.0" />
14+
<PackageReference Include="GodotSharp.SourceGenerators" Version="2.3.2" />
1515
</ItemGroup>
1616
<ItemGroup>
17-
<ProjectReference Include="..\CustomGeneratorTests\CustomGeneratorTests.csproj" OutputItemType="analyzer" PrivateAssets="all" />
17+
<ProjectReference Include="..\CustomGeneratorTests\CustomGeneratorTests.csproj" OutputItemType="analyzer" />
1818
</ItemGroup>
1919
</Project>

SourceGenerators/SourceGenerators.csproj

Lines changed: 64 additions & 55 deletions
Original file line numberDiff line numberDiff line change
@@ -14,73 +14,82 @@
1414
<PropertyGroup>
1515
<Authors>Cat-Lips</Authors>
1616
<Description>
17-
C# Source Generators for use with the Godot Game Engine (supports Godot 4 and .NET 8!)
18-
* `SceneTree` class attribute:
19-
-- Generates class property for uniquely named nodes
20-
-- Provides strongly typed access to the scene hierarchy (via `_` operator)
21-
* `GodotOverride` method attribute:
22-
-- Allows use of On*, instead of virtual _* overrides
23-
-- (Requires partial method declaration for use with Godot 4.0)
24-
* `Notify` property attribute:
25-
-- Generates boiler plate code, triggering only when values differ
26-
-- (Automagically triggers nested changes for Resource and Resource[])
27-
* `InputMap` class attribute:
28-
-- Provides strongly typed access to project input actions
29-
* `CodeComments` class attribute:
30-
-- Provides a nested static class to access property comments from code (useful for in-game tooltips, etc)
31-
* `OnInstantiate` method attribute:
32-
-- Generates a static Instantiate method with matching args that calls attributed method as part of the instantiation process
33-
-- (Also generates a protected constructor to ensure proper initialisation - can be deactivated via attribute)
34-
* `OnImport` method attribute (GD4 only):
35-
-- Generates default plugin overrides and options to make plugin class cleaner (inherit from OnImportEditorPlugin)
36-
* Includes base classes/helpers to create project specific source generators
37-
</Description>
17+
C# Source Generators for use with the Godot Game Engine (supports Godot 4 and .NET 8!)
18+
19+
* `SceneTree` class attribute:
20+
-- Generates class property for uniquely named nodes
21+
-- Provides strongly typed access to the scene hierarchy (via `_` operator)
22+
23+
* `GodotOverride` method attribute:
24+
-- Allows use of On*, instead of virtual _* overrides
25+
-- (Requires partial method declaration for use with Godot 4.0)
26+
27+
* `Notify` property attribute:
28+
-- Generates boiler plate code, triggering only when values differ
29+
-- (Automagically triggers nested changes for Resource and Resource[])
30+
31+
* `InputMap` class attribute:
32+
-- Provides strongly typed access to project input actions
33+
34+
* `CodeComments` class attribute:
35+
-- Provides a nested static class to access property comments from code (useful for in-game tooltips, etc)
36+
37+
* `OnInstantiate` method attribute:
38+
-- Generates a static Instantiate method with matching args that calls attributed method as part of the instantiation process
39+
-- (Also generates a protected constructor to ensure proper initialisation - can be deactivated via attribute)
40+
41+
* `OnImport` method attribute (GD4 only):
42+
-- Generates default plugin overrides and options to make plugin class cleaner (inherit from OnImportEditorPlugin)
43+
44+
* Includes base classes/helpers to create project specific source generators
45+
</Description>
3846
<PackageReleaseNotes>
39-
v.2.3.1
40-
- ADDED: Support for .NET 8.0
41-
- ADDED: OnImport attribute for editor only builds (GD4 only)
47+
v.2.3.2
48+
- ADDED: Support for .NET 8.0
49+
- ADDED: Nested InputMap entries
50+
- ADDED: OnImport attribute for editor only builds (GD4 only)
4251

43-
v.2.1.0
44-
- ADDED: CodeComments attribute
45-
- ADDED: OnInstantiate attribute (with protected constructor)
46-
- ADDED: Inline changed action on Notify setter
47-
- ADDED: Implicit operators as an alternative to calling .Get() on scene tree for non-leaf nodes
52+
v.2.1.0
53+
- ADDED: CodeComments attribute
54+
- ADDED: OnInstantiate attribute (with protected constructor)
55+
- ADDED: Inline changed action on Notify setter
56+
- ADDED: Implicit operators as an alternative to calling .Get() on scene tree for non-leaf nodes
4857

49-
v.2.0.0
50-
- ADDED: Support for Godot 4.0
51-
-- KnownIssue: GodotOverride requires an additional partial method override declaration
52-
- CHANGED: Notify must be used on property instead of field to access privately generated content
53-
- ADDED: InputMap attribute
58+
v.2.0.0
59+
- ADDED: Support for Godot 4.0
60+
-- KnownIssue: GodotOverride requires an additional partial method override declaration
61+
- CHANGED: Notify must be used on property instead of field to access privately generated content
62+
- ADDED: InputMap attribute
5463

55-
v.1.3.3
56-
- ADDED: Support for placeholder scenes
57-
- ADDED: Support for editable instanced scenes
58-
- FIXED: GodotOverride in derived class now calls rather than hides base method
59-
- FIXED: Previously, types could not share the same name. This has now been fixed.
60-
- ADDED: Notify attribute (with support for [Export])
61-
- ADDED: Added support for uniquely named nodes (ie, Godot 3.5 - GetNode("%MyUniqueNode"))
64+
v.1.3.3
65+
- ADDED: Support for placeholder scenes
66+
- ADDED: Support for editable instanced scenes
67+
- FIXED: GodotOverride in derived class now calls rather than hides base method
68+
- FIXED: Previously, types could not share the same name. This has now been fixed.
69+
- ADDED: Notify attribute (with support for [Export])
70+
- ADDED: Added support for uniquely named nodes (ie, Godot 3.5 - GetNode("%MyUniqueNode"))
6271

63-
v.1.2.0
64-
- Replaces ISourceGenerator with IIncrementalGenerator for faster builds
65-
- Hierarchy of inherited scenes are now fully accessible from base classes
66-
- Hierarchy of instanced scenes can be made accessible using [SceneTree(traverseInstancedScenes=true)]
67-
- FIXED: Modifications (overrides) of inheritance hierarchy now supported
68-
- FIXED: Inheriting/Instancing scenes without scripts now supported
69-
- FIXED: Consumers with implicit usings enabled now supported
72+
v.1.2.0
73+
- Replaces ISourceGenerator with IIncrementalGenerator for faster builds
74+
- Hierarchy of inherited scenes are now fully accessible from base classes
75+
- Hierarchy of instanced scenes can be made accessible using [SceneTree(traverseInstancedScenes=true)]
76+
- FIXED: Modifications (overrides) of inheritance hierarchy now supported
77+
- FIXED: Inheriting/Instancing scenes without scripts now supported
78+
- FIXED: Consumers with implicit usings enabled now supported
7079

71-
v.1.1.4
72-
- Exposed base classes/helpers to help create project specific source generators
80+
v.1.1.4
81+
- Exposed base classes/helpers to help create project specific source generators
7382

74-
v.1.0.0
75-
- Initial release (SceneTree/GodotOverride)
76-
</PackageReleaseNotes>
83+
v.1.0.0
84+
- Initial release (SceneTree/GodotOverride)
85+
</PackageReleaseNotes>
7786
<RepositoryUrl>https://github.com/Cat-Lips/GodotSharp.SourceGenerators</RepositoryUrl>
7887
<PackageProjectUrl>https://github.com/Cat-Lips/GodotSharp.SourceGenerators</PackageProjectUrl>
7988
<PackageLicenseExpression>MIT</PackageLicenseExpression>
8089
<PackageTags>Godot C# SourceGenerator</PackageTags>
8190
<PackageReadmeFile>README.md</PackageReadmeFile>
82-
<!--<Version>2.3.1</Version>-->
83-
<Version>2.3.2-$([System.DateTime]::Now.ToString(yyMMdd-HHmm)).$(Configuration)</Version>
91+
<Version>2.3.2</Version>
92+
<!--<Version>2.3.2-$([System.DateTime]::Now.ToString(yyMMdd-HHmm)).$(Configuration)</Version>-->
8493
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
8594
</PropertyGroup>
8695
<ItemGroup>

0 commit comments

Comments
 (0)