Skip to content

Fix the hyperlink extension's public names before 2.3.0 #693

Closed

Description

@HMarzban

Summary

Renaming an export after the first publish is a breaking change. So the public names #678 listed are fixed before extension 2.3.0 publishes, as #678 Decision 1 ruled.

Details

  • wholeLink is now toStoredLink. It returns the link to store, and the old name read like a check.
  • LinkIconResolver is a root type export.
  • HovercardContext ({ href, editor }) and HovercardShowContext ({ href, link }) name the hovercard callback contexts.
  • New host helpers are root exports too: openPreviewPopover, focusPreviewFromKeyboard and linkIconFor.

Built in 1b8e6f3aa on local main, not pushed yet.

Done when

  • Pushed.
  • Extension 2.3.0 published with these names.

Related

#678

Activity

  1. added this to the v2.3.0 milestone on Nov 4, 2026
  2. HMarzban commented on Nov 4, 2026

    @HMarzban
    CollaboratorAuthor

    Status, 2026-11-04. The earlier "not pushed yet" note is out of date. The work is on main in 4e1aca058, and deploy run 41854096960 shipped it.

    Left:

  3. HMarzban commented on Nov 9, 2026

    @HMarzban
    CollaboratorAuthor

    Shipped in @docs.plus/[email protected] on npm (2026-11-09). The published dist exports the new names, and wholeLink is gone. The migration guide and the 2.3.0 changelog list the renames.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions