Skip to content

Commit

Permalink
Version Packages (#2244)
Browse files Browse the repository at this point in the history
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
github-actions[bot] and github-actions[bot] authored Mar 7, 2023
1 parent f007def commit 1ebc920
Show file tree
Hide file tree
Showing 157 changed files with 605 additions and 458 deletions.
16 changes: 0 additions & 16 deletions .changeset/core.md

This file was deleted.

30 changes: 0 additions & 30 deletions .changeset/dnd-ui.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/dnd.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/fast-pots-enjoy.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/great-actors-work-core.md

This file was deleted.

12 changes: 0 additions & 12 deletions .changeset/great-actors-work.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/haealthy-yakqs-buy.md

This file was deleted.

16 changes: 0 additions & 16 deletions .changeset/healthy-yaaasks-buy.md

This file was deleted.

7 changes: 0 additions & 7 deletions .changeset/healthy-yaaasks-buys.md

This file was deleted.

15 changes: 0 additions & 15 deletions .changeset/healthy-yaks-buy.md

This file was deleted.

8 changes: 0 additions & 8 deletions .changeset/healthy-yaks-buys.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/nervous-doors-film.md

This file was deleted.

6 changes: 0 additions & 6 deletions .changeset/quiet-wombats-hug.md

This file was deleted.

17 changes: 0 additions & 17 deletions .changeset/rude-seas-work.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/sweet-chairs-confess.md

This file was deleted.

6 changes: 0 additions & 6 deletions .changeset/two-glasses-doubt.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/weak-oranges-deliver.md

This file was deleted.

2 changes: 2 additions & 0 deletions packages/button/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# @udecode/plate-button

## 20.0.0

## 19.7.0

## 19.5.0
Expand Down
4 changes: 2 additions & 2 deletions packages/button/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@udecode/plate-button",
"version": "19.7.0",
"version": "20.0.0",
"description": "Button UI for Plate",
"license": "MIT",
"homepage": "https://plate.udecode.io",
Expand All @@ -19,7 +19,7 @@
],
"types": "dist/index.d.ts",
"dependencies": {
"@udecode/plate-common": "19.7.0"
"@udecode/plate-common": "20.0.0"
},
"peerDependencies": {
"react": ">=16.8.0",
Expand Down
17 changes: 17 additions & 0 deletions packages/cloud/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,22 @@
# @udecode/plate-cloud

## 20.0.0

### Minor Changes

- [#2254](https://github.com/udecode/plate/pull/2254) by [@thesunny](https://github.com/thesunny) – Add options to set `minResizeWidth` and `maxResizeWidth` to `CloudImagePlugin`.

```typescript
createCloudImagePlugin({
options: {
maxInitialWidth: 320,
maxInitialHeight: 320,
minResizeWidth: 100,
maxResizeWidth: 720,
},
}),
```

## 19.7.0

## 19.5.0
Expand Down
4 changes: 2 additions & 2 deletions packages/cloud/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@udecode/plate-cloud",
"version": "19.7.0",
"version": "20.0.0",
"description": "Plate plugin to add cloud based image and attachment uploads",
"license": "MIT",
"homepage": "https://plate.udecode.io",
Expand All @@ -20,7 +20,7 @@
"types": "dist/index.d.ts",
"dependencies": {
"@portive/client": "10.0.2",
"@udecode/plate-common": "19.7.0",
"@udecode/plate-common": "20.0.0",
"delay": "5.0.0",
"p-defer": "^3.0"
},
Expand Down
6 changes: 6 additions & 0 deletions packages/comments/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @udecode/plate-comments

## 20.0.0

### Patch Changes

- [#2252](https://github.com/udecode/plate/pull/2252) by [@12joan](https://github.com/12joan) – Include `createdAt` and `userId` (if present) in comment passed to `onCommentAdd`

## 19.7.0

### Patch Changes
Expand Down
6 changes: 3 additions & 3 deletions packages/comments/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@udecode/plate-comments",
"version": "19.7.0",
"version": "20.0.0",
"description": "Plate plugin for comments",
"license": "MIT",
"homepage": "https://plate.udecode.io",
Expand All @@ -19,8 +19,8 @@
],
"types": "dist/index.d.ts",
"dependencies": {
"@udecode/plate-button": "19.7.0",
"@udecode/plate-common": "19.7.0"
"@udecode/plate-button": "20.0.0",
"@udecode/plate-common": "20.0.0"
},
"peerDependencies": {
"react": ">=16.8.0",
Expand Down
3 changes: 3 additions & 0 deletions packages/common/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# @udecode/plate-common

## 20.0.0
6 changes: 3 additions & 3 deletions packages/common/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@udecode/plate-common",
"version": "19.7.0",
"version": "20.0.0",
"description": "Plate common packages for plugins",
"license": "MIT",
"homepage": "https://plate.udecode.io",
Expand All @@ -19,8 +19,8 @@
],
"types": "dist/index.d.ts",
"dependencies": {
"@udecode/plate-core": "19.7.0",
"@udecode/plate-utils": "19.7.0",
"@udecode/plate-core": "20.0.0",
"@udecode/plate-utils": "20.0.0",
"@udecode/slate": "19.7.0",
"@udecode/slate-react": "19.7.0",
"@udecode/slate-utils": "19.7.0",
Expand Down
27 changes: 27 additions & 0 deletions packages/core/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,32 @@
# @udecode/plate-core

## 20.0.0

### Major Changes

- [`0077402`](https://github.com/udecode/plate/commit/00774029236d37737abdadf49b074e613e290792) by [@zbeyens](https://github.com/zbeyens)
- This package has been split into multiple packages for separation of concerns and decoupled versioning:
- `@udecode/utils` is a collection of miscellaneous utilities. Can be used by any project.
- `@udecode/slate` is a collection of `slate` experimental features and bug fixes that may be moved into `slate` one day. It's essentially composed of the generic types. Can be used by vanilla `slate` consumers without plate.
- `@udecode/slate-react` is a collection of `slate-react` experimental features and bug fixes that that may be moved into `slate-react` one day. It's essentially composed of the generic types. Can be used by vanilla `slate-react` consumers without plate.
- `@udecode/plate-core` is the minimalistic core of plate. It essentially includes `Plate`, `PlateProvider` and their dependencies. Note this package is not dependent on the `*-utils` packages.
- `@udecode/slate-utils` is a collection of utils depending on `@udecode/slate`. Can be used by vanilla `slate` consumers without plate.
- `@udecode/plate-utils` is a collection of utils depending on `@udecode/slate-react` and `@udecode/plate-core`
- `@udecode/plate-common` re-exports the 6 previous packages and is a dependency of all the other packages. It's basically replacing `@udecore/plate-core` as a bundle.
- Removed `getPreventDefaultHandler` since it is no longer needed.
**Migration**:
- If using `@udecode/plate` or `@udecode/plate-headless`: none
- Else: find & replace `@udecode/plate-core` by `@udecode/plate-common`

### Minor Changes

- [#2240](https://github.com/udecode/plate/pull/2240) by [@OliverWales](https://github.com/OliverWales)
- Add `sanitizeUrl` util to check if URL has an allowed scheme

### Patch Changes

- [#2237](https://github.com/udecode/plate/pull/2237) by [@TomMorane](https://github.com/TomMorane)`createHOC`: deep merge props

## 19.7.0

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@udecode/plate-core",
"version": "19.7.0",
"version": "20.0.0",
"description": "The core architecture of Plate – a plugin system for slate",
"license": "MIT",
"homepage": "https://plate.udecode.io",
Expand Down
2 changes: 2 additions & 0 deletions packages/decorators/find-replace/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# @udecode/plate-find-replace

## 20.0.0

## 19.7.0

## 19.5.0
Expand Down
4 changes: 2 additions & 2 deletions packages/decorators/find-replace/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@udecode/plate-find-replace",
"version": "19.7.0",
"version": "20.0.0",
"description": "Find and replace plugin for Plate",
"license": "MIT",
"homepage": "https://plate.udecode.io",
Expand All @@ -19,7 +19,7 @@
],
"types": "dist/index.d.ts",
"dependencies": {
"@udecode/plate-common": "19.7.0"
"@udecode/plate-common": "20.0.0"
},
"peerDependencies": {
"react": ">=16.8.0",
Expand Down
7 changes: 7 additions & 0 deletions packages/dnd/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# @udecode/plate-dnd

## 20.0.0

### Minor Changes

- [#2237](https://github.com/udecode/plate/pull/2237) by [@TomMorane](https://github.com/TomMorane) – New package extracting unstyled logic from `@udecode/plate-ui-dnd`
4 changes: 2 additions & 2 deletions packages/dnd/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@udecode/plate-dnd",
"version": "19.7.0",
"version": "20.0.0",
"description": "Drag &amp; drop feature for Plate",
"license": "MIT",
"homepage": "https://plate.udecode.io",
Expand All @@ -19,7 +19,7 @@
],
"types": "dist/index.d.ts",
"dependencies": {
"@udecode/plate-common": "19.7.0",
"@udecode/plate-common": "20.0.0",
"raf": "^3.4.1"
},
"peerDependencies": {
Expand Down
Loading

2 comments on commit 1ebc920

@vercel
Copy link

@vercel vercel bot commented on 1ebc920 Mar 7, 2023

Choose a reason for hiding this comment

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

Successfully deployed to the following URLs:

plate-examples – ./

plate-examples-git-main-udecode.vercel.app
plate-examples-udecode.vercel.app
plate-examples.vercel.app

@vercel
Copy link

@vercel vercel bot commented on 1ebc920 Mar 7, 2023

Choose a reason for hiding this comment

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

Successfully deployed to the following URLs:

plate – ./

plate-udecode.vercel.app
plate-git-main-udecode.vercel.app
plate.udecode.io
www.plate.udecode.io

Please sign in to comment.