Skip to content

Commit a03e42e

Browse files
committed
Release 0.42.0
1 parent a52dbe6 commit a03e42e

File tree

270 files changed

+2969
-900
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

270 files changed

+2969
-900
lines changed

Build/deploy/Entitas-CSharp.zip

40.5 KB
Binary file not shown.
63.8 KB
Binary file not shown.
-110 KB
Binary file not shown.

Build/deploy/Entitas-Unity.zip

39.7 KB
Binary file not shown.

Build/deploy/Entitas.docset.tgz

26.8 KB
Binary file not shown.

Entitas/Entitas/version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.41.2
1+
0.42.0

EntitasUpgradeGuide.md

Lines changed: 30 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
11
Entitas Upgrade Guide
22
=====================
33

4-
Entitas provides an easy way to make upgrading to new versions a breeze.
4+
Entitas provides automated migration tools to help upgrading to new versions.
55
Either use the command line tool `MigrationAssistant.exe` or the Migration menu
6-
item in Unity. After that generate again.
6+
item in Unity.
77

8-
In some cases manual steps have to be applied BEFORE installing a new version.
98
This document contains checklists for every release with breaking changes.
109

1110

@@ -35,6 +34,34 @@ $ mono MigrationAssistant.exe 0.26.0 /Path/To/Project/RequestedFolder
3534

3635
---
3736

37+
Entitas 0.42.0 upgrade guide
38+
============================
39+
40+
#### Breaking changes
41+
- Removed Entitas.Blueprints.Unity.*
42+
- Changed ReactiveSystem.GetTrigger method signature
43+
- Marked obsolete: `context.DestroyEntity(entity)`. Use `entity.Destroy()` instead
44+
- Marked obsolete: `context.CreateCollector(matcher, event)`, use new `context.CreateCollector(triggerOnEvent)` when you need `.Removed` or `.AddedOrRemoved` (e.g. `GameMatcher.View.Removed()`)
45+
46+
#### After you installed
47+
- Removed Entitas.Blueprints.Unity.*
48+
- Remove all Entitas.Blueprints.Unity.* related code
49+
- Remove BinaryBlueprints from your project. Consider using extension methods as described here instead https://github.com/sschmid/Entitas-CSharp/issues/390
50+
- Remove from Entitas.properties:
51+
- Entitas.Blueprints.CodeGeneration.Plugins
52+
- Entitas.Blueprints.CodeGeneration.Plugins.BlueprintDataProvider
53+
- Entitas.Blueprints.CodeGeneration.Plugins.BlueprintsGenerator
54+
55+
- Changed ReactiveSystem.GetTrigger() method signature
56+
- find and replace `protected override Collector` -> `protected override ICollector`
57+
58+
- Generate
59+
60+
- Marked obsolete: `context.DestroyEntity(entity)`. Use `entity.Destroy()` instead
61+
- Marked obsolete: `context.CreateCollector(matcher, event)`, use new `context.CreateCollector(triggerOnEvent)` when you need `.Removed` or `.AddedOrRemoved` (see [Test Example]())
62+
63+
---
64+
3865
Entitas 0.41.0 upgrade guide
3966
============================
4067

RELEASE_NOTES.md

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,38 @@
1+
# 0.42.0
2+
3+
See and discuss changes in [Milestone 0.42.0](https://github.com/sschmid/Entitas-CSharp/milestone/15)
4+
5+
#### Breaking changes
6+
Please follow the [Entitas upgrade guide](https://github.com/sschmid/Entitas-CSharp/blob/master/EntitasUpgradeGuide.md)
7+
8+
- Removed Entitas.Blueprints.Unity.*
9+
- Changed ReactiveSystem.GetTrigger method signature
10+
- Marked obsolete: `context.DestroyEntity(entity)`. Use `entity.Destroy()` instead
11+
- Marked obsolete: `context.CreateCollector(matcher, event)`, use new `context.CreateCollector(triggerOnEvent)` when you need `.Removed` or `.AddedOrRemoved` (see [Test Example]())
12+
13+
## Top new features:
14+
- Use MultiReactiveSystem to process entities from different contexts in one system (see [Test Example](https://github.com/sschmid/Entitas-CSharp/blob/develop/Tests/Unity/VisualDebugging/Assets/Examples/VisualDebugging/Systems/SomeMultiReactiveSystem.cs))
15+
- Use `entity.Destroy()` instead of `context.DestroyEntity(entity)`
16+
- Unit Testing in external console works on Windows now
17+
18+
#### General
19+
- Moved Entitas menu item under the Tools tab
20+
- Removed Entitas.Blueprints.Unity.* from zips
21+
- Creating new zip for code generator default plugins
22+
- UX improvements
23+
24+
#### Entitas
25+
- Added MultiReactiveSystem to support reactive systems observing different contexts #303
26+
- Added TriggerOnEvent
27+
- Renamed `entity.Destroy()` to `entity.InternalDestroy()` to reduce confusion
28+
- Added `entity.Destroy()` instead of `context.DestroyEntity(entity)` #254
29+
30+
#### CodeGenerator
31+
- Added ComponentEntityInterfaceGenerator #303
32+
- Updated ContextObserverGenerator to avoid `System.Security.SecurityException` on Windows #375
33+
- .ToSafeDirectory() supports empty string and “.” to specify current directory
34+
35+
136
# 0.41.2
237

338
After installing please check your Entitas.properties. Due to the addition of `IConfigurable` for code generator plugins some keys in Entitas.properties changed. `entitas.exe doctor`, `entitas.exe status` and `entitas.exe fix` can help you fixing any issues. A new default Entitas.properties file will be created if none is found. The default Entitas.properties should work with Unity without modification. For reference take a look at [Match-One - Entitas.properties](https://github.com/sschmid/Match-One/blob/master/Entitas.properties)

Scripts/docs_resources/docset.doxyfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
#---------------------------------------------------------------------------
66
DOXYFILE_ENCODING = UTF-8
77
PROJECT_NAME = "Entitas"
8-
PROJECT_NUMBER = 0.41.2
8+
PROJECT_NUMBER = 0.42.0
99
PROJECT_BRIEF = "Entitas is a super fast Entity Component System (ECS) Framework specifically made for C# and Unity"
1010
PROJECT_LOGO = "Scripts/docs_resources/docs-logo.png"
1111
OUTPUT_DIRECTORY = "Build/docs"

Scripts/docs_resources/html.doxyfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
#---------------------------------------------------------------------------
66
DOXYFILE_ENCODING = UTF-8
77
PROJECT_NAME = "Entitas"
8-
PROJECT_NUMBER = 0.41.2
8+
PROJECT_NUMBER = 0.42.0
99
PROJECT_BRIEF = "Entitas is a super fast Entity Component System (ECS) Framework specifically made for C# and Unity"
1010
PROJECT_LOGO = "Scripts/docs_resources/docs-logo.png"
1111
OUTPUT_DIRECTORY = "Build/docs"

0 commit comments

Comments
 (0)