Remirror: v1.0.0-next.2 Release

Release date:
July 6, 2020
Previous version:
v0.7.2 (released December 10, 2019)
Magnitude:
109,389 Diff Delta
Contributors:
16 total committers
Data confidence:
Commits:

761 Commits in this Release

Ordered by the degree to which they evolved the repo in this version.

Authored May 25, 2020
Authored April 18, 2020
Authored June 17, 2020
Authored May 20, 2020
Authored May 18, 2020
Authored March 29, 2020
Authored May 28, 2020
Authored May 26, 2020
Authored April 12, 2020
Authored June 8, 2020
Authored January 10, 2020
Authored April 12, 2020
Authored May 17, 2020
Authored June 6, 2020
Authored March 30, 2020

Top Contributors in v1.0.0-next.2

ifiokjr
benjie
github-actions[bot]
tomas-c
ocavue
allcontributors[bot]
lightpohl
hboylan
lanyusan
domq

Directory Browser for v1.0.0-next.2

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

Release Notes Published

Major Changes

  • The whole API for remirror has completely changed. These pre-release versions are a breaking change across all packages. The best way to know what's changed is to read the documentaion on the new documentation site https://remirror.io.
  • 28bd8bea: This is a breaking change to the structure of published npm packages.

    • Move build directory from lib to dist
    • Remove option for multiple entry points. It is no longer possible to import module from '@remirror/core/lib/custom'
    • Only use one entry file.
    • Remove declaration source mapping for declaration files
    • Remove the src directory from being published.
  • 7b817ac2: Rename all types and interfaces postfixed with Params to use the postfix Parameter. If your code was importing any matching interface you will need to update the name.

  • 09e990cb: Update EditorManager / ExtensionManager name to be **RemirrorManager.

Minor Changes

  • Previously the useRemirror hook only updated when the provider was updated. There are times when you want to listen to specific changes from inside the editor.

The useRemirror hook now takes an optional onChange argument which is called on every change to the editor state. With this you can react to updates in your editor and add some really cool effects.

  • Add support for React.StrictMode.

Previously, activating StrictMode would cause the components to render twice and break functionality of RemirrorProvider due to an outdated check on whether getRootProps had been called. This check has been removed since it isn't needed anymore.