Mirror of Svelto.ECS because we're a fan of it
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

CHANGELOG.md 6.7KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113
  1. # Svelto.ECS Changelog
  2. All notable changes to this project will be documented in this file. Changes are listed in random order of importance.
  3. ## [3.4.2] - 03-2023
  4. * removed static caches used in performance critical paths as they were causing unexpected performance issues (the fetching of static data is slower than i imagined)
  5. * add Native prefix in front of the native memory utilities method names
  6. * largely improved the console logger system
  7. * minor improvements to the platform profiler structs
  8. * improvements to the ThreadSafeObjectPool class (some refactoring too)
  9. * added several datastructures previously belonging to Svelto.ECS
  10. * all the FastClear methods are gone. The standard clear method now is aware of the type used and will clear it in the fastest way possible
  11. * MemClear is added in case memory needs to be cleared explicitly
  12. * added new SveltoStream, Unmanaged and Managed stream classes, their use case will be documented one day
  13. * renamed the Svelto.Common.DataStructures namespace to Svelto.DataStructures
  14. * added FixedTypedArray* methods. Fixed size arrays embedded in structs are now possible
  15. * FasterList extension to convert to Span and ByteSpan
  16. * Fix reported bugs
  17. * Minor Svelto Dictionary improvements
  18. * Added ValueContainer, a simple int, Tvalue dictionary based on sparse set. It has very specific use cases at the moment. Mainly to be used for the new ECS OOP Abstraction resoruce manager
  19. * Added IReactOnSubmissionStarted interface
  20. ### SveltoOnDOTS changes
  21. * update to DOTS 1.0 (but still compatible with 0.51, although slower)
  22. * Deprecated the use of EntityCommandBuffer since was very slow
  23. * added faster batched DOTS operations, new DOTS creation patterns introduced (old one still compatible as long as EntityCommandBuffer was not used)
  24. * ISveltoOnDOTSSubmission interface exists only to allow the user to submit entities On DOTS explicitly, use this instead of
  25. * SveltoOnDOTSHandleCreationEngine is no more, you want to use ISveltoOnDOTSStructuralEngine and its DOTSOperations instead wherever EntityManager was used before
  26. * ISveltoOnDOTSStructuralEngine is no more, you want to use ISveltoOnDOTSStructuralEngine and its DOTSOperations instead
  27. * in all the case above, if you were relying on Update you probably want to use OnPostSubmission instead
  28. * DOTSOperations new AddJobToComplete method will allow to register jobs from inside ISveltoOnDOTSStructuralEngines that will be completed at the end of the submission
  29. ## [3.3.2] - 04-06-2022
  30. * Internal refactoring to support future features. Currently it may translate to a small performance boost
  31. * IEntityComponent and IEntityViewComponent now implements _IInternalEntityComponent. This shouldn't affect existing code
  32. * Improve thread-safety of entity building
  33. * Fixed serious bug that affected the integrity of the EntityIDs values during RemoveEX callbacks
  34. * The point above may result in a performance boost in the Filters updates during submission
  35. * Code is again 2019 compatible (this may have been broken for a while)
  36. * Fix a crash wit the EntityCollection deconstruction while trying to deconstruct an empty collection
  37. * Breaking: EntityFilterCollection GetGroupFilter will throw an exception if the filter doesn't exist. Use GetOrCreateGroupFilter in case.
  38. * Breaking: LocatorMap has been renamed to EntityReferenceMap
  39. * Breaking: GetEntityLocatorMap has been renamed to GetEntityReferenceMap
  40. ## [3.3.1] - 26-04-2022
  41. * Fixed serious bug that would affect the new IReactOnRemoveEx callbacks
  42. ## [3.3.0] - 11-04-2022
  43. * INeedEGID and INeedEntityReference interfaces are not deprecated, but still available for backwards compatibility through the define SLOW_SVELTO_SUBMISSION
  44. * There are some minor breaking changes, you may need to rename a bunch of methods calls
  45. * Drastically improved Submission phase performance
  46. * All the IReactOn interfaces are now replaced by much faster IReacOn\*Ex interfaces. Use those instead.
  47. * QueryEntities methods now optionally return also an array of Entity IDs that you can reference like a component (this supersedes INeedEGID)
  48. * Completely reworked and way more powerful filter API. The old one has been renamed to Legacy and left for backward compatibility
  49. * NativeEGIDMultiMapper doesn't need to be created every submission anymore. It can be created permanently and disposed when not used anymore (some caveats with it)
  50. * Improved Serialization system
  51. * Improved SveltoOnDots system
  52. * Tons of other improvements and bug fixes
  53. ## [3.2.5]
  54. * refactor and improved NativeBag and UnsafeBlob. This fix a previously known crash with Unity IL2CPP
  55. ## [3.2.0]
  56. * Improved checks on Svelto rules for the declaration of components and view components. This set of rules is not final yet (ideally one day they should be moved to static analyzers)
  57. * Introduce the concept of Entity Reference. It's a very light weight identifier to keep track of entities EGID that can change dynamically (EGIDs change when groups are swapped), Entity References never change. The underlying code will be optimised even further in future.
  58. * Introduced the concept of Disabled Group. Once a group is marked as disabled, queries will always ignore it.
  59. * Merged DispatchOnSet and DispatchOnChange and renamed to ReactiveValue. This class will be superseded by better patterns in future.
  60. * Added FindGroups with 4 components
  61. * Improved QueryGroups interface
  62. * Improved DynamicEntityDescriptor interface
  63. * Improved ExtendibleEntityDescriptor interface
  64. * Improved Native memory support
  65. * Improved Svelto and Unity DOTS integration
  66. * Improved and fixed Serialization code
  67. * Ensure that the creation of static groups is deterministic (GroupHashMap)
  68. ## [3.1.3]
  69. * bumped dependency of Svelto.Common due to an important fix there.
  70. ## [3.1.2]
  71. * improved async entity submission code (still experimental)
  72. * improved native entity operations debug info
  73. ## [3.1.1]
  74. * SubmissionEngine didn't need the EntityManager property, so it has been removed
  75. ## [3.1.0]
  76. * rearrange folders structures for clarity
  77. * added DoubleEntitiesEnumerator, as seen in MiniExample 4, to allow a double iteration of the same group skipping
  78. already checked tuples
  79. * reengineered the behaviour of WaitForSubmissionEnumerator
  80. * removed redudant SimpleEntitySubmissionSchedulerInterface interface
  81. * renamed BuildGroup in to ExclusiveBuildGroup
  82. * renamed EntityComponentInitializer to EntityInitializer
  83. * Entity Submission now can optionally be time sliced (based on number of entities to submit per slice)
  84. * working on the Unity extension Submission Engine, still WIP
  85. * added the possibility to hold a reference in a EntityViewComponent. This reference cannot be accesses as an object,
  86. but can be converted to the original object in OOP abstract layers
  87. * renamed NativeEntityComponentInitializer to NativeEntityInitializer