Skip to content

Commit

Permalink
Mark version 5.42.0
Browse files Browse the repository at this point in the history
  • Loading branch information
marijnh committed Nov 20, 2018
1 parent 51a3704 commit 436081e
Show file tree
Hide file tree
Showing 7 changed files with 43 additions and 4 deletions.
6 changes: 6 additions & 0 deletions AUTHORS
Expand Up @@ -134,6 +134,7 @@ Chad Jolly
Chandra Sekhar Pydi
Charles Skelton
Cheah Chu Yeow
Chris Colborne
Chris Coyier
Chris Ford
Chris Granger
Expand Down Expand Up @@ -316,6 +317,7 @@ James Howard
James Thorne
Jamie Hill
Jamie Morris
Janice Leung
Jan Jongboom
jankeromnes
Jan Keromnes
Expand Down Expand Up @@ -359,6 +361,7 @@ John Van Der Loo
Jon Ander Peñalba
Jonas Döbertin
Jonas Helfer
Jonathan Dierksen
Jonathan Hart
Jonathan Malmaud
Jon Gacnik
Expand Down Expand Up @@ -452,6 +455,7 @@ Marijn Haverbeke
Mário Gonçalves
Mario Pietsch
Mark Anderson
Mark Dalgleish
Mark Lentczner
Marko Bonaci
Mark Peace
Expand Down Expand Up @@ -557,6 +561,7 @@ Nisarg Jhaveri
nlwillia
noragrossman
Norman Rzepka
Oleksandr Yakovenko
opl-
Oreoluwa Onatemowo
Oskar Segersvärd
Expand Down Expand Up @@ -745,6 +750,7 @@ Victor Bocharsky
Vincent Woo
Volker Mische
vtripolitakis
wdouglashall
Weiyan Shao
wenli
Wes Cossick
Expand Down
20 changes: 20 additions & 0 deletions CHANGELOG.md
@@ -1,3 +1,23 @@
## 5.42.0 (2018-11-20)

### Bug fixes

Fix an issue where wide characters could cause lines to be come wider than the editor's horizontal scroll width.

Optimize handling of window resize events.

[show-hint addon](https://codemirror.net/doc/manual.html#addon_show-hint): Don't assume the hints are shown in the same document the library was loaded in.

[python mode](https://codemirror.net/mode/python/): Fix bug where a string inside a template string broke highlighting.

[swift mode](https://codemirror.net/mode/swift): Support multi-line strings.

### New features

The [`markText` method](https://codemirror.net/doc/manual.html#markText) now takes an [`attributes`](https://codemirror.net/doc/manual.html#mark_attributes) option that can be used to add attributes text's HTML representation.

[vim bindings](https://codemirror.net/demo/vim.html): Add support for the `=` binding.

## 5.41.0 (2018-10-25)

### Bug fixes
Expand Down
2 changes: 1 addition & 1 deletion doc/manual.html
Expand Up @@ -69,7 +69,7 @@
<section class=first id=overview>
<h2 style="position: relative">
User manual and reference guide
<span style="color: #888; font-size: 1rem; position: absolute; right: 0; bottom: 0">version 5.41.1</span>
<span style="color: #888; font-size: 1rem; position: absolute; right: 0; bottom: 0">version 5.42.0</span>
</h2>

<p>CodeMirror is a code-editor component that can be embedded in
Expand Down
13 changes: 13 additions & 0 deletions doc/releases.html
Expand Up @@ -30,6 +30,19 @@ <h2>Release notes and version history</h2>

<h2>Version 5.x</h2>


<p class="rel">20-11-2018: <a href="https://codemirror.net/codemirror-5.42.0.zip">Version 5.42.0</a>:</p>

<ul class="rel-note">
<li>The <a href="https://codemirror.net/doc/manual.html#markText"><code>markText</code> method</a> now takes an <a href="https://codemirror.net/doc/manual.html#mark_attributes"><code>attributes</code></a> option that can be used to add attributes text's HTML representation.</li>
<li><a href="https://codemirror.net/demo/vim.html">vim bindings</a>: Add support for the <code>=</code> binding.</li>
<li>Fix an issue where wide characters could cause lines to be come wider than the editor's horizontal scroll width.</li>
<li>Optimize handling of window resize events.</li>
<li><a href="https://codemirror.net/doc/manual.html#addon_show-hint">show-hint addon</a>: Don't assume the hints are shown in the same document the library was loaded in.</li>
<li><a href="https://codemirror.net/mode/python/">python mode</a>: Fix bug where a string inside a template string broke highlighting.</li>
<li><a href="https://codemirror.net/mode/swift">swift mode</a>: Support multi-line strings.</li>
</ul>

<p class="rel">25-10-2018: <a href="https://codemirror.net/codemirror-5.41.0.zip">Version 5.41.0</a>:</p>

<ul class="rel-note">
Expand Down
2 changes: 1 addition & 1 deletion index.html
Expand Up @@ -99,7 +99,7 @@ <h2>This is CodeMirror</h2>
</div>
</div>
<div class=actionsleft>
Get the current version: <a href="https://codemirror.net/codemirror.zip">5.41.0</a>.<br>
Get the current version: <a href="https://codemirror.net/codemirror.zip">5.42.0</a>.<br>
You can see the <a href="https://github.com/codemirror/codemirror" title="Github repository">code</a>,<br>
read the <a href="doc/releases.html">release notes</a>,<br>
or study the <a href="doc/manual.html">user manual</a>.
Expand Down
2 changes: 1 addition & 1 deletion package.json
@@ -1,6 +1,6 @@
{
"name": "codemirror",
"version": "5.41.1",
"version": "5.42.0",
"main": "lib/codemirror.js",
"style": "lib/codemirror.css",
"author": {
Expand Down
2 changes: 1 addition & 1 deletion src/edit/main.js
Expand Up @@ -66,4 +66,4 @@ import { addLegacyProps } from "./legacy.js"

addLegacyProps(CodeMirror)

CodeMirror.version = "5.41.1"
CodeMirror.version = "5.42.0"

0 comments on commit 436081e

Please sign in to comment.