Hiperspace 2.5.28

Prefix Reserved
dotnet add package Hiperspace --version 2.5.28
                    
NuGet\Install-Package Hiperspace -Version 2.5.28
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Hiperspace" Version="2.5.28" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Hiperspace" Version="2.5.28" />
                    
Directory.Packages.props
<PackageReference Include="Hiperspace" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Hiperspace --version 2.5.28
                    
#r "nuget: Hiperspace, 2.5.28"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Hiperspace@2.5.28
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Hiperspace&version=2.5.28
                    
Install as a Cake Addin
#tool nuget:?package=Hiperspace&version=2.5.28
                    
Install as a Cake Tool

Hiperspace

Hiperspace is an Object technology that uses a key-addressable store to expand an application data-model beyond the limits of memory that can be directly referenced in main memory.

Elements are not duplicated or changing to match database shapes.
Elements are serialized directly using Protocol Buffers to and from key/value structure for storage in memory stores including CXL expanded and pooled memory, shared cache , local SSD or key-value durable databases.
Elements that are not currently being used are released from main memory, and transparently (and quickly) reloaded when referenced. Memory stores allows petabytes of data to be addressed.

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 is compatible.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (3)

Showing the top 3 NuGet packages that depend on Hiperspace:

Package Downloads
Hiperspace.Heap

Hiperspace heap store for session, edge and testing purposes

Hiperspace.Rocks

HiperSpace RocksDB adaptor

Hiperspace.SQL

# Hiperspace.SQL Hiperspace.SQL is a full SQL query engine for Hiperspace, supporting the full range of joins, aggregations, and subqueries. Hiperspace.SQL provides the same query functionality as a .NET client can use with LINQ queries, but without the need to write code in C#/F# Hiperspace fully supports point-in-time "time travel" queries that are not possible with Python Data-Frames or DuckDB ## Features - Hiperspace.SQL is not limited to queries of columns within a table, but supports the full navigation of properties of Hiperspace elements - Where a column is a complex object it is returned as a JSON object - Executing a batch of SQL statements return columnar data frames (dictionary of column-name and array of values) - Explain SQL returns the execution plan, detailing the SetSPaces accessed and keys used for search (Key, Index, Scan) - The Parquet method returns a Parquet file that can be used with any Apache Parquet library, or added to DuckDB OLAP store

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
2.5.28 66 12/31/2025
2.5.26 219 12/21/2025
2.5.21 460 12/10/2025
2.5.18 704 12/3/2025
2.5.13 224 11/24/2025
2.5.8 208 11/15/2025
2.5.2 239 11/6/2025
2.5.1 187 10/23/2025
2.5.0 230 10/20/2025
2.4.6 246 9/23/2025
2.4.4 297 8/7/2025
2.4.2 183 7/28/2025
2.4.0 237 7/10/2025
2.3.8 233 7/1/2025
2.3.7 226 6/18/2025
2.3.3 240 6/5/2025
2.2.2 253 5/5/2025
2.2.1 321 4/14/2025
2.2.0 179 3/29/2025
2.1.3 324 3/5/2025
2.1.1 218 2/15/2025
2.1.0 194 1/24/2025
2.0.0 167 1/14/2025
1.3.9 206 11/15/2024
1.3.3 184 11/1/2024
1.3.1 246 10/18/2024
1.3.0 238 10/5/2024
1.2.31 247 9/15/2024
1.2.26 218 9/1/2024
1.2.18 168 8/6/2024
1.2.12 165 7/26/2024
1.2.9 205 7/19/2024
1.2.8 213 7/15/2024
1.2.4 242 7/4/2024
1.2.0 248 5/30/2024
1.0.46 173 5/11/2024
1.0.40 198 4/22/2024
1.0.34 255 3/14/2024
1.0.28 273 2/26/2024
1.0.27 238 2/16/2024
1.0.24 291 1/11/2024
1.0.23 283 1/1/2024
1.0.1 255 11/18/2023

https://www.cepheis.com/hiperspace/20251231
# Overview
Change to the `GetSequence` and `UseSequence` functions to take a parameter to allow the use of `KeyType` for Sequences

Extended  `Session2(DateTime? AsAt = null)`  to `Session2(DateTime? AsAt = null, DateTime? DeltaFrom = null)` to allow the DeltaFrom parameter to be used in addition to AsAt.
## Obsolete
Several interfaces function have been marked as `Obsolete` and will be removed in the next version.

Currently **Hiperspace** uses a key prefix convention to distinguish *immutable* and *versioned* elements, *VectorSpaces* (for nearest neighbor search) and *sequences*

| Prefix | Description |
|-|-|
| 00| The meta data dictionary for the *Hiperspace*, used to ensure that incompatible libraries cannot corrupt a store |
| 0...| Versioned element that includes a *timestamp* suffix at the end of the key |
| 00...| VectorSpace indexes|
| 001...|  Sequence numbers for mutable items|
| |Keys without a prefix are immutable elements without version|

Performance testing of **Hiperspace.DB**  has highlighted that the rebuilding of the `MetaMap` used to translate between protobuf *tag/length/value* to *tag/value/length* for index search can be expensive top build when a store has experienced multiple schema changes.  The **next** version will change the prefix to:

| Prefix | Description |
|-|-|
|1| The meta data dictionary for the *Hiperspace*, used to ensure that incompatible libraries cannot corrupt a store |
|2| cached `MetaMap` entries for key encode/decode|
|3| validated client library *fingerprint* to avoid the need for `MetaMap` build |
|4| immutable elements without version suffix|
|5| Versioned element that includes a *timestamp* suffix at the end of the key |
|6| VectorSpace indexes|
|7|  Sequence numbers for mutable items|

The `#id` for {`Node`, `Edge`, `VectorNode`, `HiperEdge`,`PathMessage`} will also be moved to a *reserved* set of low values with all *domain* keys moved to higher values

-----

## SetSpace
Added two functions to get a sequence counter from the driver:
* `GetSequenceAsync<T>(T element)` to get the current sequence number associated with the domain key
* `UseSequenceAsync<T>(T element)` to get a new  sequence number for the with the domain key

**NB** While the main use of Sequence numbers is to provide an alternate (*GPGPU friendly*) sequence number for a `Node`, it can be applied to any key value.
```
// get an order number that is unique within all orders
var orderNo = await space.Orders.UseSequenceAsync (new Order { });
var orderNo = await space.Orders.UseSequenceAsync (new Order.KeyType { });

// get a line number within the owning Order {1,2,3..}
var lineNo = await space.Lines.UseSequenceAsync (new Line { Order = order });
var lineNo = await space.Lines.UseSequenceAsync (new Line.KeyType { Order = order.self });
```

`Get` and `GetASync()` functions now handle not found errors by returning `null` for scenarios where a reference object cannot be found.  This is especially useful for views where not found is better handled by `Horizon<>` filters that

-----

## Bind Version
All versions of Bind Function have been marked as Obsolete, with a preference to use the optimistic locking instead (that include the original AsAt copied to AsWas for comparison).
Versions of Bind functions that include the `priorVersion` DateTime value use optimistic concurrency control to prevent updates to a version that has been changed by another session

## Nearest
Hiperspace provides nearest neighbor search using a VectorSpace `aspect` for geospatial and RAG search.  These functions have been extended to include a maximum distance search

-----

## Hilang
The Hilang ahead of time compiler has been updated to remove indexes that are a subset of the element key, and will not be used


-----

## Hiperspace.Rocks
The **RocksDB** driver has been upgraded to verion 10.4.2.63147