remirror v0.2.0 Release Notes
Release Date: 2019-06-18 // almost 5 years ago-
โ Added
- ๐ Support for server side rendering (SSR) with passing integration tests for NextJS.
- ๐ Support for plain extension with styles impacting SSR (PlaceholderExtension can be rendered in SSR).
@remirror/core
:ssrTransformer
added to extension methods as a way of wrapping and transforming the JSX element produced on the server.@remirror/core
:SSRComponent: React.ComponentType<any>
option added toMarkExtensionOptions
andNodeExtensionOptions
as a way of overriding the component rendered in an SSR environment.@remirror/core
:SSRHelpersExtension
added as a shorthand way of defining SSR transformations via ssrTransformer.@remirror/core
:injectBrIntoEmptyParagraphs
added for better SSR rendering.@remirror/react-utils
:isReactFragment
added to test if an element is a fragment.- โ Create better unit tests for SSR.
- โ Add a changelog with changes starting from
v0.1.0
๐ Changed
- ๐ฅ ๐ฅ BREAKING: Rename
@remirror/ui-*
packages to@remirror/editor-*
for example @remirror/ui-twitter is .now called@remirror/editor-twitter
. - ๐ฅ ๐ฅ BREAKING
@remirror/editor-twitter
: RenameUITwitter
andTwitterUI
toTwitterEditor
. - ๐ฅ ๐ฅ BREAKING
@remirror/editor-markdown
: RenameUIMarkdown
andMarkdownUI
toMarkdownEditor
. - ๐ฅ ๐ฅ BREAKING
@remirror/editor-wysiwyg
: RenameUIWysiwyg
andWysiwygUI
toWysiwygEditor
. - ๐ Speed up tslint by enforcing linting on individual modules (new
tsconfig.lint.json
files). - โ Remove
cx
import fromemotion
library in from@remirror/core
to reduce the bundle size. - ๐
Set
@emotion/core
and@emotion/styled
as peer dependencies.
โ Removed
- ๐ฅ ๐ฅ BREAKING:
@remirror/ui-*
packages.