Skip to content

Commit bf3965c

Browse files
committed
bump version
1 parent f19b827 commit bf3965c

3 files changed

Lines changed: 13 additions & 12 deletions

File tree

.changeset/ranks-create-update.md

Lines changed: 0 additions & 11 deletions
This file was deleted.

CHANGELOG.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,17 @@
11
# @geoprotocol/geo-sdk
22

3+
## 0.19.2
4+
5+
### Patch Changes
6+
7+
- f19b827: Ranking submissions: extend the ranks module with per-item space, block links, and updates.
8+
9+
- Rank creation moves to `Ops.ranks.create(...)` (pure op generation), alongside `Ops.properties`/`Ops.types`. **Breaking:** the `Rank.createRank(...)` namespace export is removed.
10+
- Every vote now requires a `spaceId` (set as `to_space_id` on the vote relation), so a rank can include the same entity across multiple space perspectives. Item uniqueness is keyed on `(entityId, spaceId)`. **Breaking:** votes previously only took `entityId`.
11+
- `Ops.ranks.create(...)` accepts an optional `blockId` to link the rank to a `Ranking Block` via a `Rank → Ranking Block` relation.
12+
- Each vote relation now carries a fractional-index `position`, so clients can order votes natively by the relation's `position` field.
13+
- New `geo.ranks.update(...)` re-submits a rank: it fetches the rank's current vote relations from the configured Geo API, deletes them and their reified vote entities, then re-emits the new ordered votes — no indexer involvement required. The lower-level `updateRank` op-builder is internal.
14+
315
## 0.19.1
416

517
### Patch Changes

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@geoprotocol/geo-sdk",
3-
"version": "0.19.1",
3+
"version": "0.19.2",
44
"license": "MIT",
55
"module": "./dist/index.js",
66
"types": "./dist/index.d.ts",

0 commit comments

Comments
 (0)