Skip to content

Commit 7abe1c1

Browse files
committed
Add versioning info
1 parent 122e1e9 commit 7abe1c1

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

spec/latest/index.bs

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@ and 12 columns, containing float32 values, along with user-defined attributes.
6161
```json
6262
{
6363
"binsparse": {
64+
"version": "1.0",
6465
"format": "CSC",
6566
"shape": [10, 12],
6667
"data_types": {
@@ -76,6 +77,14 @@ and 12 columns, containing float32 values, along with user-defined attributes.
7677

7778
</div>
7879

80+
Version {#key_version}
81+
----------------------
82+
83+
Version indicates the version of the Binsparse specification used here.
84+
This is a two digit specifier of the form `major.minor`.
85+
Any minor updates should be backwards compatible with the previous version, e.g. must be a superset of the previous versions within the major release series.
86+
Major versions may break backwards compatibility.
87+
7988
Shape {#key_shape}
8089
------------------
8190

@@ -349,6 +358,7 @@ Example of a CSR Matrix whose values are all 7.
349358

350359
```json
351360
{
361+
"version": "1.0",
352362
"format": "CSR",
353363
"shape": [5, 5],
354364
"data_types": {
@@ -485,6 +495,7 @@ Example of a symmetric CSR matrix.
485495

486496
```json
487497
{
498+
"version": "1.0",
488499
"format": "CSR",
489500
"shape": [5, 5],
490501
"structure": "symmetric_lower",

0 commit comments

Comments
 (0)