Releases: friflo/Friflo.Json.Fliox
v1.0.2
Fix/Changed behavior:
Unsupported fields/properties in custom classes, structs and interfaces are now ignored by mapper/serialization.
Issue: Generic structs in components is not supported
Before an exception was thrown:
System.InvalidOperationException : invalid standard type. was: Tests.ECS.GenericStruct`1[System.Int32]
E.g.
class MyClass {
public GenericStruct<int> genericStruct;
}
struct GenericStruct<T> { public T value; }
Commit: Mapper - Ignore unsupported fields/properties in custom classes, structs and interfaces.
v1.0.1
Added traget framework net8.0 to all projects
Each nuget package now contains an additional folder lib/net8.0
containing a dll for this framework
Update dependencies
-
WebRTC
- SIPSorcery 6.2.4
-
Database providers
- Microsoft.Azure.Cosmos 3.39.1
- MySqlConnector 2.3.7
- Npgsql 8.0.3 - fixes vulnerability: GHSA-x9vc-6hfv-hg8c
- SQLitePCLRaw.core 2.1.8
tested all providers with Json.Tests/test-all-async.bat & Json.Tests/test-all-sync.bat
-
Tests:
- Bogus 35.5.1
- FluentAssertions 6.12.0
- Microsoft.NET.Test.Sdk 17.9.0
v1.0.0
- Hub: Support setting FlioxClient EntitySet<,> fields in Unity IL2CPP
commit: Mapper - Support CreateFieldSetterIL() for Unity IL2CPP - Support JSON serilization of classes extending generic types.
commit: Fliox - Mapper: add ClassMapper support for classes extending generic types
Example class
class MyClass : GenericBase<int> {
public string: value;
}
engine-v1.28.0
Optimize performance of Add<>(), Set<>() and Remove<>() introduced in 1.26.0.
Fixed bug introduced in 1.27.0:
EntityExtensions.Add<>()
and Remove<>()
did not add/remove tags in case the set of entity components are unchanged.
engine-v1.27.0
Optimize performance of Add<>(), Set<>() and Remove<>() introduced in 1.26.0.
engine-v1.26.0
New features
- Add EntityStoreExtensions with 10 generic
CreateEntity()
overloads to create entities with components without any structural changes. - Add EntityExtensions with 10 generic overloads to
Add<>()
,Set<>()
andRemove<>()
components to/on/from an entity with none or one structural change. - Add ArchetypeQuery.ToEntityList() to return a query result as a list to perform structural changes.
- Emit events on create / delete entity via EntityStore.OnEntityCreate and EntityStore.OnEntityDelete.
v0.57.0
engine-v1.25.0
Changed LICENSE to more permissive LGPL v3.0 - was AGPL v3.0.
See #41
v0.56.0
engine-v1.24.0
Add support for component fields of type: sbyte, ushort, uint, ulong
.
See: #38