Skip to content

Commit 1c8457b

Browse files
committed
readme: add details
1 parent 259cf3e commit 1c8457b

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -589,6 +589,10 @@ Separate content from structure, allowing non-technical users to update dynamic
589589

590590
## Breaking Changes
591591

592+
### v2.0.0
593+
- Internal structure of the editor directory has changed. When calling shadcn add, you will need to manually delete old files in /ui-builder and /lib/ui-builder directories.
594+
- Many components have been refactored to support drag and drop functionality and the new canvas.
595+
592596
### v1.0.0
593597
- Removed _page_ layer type in favor of using any component type (like `div`, `main`, or custom containers) as the root page layer. This enhances flexibility, enabling use cases like building react-email templates directly. You should migrate any layers stored in the database to use a standard component type as the root. The [migrateV2ToV3](lib/ui-builder/store/layer-utils.ts) function in `layer-utils.ts` can assist with this migration.
594598
- The `componentRegistry` is now passed as a prop to the `UIBuilder` component instead of being defined in a standalone file.

0 commit comments

Comments
 (0)