From 0d53ead4a580b50c595b3f95a039516fbd4c6681 Mon Sep 17 00:00:00 2001 From: Chris Sewell Date: Sat, 25 Jul 2020 04:02:06 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=9A=80=20RELEASE:=20Version=200.3.0=20(#9?= =?UTF-8?q?0)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CHANGELOG.md | 14 ++++++++++++++ sphinx_copybutton/__init__.py | 2 +- 2 files changed, 15 insertions(+), 1 deletion(-) create mode 100644 CHANGELOG.md diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000..2e90903 --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,14 @@ +# CHANGELOG + +## 0.3.0 - 2020-07-25 + +### Breaking + +- Copy raw regex string to JS template, thanks to @s-weigand. + This fixes the way that the `copybutton_prompt_text` value is injected into `copybutton.js_t` (as discussed in #86). + The raw string formatting means that backslashes are now propagated correctly and removes the need for "double escaping". + Users will need to update their `copybutton_prompt_text` string accordingly. + +### Changed + +- Upgraded [lodash](https://github.com/lodash/lodash) from 4.17.15 to 4.17.19 diff --git a/sphinx_copybutton/__init__.py b/sphinx_copybutton/__init__.py index aff6d0f..ae88e94 100644 --- a/sphinx_copybutton/__init__.py +++ b/sphinx_copybutton/__init__.py @@ -2,7 +2,7 @@ from pathlib import Path from sphinx.util import logging -__version__ = "0.2.12dev0" +__version__ = "0.3.0" logger = logging.getLogger(__name__)