Skip to content

Releases: scellecs/morpeh

2022.1.0

30 Oct 20:31
5e63d93
Compare
Choose a tag to compare

✈️ Migration To New Version
English version: Migration Guide
Russian version: Гайд по миграции

[2022.1.0] - 31.10.2022

Added

  • Basic Jobs/Burst support:
    • Changing components data (ref T nativeCache.GetComponent(EntityID entityId) / ref T nativeCache.GetComponent(EntityID entityId, out bool exists))
    • Checking if components exist on an entity (bool nativeCache.HasComponent(EntityID entityId))
  • .AsNative() API for Jobs/Burst:
    • Archetype (NativeArchetype)
    • ComponentsCache (NativeCache)
    • FastList (NativeFastList)
    • IntFastList (NativeIntFastList)
    • Filter (NativeFilter)
    • IntHashMap (NativeIntHashMap)
    • World (NativeWorld)
  • Filter.IsEmpty() to check if filter has no entities
  • IMorpehLogger interface for custom loggers (Console.WriteLine for non-Unity environments by default)
  • MORPEH_PROFILING define for automatic systems profiling
  • World.TryGetEntity(EntityId entityId, out Entity entity) - returns true and entity if it exists, false otherwise
  • MORPEH_NON_SERIALIZED define to avoid serialization of Morpeh components
  • Displaying multiple worlds in World Browser
  • Search support in World Browser
  • MORPEH_BURST define to determine if Burst is enabled
  • World.SetFriendlyName(string name) / string World.GetFriendlyName() + integration with World Browser
  • Entity.MigrateTo(Entity otherEntity) to migrate components from one entity to another
  • EXTERNAL_IL2CPP_ATTRS define support for external IL2CPP attributes

Changed

  • [Breaking] Rename Morpeh/XCrew.Morpeh -> Scellecs.Morpeh
  • [Breaking] Globals NextFrame -> Publish
  • [Breaking] int Entity.ID -> EntityID Entity.ID
  • [Breaking] Filter.Length -> Filter.GetLengthSlow()
  • [Breaking] Components caches now cleanup after removing components (Reading ref components data is not allowed after removing components)
  • [Breaking] Filter iteration is not order-deterministic
  • [Breaking] FastList allows removing elements during iteration (current and next elements only)
  • Entity.Dispose() is now public
  • Installer can be inherited from
  • License ownership changed to Oleg Morozov, Igor Boyko
  • Internal optimizations and improvements

Fixed

  • Extra filter update #129
  • Systems disposed twice #128
  • Entity is detected as alive when it's not #123
  • World.Default takes 0-th index with null value if initialized outside of UnityRuntimeHelper #138
  • Errors in Pure C# projects
  • Memory leaks in Collections

Removed

  • [Breaking] ComponentsBag (replaced by ComponentsCache)

2020.8.0

03 Aug 10:37
7d2f03b
Compare
Choose a tag to compare

Breaking Changes:

  • Filter.Update to World.UpdateFilters()
  • Renaming IEntity to Entity
    Changes:
  • Add Singletons. It is SO with associated entity.
  • Custom Collections with hashes.
  • Rework core to extensions methods and unsafe API.
  • Improve filter performance.
  • Git Dependencies Resolver.

2020.7.1

01 Jun 11:04
1b81447
Compare
Choose a tag to compare
Merge pull request #35 from X-Crew/develop

2020.7.1

2020.7.0

28 May 12:09
2965615
Compare
Choose a tag to compare
Merge pull request #34 from X-Crew/develop

2020.7.0

2020.6.0

06 May 12:12
4d3178f
Compare
Choose a tag to compare
Merge pull request #26 from X-Crew/develop

Develop

2020.4.0

20 Mar 10:04
bc42033
Compare
Choose a tag to compare
Merge pull request #15 from X-Crew/develop

Develop

2020.2.11

05 Feb 13:53
29fa63b
Compare
Choose a tag to compare
Merge pull request #5 from X-Crew/develop

Package.json update for new docs

2020.2.9

04 Feb 15:12
51098fe
Compare
Choose a tag to compare
Merge pull request #2 from X-Crew/develop

Major 2

2020.1.16

29 Jan 04:22
b5c7653
Compare
Choose a tag to compare
2020.1.16 Pre-release
Pre-release
Merge pull request #1 from X-Crew/develop

Pre-Major

2020.1.0

20 Jan 14:07
Compare
Choose a tag to compare
Update README