diff --git a/Entitas.Migration/Program.cs b/Entitas.Migration/Program.cs index 106267cea..a1a20b0b1 100644 --- a/Entitas.Migration/Program.cs +++ b/Entitas.Migration/Program.cs @@ -6,11 +6,11 @@ class MainClass { public static void Main(string[] args) { var allMigrations = new IMigration[] { - new M0300(), - new M0260(), - new M0220(), + new M0180(), new M0190(), - new M0180() + new M0220(), + new M0260(), + new M0300() }; if (args == null) { diff --git a/Entitas/Entitas/entitas_version b/Entitas/Entitas/entitas_version index 25939d35c..c25c8e5b7 100644 --- a/Entitas/Entitas/entitas_version +++ b/Entitas/Entitas/entitas_version @@ -1 +1 @@ -0.29.1 +0.30.0 diff --git a/EntitasUpgradeGuide.md b/EntitasUpgradeGuide.md index 2ea3dfcf8..661adfcc6 100644 --- a/EntitasUpgradeGuide.md +++ b/EntitasUpgradeGuide.md @@ -1,15 +1,59 @@ -# Entitas 0.28.0 upgrade guide +# General information +Entitas provides an easy way to make upgrading to new versions a breeze. +Either use the command line tool `MigrationAssistant.exe` or the Migration menu +item in Unity. After that generate again. + +Example +``` +$ mono MigrationAssistant.exe +usage: +[-l] - print all available versions +[version] [path] - apply migration of version [version] to source files located at [path] + +$ mono MigrationAssistant.exe -l +======================================== +0.18.0 + - Migrates IReactiveSystem GetXyz methods to getters + - Use on folder, where all systems are located +======================================== +0.19.0 + - Migrates IReactiveSystem.Execute to accept List + - Use on folder, where all systems are located +======================================== +0.22.0 + - Migrates IReactiveSystem to combine trigger and eventTypes to TriggerOnEvent + - Use on folder, where all systems are located +======================================== +0.26.0 + - Deactivates code to prevent compile erros + - Use on folder, where generated files are located +======================================== +etc... + + +// Example from Math-One example project +$ mono MigrationAssistant.exe 0.26.0 /Path/To/Project/Generated/ +``` + + +# Entitas 0.30.0 upgrade guide +Some code generators got renamed. Apply Migration 0.30.0 + +# Entitas 0.29.0 +Marked old PoolMetaData constructor obsolete. If you encounter compile errors +please apply Migration 0.26.0, open C# project and generate again. + + +# Entitas 0.28.0 upgrade guide If you're using Entitas with Unity, please open the Entitas preferences and make sure that all your desired code generators are activated. -Due to some code generator renamings the ComponentIndicesGeneratoris inactive. +Due to some code generator renamings the ComponentIndicesGenerators inactive. The SystemsGenerator has been removed. Please use `pool.CreateSystem()` instead. - # Entitas 0.27.0 upgrade guide - If you're using Entitas with Unity, please open the Entitas preferences and make sure that all your desired code generators are activated. Due to some code generator renamings the ComponentLookupGenerator and diff --git a/RELEASE_NOTES.md b/RELEASE_NOTES.md index e12327883..1cf790894 100644 --- a/RELEASE_NOTES.md +++ b/RELEASE_NOTES.md @@ -1,3 +1,39 @@ +# 0.30.0 + +##### Breaking changes +Please follow the [Entitas upgrade guide](https://github.com/sschmid/Entitas-CSharp/blob/master/EntitasUpgradeGuide.md) + +##### Entitas +- Added IGroupObserverSystem which allows ReactiveSystems to observe multiple pools +- Added pools.CreateGroupObserver() to simplify creating a GroupObserver for multiple pools + +##### Entitas.CodeGenerator +- TypeReflectionProvider ignores abstract IComponents (#88) +- Renamed ComponentsGenerator to ComponentExtensionsGenerator +- Renamed PoolAttributeGenerator to PoolAttributesGenerator + +##### Entitas.Unity +- Moved Assets/Entitas.Unity to Assets/Entitas/Unity +- Simplified folder structure in Entitas-Unity.zip + +##### Entitas.Unity.CodeGenerator +- Ignoring obsolete code generators +- Generate button changes size depending on generators list height + +##### Entitas.Unity.VisualDebugging +- Added Feature class which inherits from Systems or DebugSystems for you, so you don't have to care anymore +- Fixed MissingReferenceException occurring occasionally when stopping game (#71) +- Added support for editing entities in EditorMode (non-playing mode) +- Fixed bug when components are added on entity creation (#87) +- Added clear buttons to search textfields +- Improved DateTimeTypeDrawer +- Added new hierarchy icons for pool and systems + +##### Entitas.Migration +- Added M0300 +- Moving Entitas.Migration into Entitas/Migration/Editor when creating Entitas-Unity.zip + + # 0.29.1 ##### Entitas.CodeGenerator diff --git a/bin/Entitas-CSharp.zip b/bin/Entitas-CSharp.zip index 094e40fe4..aadaccc88 100644 Binary files a/bin/Entitas-CSharp.zip and b/bin/Entitas-CSharp.zip differ diff --git a/bin/Entitas-Unity.zip b/bin/Entitas-Unity.zip index 2d6c966be..adb85e9e1 100644 Binary files a/bin/Entitas-Unity.zip and b/bin/Entitas-Unity.zip differ diff --git a/tree.txt b/tree.txt index 834365fb8..46b759397 100644 --- a/tree.txt +++ b/tree.txt @@ -16,22 +16,23 @@ └── Entitas.Unity └── Assets ├── Editor - └── Entitas.Unity - ├── CodeGenerator - │   └── Editor - ├── Editor - ├── Migration - │   └── Editor - └── VisualDebugging - ├── DebugSystems + └── Entitas + └── Unity + ├── CodeGenerator │   └── Editor ├── Editor - ├── Entity + ├── Migration │   └── Editor - │   ├── DefaultInstanceCreator - │   └── TypeDrawer - └── PoolObserver - └── Editor + └── VisualDebugging + ├── DebugSystems + │   └── Editor + ├── Editor + ├── Entity + │   └── Editor + │   ├── DefaultInstanceCreator + │   └── TypeDrawer + └── PoolObserver + └── Editor . ├── Entitas │   └── Entitas @@ -42,9 +43,9 @@ │   │   │   ├── PoolAttribute.cs │   │   │   └── SingleEntityAttribute.cs │   │   ├── Generators +│   │   │   ├── ComponentExtensionsGenerator.cs │   │   │   ├── ComponentIndicesGenerator.cs -│   │   │   ├── ComponentsGenerator.cs -│   │   │   ├── PoolAttributeGenerator.cs +│   │   │   ├── PoolAttributesGenerator.cs │   │   │   └── PoolsGenerator.cs │   │   ├── Interfaces │   │   │   ├── ICodeGenerator.cs @@ -96,6 +97,7 @@ │   │   ├── M0190.cs │   │   ├── M0220.cs │   │   ├── M0260.cs +│   │   ├── M0300.cs │   │   ├── MigrationFile.cs │   │   └── MigrationUtils.cs │   └── Program.cs @@ -103,75 +105,80 @@ │   └── Assets │   ├── Editor │   │   └── Commands.cs -│   └── Entitas.Unity -│   ├── CodeGenerator -│   │   └── Editor -│   │   ├── CodeGeneratorConfig.cs -│   │   ├── CodeGeneratorPreferencesDrawer.cs -│   │   └── UnityCodeGenerator.cs -│   ├── Editor -│   │   ├── Entitas-Header.png -│   │   ├── EntitasCheckForUpdates.cs -│   │   ├── EntitasEditorLayout.cs -│   │   ├── EntitasFeedback.cs -│   │   ├── EntitasPreferences.cs -│   │   ├── EntitasPreferencesConfig.cs -│   │   ├── EntitasPreferencesDrawer.cs -│   │   ├── EntitasPreferencesWindow.cs -│   │   └── ScriptingDefineSymbols.cs -│   ├── Migration -│   │   └── Editor -│   │   ├── Entitas-Migration-Header.png -│   │   └── EntitasMigrationWindow.cs -│   ├── VisualDebugging -│   │   ├── DebugSystems -│   │   │   ├── Editor -│   │   │   │   ├── DebugSystemsInspector.cs -│   │   │   │   └── SystemsMonitor.cs -│   │   │   ├── DebugSystems.cs -│   │   │   ├── DebugSystemsBehaviour.cs -│   │   │   └── SystemInfo.cs -│   │   ├── Editor -│   │   │   ├── EntitasHierarchyIcon.cs -│   │   │   ├── EntitasHierarchyIcon.png -│   │   │   ├── EntitasStats.cs -│   │   │   ├── VisualDebuggingConfig.cs -│   │   │   └── VisualDebuggingPreferencesDrawer.cs -│   │   ├── Entity -│   │   │   ├── Editor -│   │   │   │   ├── DefaultInstanceCreator -│   │   │   │   │   ├── DefaultArrayCreator.cs -│   │   │   │   │   ├── DefaultStringCreator.cs -│   │   │   │   │   └── IDefaultInstanceCreator.cs -│   │   │   │   ├── TypeDrawer -│   │   │   │   │   ├── AnimationCurveTypeDrawer.cs -│   │   │   │   │   ├── ArrayTypeDrawer.cs -│   │   │   │   │   ├── BoolTypeDrawer.cs -│   │   │   │   │   ├── BoundsTypeDrawer.cs -│   │   │   │   │   ├── ColorTypeDrawer.cs -│   │   │   │   │   ├── DateTimeTypeDrawer.cs -│   │   │   │   │   ├── DictionaryTypeDrawer.cs -│   │   │   │   │   ├── EnumTypeDrawer.cs -│   │   │   │   │   ├── FloatTypeDrawer.cs -│   │   │   │   │   ├── HashSetTypeDrawer.cs -│   │   │   │   │   ├── ITypeDrawer.cs -│   │   │   │   │   ├── IntTypeDrawer.cs -│   │   │   │   │   ├── ListTypeDrawer.cs -│   │   │   │   │   ├── RectTypeDrawer.cs -│   │   │   │   │   ├── StringTypeDrawer.cs -│   │   │   │   │   ├── UnityObjectTypeDrawer.cs -│   │   │   │   │   ├── Vector2TypeDrawer.cs -│   │   │   │   │   ├── Vector3TypeDrawer.cs -│   │   │   │   │   └── Vector4TypeDrawer.cs -│   │   │   │   ├── EntityDrawer.cs -│   │   │   │   └── EntityInspector.cs -│   │   │   └── EntityBehaviour.cs -│   │   └── PoolObserver -│   │   ├── Editor -│   │   │   └── PoolObserverInspector.cs -│   │   ├── PoolObserver.cs -│   │   └── PoolObserverBehaviour.cs -│   └── Properties.cs +│   └── Entitas +│   └── Unity +│   ├── CodeGenerator +│   │   └── Editor +│   │   ├── CodeGeneratorConfig.cs +│   │   ├── CodeGeneratorPreferencesDrawer.cs +│   │   └── UnityCodeGenerator.cs +│   ├── Editor +│   │   ├── Entitas-Header.png +│   │   ├── EntitasCheckForUpdates.cs +│   │   ├── EntitasEditorLayout.cs +│   │   ├── EntitasFeedback.cs +│   │   ├── EntitasPreferences.cs +│   │   ├── EntitasPreferencesConfig.cs +│   │   ├── EntitasPreferencesDrawer.cs +│   │   ├── EntitasPreferencesWindow.cs +│   │   └── ScriptingDefineSymbols.cs +│   ├── Migration +│   │   └── Editor +│   │   ├── Entitas-Migration-Header.png +│   │   └── EntitasMigrationWindow.cs +│   ├── VisualDebugging +│   │   ├── DebugSystems +│   │   │   ├── Editor +│   │   │   │   ├── DebugSystemsInspector.cs +│   │   │   │   └── SystemsMonitor.cs +│   │   │   ├── DebugSystems.cs +│   │   │   ├── DebugSystemsBehaviour.cs +│   │   │   ├── Feature.cs +│   │   │   └── SystemInfo.cs +│   │   ├── Editor +│   │   │   ├── EntitasEntityHierarchyIcon.png +│   │   │   ├── EntitasHierarchyIcon.cs +│   │   │   ├── EntitasPoolHierarchyIcon.png +│   │   │   ├── EntitasStats.cs +│   │   │   ├── EntitasSystemsHierarchyIcon.png +│   │   │   ├── VisualDebuggingConfig.cs +│   │   │   └── VisualDebuggingPreferencesDrawer.cs +│   │   ├── Entity +│   │   │   ├── Editor +│   │   │   │   ├── DefaultInstanceCreator +│   │   │   │   │   ├── DefaultArrayCreator.cs +│   │   │   │   │   ├── DefaultStringCreator.cs +│   │   │   │   │   └── IDefaultInstanceCreator.cs +│   │   │   │   ├── TypeDrawer +│   │   │   │   │   ├── AnimationCurveTypeDrawer.cs +│   │   │   │   │   ├── ArrayTypeDrawer.cs +│   │   │   │   │   ├── BoolTypeDrawer.cs +│   │   │   │   │   ├── BoundsTypeDrawer.cs +│   │   │   │   │   ├── ColorTypeDrawer.cs +│   │   │   │   │   ├── DateTimeTypeDrawer.cs +│   │   │   │   │   ├── DictionaryTypeDrawer.cs +│   │   │   │   │   ├── EnumTypeDrawer.cs +│   │   │   │   │   ├── FloatTypeDrawer.cs +│   │   │   │   │   ├── HashSetTypeDrawer.cs +│   │   │   │   │   ├── ITypeDrawer.cs +│   │   │   │   │   ├── IntTypeDrawer.cs +│   │   │   │   │   ├── ListTypeDrawer.cs +│   │   │   │   │   ├── RectTypeDrawer.cs +│   │   │   │   │   ├── StringTypeDrawer.cs +│   │   │   │   │   ├── UnityObjectTypeDrawer.cs +│   │   │   │   │   ├── Vector2TypeDrawer.cs +│   │   │   │   │   ├── Vector3TypeDrawer.cs +│   │   │   │   │   └── Vector4TypeDrawer.cs +│   │   │   │   ├── EntityDrawer.cs +│   │   │   │   └── EntityInspector.cs +│   │   │   └── EntityBehaviour.cs +│   │   ├── PoolObserver +│   │   │   ├── Editor +│   │   │   │   └── PoolObserverInspector.cs +│   │   │   ├── PoolObserver.cs +│   │   │   └── PoolObserverBehaviour.cs +│   │   └── GameObjectDestroyExtension.cs +│   └── Properties.cs ├── EntitasUpgradeGuide.md ├── LICENSE.txt ├── README.md