Release notes and version history

Version 5.x

21-03-2016: Version 5.13.2:

21-03-2016: Version 5.13:

19-02-2016: Version 5.12:

20-01-2016: Version 5.11:

21-12-2015: Version 5.10:

23-11-2015: Version 5.9:

20-10-2015: Version 5.8:

20-09-2015: Version 5.7:

20-08-2015: Version 5.6:

20-07-2015: Version 5.5:

25-06-2015: Version 5.4:

20-05-2015: Version 5.3:

20-04-2015: Version 5.2:

23-03-2015: Version 5.1:

20-02-2015: Version 5.0:

Version 4.x

20-02-2015: Version 4.13:

22-01-2015: Version 4.12:

9-01-2015: Version 4.11:

Unfortunately, 4.10 did not take care of the Firefox scrolling issue entirely. This release adds two more patches to address that.

29-12-2014: Version 4.10:

Emergency single-patch update to 4.9. Fixes Firefox-specific problem where the cursor could end up behind the horizontal scrollbar.

23-12-2014: Version 4.9:

22-11-2014: Version 4.8:

20-10-2014: Version 4.7:

19-09-2014: Version 4.6:

21-08-2014: Version 4.5:

21-07-2014: Version 4.4:

23-06-2014: Version 4.3:

19-05-2014: Version 4.2:

22-04-2014: Version 4.1:

20-03-2014: Version 4.0:

This is a new major version of CodeMirror. There are a few incompatible changes in the API. Upgrade with care, and read the upgrading guide.

Version 3.x

22-04-2014: Version 3.24:

Merges the improvements from 4.1 that could easily be applied to the 3.x code. Also improves the way the editor size is updated when line widgets change.

20-03-2014: Version 3.23:

21-02-2014: Version 3.22:

16-01-2014: Version 3.21:

21-11-2013: Version 3.20:

21-10-2013: Version 3.19:

23-09-2013: Version 3.18:

Emergency release to fix a problem in 3.17 where .setOption("lineNumbers", false) would raise an error.

23-09-2013: Version 3.17:

21-08-2013: Version 3.16:

29-07-2013: Version 3.15:

20-06-2013: Version 3.14:

20-05-2013: Version 3.13:

19-04-2013: Version 3.12:

20-03-2013: Version 3.11:

21-02-2013: Version 3.1:

25-01-2013: Version 3.02:

Single-bugfix release. Fixes a problem that prevents CodeMirror instances from being garbage-collected after they become unused.

21-01-2013: Version 3.01:

10-12-2012: Version 3.0:

New major version. Only partially backwards-compatible. See the upgrading guide for more information. Changes since release candidate 2:

20-11-2012: Version 3.0, release candidate 2:

20-11-2012: Version 3.0, release candidate 1:

22-10-2012: Version 3.0, beta 2:

19-09-2012: Version 3.0, beta 1:

Version 2.x

21-01-2013: Version 2.38:

Integrate some bugfixes, enhancements to the vim keymap, and new modes (D, Sass, APL) from the v3 branch.

20-12-2012: Version 2.37:

20-11-2012: Version 2.36:

22-10-2012: Version 2.35:

19-09-2012: Version 2.34:

23-08-2012: Version 2.33:

23-07-2012: Version 2.32:

Emergency fix for a bug where an editor with line wrapping on IE will break when there is no scrollbar.

20-07-2012: Version 2.31:

22-06-2012: Version 2.3:

23-05-2012: Version 2.25:

23-04-2012: Version 2.24:

26-03-2012: Version 2.23:

27-02-2012: Version 2.22:

27-01-2012: Version 2.21:

20-12-2011: Version 2.2:

21-11-2011: Version 2.18:

Fixes TextMarker.clear, which is broken in 2.17.

21-11-2011: Version 2.17:

27-10-2011: Version 2.16:

26-09-2011: Version 2.15:

Fix bug that snuck into 2.14: Clicking the character that currently has the cursor didn't re-focus the editor.

26-09-2011: Version 2.14:

23-08-2011: Version 2.13:

25-07-2011: Version 2.12:

04-07-2011: Version 2.11:

07-06-2011: Version 2.1:

Add a theme system (demo). Note that this is not backwards-compatible—you'll have to update your styles and modes!

07-06-2011: Version 2.02:

26-05-2011: Version 2.01:

28-03-2011: Version 2.0:

CodeMirror 2 is a complete rewrite that's faster, smaller, simpler to use, and less dependent on browser quirks. See this and this for more information.

22-02-2011: Version 2.0 beta 2:

Somewhat more mature API, lots of bugs shaken out.

17-02-2011: Version 0.94:

08-02-2011: Version 2.0 beta 1:

CodeMirror 2 is a complete rewrite of CodeMirror, no longer depending on an editable frame.

19-01-2011: Version 0.93:

Version 0.x

28-03-2011: Version 1.0:

17-12-2010: Version 0.92:

11-11-2010: Version 0.91:

02-10-2010: Version 0.9:

22-07-2010: Version 0.8:

27-04-2010: Version 0.67:

More consistent page-up/page-down behaviour across browsers. Fix some issues with hidden editors looping forever when line-numbers were enabled. Make PHP parser parse "\\" correctly. Have jumpToLine work on line handles, and add cursorLine function to fetch the line handle where the cursor currently is. Add new setStylesheet function to switch style-sheets in a running editor.

01-03-2010: Version 0.66:

Adds removeLine method to API. Introduces the PLSQL parser. Marks XML errors by adding (rather than replacing) a CSS class, so that they can be disabled by modifying their style. Fixes several selection bugs, and a number of small glitches.

12-11-2009: Version 0.65:

Add support for having both line-wrapping and line-numbers turned on, make paren-highlighting style customisable (markParen and unmarkParen config options), work around a selection bug that Opera reintroduced in version 10.

23-10-2009: Version 0.64:

Solves some issues introduced by the paste-handling changes from the previous release. Adds setSpellcheck, setTextWrapping, setIndentUnit, setUndoDepth, setTabMode, and setLineNumbers to customise a running editor. Introduces an SQL parser. Fixes a few small problems in the Python parser. And, as usual, add workarounds for various newly discovered browser incompatibilities.

31-08-2009: Version 0.63:

Overhaul of paste-handling (less fragile), fixes for several serious IE8 issues (cursor jumping, end-of-document bugs) and a number of small problems.

30-05-2009: Version 0.62:

Introduces Python and Lua parsers. Add setParser (on-the-fly mode changing) and clearHistory methods. Make parsing passes time-based instead of lines-based (see the passTime option).