Skip to content

Latest commit

 

History

History
329 lines (181 loc) · 7.71 KB

File metadata and controls

329 lines (181 loc) · 7.71 KB

@platejs/suggestion

53.0.3

Patch Changes

  • #4945 by @felixfeng33 – Fix inline-void delete and replace suggestions around mentions and paragraph boundaries

53.0.0

52.3.10

Patch Changes

  • #4897 by @zbeyens – Fix declaration bundling by restoring the workspace platejs build edge during package builds

52.3.8

Patch Changes

  • #4882 by @zbeyens
    • Fix suggestion metadata lookups using the actual per-suggestion keys and IDs for active descriptions, node matching, and line-break detection

52.0.11

Patch Changes

  • #4784 by @zbeyens
    • Fixed "Cannot find module 'react/compiler-runtime'" error for React 18 users

52.0.1

Patch Changes

52.0.0

Major Changes

51.1.2

Patch Changes

51.0.0

50.3.3

Patch Changes

  • #4658 by @felixfeng33 – Fix: Properly unset transient suggestion key when accepting or rejecting suggestions

50.2.0

Minor Changes

  • #4626 by @felixfeng33
    • Add SkipSuggestionDeletes utility to extract text while excluding removed suggestions
    • Add transient suggestions support with getTransientSuggestionKey and filtering options
    • Unify adjacent insert/remove suggestion IDs for better UI handling
    • Improve acceptSuggestion to support inline elements like links
    • Add transient parameter to getSuggestionProps and suggestion.nodes() APIs

49.0.0

Major Changes

  • #4327 by @zbeyens
    • Renamed all @udecode/plate-* packages to @platejs/*. Replace @udecode/plate- with @platejs/ in your code.

@udecode/plate-suggestion

48.0.0

47.3.0

Minor Changes

  • a44f7be by @zbeyens
    • Remove unused users, suggestions options.
    • Remove unused addSuggestion, removeSuggestion, updateSuggestion APIs.
    • Remove unused suggestion, user and currentUser selectors.

46.0.1

Patch Changes

  • #4124 by @felixfeng33 – Fix diffToSuggestions to adapt to the new suggestion structure.

45.0.3

Patch Changes

45.0.0

Major Changes

  • #4064 by @felixfeng33 – Note: This plugin is currently in an experimental phase and breaking changes may be introduced without a major version bump.

    • Add Suggestion UI
    • Remove: findSuggestionNode use findSuggestionProps.ts instead
    • Remove addSuggestionMark.ts
    • Remove useHooksSuggestion.ts as we've updated the activeId logic to no longer depend on useEditorSelector

44.0.2

44.0.0

43.0.0

42.2.4

Patch Changes

  • #4012 by @zbeyens – Fix overrideEditor insertText missing options

42.0.0

41.0.0

40.2.8

Patch Changes

40.0.0

39.0.0

38.0.1

Patch Changes

38.0.0

37.0.0

Major Changes

  • #3420 by @zbeyens
    • createSuggestionPlugin -> SuggestionPlugin
    • Move suggestionStore to SuggestionPlugin
    • Remove SuggestionProvider and its hooks
    • Remove useSuggestionStates (replaced by direct option access)
    • Remove useSuggestionSelectors (replaced by option selectors)
    • Remove useSuggestionActions (replaced by api methods)
    • Replace useUpdateSuggestion with api.suggestion.updateSuggestion
    • Replace useAddSuggestion with api.suggestion.addSuggestion
    • Replace useRemoveSuggestion with api.suggestion.removeSuggestion
    • Replace useSuggestionById with options.suggestionById
    • Replace useSuggestionUserById with options.suggestionUserById
    • Replace useCurrentSuggestionUser with options.currentSuggestionUser
    • Remove editor.activeSuggestionId, use plugin option
    • Remove useSetIsSuggesting, use editor.setOption
    • Remove useSetActiveSuggestionId, use editor.setOption
    • Remove editor.isSuggesting, use plugin option
    • Remove SuggestionEditorProps type

36.0.0

35.3.1

34.0.0

33.0.2

Patch Changes

33.0.0

32.0.0

31.0.0

30.9.0

30.8.0

30.6.1

30.6.0

30.5.3

Patch Changes

  • 4cbed7159 by @zbeyens – Move @udecode/plate-common to peerDeps to fix a bug when multiple instances were installed

30.5.2

30.5.0

Minor Changes

  • #2945 by @12joan – Refactor slateDiff into @udecode/plate-diff and add diffToSuggestions instead

30.4.5

30.4.3

Patch Changes

30.4.2

Patch Changes

30.4.1

Patch Changes

30.4.0

Minor Changes

30.1.2

30.0.0

29.1.0

29.0.1

29.0.0

28.0.0

27.0.3

27.0.0

Patch Changes

25.0.1

25.0.0

24.5.2

24.4.0

Minor Changes

24.3.6

24.3.5

24.3.2

24.3.1

24.3.0

24.2.0

24.0.2

24.0.1

24.0.0

23.7.4

23.7.0

23.6.0

23.3.1

23.3.0

22.0.2

22.0.1

22.0.0

21.5.0

21.4.2

21.4.1

21.3.2

21.3.1

Patch Changes

21.3.0

Minor Changes

21.1.5

21.0.0

20.7.2

20.7.0

20.4.0