v2.21.0
Notes
@khanniie here! This release includes an update to the core text editor component, migrating the library version from Codemirror 5 to 6. This is a major refactor as the two library versions are drastically different. We’ve done extensive testing and bug fixing to achieve parity with the current editor, but please don’t hesitate to file issues if anything comes up!
As a personal note, I’ve worked on this project on the side for a couple of years, and I’m so happy to see it finally launch! If everything goes well, end users won’t actually notice any difference, but hopefully the modernization of this library will enable easier development of new features moving forward : )) I’ve loved being involved in the Processing community and open source and can’t wait to see what this unlocks for the future!
Thank you so much to everyone who helped along the way! @raclim thank you so much for the meetings, guidance and support — I couldn’t have done it without your excellent leadership!! Thank you @nahbee10 for leading the initial push during the pr05 program! And thank you for the QA and bugfixes from the Github community members such as @skyash-dev, @parthjadhao01, @ yugalkaushik, @Nishthajain7, @Jatin24062005, @kashish00208, @VaibhavNarayann, @Geethegreat, @KaiDevrim, @mmendieta2, @dimssu, and many others!
Resources
What's Changed
- Editor file splitting: create new hint file by @khanniie in #3327
- Moves the tidier code and file mode utils out of editor file by @khanniie in #3335
- Convert Editor to functional, splits off CodeMirror code into its own file by @khanniie in #3352
- Converts CM5 into CM6 by @khanniie in #3500
- [Cm 5-> 6 conversion] autocomplete by @khanniie in #3582
- Codemirror 6 update: add MVP search and find by @khanniie in #3639
- Cm6 themes v2 by @khanniie in #3783
- Fix runtime error console by @khanniie in #3832
- Add tests for tidier.js by @Geethegreat in #3887
- Convert tidier.js to TypeScript && test coverage of tidier.ts by @kashish00208 in #3899
- Autocomplete Hinter Parity by @raclim in #4043
- Add JSON syntax linting to CodeMirror v6 editor by @Geethegreat in #3825
- Migrated from JSHint to ESLint by @Nishthajain7 in #3836
- fix tidy code keyboard shortcut in CM6 editor by @skyash-dev in #4134
- fix: scope CM6 Tidy keymap per file state (#4093) by @dimssu in #4097
- fix:Right arrow key navigation after auto-closing brackets by @Nishthajain7 in #4101
- Fix CSS linter highlight range in CodeMirror v6 by @VaibhavNarayann in #3919
- fix:Emmet expands abbrevations when text is pasted by @Nishthajain7 in #4027
- fix: restored p5.js keyword highlighting for CM6 #3868 by @parthjadhao01 in #4141
- fix: Add Keyboard Shortcut for the Color Picker #3867 by @KaiDevrim in #4028
- fix: restore CM6 editor visual consistency#4144 by @parthjadhao01 in #4147
- [CodeMirror v6] fix ctrl/cmd+enter inserting blank line by @skyash-dev in #4158
- Develop codemirror v6 by @mmendieta2 in #4067
- [CodeMirror v6] fix stale react state in cm6 update listener by @skyash-dev in #4156
- [CodeMirror v6] position fold gutter absolute + fix by @skyash-dev in #4166
- [CodeMirror v6] improve cm6 visual parity with current editor by @skyash-dev in #4164
- [CodeMirror v6] cm6 autocomplete parity with current editor by @skyash-dev in #4168
- Autocomplete Hinter support for different p5.js versions by @skyash-dev in #4151
- Restore updateFileContent controller API in CodeMirror 6 editor by @skyash-dev in #4178
- Update to Codemirror v6 by @khanniie in #4152
New Contributors
- @Geethegreat made their first contribution in #3887
- @kashish00208 made their first contribution in #3899
- @dimssu made their first contribution in #4097
- @KaiDevrim made their first contribution in #4028
- @mmendieta2 made their first contribution in #4067
Full Changelog: v2.20.10...v2.21.0