Draft.js v11.0.5 Release Notes

Release Date: 2020-03-27 // about 4 years ago
  • 0.11.5 (Mar 26, 2020)

    βœ‚ Removed

    • βœ‚ Remove examples for draft.js 0.9.0 (#2358) (Kevin Chavez in fd16d8e)

    πŸ”„ Changed

    • ⚑️ Update deps in 'universal' example (#2362) (Kevin Chavez in dc8bfbb)
    • βœ‚ Remove unused Flow suppressions in WWW (George Zahariev in 3858858)
    • πŸ‘Œ Improve types for EditorState (Kevin Chavez in 792bd3a)
    • Don't SSR example editor on website. (#2356) (Kevin Chavez in 9191a3f)
    • πŸ”§ Deprecate Travis Bot files and configuration (Chris LΓΌer in 6c1c654)
    • Require ReactDOMComet instead of ReactDOM (Dan Abramov in 6630163)
    • Strictify DraftEditorLeaf.react.js (Kevin Chavez in b4a1db9)
    • πŸ‘‰ Make decodeEntityRanges flow strict (Kevin Chavez in 7af73b7)
    • 🚚 Move key to static argument instead of spread (Sebastian Markbage in d6527a9)
    • "ecmascript" => "ECMAScript" (#2327) (Agastya Chandrakant in 6cfed73)
    • Abstract ReactDOM as ReactDOMComet (Sebastian Markbage in 24339f1)
    • ⚑️ Prevent (but not fix) β€˜Cannot read property 'getIn' of undefined’ in getUpdatedSelectionState (Steven Luscher in a9fcbb2)
    • πŸ‘‰ Make some more modules strict(-local) (Kevin Chavez in c30ca73 and 7002565)
    • ⚑️ Update webpack deps (#2310) (Kevin Chavez in 0131e1d)
    • βœ‚ Remove unused gulp task remained from docusaurus 2 migration (#2308) (Kanitkorn S in 963e312)
    • Re-write DraftEditorExample in the website using react hooks (#2287) (Kevin Chavez in 9b9376b)
    • βž• Add a preventScroll prop (Dan Abramov in 3ba907b)
    • βž• Add editorRef prop to DraftEditor (Dan Abramov in 8c50042)
    • βœ‚ Remove findDOMNode from DraftEditorBlockNode (Sebastian Markbage in 0dd3978)
    • βœ‚ Remove findDOMNode in DraftEditorDragHandler (Sebastian Markbage in c1a55ce)
    • βœ‚ Remove findDOMNode from getContentEditableContainer (Sebastian Markbage in 9d587d9)
    • ⬆️ Upgrade to Flow explicit inexact object type syntax (Jordan Brown in b051fc1)
    • ⬆️ Upgrade eslint + flow, and fix failed test from nullishCoalescingOperator (#2083) (Kanitkorn S in 824fd12)
    • πŸ‘· chore(travis): bumps node versions used in Travis CI to 10 and 12 (#2300) (Claudio Procida in e711230)

    πŸ›  Fixed

    • πŸ›  Fix Uncaught TypeError: Cannot read property 'nodeType' of null at editOnInput (#2330) (Konstantin Tarkus in db3216d)
    • πŸ›  Fix keyBindingFn documentation URL (Ryan Silva in 3251017)
    • πŸ›  fix style handling in convertFromHTMLToContentBlocks (Frank Thompson in ad8374d)
    • βœ‚ remove unused flow suppressions (Panagiotis Vekris in 822d2fb)

Previous changes from v0.11.5

  • 0.11.5 (Mar 26, 2020)

    βœ‚ Removed

    • βœ‚ Remove examples for draft.js 0.9.0 (#2358) (Kevin Chavez in fd16d8e)

    πŸ”„ Changed

    • ⚑️ Update deps in 'universal' example (#2362) (Kevin Chavez in dc8bfbb)
    • βœ‚ Remove unused Flow suppressions in WWW (George Zahariev in 3858858)
    • πŸ‘Œ Improve types for EditorState (Kevin Chavez in 792bd3a)
    • Don't SSR example editor on website. (#2356) (Kevin Chavez in 9191a3f)
    • πŸ”§ Deprecate Travis Bot files and configuration (Chris LΓΌer in 6c1c654)
    • Require ReactDOMComet instead of ReactDOM (Dan Abramov in 6630163)
    • Strictify DraftEditorLeaf.react.js (Kevin Chavez in b4a1db9)
    • πŸ‘‰ Make decodeEntityRanges flow strict (Kevin Chavez in 7af73b7)
    • 🚚 Move key to static argument instead of spread (Sebastian Markbage in d6527a9)
    • "ecmascript" => "ECMAScript" (#2327) (Agastya Chandrakant in 6cfed73)
    • Abstract ReactDOM as ReactDOMComet (Sebastian Markbage in 24339f1)
    • ⚑️ Prevent (but not fix) β€˜Cannot read property 'getIn' of undefined’ in getUpdatedSelectionState (Steven Luscher in a9fcbb2)
    • πŸ‘‰ Make some more modules strict(-local) (Kevin Chavez in c30ca73 and 7002565)
    • ⚑️ Update webpack deps (#2310) (Kevin Chavez in 0131e1d)
    • βœ‚ Remove unused gulp task remained from docusaurus 2 migration (#2308) (Kanitkorn S in 963e312)
    • Re-write DraftEditorExample in the website using react hooks (#2287) (Kevin Chavez in 9b9376b)
    • βž• Add a preventScroll prop (Dan Abramov in 3ba907b)
    • βž• Add editorRef prop to DraftEditor (Dan Abramov in 8c50042)
    • βœ‚ Remove findDOMNode from DraftEditorBlockNode (Sebastian Markbage in 0dd3978)
    • βœ‚ Remove findDOMNode in DraftEditorDragHandler (Sebastian Markbage in c1a55ce)
    • βœ‚ Remove findDOMNode from getContentEditableContainer (Sebastian Markbage in 9d587d9)
    • ⬆️ Upgrade to Flow explicit inexact object type syntax (Jordan Brown in b051fc1)
    • ⬆️ Upgrade eslint + flow, and fix failed test from nullishCoalescingOperator (#2083) (Kanitkorn S in 824fd12)
    • πŸ‘· chore(travis): bumps node versions used in Travis CI to 10 and 12 (#2300) (Claudio Procida in e711230)

    πŸ›  Fixed

    • πŸ›  Fix Uncaught TypeError: Cannot read property 'nodeType' of null at editOnInput (#2330) (Konstantin Tarkus in db3216d)
    • πŸ›  Fix keyBindingFn documentation URL (Ryan Silva in 3251017)
    • πŸ›  fix style handling in convertFromHTMLToContentBlocks (Frank Thompson in ad8374d)
    • βœ‚ remove unused flow suppressions (Panagiotis Vekris in 822d2fb)