All Versions
79
Latest Version
Avg Release Cycle
3 days
Latest Release
1256 days ago

Changelog History
Page 8

  • v0.6.2 Changes

    October 21, 2019

    ๐Ÿ”„ Changed

    • โฌ†๏ธ Upgrade dependencies.
    • Internal cleanup.

    โœ‚ Removed

    • ๐Ÿšš @remirror/react-node-view - Remove SelectionObserver.
  • v0.6.1 Changes

    October 07, 2019

    ๐Ÿ”„ Changed

    • โฌ†๏ธ Upgrade dependencies.
    • ๐Ÿ‘‰ Use Object.create(null) instead of {} throughout the codebase.
  • v0.6.0 Changes

    September 25, 2019

    โž• Added

    • jest-prosemirror: New snapshot serializer exported as prosemirrorSerializer.
    • ๐Ÿ”Š jest-prosemirror: New debug method which logs the editor's prettified html to the console.
    • ๐Ÿ‘ prosemirror-suggest: Now supports ignoring activation characters to prevent matches from appearing in ignored sections.

    ๐Ÿ”„ Changed

    • @remirror/extension-mention: Fix a long standing bug where the editor crashes after deleting a single character mention.
  • v0.5.0 Changes

    September 23, 2019

    โž• Added

    • ๐Ÿ†• ๐Ÿš€ @remirror/react-hooks: New package for shared react hooks.
    • ๐Ÿ†• ๐Ÿš€ @remirror/react-portals: New package for the remirror / react portals.
    • ๐Ÿ†• ๐Ÿš€ @remirror/react-node-view: New package for prosemirror node views built with react components.
    • ๐Ÿ†• ๐Ÿš€ @remirror/dev: New package developing extensions and components.
    • ๐Ÿ†• ๐Ÿš€ prosemirror-suggest: New package for managing prosemirror suggestions.
    • ๐Ÿ†• ๐Ÿš€ test-keyboard: New package for dispatching keyboard events.
    • ๐Ÿ’ป ๐Ÿš€ @remirror/ui, @remirror/ui-buttons, @remirror/ui-dropdown, @remirror/ui-icons, @remirror/ui-menus, @remirror/ui-modal, @remirror/ui-text: New packages and several utilities for managing the ui of a remirror editor.
    • ๐Ÿš€ @remirror/core: Introduce the concept of meta tags for extensions. These allow an extension to tag itself and these tags are made available through the tag object which is passed to all extension methods.
    • ๐Ÿš€ @remirror/core: Add a helpers method to extensions. These are similar to commands except they don't have access to the view and shouldn't directly affect the editor. They can also return data and receive custom parameters. They can be accessed with manager.data.helpers.myHelper().
    • ๐Ÿš€ @remirror/core-extensions: Add TrailingNodeExtension to always append a specified node to the end of the dom.
    • @remirror/core: Add getExtraAttrs method to the extension which can be used in the (Mark/Node)Extension.
    • ๐Ÿš€ @remirror/core: Add DropCursorExtension for a cursor to show up at the exact location an item will be dropped.
    • ๐Ÿ‘ ๐Ÿš€ @remirror/core: Add GapCursorExtension for support of tricky to select locations.

    • 0๏ธโƒฃ Introduce new @builtin annotation to show when an extension is included by default.

    • Introduce new @schema annotation for extension options to indicated that an option should not be updated after creating or it will change the schema.

    • ๐Ÿ†• New command yarn generate:json which auto generates json files for support/rollup/rollup.config.js, support/storybook/.babelrc.js, support/tsconfig.paths.json and .size-limit.json. Previously these were maintained manually.

    ๐Ÿ”„ Changed

    • ๐Ÿ’ฅ ๐Ÿ’ฅ BREAKING @remirror/react-renderer: Updated the name of @remirror/renderer-react for consistency.
    • ๐Ÿ’ฅ ๐Ÿ’ฅ BREAKING @remirror/core: @emotion/core is now a peerDependency. When adding this library to your project you will need to yarn add @emotion/core as well. This is required to prevent bugs with version conflicts within the EmotionThemeProvider.
    • ๐Ÿ’ฅ ๐Ÿ’ฅ BREAKING @remirror/core: deepMerge now takes multiple parameters instead of one array of objects to merge.
    • ๐Ÿ’ฅ ๐Ÿ’ฅ BREAKING @remirror/core @remirror/core-extensions and all extensions: Refactor ExtensionTypes with a whole set of helpers for better type checking and self documenting types. Now the remirror component can receive the List of Extensions and from this infer the nodes, marks and actions available on any editor. Currently this inference has only been added to the Wysiwyg editor but will be added to the Twitter editor and all future editors.
    • ๐Ÿ’ฅ ๐Ÿ’ฅ BREAKING @remirror/core @remirror/core-extensions: Move ParagraphExtension from core to core-extensions. The reason is to not pollute the core library with formatting methods which are primarily just for extensions.
    • ๐Ÿ’ฅ ๐Ÿ’ฅ BREAKING @remirror/core: Rename ExtensionType.EXTENSION = 'extension' to ExtensionType.Plain = 'plain'.
    • ๐Ÿ’ฅ ๐Ÿ’ฅ BREAKING @remirror/ui: Rename @remirror/react-components to @remirror/ui. It is now the base component that will be used for all ui related functionality.
    • ๐Ÿ’ฅ ๐Ÿ’ฅ BREAKING @remirror/react-utils: Refactor the type signature of node views and improve their design. Now node view takes attrs and options.
    • ๐Ÿ’ฅ ๐Ÿ’ฅ BREAKING @remirror/react: Rename NodeViewPortalComponent to RemirrorPortals since it now supports decorations.
    • ๐Ÿ’ฅ ๐Ÿ’ฅ BREAKING @remirror/react: Change the name of useRemirror to useRemirrorContext.
    • ๐Ÿ’ฅ ๐Ÿ’ฅ BREAKING @remirror/editor-social: Rename @remirror/editor-twitter to @remirror/editor-social for branding reasons.
    • ๐Ÿ’ฅ ๐Ÿ’ฅ BREAKING @remirror/core: Rename NodeViewPortalContainer to PortalContainer.
    • ๐Ÿ’ฅ ๐Ÿ’ฅ BREAKING @remirror/core: Refactor the type signature of SSRComponents to only take a node and options extraAttrs configuration to enable parsing the dom.
    • ๐Ÿ’ฅ ๐Ÿ’ฅ BREAKING jest-prosemirror: Names of matchers have been changed. transformsPMNode is now toTransformNode and toEqualPMNode is now toEqualProsemirrorNode.

    • โšก๏ธ @remirror/core: Update extraAttrs configuration to enable parsing the dom.

    • 0๏ธโƒฃ @remirror/core: Make default priority level for extensions 3 instead of 2. A lower number means the extension is deemed more important and ordered earlier in lists.

    • @remirror/core-extensions: Add extraAttrs to the following extensions: LinkExtension, ParagraphExtension, HeadingExtension.

    โœ‚ Removed

    • ๐Ÿ’ฅ ๐Ÿ’ฅ BREAKING @remirror/renderer-react: Removed package.
    • ๐Ÿ’ฅ ๐Ÿ’ฅ BREAKING @remirror/react-utils: Remove placeholder prop from the RemirrorManager.
    • ๐Ÿ’ฅ ๐Ÿ’ฅ BREAKING @remirror/react: Remove higher order components.
    • ๐Ÿ’ฅ ๐Ÿ’ฅ BREAKING @remirror/react: Remove withoutEmotion prop. This should now be configured via the RemirrorThemeProvider component.
  • v0.4.1 Changes

    July 22, 2019

    ๐Ÿ”„ Changed

    • โš  @remirror/showcase: Allow the ExampleWysiwygEditor to use prop suppressHydrationWarning for SSR rendering.
    • โช @remirror/showcase: Revert unintended renaming of ExampleTwitterEditor to ShowcaseTwitterEditor.
  • v0.4.0 Changes

    July 22, 2019

    โž• Added

    • ๐Ÿš€ @remirror/extension-collaboration: Collaboration library added based on the brilliant example available in tiptap.
    • ๐Ÿš€ @remirror/extension-mention: Mentions can now be picked up from pasting data.
    • ๐Ÿš€ @remirror/extension-code-block: Add commands toggleCodeBlock, createCodeBlock, updateCodeBlock and formatCodeBlock, add keymap support for formatting, add backspace support for better navigation and other features.
    • @remirror/core: Add CommandNodeTypeParams, CommandMarkTypeParams, CommandTypeParams which is now passed to the commands method for extensions.
    • โš  @remirror/react-utils, @remirror/react: Add suppressHydrationWarning prop to Remirror component. Set to true to ignore the hydration warning for a mismatch between the server and client content.
    • @remirror/core: Add new extensionData method to the ExtensionManager which allows the extension to provide data on every transaction which will be available for consumption in the renderProp, React Context hooks and HOC's.
    • @remirror/core: Add getActions to the params of all extension manager methods. This will throw an error if called before initialization.
    • ๐Ÿ‘€ @remirror/core: Allow extensions to override baseExtension in the RemirrorManager component.
    • ๐Ÿ”ง @remirror/core: Add ensureTrailingParagraph as a configuration option for the paragraph node. In some scenarios, it is difficult to place a cursor after the last element. This ensures there's always space to select the position afterwards and fixes a whole range of issues. It defaults to false otherwise it breaks a lot of tests.
    • jest-prosemirror: Enable editorViewOptions for the createEditor method. For example, now it is possible to intercept transactions with the dispatchTransaction hook.
    • @remirror/renderer-react: Pass extension options through to SSR components as a prop.

    • โž• Add internal modifier key functions for puppeteer testing.

    • โž• Add integration editor tests for the Wysiwyg editor.

    ๐Ÿ”„ Changed

    • ๐Ÿ’ฅ ๐Ÿ’ฅ BREAKING @remirror/core: Change the way commands are configured. The command function on extensions now only accepts an object with the command names being globally unique. For example, the heading extension used to return a function now it returns an object with the following signature.
    {
      toggleHeading(attrs?: Attrs<{level: number}>): CommandFunction;
    }
    

    This command can now be accessed via actions.toggleHeading({ level: 2 })

    This is a large breaking change and may cause a lot of your existing code to stop working ๐Ÿ˜ข. ๐Ÿ‘ However, it paves the way for a better development experience, a simpler to manage library and some exciting features using type inference. Please do bear with me as I make these changes. I truly believe they'll be worthwhile.

    • ๐Ÿ’ฅ ๐Ÿ’ฅ BREAKING @remirror/core: Change usage isEnabled and isActive which are now methods on the command. e.g. actions.toggleHeading.isEnabled() would check whether the toggle heading button can be used at this moment.
    • ๐Ÿ’ฅ ๐Ÿ’ฅ BREAKING @remirror/core: Change Extension function signature actions of active and enabled.
    • ๐Ÿ’ฅ ๐Ÿ’ฅ BREAKING @remirror/core: Rename getEditorState to getState.
    • ๐Ÿ’ฅ ๐Ÿ’ฅ BREAKING @remirror/core: Change method getPortalContainer to property portalContainer on the extension manager.
    • ๐Ÿ’ฅ ๐Ÿ’ฅ BREAKING @remirror/extension-mention: Complete rewrite of internals and public API with better tests and more robust editing.
    • ๐Ÿ’ฅ ๐Ÿ’ฅ BREAKING @remirror/extension-mention: Change MentionExtension from NodeType to MarkType. Text is now editable after a mention is created.
    • ๐Ÿ’ฅ ๐Ÿ’ฅ BREAKING @remirror/react: Rename setChildAsRoot to childAsRoot on RemirrorContextProviderProps and all it consumers. This affects the RemirrorContextProvider, RemirrorProvider and ManagedRemirrorProvider exports. The prop now can take a boolean or the object with props to inject into the root.
    • ๐Ÿ’ฅ ๐Ÿ’ฅ BREAKING @remirror/react: All RemirrorProviders now require a children prop. This prevents a bug when rendering in non-dom environments.
    • ๐Ÿ’ฅ ๐Ÿ’ฅ BREAKING @remirror/react: dispatchTransaction has been renamed to onDispatchTransaction. It now must return a transaction and can be used to edit the transaction that will be used to create a new state.

    • ๐Ÿ› @remirror/core: Fix bug with extension manager failing to provide attributes from the extensions.

    • ๐Ÿ› @remirror/core: Fix TypeScript type of SSRComponent. Change from Component to ComponentType.

    • ๐Ÿ› @remirror/editor-twitter: Fix bug where text area didn't expand to the full height of editor container.

    • ๐Ÿ› @remirror/editor-wysiwyg: Fix bug where positioner was causing the editor to take up 10000 px in height.

  • v0.3.0 Changes

    July 06, 2019

    โž• Added

    • ๐Ÿšš @remirror/react: Add withoutEmotion which, when set to true, removes emotion (css-in-js) from the Remirror component. This is for those who don't like css-in-js and would like to work directly with the raw editor without random styles injected. Consuming the @remirror/react-components or any of the @remirror/editor-* packages will require the use of emotion.
    • @remirror/react-utils: Add oneChildOnly export which throws readable errors for invalid children props.

    ๐Ÿ”„ Changed

    • ๐Ÿ’ฅ ๐Ÿ’ฅ BREAKING @remirror/react-utils: Rename childIsFunction to propIsFunction and make it a pseudo predicate function (returns true when it doesn't throw an error).
    • ๐Ÿ’ฅ ๐Ÿ’ฅ BREAKING @remirror/react: Rename setChildAsRoot to childAsRoot on RemirrorContextProviderProps and all it consumers. This affects the RemirrorContextProvider, RemirrorProvider and ManagedRemirrorProvider exports. The prop now can take a boolean or the object with props to inject into the root.
    • ๐Ÿ’ฅ ๐Ÿ’ฅ BREAKING @remirror/editor-twitter: Rename uiTwitterTheme to TwitterEditorTheme.
    • ๐Ÿ’ฅ ๐Ÿ’ฅ BREAKING @remirror/core: Rename HasExtensions to ExtensionListParams.
    • ๐Ÿ’ฅ ๐Ÿ’ฅ BREAKING @remirror/core: It is now up to extensions to decide whether commands should be active when the editor is editable. isEditable method is now passed into the commands method as a means of checking.
    • ๐Ÿ’ฅ ๐Ÿ’ฅ BREAKING @remirror/react: All RemirrorProviders now require a children prop. This prevents a bug when rendering in non-dom environments.

    • โž• Add support for Git Large File Storage (LFS)

    • โœ… @remirror/editor-twitter, @remirror/editor-wysiwyg : Use image-snapshot testing to ensure SSR and DOM rendered editors are identical.

    • โšก๏ธ Update husky command from yarn stop:hooks and yarn start:hooks to yarn husky:stop and yarn husky:start.

    โœ‚ Removed

    • ๐Ÿ’ฅ BREAKING @remirror/react-utils @remirror/react @remirror/editor-markdown @remirror/editor-wysiwyg: Remove customRootProp from RemirrorProps.
    • ๐Ÿ’ฅ ๐Ÿ’ฅ BREAKING @remirror/core: Remove isEditable guard from command functions. It is now up to the command or the caller to decide if it should run when the editor is not editable. To help with this command params with the method isEditable are passed to the commands method of the extension.
    • ๐Ÿ’ฅ ๐Ÿ’ฅ BREAKING @remirror/core: Remove exports GetItemParamsMethod createFlexibleFunctionMap hasExtensionProperty extensionPropertyMapper transformExtensionMap ignoreFunctions.
  • v0.2.0 Changes

    June 18, 2019

    โž• 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 to MarkExtensionOptions and NodeExtensionOptions 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: Rename UITwitter and TwitterUI to TwitterEditor.
    • ๐Ÿ’ฅ ๐Ÿ’ฅ BREAKING @remirror/editor-markdown: Rename UIMarkdown and MarkdownUI to MarkdownEditor.
    • ๐Ÿ’ฅ ๐Ÿ’ฅ BREAKING @remirror/editor-wysiwyg: Rename UIWysiwyg and WysiwygUI to WysiwygEditor.
    • ๐Ÿ‘• Speed up tslint by enforcing linting on individual modules (new tsconfig.lint.json files).
    • โœ‚ Remove cx import from emotion library in from @remirror/core to reduce the bundle size.
    • ๐Ÿ’… Set @emotion/core and @emotion/styled as peer dependencies.

    โœ‚ Removed

    • ๐Ÿ’ฅ ๐Ÿ’ฅ BREAKING: @remirror/ui-* packages.
  • v0.1.0 Changes

    June 10, 2019

    โž• Added

    • Enable remirror as a controlled component #79 #78.
    • ๐Ÿ’ป @remirror/ui-markdown - Still in progress.
    • @remirror/extension-multicursor - this is currently just a stub (almost no code).
    • ๐Ÿ“š @remirror/api-documenter - will be used to generate the api documentation.

    ๐Ÿ”„ Changed

    • ๐Ÿ’ฅ BREAKING: Rename all extensions to include an Extension postfix. e.g. Emoji is now EmojiExtension. This will hopefully reduce name collisions in the future.
    • ๐Ÿ‘Œ Improves the puppeteer testing by separating it out from unit tests in the package.
    • โฌ†๏ธ Upgrade docz to v1 #65.
    • ๐Ÿ“„ General improvements to docs.
    • ๐Ÿ›  Fixes missing TypeScript definitions #77.
    • ๐Ÿ›  Fixes crash when rendering a ReactNodeView in NextJS #75.

    ๐Ÿš€ [unreleased]: https://github.com/remirror/remirror/compare/0.7.2...HEAD

    ๐Ÿš€ [0.1.0]: https://github.com/remirror/remirror/releases/tag/v0.1.0