Skip to content

[PUB-925] Add new protocol message flags, actions, channel modes and message types for Objects - #279

Merged
VeskeR merged 2 commits into
integration/objectsfrom
PUB-925/objects-channel-changes
Apr 2, 2025
Merged

[PUB-925] Add new protocol message flags, actions, channel modes and message types for Objects#279
VeskeR merged 2 commits into
integration/objectsfrom
PUB-925/objects-channel-changes

Conversation

@VeskeR

@VeskeRVeskeR commented Mar 13, 2025

Copy link
Copy Markdown
Contributor

Resolves PUB-925

@VeskeR
VeskeR requested review from a team and mschristensenMarch 13, 2025 09:27
@VeskeR
VeskeRforce-pushed the PUB-925/objects-channel-changes branch from a74f41f to cac4111CompareMarch 13, 2025 10:09
@VeskeR
VeskeRforce-pushed the PUB-925/objects-channel-changes branch from cac4111 to 380eb38CompareMarch 13, 2025 10:11
@VeskeR
VeskeRforce-pushed the PUB-925/objects-channel-changes branch from 380eb38 to 490b953CompareMarch 13, 2025 10:33
@VeskeR
VeskeR changed the base branch from integration/objects to add-activate-actionMarch 13, 2025 10:36
@VeskeR
VeskeRforce-pushed the add-activate-action branch from c5de3cc to d44ca77CompareMarch 13, 2025 10:37
@VeskeR
VeskeRforce-pushed the PUB-925/objects-channel-changes branch from 490b953 to 92b5a16CompareMarch 13, 2025 10:39
@VeskeR
VeskeR changed the base branch from add-activate-action to integration/objectsMarch 13, 2025 10:40
@VeskeRVeskeR changed the title [PUB-925] Add new channel modes, flags and message types for ObjectsAdd new protocol message flags, actions, channel modes and message types for ObjectsMar 13, 2025
@VeskeRVeskeR changed the title Add new protocol message flags, actions, channel modes and message types for Objects[PUB-925] Add new protocol message flags, actions, channel modes and message types for ObjectsMar 13, 2025
Comment threadtextile/features.textile Outdated
Comment threadtextile/features.textile Outdated
Comment threadtextile/features.textile Outdated

@SimonWoolfSimonWoolf left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not super familiar with the state protocol, so just reviewing from the POV of well-formed-ness as a spec. From that POV this looks fine, nice job 👍. couple minor nitpicks.

Comment threadtextile/features.textile Outdated
Comment threadtextile/features.textile Outdated
Comment threadtextile/features.textile Outdated
Comment threadtextile/protocol.textile Outdated

@mschristensenmschristensen left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested a couple of small changes & also echo Simon's comments, after that looks good

Comment threadtextile/features.textile Outdated
Comment threadtextile/protocol.textile Outdated
Comment threadtextile/features.textile Outdated
Comment threadtextile/features.textile Outdated
Comment threadtextile/features.textile Outdated
Comment threadtextile/features.textile Outdated
Comment threadtextile/features.textile Outdated
@VeskeR
VeskeRforce-pushed the PUB-925/objects-channel-changes branch from 92b5a16 to f79593cCompareMarch 19, 2025 08:18
@VeskeR
VeskeRforce-pushed the PUB-925/objects-channel-changes branch from f79593c to 74e2319CompareMarch 19, 2025 08:45
@VeskeR
VeskeRforce-pushed the PUB-925/objects-channel-changes branch from 74e2319 to 7669d86CompareMarch 19, 2025 08:53
VeskeR added a commit to ably/ably-js that referenced this pull request Mar 27, 2025
… / site codes in client side LiveObjects implementation
See the relevant discussion in the spec PR [1]
[1] ably/specification#279 (comment)
VeskeR added a commit to ably/ably-js that referenced this pull request Mar 31, 2025
… / site codes in client side LiveObjects implementation
See the relevant discussion in the spec PR [1]
[1] ably/specification#279 (comment)
VeskeR added a commit to ably/ably-js that referenced this pull request Apr 1, 2025
… feature
This commit does next changes:
- removes `state` mentions in comments / internal API. Uses `objects`
instead where possible
- normalizes terminology used when referencing "LiveObjects" product and
objects on a channel according to LiveObjects product docs PR [1]
- `STATE` message action -> `OBJECT`
- `STATE_SYNC` message action -> `OBJECT_SYNC`
- `HAS_STATE` flag -> `HAS_OBJECT`
- `StateMessage` type -> `ObjectMessage`
- `StateOperation` type -> `ObjectOperation`
- `StateObject` type -> `ObjectState`
- `StateData` type -> `ObjectData`
- `StateValue` type -> `ObjectValue`
This brings ably-js LiveObjects implementation in line with the naming
changes introduced in the spec PR [2].
[1] ably/docs#2463 (review)
[2] ably/specification#279 (comment)
VeskeR added a commit to ably/ably-js that referenced this pull request Apr 1, 2025
… / site codes in client side LiveObjects implementation
See the relevant discussion in the spec PR [1]
[1] ably/specification#279 (comment)
@VeskeR

Copy link
Copy Markdown
ContributorAuthor

Renamed HAS_OBJECT -> HAS_OBJECTS according to comment ably/ably-js#1992 (review)

@VeskeR
VeskeR merged commit f676ba8 into integration/objectsApr 2, 2025
@VeskeR
VeskeR deleted the PUB-925/objects-channel-changes branch April 2, 2025 07:22
VeskeR added a commit to ably/ably-js that referenced this pull request Apr 9, 2025
… feature
This commit does next changes:
- removes `state` mentions in comments / internal API. Uses `objects`
instead where possible
- normalizes terminology used when referencing "LiveObjects" product and
objects on a channel according to LiveObjects product docs PR [1]
- `STATE` message action -> `OBJECT`
- `STATE_SYNC` message action -> `OBJECT_SYNC`
- `HAS_STATE` flag -> `HAS_OBJECT`
- `StateMessage` type -> `ObjectMessage`
- `StateOperation` type -> `ObjectOperation`
- `StateObject` type -> `ObjectState`
- `StateData` type -> `ObjectData`
- `StateValue` type -> `ObjectValue`
This brings ably-js LiveObjects implementation in line with the naming
changes introduced in the spec PR [2].
[1] ably/docs#2463 (review)
[2] ably/specification#279 (comment)
VeskeR added a commit to ably/ably-js that referenced this pull request Apr 9, 2025
… / site codes in client side LiveObjects implementation
See the relevant discussion in the spec PR [1]
[1] ably/specification#279 (comment)
VeskeR added a commit to ably/ably-js that referenced this pull request Apr 9, 2025
… feature
This commit does next changes:
- removes `state` mentions in comments / internal API. Uses `objects`
instead where possible
- normalizes terminology used when referencing "LiveObjects" product and
objects on a channel according to LiveObjects product docs PR [1]
- `STATE` message action -> `OBJECT`
- `STATE_SYNC` message action -> `OBJECT_SYNC`
- `HAS_STATE` flag -> `HAS_OBJECT`
- `StateMessage` type -> `ObjectMessage`
- `StateOperation` type -> `ObjectOperation`
- `StateObject` type -> `ObjectState`
- `StateData` type -> `ObjectData`
- `StateValue` type -> `ObjectValue`
This brings ably-js LiveObjects implementation in line with the naming
changes introduced in the spec PR [2].
[1] ably/docs#2463 (review)
[2] ably/specification#279 (comment)
VeskeR added a commit to ably/ably-js that referenced this pull request Apr 9, 2025
… / site codes in client side LiveObjects implementation
See the relevant discussion in the spec PR [1]
[1] ably/specification#279 (comment)
VeskeR added a commit to ably/ably-js that referenced this pull request Apr 9, 2025
… feature
This commit does next changes:
- removes `state` mentions in comments / internal API. Uses `objects`
instead where possible
- normalizes terminology used when referencing "LiveObjects" product and
objects on a channel according to LiveObjects product docs PR [1]
- `STATE` message action -> `OBJECT`
- `STATE_SYNC` message action -> `OBJECT_SYNC`
- `HAS_STATE` flag -> `HAS_OBJECT`
- `StateMessage` type -> `ObjectMessage`
- `StateOperation` type -> `ObjectOperation`
- `StateObject` type -> `ObjectState`
- `StateData` type -> `ObjectData`
- `StateValue` type -> `ObjectValue`
This brings ably-js LiveObjects implementation in line with the naming
changes introduced in the spec PR [2].
[1] ably/docs#2463 (review)
[2] ably/specification#279 (comment)
VeskeR added a commit to ably/ably-js that referenced this pull request Apr 9, 2025
… / site codes in client side LiveObjects implementation
See the relevant discussion in the spec PR [1]
[1] ably/specification#279 (comment)
VeskeR added a commit that referenced this pull request Apr 17, 2025
… and ChannelMetrics for Objects
Resolves PUB-925
This is a rebased commit. Original commit 63631f0 for the
Objects channel modes and types PR [1]
[1] #279
VeskeR added a commit that referenced this pull request Apr 17, 2025
This is a rebased commit. Original commit 139c972 for the
Objects channel modes and types PR [1]
[1] #279
VeskeR added a commit that referenced this pull request Apr 17, 2025
… and ChannelMetrics for Objects
Resolves PUB-925
This is a rebased commit. Original commit 63631f0 for the
Objects channel modes and types PR [1]
[1] #279
VeskeR added a commit that referenced this pull request Apr 17, 2025
This is a rebased commit. Original commit 139c972 for the
Objects channel modes and types PR [1]
[1] #279
VeskeR added a commit to ably/ably-js that referenced this pull request May 8, 2025
See Simon's comment [1]. The `channel` property should not be expected
in the wire protocol for object messages, just like it isn't present in
a message or presencemessage.
[1] ably/specification#279 (comment)
@lawrence-forooghianlawrence-forooghian added the live-objects Related to LiveObjects functionality. label Jun 12, 2025
ttypic pushed a commit that referenced this pull request Mar 6, 2026
"binary" is used more frequently in the spec and is a bit more generic
than "buffer".
For more context see the discussion in the PR [1].
[1] #279 (comment)
ttypic pushed a commit that referenced this pull request Mar 6, 2026
… and ChannelMetrics for Objects
Resolves PUB-925
This is a rebased commit. Original commit 63631f0 for the
Objects channel modes and types PR [1]
[1] #279
ttypic pushed a commit that referenced this pull request Mar 6, 2026
"binary" is used more frequently in the spec and is a bit more generic
than "buffer".
For more context see the discussion in the PR [1].
[1] #279 (comment)
ttypic pushed a commit that referenced this pull request Mar 6, 2026
… and ChannelMetrics for Objects
Resolves PUB-925
This is a rebased commit. Original commit 63631f0 for the
Objects channel modes and types PR [1]
[1] #279
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

live-objectsRelated to LiveObjects functionality.

Development

Successfully merging this pull request may close these issues.

4 participants

@VeskeR@SimonWoolf@mschristensen@lawrence-forooghian