Release: Version packages #56
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.
Releases
@playhtml/common@0.4.0
Minor Changes
1427a62: Add cursor presence and stable awareness APIs with improved element awareness scoping
This release adds new APIs for accessing cursor positions and per-user awareness data keyed by stable user IDs, eliminating the need to access internal providers directly.
New Cursor Presence APIs:
New Awareness API - awarenessByStableId:
Element awareness is now provided keyed by stable user ID in addition to the array format:
New React Hook:
Breaking Change - Awareness Scope:
Element awareness now follows cursor scope instead of always being page-specific:
room: "domain", element awareness is domain-wideroom: "page", element awareness is page-specificroom: "section", element awareness is section-specificThis is more intuitive (your user state follows you) but may affect apps that relied on the old behavior. To restore page-specific awareness when cursors are domain-wide, you can configure cursors to use page scope separately.
Benefits:
playerIdentity.publicKey) persist across page refreshes(playhtml.cursorClient as any).provider- use clean public APIs3e385c7: Add composable cursor room configuration with filtering and styling options.
playhtml@2.6.0
Minor Changes
1427a62: Add cursor presence and stable awareness APIs with improved element awareness scoping
This release adds new APIs for accessing cursor positions and per-user awareness data keyed by stable user IDs, eliminating the need to access internal providers directly.
New Cursor Presence APIs:
New Awareness API - awarenessByStableId:
Element awareness is now provided keyed by stable user ID in addition to the array format:
New React Hook:
Breaking Change - Awareness Scope:
Element awareness now follows cursor scope instead of always being page-specific:
room: "domain", element awareness is domain-wideroom: "page", element awareness is page-specificroom: "section", element awareness is section-specificThis is more intuitive (your user state follows you) but may affect apps that relied on the old behavior. To restore page-specific awareness when cursors are domain-wide, you can configure cursors to use page scope separately.
Benefits:
playerIdentity.publicKey) persist across page refreshes(playhtml.cursorClient as any).provider- use clean public APIs3e385c7: Add composable cursor room configuration with filtering and styling options.
7cc91bd: Add
removeElementDataAPI for cleaning up orphaned element dataThis release adds a new
removeElementData(tag, elementId)function to both the coreplayhtmlpackage and the React wrapper. This function allows you to clean up orphaned data when elements are deleted, preventing accumulation of stale data in the database.Usage:
Patch Changes
@playhtml/react@0.8.0
Minor Changes
1427a62: Add cursor presence and stable awareness APIs with improved element awareness scoping
This release adds new APIs for accessing cursor positions and per-user awareness data keyed by stable user IDs, eliminating the need to access internal providers directly.
New Cursor Presence APIs:
New Awareness API - awarenessByStableId:
Element awareness is now provided keyed by stable user ID in addition to the array format:
New React Hook:
Breaking Change - Awareness Scope:
Element awareness now follows cursor scope instead of always being page-specific:
room: "domain", element awareness is domain-wideroom: "page", element awareness is page-specificroom: "section", element awareness is section-specificThis is more intuitive (your user state follows you) but may affect apps that relied on the old behavior. To restore page-specific awareness when cursors are domain-wide, you can configure cursors to use page scope separately.
Benefits:
playerIdentity.publicKey) persist across page refreshes(playhtml.cursorClient as any).provider- use clean public APIs3e385c7: Add composable cursor room configuration with filtering and styling options.
7cc91bd: Add
removeElementDataAPI for cleaning up orphaned element dataThis release adds a new
removeElementData(tag, elementId)function to both the coreplayhtmlpackage and the React wrapper. This function allows you to clean up orphaned data when elements are deleted, preventing accumulation of stale data in the database.Usage:
Patch Changes
@playhtml/extension@0.1.6
Patch Changes