Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: bump @udecode/plate-core from 36.5.9 to 45.0.5 #1834

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Feb 24, 2025

Bumps @udecode/plate-core from 36.5.9 to 45.0.5.

Release notes

Sourced from @​udecode/plate-core's releases.

@​udecode/plate-core@​45.0.5

Patch Changes

@​udecode/plate-core@​45.0.2

Patch Changes

  • #4090 by @​zbeyens – Add belowRootNodes render option to render content below root element but above children. Similar to belowNodes but renders directly in the element rather than wrapping. This is used in PlateElement to render the BlockSelection component below the root element.

@​udecode/plate-core@​45.0.1

Patch Changes

@​udecode/plate-core@​44.0.7

Patch Changes

  • #4084 by @​regmsif – fix: return value of useEditorPlugin changes when rerender

@​udecode/plate-core@​44.0.1

No release notes provided.

@​udecode/plate-core@​44.0.0

Major Changes

  • #4048 by @​zbeyens

    • Support React 19
    • Upgraded to zustand-x@6
      • eventEditorSelectors -> EventEditorStore.get
      • eventEditorActions -> EventEditorStore.set
      • useEventEditorSelectors -> useEventEditorValue(key)
    • Upgraded to jotai-x@2
      • usePlateEditorStore -> usePlateStore
      • usePlateActions -> usePlateSet
      • Remove editor.setPlateState, use usePlateSet instead
      • usePlateSelectors -> usePlateValue
      • usePlateStates -> usePlateState
    • Moving plugin options hooks into standalone hooks to be compatible with React Compiler
      • editor.useOption, ctx.useOption -> usePluginOption(plugin, key, ...args)
      • editor.useOptions, ctx.useOptions -> usePluginOption(plugin, 'state')
      • New hook usePluginOptions(plugin, selector) to select plugin options (Zustand way).
    • We were supporting adding selectors to plugins using extendOptions. Those were mixed up with the options state, leading to potential conflicts and confusion.
      • The plugin method is renamed to extendSelectors
      • Selectors are now internally stored in plugin.selectors instead of plugin.options, but this does not change how you access those: using editor.getOption(plugin, 'selectorName'), ctx.getOption('selectorName') or above hooks.
      • Selector types are no longer in the 2nd generic type of PluginConfig, we're adding a 5th generic type for it.
    // Before:

... (truncated)

Changelog

Sourced from @​udecode/plate-core's changelog.

45.0.5

Patch Changes

45.0.2

Patch Changes

  • #4090 by @​zbeyens – Add belowRootNodes render option to render content below root element but above children. Similar to belowNodes but renders directly in the element rather than wrapping. This is used in PlateElement to render the BlockSelection component below the root element.

45.0.1

Patch Changes

44.0.7

Patch Changes

  • #4084 by @​regmsif – fix: return value of useEditorPlugin changes when rerender

44.0.1

44.0.0

Major Changes

  • #4048 by @​zbeyens

    • Support React 19
    • Upgraded to zustand-x@6
      • eventEditorSelectors -> EventEditorStore.get
      • eventEditorActions -> EventEditorStore.set
      • useEventEditorSelectors -> useEventEditorValue(key)
    • Upgraded to jotai-x@2
      • usePlateEditorStore -> usePlateStore
      • usePlateActions -> usePlateSet
      • Remove editor.setPlateState, use usePlateSet instead
      • usePlateSelectors -> usePlateValue
      • usePlateStates -> usePlateState
    • Moving plugin options hooks into standalone hooks to be compatible with React Compiler
      • editor.useOption, ctx.useOption -> usePluginOption(plugin, key, ...args)
      • editor.useOptions, ctx.useOptions -> usePluginOption(plugin, 'state')
      • New hook usePluginOptions(plugin, selector) to select plugin options (Zustand way).
    • We were supporting adding selectors to plugins using extendOptions. Those were mixed up with the options state, leading to potential conflicts and confusion.
      • The plugin method is renamed to extendSelectors
      • Selectors are now internally stored in plugin.selectors instead of plugin.options, but this does not change how you access those: using editor.getOption(plugin, 'selectorName'), ctx.getOption('selectorName') or above hooks.

... (truncated)

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [@udecode/plate-core](https://github.com/udecode/plate/tree/HEAD/packages/core) from 36.5.9 to 45.0.5.
- [Release notes](https://github.com/udecode/plate/releases)
- [Changelog](https://github.com/udecode/plate/blob/main/packages/core/CHANGELOG.md)
- [Commits](https://github.com/udecode/plate/commits/@udecode/[email protected]/packages/core)

---
updated-dependencies:
- dependency-name: "@udecode/plate-core"
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot requested a review from a team as a code owner February 24, 2025 12:05
@dependabot dependabot bot added dependabot dependencies Pull requests that update a dependency file labels Feb 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependabot dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants