Remirror: [email protected] Release

Release date:
May 5, 2022
Previous version:
[email protected] (released May 3, 2022)
Magnitude:
543 Diff Delta
Contributors:
3 total committers
Data confidence:
Commits:

Top Contributors in [email protected]

remirror-bot
whawker
ocavue

Directory Browser for [email protected]

We haven't yet finished calculating and confirming the files and directories changed in this release. Please check back soon.

Release Notes Published

2022-05-05

Patch Changes

  • Update ProseMirror packages.

  • Add support for autoLinkAllowedTLDs which enables the restriction of auto links to a set of Top Level Domains (TLDs). Defaults to the top 50 TLDs (as of May 2022).

For a more complete list, you could replace this with the tlds or global-list-tlds packages.

Or to extend the default list you could

  import { LinkExtension, TOP_50_TLDS } from 'remirror/extensions';
  const extensions = () => [
    new LinkExtension({ autoLinkAllowedTLDs: [...TOP_50_TLDS, 'london', 'tech'] }),
  ];

Tweak auto link regex to prevent match of single digit domains (i.e. 1.com) and remove support for hostnames ending with "." i.e. "remirror.io."