Feature No Code Attached Yet
avatar brianteeman
brianteeman
5 Jul 2022

A brand new release of codemirror is now available.

The only breaking change is that @codemirror/basic-setup has been renamed to just codemirror, and no longer exports EditorState (you can now create views by inlining the options to EditorState.create in the object given to the EditorView constructor, so you no longer need that to set up a minimal editor). All other packages should be entirely compatible with 0.20.0.

This should be the last time you need to do invasive version shuffling—in the foreseeable future, releases will be boring and backwards-compatible, and covered by ^6.0.0 version ranges.

So from the sound of it there should be no issues with using it now.

The only problem is that our js build scripts wont work with this version as the file and folder structure has changed

@Fedik @dgrammatiko

avatar brianteeman brianteeman - open - 5 Jul 2022
avatar joomla-cms-bot joomla-cms-bot - change - 5 Jul 2022
Labels Added: No Code Attached Yet
avatar joomla-cms-bot joomla-cms-bot - labeled - 5 Jul 2022
avatar Fedik
Fedik - comment - 10 Jul 2022

Yeah, that need some work, not for 4.2 for sure even if it does not have b/c issue ;)

avatar brianteeman
brianteeman - comment - 22 Nov 2022

@obuisard 4.3 ?

avatar obuisard
obuisard - comment - 22 Nov 2022

I would prefer to be cautious and avoid issues with the build scripts BUT if we wait for Joomla 5.0, that means we won't have the update for another year... So, I do agree with updating to Codemirror v6, as long as with have the manpower for it.

avatar Hackwar Hackwar - change - 22 Feb 2023
Labels Added: ?
avatar Hackwar Hackwar - labeled - 22 Feb 2023
avatar brianteeman
brianteeman - comment - 19 Apr 2023
avatar brianteeman brianteeman - change - 19 Apr 2023
Title
codemirror version 6
[5.0] codemirror version 6
avatar brianteeman brianteeman - edited - 19 Apr 2023
avatar Fedik
Fedik - comment - 31 May 2023

@dgrammatiko did you had any luck with it?
I tried a bit, and it seems we have to compile whole own bundle, including lang. syntaxes. Also probably drop existing themes.

Sounds like here we will have a zero backward compatibility. Not good, not bad, just what it is.

avatar dgrammatiko
dgrammatiko - comment - 31 May 2023

@Fedik yes I have a working prototype. Currently talking with Harald about b/c, features, etc

Screenshot 2023-05-30 at 16 23 08
avatar Fedik Fedik - close - 21 Aug 2023
avatar Fedik
Fedik - comment - 21 Aug 2023

This is done in #41070

avatar Fedik Fedik - change - 21 Aug 2023
Status New Closed
Closed_Date 0000-00-00 00:00:00 2023-08-21 17:14:05
Closed_By Fedik
Labels Added: Feature
Removed: ?

Add a Comment

Login with GitHub to post a comment