Skip to content

Commit aa3b1ff

Browse files
committed
Updated release notes
1 parent a838a82 commit aa3b1ff

File tree

7 files changed

+74
-9
lines changed

7 files changed

+74
-9
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.22.3
1+
0.23.0
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.22.3
1+
0.23.0
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.22.3
1+
0.23.0

Entitas/Entitas/entitas_version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.22.3
1+
0.23.0

EntitasUpgradeGuide.md

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,36 @@
1+
# Entitas 0.23.0 upgrade guide
2+
Entitas 0.23.0 changed and applied naming conventions.
3+
Before updating to this version, follow these steps to prepare your project:
4+
5+
#### Rename
6+
7+
Pool.Count -> Pool.count
8+
Group.Count -> Group.count
9+
Properties.count -> Properties.count
10+
11+
#### Find/Replace in generated folder
12+
13+
": AllOfMatcher " -> ""
14+
": base(new [] { index }) " -> ""
15+
"static AllOfMatcher _matcher" -> "static IMatcher _matcher"
16+
"public static AllOfMatcher" -> "public static IMatcher"
17+
"new Matcher" -> "Matcher.AllOf"
18+
19+
#### Delete
20+
21+
In generated ...ComponentIds
22+
23+
namespace Entitas {
24+
public partial class XYZMatcher {
25+
public Matcher(int index) {
26+
}
27+
28+
public override string ToString() {
29+
return ComponentIds.IdToString(indices[0]);
30+
}
31+
}
32+
}
33+
134
# Entitas 0.22.0 upgrade guide
235
Entitas 0.22.0 changed IReactiveSystem and IMultiReactiveSystem and renamed IStartSystem.Start to IInitializeSystem.Initialize.
336

RELEASE_NOTES.md

Lines changed: 37 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,30 @@
1+
# 0.23.0
2+
3+
##### Breaking changes
4+
Before updating, please follow the [Entitas upgrade guide](https://github.com/sschmid/Entitas-CSharp/blob/master/EntitasUpgradeGuide.md)
5+
6+
- Gerneral
7+
- Updated and applied policy
8+
9+
##### Entitas
10+
- Reimplemented new matcher AnyOf and NoneOf
11+
12+
```csharp
13+
Matcher.AllOf(Matcher.A, Matcher.B)
14+
.AnyOf(Matcher.C, Matcher.D)
15+
.NoneOf(Matcher.Equals, Matcher.F);
16+
17+
```
18+
19+
##### Entitas.CodeGenerator
20+
- Updated generators to work with new matchers
21+
- PoolsGenerator generates Pools.allPools (#39)
22+
- Code Generators convert local newline to unix newline
23+
24+
##### Entitas.Unity.CodeGenerator
25+
- Changed CodeGeneratorConfig.disabledCodeGenerators to CodeGeneratorConfig.enabledCodeGenerators
26+
27+
128
# 0.22.3
229

330
##### Entitas
@@ -96,7 +123,8 @@ Please follow the [Entitas upgrade guide](https://github.com/sschmid/Entitas-CSh
96123
- Added `IEnsureComponents` to optionally ensure entities passed in via ReactiveSystem have certain components
97124
- Added `IExcludeComponents` to optionally exclude entities passed in via ReactiveSystem
98125
- Added support for multiple PoolAttributes on components
99-
```cs
126+
127+
```csharp
100128
[PoolA, PoolB, PoolC]
101129
public class SomeComponent : IComponent {}
102130
```
@@ -197,7 +225,8 @@ Please follow the [Entitas upgrade guide](https://github.com/sschmid/Entitas-CSh
197225

198226
##### Breaking changes
199227
- Added `systemCodeGenerators` to CodeGenerator.Generate()
200-
```cs
228+
229+
```csharp
201230
CodeGenerator.Generate(Type[] types, string[] poolNames, string dir,
202231
IComponentCodeGenerator[] componentCodeGenerators,
203232
ISystemCodeGenerator[] systemCodeGenerators,
@@ -206,13 +235,15 @@ CodeGenerator.Generate(Type[] types, string[] poolNames, string dir,
206235

207236
##### Entitas.CodeGenerator
208237
- Added PoolsGenerator which creates a getter for all pools
209-
```cs
238+
239+
```csharp
210240
var pool = Pools.pool;
211241
var metaPool = Pools.meta;
212242
```
213243

214244
- Added SystemExtensionsGenerator
215-
```cs
245+
246+
```csharp
216247
new Systems()
217248
.Add(pool.CreateGameBoardSystem())
218249
.Add(pool.CreateCreateGameBoardCacheSystem())
@@ -287,7 +318,8 @@ new Systems()
287318

288319
##### Entitas.Unity.CodeGenerator
289320
- Added fluent api to Entity
290-
```cs
321+
322+
```csharp
291323
pool.CreateEntity()
292324
.IsGameBoardElement(true)
293325
.IsMovable(true)

bin/Entitas.zip

1.5 KB
Binary file not shown.

0 commit comments

Comments
 (0)