github udecode/plate @udecode/plate-list@49.0.0

latest releases: @platejs/dnd@49.2.22, @platejs/core@49.2.21, @platejs/slate@49.2.21...
2 months ago

Major Changes

  • #4327 by @zbeyens

    • The previous @udecode/plate-list (classic list implementation) has been moved to @platejs/list-classic.
      • Migration for users of the classic list:
        • Rename all import paths from @udecode/plate-list to @platejs/list-classic.
        • Update your package.json: remove the old @udecode/plate-list (if it was a direct dependency) and add @platejs/list-classic.
    • This package, @platejs/list, now contains the functionality previously in @udecode/plate-indent-list (indent-based list system).
      • Plugin names have been generalized: IndentListPlugin is now ListPlugin, BaseIndentListPlugin is BaseListPlugin, etc. (*IndentList* -> *List*).
      • The primary plugin key is now list (e.g., ListPlugin.key) instead of listStyleType.
      • Constants for list keys previously in INDENT_LIST_KEYS are now available under KEYS from platejs.
        • Migration for constants:
          • INDENT_LIST_KEYS.listStyleType -> KEYS.listType
          • INDENT_LIST_KEYS.todo -> KEYS.listTodo
          • INDENT_LIST_KEYS.checked -> KEYS.listChecked
          • Other INDENT_LIST_KEYS.* map to KEYS.* accordingly.
      • Removed listStyleTypes option from ListPlugin. You should control list rendering via render.belowNodes instead.
      • Removed renderListBelowNodes.
    • For changelogs of the indent-based list system (now in this package) version <=48 (when it was @udecode/plate-indent-list), refer to its archived changelog.
  • #4327 by @zbeyens

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

Don't miss a new plate release

NewReleases is sending notifications on new releases.