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

[Release] Version packages #3176

Merged
merged 1 commit into from
May 6, 2024
Merged

[Release] Version packages #3176

merged 1 commit into from
May 6, 2024

Conversation

github-actions[bot]
Copy link
Contributor

@github-actions github-actions bot commented May 6, 2024

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.

Releases

@udecode/[email protected]

Major Changes

  • #3125 by @zbeyens
    • serializeMd: remove nodes option. editor.children is now serialized.

Minor Changes

  • #3125 by @zbeyens

    type SerializeMdNodeOptions = {
      /**
       * Whether the node is enabled. If false, the node will be considered as
       * paragraph.
       */
      enabled?: boolean;
    
      isLeaf?: boolean;
    
      /**
       * Whether the node is void. Required for empty void nodes to not be skipped.
       * Default is true for `hr` and `img` nodes
       */
      isVoid?: boolean;
    
      /** Serialize node to markdown. */
      serialize?: (
        children: string,
        node: MdNodeType,
        opts: SerializeMdOptions
      ) => string;
    
      /** Whether the node should be skipped (serialized to empty string). */
      skip?: boolean;
    
      /** The type of the node. */
      type: string;
    };
    /** @default Options for each node type. */
    {
      /** @default Options for each node type. */
      nodes: Record<keyof MdNodeTypes, SerializeMdNodeOptions>;
    
      /**
       * Tag to use for line breaks.
       *
       * @default '<br>'
       */
      breakTag?: string;
    
      /** Custom nodes to serialize. */
      customNodes?: Record<string, SerializeMdNodeOptions>;
    
      ignoreParagraphNewline?: boolean;
    
      listDepth?: number;
    
      /**
       * Format for underline.
       *
       * @example
       *   {
       *     "underline": ["<u>", "</u>"]
       *   }
       */
      markFormats?: Partial<MarkFormats>;
    
      /**
       * List of unordered list style types (when using indent list).
       *
       * @default ['disc', 'circle', 'square']
       */
      ulListStyleTypes?: string[];
    }
    • Remove plugin dependencies.
    • Remove nodeTypes option in favor of nodes.

@udecode/[email protected]

Minor Changes

  • #3125 by @zbeyens
    • Use editor.reset instead of resetEditor to focus the editor after reset so it's decoupled from slate-react.
    • Add a server bundle including createPlateEditor. It can be imported using import { createPlateEditor } from '@udecode/plate-core/server'.

@udecode/[email protected]

Patch Changes

  • #3125 by @zbeyens
    • Fix withRef: Component props should be excluded from extended props.

@udecode/[email protected]

Patch Changes

@udecode/[email protected]

Patch Changes

@udecode/[email protected]

@udecode/[email protected]

@udecode/[email protected]

@udecode/[email protected]

@udecode/[email protected]

@udecode/[email protected]

@udecode/[email protected]

@udecode/[email protected]

@udecode/[email protected]

@udecode/[email protected]

@udecode/[email protected]

@udecode/[email protected]

@udecode/[email protected]

@udecode/[email protected]

@udecode/[email protected]

@udecode/[email protected]

@udecode/[email protected]

@udecode/[email protected]

@udecode/[email protected]

@udecode/[email protected]

@udecode/[email protected]

@udecode/[email protected]

@udecode/[email protected]

@udecode/[email protected]

@udecode/[email protected]

@udecode/[email protected]

@udecode/[email protected]

@udecode/[email protected]

@udecode/[email protected]

@udecode/[email protected]

@udecode/[email protected]

@udecode/[email protected]

@udecode/[email protected]

@udecode/[email protected]

@udecode/[email protected]

@udecode/[email protected]

@udecode/[email protected]

@udecode/[email protected]

@udecode/[email protected]

@udecode/[email protected]

@udecode/[email protected]

@udecode/[email protected]

@udecode/[email protected]

@udecode/[email protected]

@udecode/[email protected]

@udecode/[email protected]

@udecode/[email protected]

@udecode/[email protected]

@udecode/[email protected]

@udecode/[email protected]

@udecode/[email protected]

@udecode/[email protected]

Copy link

vercel bot commented May 6, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
plate ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 6, 2024 6:07pm

@zbeyens zbeyens merged commit 05c571a into main May 6, 2024
1 of 2 checks passed
@zbeyens zbeyens deleted the changeset-release/main branch May 6, 2024 17:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant