Skip to content

Releases: executablebooks/sphinx-copybutton

v0.5.2

14 Apr 08:08
4a8050d
Compare
Choose a tag to compare

v0.5.2 - 2022-11-15

(full changelog)

  • BUG: Don't exclude .gp class by default. This made excluding prompts more automatic, but broke the existing pattern-based prompt exclusion. #188 (@rkdarst)
  • MAINT: Add Sphinx Extension classifier (#189) #189 (@jdillard)
  • DOCS: Improve docs related to text exclusion #187 (@rkdarst)

v0.5.1

15 Nov 10:15
4345c48
Compare
Choose a tag to compare

(full changelog)

  • ENH: Unselectable text is now also not highlighted when you manually highlight a code cell. Exclude unselectable text from being copied (update) #178 (@rkdarst)
  • ENH: After copying, the copybutton will disappear before the icon changes back if you are no longer hovering on the code cell. FIX: Make copybutton remain for a second during success #176 (@choldgraf)
  • MAINT: Add support for Python 3.10 #174 (@hugovk)

v0.5.0

06 Feb 03:04
5d11f8b
Compare
Choose a tag to compare

This release updates the copy button design and behavior to match GitHub's design guide and button behavior. It also directly inserts the SVG instead of linking it via an <img> tag so that it can be styled more flexibly.

Enhancements

v0.4.0

03 Jul 16:49
Compare
Choose a tag to compare
🚀 RELEASE: v0.4.0

v0.3.3

13 Jun 15:20
Compare
Choose a tag to compare

Minor release for fix #132

v0.3.2

11 Jun 17:36
Compare
Choose a tag to compare

See CHANGELOG.md for new enhancements!

v0.3.1

02 Nov 01:04
d1e4884
Compare
Choose a tag to compare

Version 0.3.0

25 Jul 03:03
0d53ead
Compare
Choose a tag to compare

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 from 4.17.15 to 4.17.19

v0.2.12

17 Jun 18:27
314d09d
Compare
Choose a tag to compare
bump version for release

v0.2.11

23 Apr 22:36
Compare
Choose a tag to compare

0.2.8...v0.2.11

(full changelog)

Merged PRs

Contributors to this release

(GitHub contributors page for this release)

@choldgraf | @iwanb | @mgeier | @s-weigand | @sandrotosi