Release 12th January 2025

Change Control note --version 2.0.0

Overview

This Version is a major refactor, taking into consideration lessons learned from implementing hyperspace with blazer web assembly. It was hoped that .NET 9 would include greater compatibility with runtime type creation (used by protobuf-net for serialisation classes) or that protobuf-net "Ahead of time" (AOT) code generation would be included, but switching to direct protobuf serialization has the additional benefit of simplify usage with {Android, iOS, Unity, zOS, Meadow}. Hiperspace is the only domain-oriented object mapping technology that can be deployed into these environments, providing transparent sharing of elements between edge devices and server context.

The companion change to HiLang includes the generation of serialization code for domain models.

Security enhancement

Previously the predicates provided to Horizon filters look an instance of an element and return true if it was within the horizon of the subspace. This has been expanded to allow three types of Horizon Filter

  • `new Horizon<Element_Type> ( element => element.Valid == true)' a horizon predicate with the element only
  • `new Horizon<Element_Type> ( (element, read) => element.Valid == true || read)' a horizon predicate with a flag to indicate a read operation
  • `new Horizon<Element_Type> ( (element, context, read) => element.Valid == true || read)' a horizon predicate with a context parameter and a flag to indicate a read operation
  • `new Horizon<Element_Type> ( (element, context, user, read) => element.Valid == true || user?.IsInRole("BULK"))' a horizon predicate with a context parameter, user IPrinciple and a flag to indicate a read operation

Subspace has three labels added to support enhanced security

Label name ░ Description
Context Context that the space was opened with e.g. "Front Office", "Risk", "Settlement"
User an optional IPrincipal for access control
Remote Was the subspace opened remotely, and security/validation need to be re-applied on the server

Protobuf-net

protobuf-net dependency for all .NET assemblies have been changed to protobuf-net.Core which does not include dynamic generation of serialization/deserialization code.

Web applications

Web applications can take advantage of the HiperSpace shared between the web-client (or desktop applications) and the server session for the user with full lazy loading as required.

Hiperspace elements are transferred using gRPC-Web for web-clients {browser, Android, iOS, Unity} and gRPC for desktop applications. gRPC-Web packets are exchanged space efficient binary messages without JSON text conversion

Release 14th April 2025 Release 29th March 2025 Release 5th March 2025
Copyright © Cepheis 2024