Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
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
7 changes: 0 additions & 7 deletions .changeset/cursor-room-support.md

This file was deleted.

18 changes: 0 additions & 18 deletions .changeset/remove-element-data.md

This file was deleted.

6 changes: 6 additions & 0 deletions packages/common/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @playhtml/common

## 0.4.0

### Minor Changes

- 3e385c7: Add composable cursor room configuration with filtering and styling options.

## 0.3.1

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/common/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@playhtml/common",
"description": "Common types for playhtml packages",
"version": "0.3.1",
"version": "0.4.0",
"license": "MIT",
"type": "module",
"author": "Spencer Chang <spencerc99@gmail.com>",
Expand Down
10 changes: 10 additions & 0 deletions packages/extension/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
# @playhtml/extension

## 0.1.6

### Patch Changes

- Updated dependencies [3e385c7]
- Updated dependencies [7cc91bd]
- playhtml@2.6.0
- @playhtml/common@0.4.0
- @playhtml/react@0.8.0

## 0.1.5

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/extension/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@playhtml/extension",
"version": "0.1.5",
"version": "0.1.6",
"private": true,
"type": "module",
"scripts": {
Expand Down
24 changes: 24 additions & 0 deletions packages/playhtml/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,29 @@
# Change Log

## 2.6.0

### Minor Changes

- 3e385c7: Add composable cursor room configuration with filtering and styling options.
- 7cc91bd: Add `removeElementData` API for cleaning up orphaned element data

This release adds a new `removeElementData(tag, elementId)` function to both the core `playhtml` package 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:**

```tsx
import { removeElementData } from "@playhtml/react";

// Or access via playhtml object
import { playhtml } from "@playhtml/react";
playhtml.removeElementData("can-move", elementId);
```

### Patch Changes

- Updated dependencies [3e385c7]
- @playhtml/common@0.4.0

## 2.5.1

### Patch Changes
Expand Down
4 changes: 2 additions & 2 deletions packages/playhtml/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "playhtml",
"title": "playhtml",
"description": "Create interactive, collaborative html elements with a single attribute",
"version": "2.5.1",
"version": "2.6.0",
"license": "MIT",
"type": "module",
"keywords": [
Expand Down Expand Up @@ -61,7 +61,7 @@
"happy-dom": "^15.11.6"
},
"dependencies": {
"@playhtml/common": "0.3.1",
"@playhtml/common": "0.4.0",
"@syncedstore/core": "^0.6.0",
"y-partykit": "^0.0.31",
"yjs": "13.6.18"
Expand Down
26 changes: 26 additions & 0 deletions packages/react/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,31 @@
# Change Log

## 0.8.0

### Minor Changes

- 3e385c7: Add composable cursor room configuration with filtering and styling options.
- 7cc91bd: Add `removeElementData` API for cleaning up orphaned element data

This release adds a new `removeElementData(tag, elementId)` function to both the core `playhtml` package 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:**

```tsx
import { removeElementData } from "@playhtml/react";

// Or access via playhtml object
import { playhtml } from "@playhtml/react";
playhtml.removeElementData("can-move", elementId);
```

### Patch Changes

- Updated dependencies [3e385c7]
- Updated dependencies [7cc91bd]
- playhtml@2.6.0
- @playhtml/common@0.4.0

## 0.7.0

### Minor Changes
Expand Down
6 changes: 3 additions & 3 deletions packages/react/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@playhtml/react",
"description": "Create interactive, collaborative html elements in React",
"version": "0.7.0",
"version": "0.8.0",
"license": "MIT",
"type": "module",
"keywords": [
Expand Down Expand Up @@ -61,9 +61,9 @@
"vitest": "^3.1.1"
},
"dependencies": {
"@playhtml/common": "^0.3.0",
"@playhtml/common": "^0.4.0",
"classnames": "^2.3.2",
"playhtml": "^2.5.0",
"playhtml": "^2.6.0",
"react": "^16.8.0 || ^17.0.0 || ^18.2.0 || ^19.0.0",
"react-dom": "^16.8.0 || ^17.0.0 || ^18.2.0 || ^19.0.0"
},
Expand Down