Skip to content

Commit 01a57e6

Browse files
Claudio Procidafacebook-github-bot
Claudio Procida
authored andcommitted
Updates CHANGELOG for v0.11.0 (#2052)
Summary: **Summary** Updates the CHANGELOG for v0.11.0 This is going to be a refinement process from a very raw git log containing 200+ commits since v0.10.5. The focus should be on - Advertising new functionality - Highlighting breaking API changes - Rolling up subsequent updates affecting the same feature or dependency into the most recent change to reduce the noise - Attribute changes to contributors and link to relevant issues, PRs, and profiles **Test Plan** Proofreading Pull Request resolved: facebookarchive/draft-js#2052 Reviewed By: claudiopro Differential Revision: D16171723 Pulled By: mrkev fbshipit-source-id: 41ca634e0e9903c45042299f05090e140e68c987
1 parent d7be0c2 commit 01a57e6

File tree

1 file changed

+249
-0
lines changed

1 file changed

+249
-0
lines changed

CHANGELOG.md

Lines changed: 249 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,255 @@ Notable changes to Draft.js will be documented in this file.
44

55
Changes to `src` are live in production on facebook.com at the time of release.
66

7+
## 0.11.0 (July 9th, 2019)
8+
9+
### Added
10+
* Adds support for nullish coalescing operator (#2076) (Claudio Procida in 96c7221)
11+
* Add import statements for hooks-example in README (#2075) (Bennett in 943f6dc)
12+
* Unit tests for DraftStringKey (Claudio Procida in 978ad6b)
13+
* Adding Hooks in docs (#2004) (Charles ⚡ in f9f5fd6)
14+
* Exports `isSoftNewlineEvent` as static method of `KeyBindingUtil` (Kevin Hawkinson in aede823)
15+
* Add live demo to README.md (#1907) (PLa in 6db3726)
16+
* added highlighting (`<mark>` tag) to draft js html to content block converter (Isaiah Solomon in 37f2f2a)
17+
* Relicense under MIT and remove patents grant (#1967) (Claudio Procida in 585af35)
18+
* Ctrl-K at end of line should delete newline (Sophie Alpert in 6455493)
19+
* Add type annotations to `React.Component` classes in html/shared (Paco Estevez Garcia in 2e3a181)
20+
* Add return type annotation to `addEmojiInput` (Sam Goldman in 280d242)
21+
* Unstyle empty list item on Enter key (#769) (Eric Biewener in a0267a9)
22+
* Allow Option+Space to be handled on OSX Chrome (#1254) (Colin Jeanne in 022bcf7)
23+
* Added information about nature of block keys (#1892) (Prateek Nayak in 8ad59c4)
24+
* Add flow to files (Nivedita Chopra in d87e093)
25+
* Docs: add explicit deprecation notes to Entity methods (#1787) (vinogradov in cc6b897)
26+
* Clarifies editor example, changes height to min-height (#1889) (Claudio Procida in 67d6fda)
27+
* Improves editor overview example with min height and border (#1887) (Claudio Procida in b8862fd)
28+
* Adds iframed editor example (#1879) (Claudio Procida in 8d5cbbe)
29+
* Perform untab on backspace for nested items (Nivedita Chopra in 0688fa3)
30+
* Support custom block rendering (Nivedita Chopra in fbe2267)
31+
* Updates favicons and launcher icons with Draftjs logo (#1872) (Claudio Procida in d9c9d40)
32+
* Merge successive non-leaf blocks resulting from tab (Nivedita Chopra in fbd18ce)
33+
* Merge successive non-leaf blocks resulting from untab (Nivedita Chopra in 36e588a)
34+
* Unnest the first non-leaf child (Nivedita Chopra in 0cb3804)
35+
* Implement untab operations (Nivedita Chopra in 77e6844)
36+
* added favicon (#1871) (saranshkataria in b9dd551)
37+
* Add Algolia search (#1864) (Yangshun Tay in 1bf2145)
38+
* `KeyBindingUtil`: add `usesMacOSHeuristics` method (#869) (William Boman in 98e7730)
39+
* Export `RawDraftContentState` publicly (#1841) (Cédric Messiant in c6ff39d)
40+
* Implement moveChildUp operation for untab (Nivedita Chopra in e145a2a)
41+
* Allow insertion at a specific point for updateParentChild (Nivedita Chopra in 6b83312)
42+
* Implement onTab in NestedRichTextEditorUtil (Nivedita Chopra in 8d3cfba)
43+
* Add utilty methods for creating a new parent & updating node to become sibling's child (Nivedita Chopra in 6f73657)
44+
* Add utility methods for parent-child & sibling pointer updates (Nivedita Chopra in 0cb80b7)
45+
* Warn visibly when extensions break Draft (Sophie Alpert in c0fb6a8)
46+
* Add data structure invariants for tree data (Nivedita Chopra in ad4f64f)
47+
* Add Draft.js logo to header (Joel Marcey in 0ce20bc)
48+
* Enable deprecated-type rule in www (George Zahariev in dc9fa27)
49+
* Add different counter-style for ordered lists based on their depth (Noam Elboim in d2a3ae8)
50+
* Finish modernizing `convertFromHTMLToContentBlocks` - max nesting bug fix (Noam Elboim in 06c0ee6)
51+
* Finish modernizing `convertFromHTMLToContentBlocks` - upgrade draft-js internals (Noam Elboim in d24b802)
52+
* Finish modernizing `convertFromHTMLToContentBlocks` - nesting bug fix (Noam Elboim in 49bdd85)
53+
* Add docs about `DraftDecoratorComponentProps` (Flarnie Marchan in 7fddfcd)
54+
* Add list block `onTab` test (il kwon Sim in 102701c)
55+
* Integrating experiments on playground (mitermayer in b6ae887)
56+
* Add clarifying comments to `getRemovalRange` (Flarnie Marchan in 28cb4a3)
57+
* Adding Rich Editor to the playground (mitermayer in 227d125)
58+
* Allow indentation beyond one level deeper than block above. (Eric Biewener in 73e5a9c)
59+
* Enabling a GK manager for the plaground (mitermayer in 8eea2c2)
60+
* Bundle size stats (Alan in 5ffce3d)
61+
* Clear block type when pressing backspace (Sophie Alpert in 6a1e2b0)
62+
* added favicon to website (Michael Baldwin in 6cc2d85)
63+
* expose start/end positions of a decorated component within a contentBlock (Matthew Mans in 3a3d34b)
64+
* Add draft js playground (Julian Krispel-Samsel in 18fdffb)
65+
66+
67+
### Changed
68+
* Moves test for legacy convertFromHTMLToContentBlocks out of OSS repo (Claudio Procida in 5eb49b1)
69+
* Removes legacy convertFromHTMLToContentBlocks from OSS repo (Claudio Procida in a7d955e)
70+
* Renames convertFromHTMLToContentBlocks2 to convertFromHTMLToContentBlocks (Claudio Procida in d08399b)
71+
* Removes all resolved uses of convertFromHTMLToContentBlocks_DEPRECATED (Claudio Procida in ec43403)
72+
* draft-js: clean up useless divs from HTML when pasting content (Daniel Quadros de Miranda in 0f5427a)
73+
* docs: remove --save flag (#2008) (Mounish Sai in f92d4b1)
74+
* Rename DraftEditorBlock to EditorBlock (#2002) (Umang Galaiya in 8514b57)
75+
* Removes unnecessary eslint disable rules (Claudio Procida in 1ba0764)
76+
* Upgrades react-scripts to ^1.1.5 (#2042) (Claudio Procida in 71ef373)
77+
* Upgrades docusaurus (#2039) (Claudio Procida in 21753fa)
78+
* Removes unused gulp-browserify-thin (#2032) (Claudio Procida in fc3549a)
79+
* Upgrades @babel/core, babel-preset-fbjs, and gulp-util (#2028) (Claudio Procida in 68196f6)
80+
* Deploy 0.94 to www (George Zahariev in 6183935)
81+
* deploy 0.93 (Daniel Sainati in 3400cda)
82+
* Normalize case in `convertFromHTMLToContentBlocks` variable names (Claudio Procida in b4183b1)
83+
* Cleans up and refreshes generated website resources (#1998) (Claudio Procida in bd799f5)
84+
* Upgrades Draft to React 16.8 ⚛️ (#1996) (claudiopro in a97ed7e)
85+
* Adds email notifications for TravisCI builds (#1990) (Claudio Procida in a4cc10d)
86+
* Upgrades flow-bin to 0.91.0 and mutes fbjs joinClasses error � (#1989) (Claudio Procida in e8a281c)
87+
* Update to 0.92.0 (Paco Estevez Garcia in c022efb)
88+
* Update webpack-dev-server & babel version in TeX examples (#1981) (Nivedita Chopra in a3a3585)
89+
* Remove `componentWillReceiveProps` usages in examples (#1952) (Deep in 363f66e)
90+
* Upgrade to Gulp 4 (fixes build) (#1957) (Kevin Chavez in 85ad25c)
91+
* Kill permanent permanently. (Andrey Sukhachev in 236270a)
92+
* Deploy Flow v0.85 to www (Sam Goldman in 744af91)
93+
* flow 0.84 www deploy (Avik Chaudhuri in 59dd225)
94+
* Bring back the ariaOwneeID prop. (#1883) (Andrea Fercia in ce7f677)
95+
* Add Node.js version 10 for CI (#1909) (noelyoo in 4a9a6a8)
96+
* Refactor buffer constructor (#1912) (noelyoo in 11d7379)
97+
* Update Advanced-Topics-Inline-Styles.md (#1902) (Yao Bin in 0b7ec2a)
98+
* Remove flow typing for DraftEntity mock (#1891) (Nivedita Chopra in 75aa88a)
99+
* Flow strict for some files (Nivedita Chopra in bbd3ef1)
100+
* Update documentation concerning immutable updates (#1884) (Connor Jennings in c336ae2)
101+
* Update docs to ensure kebab menu shows subheads (#1885) (Connor Jennings in 2ff0c7e)
102+
* Support npm version 6.x (#1866) (Yangshun Tay in 724fdc6)
103+
* Remove unused var in BlockTree (#1859) (Nivedita Chopra in 0a45fcd)
104+
* Update jest version to latest (#1858) (Nivedita Chopra in b962974)
105+
* Update Advanced-Topics-Entities.md (#1767) (alaoui abdellah in d40ff40)
106+
* Update link to code of conduct (#1855) (Nivedita Chopra in 8c373b6)
107+
* var => const on remaining file (Nivedita Chopra in 022798c)
108+
* Update prettier version to 1.13.6 (#1854) (Nivedita Chopra in e2c24cf)
109+
* Remove Flow Strict Local from files with future sketchy-null errors after bug fix (George Zahariev in c5b785a)
110+
* Remove non-leaf blocks in tree => raw conversion (Nivedita Chopra in f5b2acb)
111+
* Update Docusaurus to 1.3.3 (#1797) (Yangshun Tay in d6a0ac0)
112+
* modify docs overview url (#1802) (Shubham Tiwari in 9f86efb)
113+
* v0.79.1 in www (Panagiotis Vekris in 93a90a9)
114+
* Remove gating on draft_non_native_insertion_forces_selection (Sophie Alpert in 1a5b27a)
115+
* 5/n Disable forward delete across blocks when nested blocks are enabled (Flarnie Marchan in 0600549)
116+
* 3/n Splitting PR #1828: updates to the Rich Text Editor example (#1828) (mitermayer in e98e91e)
117+
* 2/n splitting PR #1828: updating `removeRangeFromContentState` (#1828) (mitermayer in a399e43)
118+
* 1/n splitting PR #1828: Initial forking of `RichTextEditorUtil` (#1828) (mitermayer in 328ddc6)
119+
* Warn if `moveSelectionForward/Backward` called with non-collapsed selection (Flarnie Marchan in 99eca6b)
120+
* codemod jasmine -> jest in html/shared (Aaron Abramov in 7f9299d)
121+
* Remove logo from background circle (#1800) (Paul O’Shannessy in 47ae65a)
122+
* var => const on test files (Nivedita Chopra in 0f58b64)
123+
* Migrate to Docusaurus - Attempt #2 (Noam Elboim in 710919b)
124+
* Remove old decorator fingerprint logic (Sophie Alpert in b2f6ed0)
125+
* Use strict-local in as many files as possible (Miorel Palii in 3798902)
126+
* Pass eventTimeStamp to `handleKeyPress` to allow tracking (Flarnie Marchan in 0ecf9a6)
127+
* Pass synthetic event to `handleBeforeInput` callback (Flarnie Marchan in b86b5ce)
128+
* `React.Element<any>` / `React.Element<*>` -> `React.Node` as much as possible (Miorel Palii in a1f4593)
129+
* Change remaining vars to let/const (Nivedita Chopra in 8de2db9)
130+
* Removed `@providesModule` tags and dependencies from draft-js (Rubén Norte in ee2e9c8)
131+
* Add `@providesModule` back to draft-js modules (Ashley Watkins in 05b2b4c)
132+
* Add common Flow type for decorator components (Ashley Watkins in 8000486)
133+
* Add `@providesModule` back to draft-js modules (Rubén Norte in 4c4465f)
134+
* Removed `@providesModule` tag from non-generated files in html/shared directories (1/1) (Rubén Norte in 293f262)
135+
* 2/n Remove last vestiges of cWU (Flarnie Marchan in e954091)
136+
* 1/n Move `blockSelect` flag out of cWU (Flarnie Marchan in 0f6199d)
137+
* Upgrade to Flow v0.68.0 (Sam Goldman in a99f51e)
138+
* Strict-ify files that can be strict-ified with no additional changes (Miorel Palii in 22f9c52)
139+
* rename-unsafe-lifecycles (Brian Vaughn in 8b3e8c9)
140+
* Refactor `convertFromHTMLtoContentBlocks` (Nicolas Champsavoir in 732b69d)
141+
* Making gkx overwrittable (mitermayer in 7495adf)
142+
* 2/n Do update `blockSelectEvents` flag, during render (Flarnie Marchan in e571268)
143+
* 1/n remove GK on `flushSync` (Flarnie Marchan in 4241f43)
144+
* Playground - Making sure blockMap should always visible by default (mitermayer in 7eb2a50)
145+
* Move uglifyjs-webpack-plugin to devDependencies (Thibaud Colas in 4de1345)
146+
* Making a more sane .gitignore (mitermayer in f4bc3a7)
147+
* Examples cleanup (Ken Hibino in 67f3586)
148+
* Ensure selection collapses if user tries to replace with matching text (Brian Ng in 084bdb6)
149+
* Move `_latestEditorState` assignment back to commit phase (Sophie Alpert in 04c2b9c)
150+
* Remove Node 6 from engines list in package.json (Thibaud Colas in 584d849)
151+
* Update `_latestEditorState` in render too (Flarnie Marchan in 90a8f22)
152+
* Widen logging and add stack trace for IE selection bug (Flarnie Marchan in a6317e6)
153+
* Match block and inline examples for consistency. (cbeninati in e65a8e6)
154+
* Bundle size stats + Misc changes (Alan Norbauer in 0a1f981)
155+
* Remove `componentWillUpdate` under GK (Flarnie Marchan in 7885959)
156+
* try disabling 'blockSelectEvents' flag (Flarnie Marchan in d144883)
157+
* Update site footer from 2017 -> 2018 (Michael Chen in 558352c)
158+
* Make the Flow type of `CompositeDraftDecorator`'s constructor more strict (Steven Luscher in a894030)
159+
* Deprecated the coarse `onArrowUp` et al key handler props on `DraftEditor.react` to make it possible to produce editor commands from these keys (Steven Luscher in dc5ca7f)
160+
* Wrap Draft handlers in `flushControlled` instead of `flushSync` (Andrew Clark in cda13cb)
161+
* Update docs/APIReference-Editor.md (Sai Kishore Komanduri in 27a5f10)
162+
* Bumping internal flow version (mitermayer in 342a51a)
163+
* Switch from `DraftFeatureFlags` to gkx() (Sophie Alpert in 07eb9c4)
164+
* Add `flushSync` to Draft.js for *only* GK folks (Flarnie Marchan in 26040e5)
165+
166+
### Fixed
167+
* Fixed drag and drop `.length` error (#2117) (job in 2487e7d)
168+
* Fix broken id anchor (#2095) (Sajad Torkamani in eddcc55)
169+
* Typo corrected - Overview.md (#2089) (Jonathan Erlich in 87a812d)
170+
* fix: set to nested list items to right depth (Kevin Li in 12c4480)
171+
* fix(styles): avoid permanently accumulating attribute styles (Kevin Li in 7cfb055)
172+
* Fixes runtime error when cutting empty selection at the end of the content (Claudio Procida in 23fc70f)
173+
* Fixing major Android editing issues (#2035) (Fabio M. Costa in 634bd29)
174+
* Fix broken link in Overview.md (#2062) (seojeee in e8e0bcf)
175+
* Fix failing `DraftStringKey` test (#2064) (Claudio Procida in fe4e266)
176+
* Fixes require order lint issues /2 (Claudio Procida in 76e121e)
177+
* Fixes require order lint issues (Claudio Procida in e2c5357)
178+
* Fix the issue of draft JS does not do copy and paste correctly with custom entities. (Tee Xie in d09ef3e)
179+
* fix typo in README.md (#2055) (Tanner Eustice in 75a89ff)
180+
* rename `*.test.js` to `*-test.js` to match naming convention (Aaron Abramov in dc58df8)
181+
* Convert some of draftjs' `ReactDOM.findDOMNode` to refs (#2051) (Dennis Wilkins in 1fae34f)
182+
* Correct warning condition (#2049) (Ben Gardner in ffd8f59)
183+
* Fix npm run dev (#2030) (Fabio M. Costa in 3c01ef6)
184+
* Specify correct type of `joinClasses` (George Zahariev in 7b9a7e1)
185+
* Restores flow error suppression for fbjs@1.0.0 (#2014) (Claudio Procida in 6a26a82)
186+
* Fix leading line feed conversion (Guillaume Aubert in 5081c87)
187+
* Handles `<br>` tags in refactored HTML converter (Claudio Procida in fdf63aa)
188+
* Typo fix in code comment (#1997) (Deniz Susman in e84e757)
189+
* Fix bad destructuring when content block key has a `-` (#1995) (Jan Karlo Dela Cruz in c21a9f7)
190+
* Fix typo in code comment for DraftEditor (#1991) (Deniz Susman in 7167210)
191+
* Fixes lint warnings in `convertFromHTMLToContentBlocks2` tests (Claudio Procida in e942ee9)
192+
* Update fbjs to 1.0.0 to fix ReDos Vulnerability (#1978) (Anthony Muscat in 9b2a366)
193+
* Normalize copyright headers to BSD + patents grant and drop the year (#1964) (Claudio Procida in 642aa11)
194+
* Fixes flow error (#1962) (Claudio Procida in fb7882b)
195+
* Remove unused suppression comments from www as of v0.89 (Gabe Levi in 8dd6dda)
196+
* Add correct type annotations to DraftEditor.react.js (Paco Estevez Garcia in 83edf02)
197+
* Fix `$FlowFixMe` type not working for CI builds of draft-js (Paco Estevez Garcia in 81f92ee)
198+
* Annotate exports codemod on html/shared (Paco Estevez Garcia in 7cb10f9)
199+
* Revert D13097194: [codemod][types-first] Add type annotations to html/shared (Craig Phillips in 010fce7)
200+
* Add type annotations to html/shared (Paco Estevez Garcia in 6f4102d)
201+
* Fix all 'curly' violations (Paul O'Shannessy in ab199ef)
202+
* Fix tex and universal examples crash because of different React versions (#1756) (#1931) (Thibaud Colas in 7dddded)
203+
* Fix typo (#1913) (noelyoo in 1d3c77f)
204+
* Fixes some drag-n-drop problems (#1599) (Denis Oblogin in 20a0f73)
205+
* Bug/1668 (#1691) (Alexis H in 1d2d854)
206+
* Fix SelectionState’s `hasEdgeWithin` (#1811) (Andrew Branch in 7666e95)
207+
* Fix drop issue (#1725) (LaySent in 800d6b5)
208+
* fixes #868 (#1878) (Julian Krispel in 6ba124c)
209+
* Fix check for tree blocks (Nivedita Chopra in 690f7ef)
210+
* Fix bug in merge blocks (Nivedita Chopra in 7daa87e)
211+
* Fix raw to tree conversion (Nivedita Chopra in 8ac1922)
212+
* Bug Fix - Remove deleted block from its parent's children (Nivedita Chopra in 02e0e00)
213+
* Fix small typo (#1865) (Valentin Hervieu in 8bb9c6c)
214+
* Fix paste handling for images with `role="presentation"` (Jainil Parekh in 6df3808)
215+
* Minor fix in entities docs (#1534) (Alastair Hole in 9f0d115)
216+
* Fixes incorrect docs, see #1497 (#1837) (Matt Greenfield in a18b6fe)
217+
* Fixes warning for missing keys in example color controls (#1853) (Claudio Procida in 4a5ad07)
218+
* Fix Lint errors for type imports (Nivedita Chopra in e6c693c)
219+
* Fix Travis breakage caused due to unimported `idx` module (Nivedita Chopra in 3306ddf)
220+
* Fix `DraftTreeAdapter` to respect the tree invariants (Nivedita Chopra in 39be488)
221+
* Inline call to `gkx` to combat fatal in `ContentState` (Steven Luscher in a6c9ffd)
222+
* Handle ReactDOM type errors (Ashley Watkins in 9130859)
223+
* Fix tree invariants test (#1836) (Nivedita Chopra in 05208a8)
224+
* Fix unlucky failures in character replacement (Sophie Alpert in ae25b8f)
225+
* Regression test for bug with nested block and deleting (Flarnie Marchan in 2d7ad18)
226+
* Tree Data - Fix for backspace at the start of a nested block (Nivedita Chopra in cf48f77)
227+
* Tree Data - Don't update pointers if range is within the same block (Nivedita Chopra in f3d3490)
228+
* Fix Draft input cursor jumping to the end (Dan Abramov in 37dadd3)
229+
* Fix tests to be independent on the implementation of invariant (Matthew McKeen in 81cc54b)
230+
* Re-apply order-requires linter on html/shared/ (Dave Alongi in 0bb8d76)
231+
* Auto-fix `prefer-const` ESLint rule (3/n) (Miorel Palii in bf1a028)
232+
* Auto-fix all auto-fixable eqeqeq problems (Miorel Palii in eea70f4)
233+
* Fixing Docusaurus migration issues (Noam Elboim in 72ad814)
234+
* Fix block tree before/after comparison (Sophie Alpert in fa88ee1)
235+
* Fixed license, Flow and lint issues in draft-js (Rubén Norte in 3e9ff8e)
236+
* Actually for real fix the flow type of decorator props (Flarnie Marchan in 7e1a107)
237+
* Workaround for BlockNode variance issue caused by flow transform (#1621) (Bob Ippolito in 1d77500)
238+
* Revert "rename-unsafe-lifecycles" (mitermayer in 6eec8f9)
239+
* Fix typo (Aditya Bhardwaj in 6ef6c66)
240+
* Website: Fixed code highlight (Marcelo Jorge Vieira in 04c667c)
241+
* Fixing tex example (Guilherme Miranda in 900ef76)
242+
* Fix typo (Thomas Broadley in 35b3605)
243+
* Fixing master (mitermayer in 4c12ead)
244+
* Fix Linux keyboard shortcuts (Thomas Nardone in f6fbf1c)
245+
* fix typo in changelog (Flarnie Marchan in 93bc209)
246+
247+
### Meta
248+
* Add issue triage guidelines to CONTRIBUTING.md (#1896) (Nivedita Chopra in 7df9eb9)
249+
* Add meeting notes for 10/12 (#1901) (Nivedita Chopra in 9a96ab0)
250+
* Add meeting notes from 9/7 (#1862) (Nivedita Chopra in b8ea228)
251+
* Change oncall to draft_js (Nivedita Chopra in fbc8a0c)
252+
* Update biweekly sync meeting notes from February 2018 (Flarnie Marchan in 1ef4044)
253+
* Update weekly meeting notes from Oct. 2017 - Jan. 2018 (Flarnie Marchan in 7017825)
254+
255+
7256
## 0.10.5 (January 19th, 2018)
8257

9258
### Added

0 commit comments

Comments
 (0)