Releases: processing/p5.js-web-editor
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
v2.20.10
What's Changed
- fix: don't render empty ul when folder has no children by @geeta102 in #4047
- Fix missing space between sketch name and author in embed view by @Nixxx19 in #4077
- Create SECURITY.md for vulnerability reporting by @ksen0 in #4082
- Replace X button with dropdown menu in CollectionItemRow by @Nixxx19 in #4078
- Update Discord invite links in p5.js-web-editor by @nitin-rajpoot in #4008
- fix loop protection breaking shader strings and p5.strands functions by @Nixxx19 in #4083
- Migrate session.controller to TypeScript by @dvynshuu in #4105
- Add underline to asset links for accessibility by @VaibhavNarayann in #3973
- Fix: Make "Back to Editor" button fully clickable by @siddocode in #3959
- fix firefox scrollbar from fractional split pane size by @Nixxx19 in #4120
- Fix/storage bar contrast by @NishulDhakar in #3863
- Set session cookie secure flag based on NODE_ENV by @Nishthajain7 in #3939
- build(deps): bump tmp and inquirer by @dependabot[bot] in #4127
- fix: prevent asset size column text from wrapping on small screens by @parthjadhao01 in #4135
- fix: preserve file selection when project saves asynchronously by @parthjadhao01 in #4137
- add UI to toggle loop protection via by @skyash-dev in #4108
- Revert "Set session cookie secure flag based on NODE_ENV" by @raclim in #4173
New Contributors
- @geeta102 made their first contribution in #4047
- @dvynshuu made their first contribution in #4105
- @NishulDhakar made their first contribution in #3863
Full Changelog: v2.20.9...v2.20.10
v2.20.9
v2.20.8
What's Changed
- Fix autocomplete not triggering on mobile (CM5 input handling) by @aashu2006 in #4017
- Add Tooltip for Remove from Collection List Button by @SalmanNajah in #3923
- Enforce asset cap and surface upload-limit messaging by @yugalkaushik in #4056
- Fix: infinite loop crashes and autosave loss #3891 by @Nixxx19 in #3896
- build(deps): bump handlebars from 4.7.8 to 4.7.9 by @dependabot[bot] in #4042
- build(deps): bump path-to-regexp from 0.1.12 to 0.1.13 by @dependabot[bot] in #4058
- build(deps): bump flatted from 3.4.1 to 3.4.2 by @dependabot[bot] in #4014
- build(deps): bump picomatch from 2.3.1 to 2.3.2 by @dependabot[bot] in #4035
- Update default p5 version to 1.11.13 by @ksen0 in #4074
- build(deps): bump yaml from 1.10.2 to 1.10.3 by @dependabot[bot] in #4034
- build(deps-dev): bump brace-expansion from 1.1.11 to 1.1.13 by @dependabot[bot] in #4065
- build(deps): bump axios from 1.13.5 to 1.15.0 by @dependabot[bot] in #4073
- build(deps): bump lodash.template from 4.5.0 to 4.18.1 by @dependabot[bot] in #4066
- build(deps): bump lodash from 4.17.23 to 4.18.1 by @dependabot[bot] in #4072
- build(deps): bump nodemailer from 7.0.11 to 8.0.5 by @dependabot[bot] in #4071
- fix: npm run lint-fails-inside-Docker by @Jatin24062005 in #3994
- i18n: Fix hard-coded text in Library Management tab by @sdass1918 in #3701
- docs: add missing files to "List of Documents" in contributor docs by @Khushi256 in #4000
- Fix: reloading https://editor.p5js.org/account shows a small glimpse of the password reset page by @yugalkaushik in #4002
New Contributors
- @Khushi256 made their first contribution in #4000
Full Changelog: v2.20.7...v2.20.8
v2.20.7
What's Changed
- build(deps-dev): bump storybook from 10.2.9 to 10.2.10 by @dependabot[bot] in #3950
- docs: added a new section in installation.md to get the mongodb connection string from cloud.mongodb.com by @kunstewi in #3976
- Nityam/fix private assets authorization by @Nixxx19 in #3968
- fix: file uploader styling refactor by @runningonsideprojects in #3983
- fix: add email validation for google oauth by @Nixxx19 in #3966
- add Nepali language (ne) support to the pt.js-web-editor by @aashishpanthi in #3916
- Add tests for DropdownMenu component by @siddocode in #3974
- Remove raw error responses from server by @kitlord in #3955
- fix: add input validation for check_type in duplicate check by @Nixxx19 in #3967
- Fix fragile arguments.length check in findByEmailOrUsername by @SinhaS12 in #3932
- Hardcoded url by @Nishthajain7 in #3941
- build(deps): bump bn.js from 4.12.2 to 4.12.3 by @dependabot[bot] in #3933
- build(deps): bump immutable from 4.3.4 to 4.3.8 by @dependabot[bot] in #3971
- Fix: Control the behavior only by checking the options parameter. by @SinhaS12 in #3946
- Fix: signup dev UX when verification email fails (Fixes #3901) by @Nixxx19 in #3902
- Generated unique username not applied during account creation by @kitlord in #3940
- fix: accountform labels for current and new password by @Nixxx19 in #3930
- build(deps): bump flatted from 3.2.1 to 3.4.1 by @dependabot[bot] in #3997
- Add setup instructions for minio by @kitlord in #3981
- fix(accessibility): correct label–input association in NewPasswordForm (#3908) by @Irfan762 in #3942
- Fix: increase color contrast of input fields by @Nishthajain7 in #3949
- Temporarily removes 'ne' from
date-fns/localeimports by @raclim in #4064 - Update default p5 version to 1.11.12 by @ksen0 in #4063
New Contributors
- @kunstewi made their first contribution in #3976
- @aashishpanthi made their first contribution in #3916
- @SinhaS12 made their first contribution in #3932
- @Nishthajain7 made their first contribution in #3941
- @Irfan762 made their first contribution in #3942
Full Changelog: v2.20.6...v2.20.7
v2.20.6
v2.20.5
v2.20.4
v2.20.3
What's Changed
- updating ideView to avoiding the inconsistency by @Jatin24062005 in #3795
- build(deps): bump axios from 1.12.1 to 1.13.5 by @dependabot[bot] in #3851
- fix: prevent mass-assignment of user field in createProject and apiCreateProject #3876 by @Nixxx19 in #3889
- chore: alphabetizing variables in __variables.scss by @runningonsideprojects in #3885
- Replace hardcoded aria-labels with i18n by @avinxshKD in #3894
- fix: make password visibility toggle buttons accessible by @avinxshKD in #3861
- Fix: mass assignment update project #3875 by @Nixxx19 in #3893
- Fix: Stream project ZIP download to prevent 502 timeout and memory issues #3780 by @Nixxx19 in #3862
- FIxing Visibility Updating Bug by @Jatin24062005 in #3920
- Add tests for file deletion in files reducer by @aashu2006 in #3853
- Update p5 version from 2.2.1 to 2.2.2 by @ksen0 in #3926
- Fixing Sketches list does not update after renaming a sketch by @Jatin24062005 in #3927
- Fix: use async bcrypt in findMatchingKey #3878 by @Nixxx19 in #3897
- fix: add missing aria-live to form error messages (#3874) by @Nixxx19 in #3884
New Contributors
- @avinxshKD made their first contribution in #3894
Full Changelog: v2.20.2...v2.20.3
v2.20.2
What's Changed
- Update docs for setting up AWS S3 by @Iron-56 in #3844
- Add p5.js 2.2.1 by @ksen0 in #3859
- fix: resolve 502 error on project download (Fixes #3746) by @Nixxx19 in #3770
- Fix: GitHub OAuth: use === instead of = in user email matching (#3877) by @Nixxx19 in #3892
- build(deps): bump qs from 6.14.1 to 6.14.2 by @dependabot[bot] in #3886
- Add hints to pull request template & ask for screenshots by @clairep94 in #3837
- S3 Bucket Configuration Documentation Revisions by @runningonsideprojects in #3915
- fix: toast component color contrast by @runningonsideprojects in #3865
- build(deps): bump tar and storybook by @dependabot[bot] in #3903
New Contributors
Full Changelog: v2.20.1...v2.20.2