Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
41 commits
Select commit Hold shift + click to select a range
d2be8a1
PathObject and Instance API - access and mutation methods (no subscri…
VeskeR Feb 24, 2026
8661d3d
LiveMap and LiveCounter creation via value types
VeskeR Feb 24, 2026
babc296
Subscriptions for PathObject and Instance
VeskeR Feb 24, 2026
06e15f1
Mark `LiveObjectUpdate` as internal in IDL
lawrence-forooghian May 20, 2026
dcdb0b9
Use arrays, not iterators, for PathObject and Instance getters
lawrence-forooghian May 20, 2026
a5736bc
Use explicit delegation for PathObject and Instance methods
lawrence-forooghian May 20, 2026
5f78d21
Use "evaluate"/"evaluation" instead of "consume"/"consumption" for va…
lawrence-forooghian May 20, 2026
c33e05a
Fix missing "is" in SUB2a
lawrence-forooghian May 20, 2026
78a7a77
Clarify InstanceSubscriptionEvent.object wording
lawrence-forooghian May 20, 2026
ecf83de
Make LiveMap/LiveCounter/LiveObject fully internal in IDL
lawrence-forooghian May 21, 2026
d08178e
Reword RTO23d to use PathObject's path/root property names
lawrence-forooghian May 21, 2026
f85ad7a
Drop "public" modifier from RTLO4b and RTLO4c
lawrence-forooghian May 21, 2026
416e988
Drop RTPO21 and RTINS18 (`subscribeIterator` spec points)
lawrence-forooghian May 21, 2026
be2e752
Specify public-facing types for subscription event message field
lawrence-forooghian May 21, 2026
5340bae
Propagate source ObjectMessage on LiveObjectUpdate
lawrence-forooghian May 21, 2026
2e96ba2
Unify dispatch and surface ObjectMessage to subscribers
lawrence-forooghian May 21, 2026
07ca016
Restructure path-based subscription dispatch
lawrence-forooghian May 21, 2026
6a5177f
remove RTO24d
lawrence-forooghian May 22, 2026
9858d2f
Remove unsubscribe(listener) from LiveObject/PathObject/Instance
lawrence-forooghian May 22, 2026
e1adbc0
Specify that Subscription#unsubscribe is idempotent
lawrence-forooghian May 22, 2026
1e80b42
Add internal *ValueType backing fields to the IDL
lawrence-forooghian May 22, 2026
8ce7584
Add placeholder RTLO3f for parentReferences
lawrence-forooghian May 22, 2026
ec61d11
Add `getFullPaths` from PR #480 (unreviewed)
lawrence-forooghian May 22, 2026
1755df3
Replace "outermost" with "final element" in *_CREATE references
lawrence-forooghian May 22, 2026
d16e23e
Mark PAOM2c `connectionId` as optional
lawrence-forooghian May 22, 2026
7d8333c
Make PAOM3's operation precondition explicit
lawrence-forooghian May 22, 2026
5a61965
Mark PAOM2a `id` and PAOM2d `timestamp` as optional
lawrence-forooghian May 22, 2026
3e2e7b6
Merge branch 'integration/liveobjects-path-based-api' into AIT-30/liv…
lawrence-forooghian May 24, 2026
2fa9a5e
Align LiveObject tombstone behaviour with ably-js
lawrence-forooghian May 24, 2026
860e479
Pull parentReferences maintenance rules from PR #480
lawrence-forooghian May 24, 2026
4879b50
Lowercase RFC 2119 keywords in clauses imported from PR #480
lawrence-forooghian May 24, 2026
220a926
Add argument types to addParentReference/removeParentReference IDL
lawrence-forooghian May 24, 2026
e6ab048
Add getFullPaths to the LiveObject IDL
lawrence-forooghian May 24, 2026
da7078b
Tighten parent-presence wording in RTLO4g/RTLO4h
lawrence-forooghian May 24, 2026
10388e2
Simplify RTO5c10
lawrence-forooghian May 24, 2026
ff16eed
Rework RTLO4e9 tombstone children walk
lawrence-forooghian May 24, 2026
42e45ba
Tidy RTLM7 parent-reference clauses
lawrence-forooghian May 24, 2026
49a56be
Tighten parent-ref cleanup clauses to a single parallel form
lawrence-forooghian May 24, 2026
72e2377
Restructure parent-ref cleanup clauses around the data modification
lawrence-forooghian May 24, 2026
c0938f3
Rework RTLO4f around an explicit graph-theoretic definition
lawrence-forooghian May 24, 2026
37b336c
Centralise PathObject/Instance access checks in RTO25/RTO26
lawrence-forooghian May 25, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,14 @@ Historically, before the above guidance was established - in particular around _
This left us open to the problem that client library references to spec items could end up semantically invalid if that spec point was re-used later.
For example, if `XXX1a` and `XXX1c` exist but `XXX1b` doesn’t because it was removed in the past (prior to this guidance being established), then we should introduce `XXX1d` for the new spec item rather than re-using `XXX1b`.

## Public-API namespacing for name clashes

Most spec types are public API by default (the IDL marks the exceptions with `internal`). When a public-API type would have the same natural name as an existing internal/wire concept, the first preference is to rename the internal concept so the public type can take the unqualified name. Where no good rename exists for the internal concept, or where renaming it would cause excessive churn or inconsistency across the spec, the spec instead qualifies the public type with a `PublicAPI::` namespace prefix (e.g. `PublicAPI::ObjectMessage`).

This is purely a spec-side disambiguation: SDKs should expose the type to users under its unqualified name (here, `ObjectMessage`). Where an SDK's language uses a single flat namespace and cannot have two types with that name, the canonical/wire concept may be renamed internally (e.g. `WireObjectMessage`) to free up the public name.

The `PublicAPI::` prefix is only introduced when there is an actual clash; the bare name remains the canonical reference everywhere else.

## SDK API docstrings

The `api-docstrings.md` file is a set of language-agnostic reference API commentaries for SDK developers to use when adding docstring comments to Ably SDKs. For new fields, this file should be modified in the same PR that makes the spec changes for those fields.
Expand Down
16 changes: 13 additions & 3 deletions specifications/features.md
Original file line number Diff line number Diff line change
Expand Up @@ -939,7 +939,7 @@ The threading and/or asynchronous model for each realtime library will vary by l

### RealtimeObject {#realtime-objects}

Reserved for `RealtimeObject` feature specification, see [objects-features](../objects-features). Reserved spec points: `RTO`, `RTLO`, `RTLC`, `RTLM`
Reserved for `RealtimeObject` feature specification, see [objects-features](../objects-features). Reserved spec points: `RTO`, `RTLO`, `RTLC`, `RTLM`, `RTPO`, `RTINS`, `RTLCV`, `RTLMV`

### RealtimeAnnotations {#realtime-annotations}

Expand Down Expand Up @@ -1331,13 +1331,13 @@ The core SDK provides an API for wrapper SDKs to supply Ably with analytics info
- `(OOP4g)` The size is the sum of the sizes of the map create, `mapSet`, `mapRemove`, counter create, and `counterInc` components
- `(OOP4h)` The size of the map create component is:
- `(OOP4h1)` If `mapCreate` is present, it is equal to the size of `mapCreate` calculated per [MCR3](#MCR3)
- `(OOP4h2)` Else if `mapCreateWithObjectId` is present, it is equal to the size of the `MapCreate` retained in [RTO11f18](objects-features#RTO11f18), calculated per [MCR3](#MCR3)
- `(OOP4h2)` Else if `mapCreateWithObjectId` is present, it is equal to the size of the `MapCreate` retained in [RTLMV4j5](objects-features#RTLMV4j5), calculated per [MCR3](#MCR3)
- `(OOP4h3)` Otherwise it is zero
- `(OOP4i)` The size of the `mapSet` property is calculated per [MST3](#MST3)
- `(OOP4j)` The size of the `mapRemove` property is calculated per [MRM3](#MRM3)
- `(OOP4k)` The size of the counter create component is:
- `(OOP4k1)` If `counterCreate` is present, it is equal to the size of `counterCreate` calculated per [CCR3](#CCR3)
- `(OOP4k2)` Else if `counterCreateWithObjectId` is present, it is equal to the size of the `CounterCreate` retained in [RTO12f16](objects-features#RTO12f16), calculated per [CCR3](#CCR3)
- `(OOP4k2)` Else if `counterCreateWithObjectId` is present, it is equal to the size of the `CounterCreate` retained in [RTLCV4g5](objects-features#RTLCV4g5), calculated per [CCR3](#CCR3)
- `(OOP4k3)` Otherwise it is zero
- `(OOP4l)` The size of the `counterInc` property is calculated per [CIN3](#CIN3)
- `(OOP4f)` The size of a `null` or omitted property is zero
Expand Down Expand Up @@ -1870,6 +1870,13 @@ The core SDK provides an API for wrapper SDKs to supply Ably with analytics info
- `(REX2b1)` Should be written in reverse domain name notation
- `(REX2b2)` Types beginning with `com.ably.` are reserved

#### Subscription

- `(SUB1)` A `Subscription` represents a registration for receiving events from a subscribe operation
- `(SUB2)` The `Subscription` object has the following method:
- `(SUB2a)` `unsubscribe` - deregisters the listener that was registered by the corresponding `subscribe` call. Once `unsubscribe` is called, the listener must not be called for any subsequent events
- `(SUB2b)` Calling `unsubscribe` more than once is a no-op

### Option types {#options}

#### ClientOptions
Expand Down Expand Up @@ -2924,6 +2931,9 @@ Each type, method, and attribute is labelled with the name of one or more clause
description: string? // TM2s4
metadata: Dict<string, string>? //TM2s5

interface Subscription: // SUB*
unsubscribe() // SUB2a

## Old specs

Use the version navigation to view older versions. References to diffs for each version are maintained below:
Expand Down
Loading
Loading