All notable changes to this project should be documented in this file.
The format is based on Keep a Changelog and this project adheres (at least as of 0.3.0!) to Semantic Versioning.
Note also that since this markdown is used to produce our docs at jupyter-contrib-nbextensions.readthedocs.io via recommonmark, (and GitHub links aren't automatically added by recommonmark), it'd be helpful if you could explicitly link github PR/issue numbers and any URIs, to make sure our readthedocs stuff gets all the shiny link goodness. Thanks!
- In Collapsible Headings, get the notebook version from
sys_infoif possible, resolving an incompatibility with notebook versions 6.5.x #1617. - Add short execution threshold for ExecutionTime plugin. Excution time will not show on cells that executed faster than the given threshold #1336.
- Fix CI
- Add license.txt in setup.cfg
- Fix Readme
- Replace
template_pathwithextra_template_paths#1532. Nbconvert 6.0 replacedtemplate_pathwithextra_template_paths(see https://nbconvert.readthedocs.io/en/latest/changelog.html#significant-changes). This change in Nbconvert 6.0 causes errors in jupyter_latex_envs and in jupyter_contrib_nbextensions (see #1529. - Update
install_requireslist insetup.pywith 'nbconvert >=6.0' - Drop support for python < 3.6
- [toc2] fix for disappearing sidebar in static html_toc export #1548
- Fix Extensions Not Loading for Large Notebooks #1499
- Support non-live notebook such as nbconvert output #1535
- Fix for navigation hotkeys #1378
gist_itMaking github endpoint configurable to support publishing gists to Github Enterprise #1364- Fix treefilter #1359
- Enable ruler extension in editor #1296
- Several spelling fixes
- Configure
code_prettifyextension to load custom yapf styles by default #1376
Travis/AppVeyor testing is currently broken due to outdated configuration. Will hopefully be working in 0.5.2 again.
Repo-level stuff:
- Added
CONTRIBUTING.md(fixes #1224) #1225 @consideratio - [ci] allow lint failure on travis #1228 @jcb91
- Fix some travis warnings and errors #1251 @juhasch
- Remove OSX travis run (OSX still supported, but travis run kept failing without being any significant difference to linux run) #1253 @juhasch/fix
- fix travis for py27 #1265 @jcb91
New features and bugfixes:
load_tex_macrosnew nbextension added! #1257 @ketchcell_filternew nbextension added! #1240 @benelotexecution_dependenciesnew nbextension added! #1213 @benelotisortnew nbextension added! First implementation based on code_prettify #1204 @benjaminabel- require newer
jupyter_highlight_selected_word#1270 @jcb91 - Fix for long button labels in
code_prettifyand variants #1268 @jfbercher - Bugfix for
collapsible_headingskey bindings conflict #1264 @rhilenova kernel_exec_on_cells, make shift-click on button autoformat all cells #1219 @jcb91scroll_downensure output will scroll down in new cells #1227 @cjldinit_cellWarning dialog now always relevant, fixes #1223. #1226 @consideratiogist_it, Fixed a minor spelling mistake in the documentation #1222 @swedishmiketoc2- fix css rule for overriding wrapper color #1255 @jcb91
- allow configurable basenumber #1252 @jfbercher
- Initialize toc2 button after cfg is loaded / fix #1249. #1250 @jfbercher
- use unaltered notebook metadata in template #1141 @jcb91
exercise&exercise2, Reworking to fix #1079 #1206 @jcb91snippetsusebase_url#1212 @juhasch- Add preprocessor to embed images into a notebook #1067 @juhasch
init_cell- Warning dialog now always relevant, fixes #1223. #1226 @consideratio
- Add preprocessor to embed images into a notebook #1067 @juhasch
- Fixed conflicts in collapsible_headings if keys are rebound. @rhilenova
Repo-level stuff:
- Require newer version of
jupyter_nbextensions_configurator#1197 @jcb91 - Remove version-pinning from lxml dependency #1174 @codypiersall
- Use
requirejsvs.require, to align with notebook usage #1165 @gnestor testsspecify exceptions (new flake8 moan) #1143 @jcb91- move
js_highlight.pyinto nbconvert_support, specify exception type #1140 @jcb91 - docs updates #1200, #1201 @jcb91
New features and bugfixes:
livemdpreviewnew nbextension added! #1155 @jcb91nbTranslate- Typos + readability improvements #1191 @adyavanapalli,
- Fix typo and revise text for better readability #1190 @adyavanapalli,
- use traitlets > 4.1 tag API #1138 @jcb91
collapsible_headingstoc2- Add a 'download as HTML with toc' for Jupyter >= 5.1 #1182 @jfbercher
- only set notebook dirty if metadata item changed #1178 @jcb91
- Bugfix undefined title_sidebar #1175 @jfbercher
- move config into toc2.js #1167 @jcb91
- configurable titles; dialog-alterable metadata settings #1124 @jcb91
- remove deprecated st var from template #1199 @jcb91
- [toc2] link complete font-awesome css from cdn #1198 @jcb91
scroll_downfix notebook5.xcompatibility #1181 @jcb91exercise,exercise2use bootstrap hidden class rather than jquery show/hide, in order to play nicely with collapsible_headings. fixes #990 #1169 @jcb91runtoolsdon't alter selection when running cells #1145 @jcb91ExecuteTimeadd preprocessor to execute notebook updating timing metadata #1139 @jcb91snippetsUpdated README #1150 @chuaxrcode_prettifyUpdatecode_prettify.yaml#1162 @fehiepsi
Repo-level stuff:
- #1097 @juhasch Increase lint's allowed line length to 120
- #1100 @juhasch Add note about --skip-running-check flag to docs
- #1117 @jcb91 test yaml files using jupyter_nbextensions_configurator to avoid any yaml typos which may prevent nbextensions from getting installed.
- #1103 @Sukneet update add_buttons_group to use action instead of button
New features and bugfixes:
-
code_prettify,autopep8&2to3#1118 @jcb91 Merge upstream changes, using textareas for json parameter editing -
collapsible_headings#1109 @jcb91 bugfix: update all headings on markdown rendering -
embedhtml#1052 @gabyx Changed regex parsing in embedhtml.py to XML parsing with lxml, regex -
python-markdown- #1081 @yarikoptic fix minor readme typo: currently -> current
- #1122
@jcb91
avoid js error when marked doesn't wrap things in
<p>tags
-
ruler#1116 @jcb91 css patch for notebook > 4.2.3 - see jupyter/notebook#2869 for details -
runtools#946 @juhasch Use a scheduling list for running marked cells -
toc2- #1068 @jfbercher Scrolling: add a mark to currently displayed section in TOC window
- #1084 @jfbercher fix for #1083: Revert full url in links to relative to the current page.
- #1091
@fkoessel
Ensure notebook is not widened if sidebar is displayed and
cfg.widenNotebookis unchecked. - #1095 @fkjogu Beautify toc2.js using js-beautify
- #1110 @jcb91 constrain draggable toc to the body
- #1111 @jcb91 remove unused variables & commented code
- #1112 @jcb91 use requirejs to get events
- #1120 @jcb91 simplify ToC cell processing
- #1121 @jcb91 correct toc tree construction
-
zenmode#1062 @soamaven Make hiding of the Header and Menubar optional
Removed/deprecated nbextensions:
- #539
@janschulz
Remove deprecated extension
search-replace - #1108
@juhasch
Remove deprecated extensions
chrome-clipboard,dragdrop,search-replace
Repo-level stuff:
- #1073 @jcb91 Use newer conda version for recipe build test
- #1069
@jcb91
Bugfix in installer, require newer versions of
jupyter_contrib_coreandjupyter_nbextensions_configurator - #1059 @jcb91 fix linting errors, disallow linting failure on Travis
New features and bugfixes:
codefoldingdragdrop#1063 @juhasch Add note to docs about native drag&drop supporttoc2#1066 @jfbercher tentative fix for #1065 by updating jqueryui cdn and version- for various nbextensions
#1061
@jcb91
use
Jupyter.notebook.configinstance, where appropriate
Alterations to the installation machinery
(these are what made the bump to 0.3):
Repo-level stuff:
- notebook 5.x: Update various nbextensions to list themselves as compatible #1000, #1002, #1003, #1055
- CI updates: #995 updates for Travis
New features and bugfixes:
codefolding,code_prettify, #1019 @jfbercher added support for IPython magics, cf #1018collapsible_headings,ExecuteTime, #1022 @jcb91 add menu items & options for clearing timing dataexport_embedded#1039 @gabyx New nbextension providing a menu item to allow downloading the notebook through thehtml_embedexporter.freeze- #1006 @aminought Fix cell removing after copying of freezed cell
- #1033 @jcb91 fix typo/inconsitent state naming
html_embedexporter: #1044 @juhasch bugfix for issue #1041: to ensure correct treatment of images already embedded as attachments.nbTranslate#998 @jfbercher update to google API modificationsnotifyscratchpad, #1026 @jcb91 merge upstream fix to stop the scratchpad interfering with the scrollbar in firefox.toc2- #994 @jfbercher update for cells width and sidebar height
- #1030 @jfbercher Full url in links | #skip tag to skip headers from being inserted
- #1031
@jcb91
Make toc entries collapsible, integrate with
collapsible_headings - #1032 Use amd structure to avoid polluting the global namespace
- #1035
@jcb91
alter ToC cell source to work better with
collapsible_headings
varInspector
Alterations to the installation machinery:
- #981 fix potential bug in config uninstall
Repo-level stuff: #986, #972, update more nbextensions to list themselves as 5.x-compatible.
New features and bugfixes:
cellstate#978 @juhasch Stale nbextensions removedcodefolding#977 @juhasch Fix codefolding gutter load issueExecuteTime#967 @NII Fix highlight.color optionfreeze- #966 @NII make cell colors configurable
- #968
@tnarik
use
cell.metadata.editableas introduced by notebook 5.x. - #976 @yacchin1205 Fix property checking
- #974 @yacchin1205 Export set/get_state functions
init_cell#987 @jcb91 fix typo in options-loading coderuler#980 @jcb91 fix typo incm_configdefaultsselect_keymap#971 @jcb91 honour default params as declared in yamlskip-traceback#957 @jcb91 make traceback collapsed, rather than just omitted entirely. Apply to pre-existing traceback at notebook load, and add a button to copy the tracebacktoc2#969 @hiiwave Support custom colors for navigation text and windowtree-filter#948 @wikiped Make search optionally case-insensitve and accept RegExp syntax
Updates to readme/docs: #973 fix link typos and redirects
New nbextensions, new features and bugfixes:
codefoldingcollapsible_headings#950 @jcb91 fix tooltip placement bug for notebook 5.x, add 5.x compatibilitycomment-uncomment#953 @juhasch Add option to indent comments to current indent leveldragdrop#929 @xNok use markdown syntax instead of htmlExecuteTime#934 @jcb91 honourdefault_kernel_to_utcfor both start and end timesinit_cell#928 @ZelphirKaltstahl bugfix error introduced as part of fixes to #885nbTranslate#951 @jfbercher improved code formatting in nbTranslate.pyruntools#930 @tsankuanglee add tooltips to runtools' many buttonsvarInspector#922 @jfbercher new nbextension a variable inspector!
CI stuff: #955
Fix requirements, which got altered incorrectly as part of the 0.2.5 release.
New nbextensions, new features and bugfixes:
autoscroll#864 @simplygood fixed a typo in AutoScroll'smain.jschrome-clipboard#921 @sdsawtelle use utils function to add authentication to upload, fixing #918codefolding#908 @juhasch Fixes for languages other than IPython that use non-indent-based blocks.codemirror_mode_extensions#905 @jcb91 New nbextensioncollapsible_headings#892 @jcb91 new features including support for embedding into htmldragdrop#915 @juhasch Bugfix for FirefoxExecuteTime#907 @jcb91 new features including configurable utc assumption, relative time display, message templates, right-alignment.hide_header#863 @bluss New nbextension to toggle (header + toolbar + menubar) visibility- #899
@jfbercher
highlighterMinor typo update + cleaning init_cell#912 @jcb91 allow celltoolbar preset to load from metadata settingmove_selected_cells#860 @jfbercher updated to Jupyter 4.2+nbconvert_support.embed_html#902 @jozjan Updated regex pattern for better matchscratchpad#919 @jcb91 adopt minrk/scratchpad#12 to bugfix z-index for issue #916snippets_menu#917 @moble Fix documentation linkstoc2- #846 @jfbercher always read threshold parameter from system config - address #646
- #872 @jfbercher update template and resize sidebar on resize-header event
- #887 @jfbercher Add a parameter to enable/disable cell widening
- #911 @piti118 Use https instead of http for jquery in nbconvert template
- Various fixes to ensure nbextensions load correctly, related to #885: PRs #895, #897, #898, #900, #906
- stale nbextensions removed:
Alterations to the installation machinery:
- #874 add traitlets 4.1 to requirements, needed by nbTranslate
- #923
@jcb91
update required versions of
jupyter_nbextensions_configurator,jupyter_latex_envs, andjupyter_highlight_selected_wordto latest releases
Updates to readme/docs:
- #896
@juhasch
Add some more documentation for
freeze - #881 @juhasch Fix graphics in doc
- #875 @jcb91 Docs updates - sort list
- #876 @juhasch Document LaTex templates
New nbextensions, new features and bugfixes:
- #839
@jcb91
snippets_menumerge upstream changes - #844
@jfbercher
nbTranslateadd help message for keyboard shortcuts - #843
@jfbercher
code_prettifybugfix: reinstate JSON-conversion of results from the R kernel - #837
@jcb91
code_prettifyMerge upstream code-prettify updates - #838
@jfbercher
nbTranslateNew nbextension - #827
@moble
snippets_menuNew nbextension - #836
@juhasch
Remove
strip_output_promptfromnbconvert_support - #831
@juhasch
dragdropuse utils function to add authentication to upload, fixing #830 - #834
@lspvic
init_cellfix bug with trust warning - #826
@adrn
code_snippetsNew nbextension - #820
@jcb91
hinterlanddisable hints in comments (configurable), fixing #819 - #815
@jcb91
hinterlandmake all regexes configurable, addressing #651
Updates to readme/docs:
- #845
@aiguofer
Add note about helpful firefox extension to
select_keymapdocs - #850 @juhasch Describe nbextensions custom template
- #833 @jcb91 updates to readme and docs, addressing #740
- #825 @jcb91 readme updates to specllchecker, codefolding, gist_it, readonly
- #816 @jcb91 update docs build to include nbextensions provided by dependencies
Some CI updates: #824
Alterations to the installation machinery:
New nbextensions, new features and bugfixes:
- #796
@oxinabox
AddBeforeAdd new nbextension - #746,
#802
@jfbercher,
@jcb91
latex_envsreplace vendoredlatex_envswith its pypi package - #794
@juhasch
codefoldingOnly execute codefolding preprocessor when requested - #804
@jcb91
jupyter_highlight_selected_wordadd jupyter_highlight_selected_word nbextension - #795
@jfbercher
toc2Highlight toc headings for sections with selected/edited/running cells; fix save issue #762 - #803
@jfbercher
toc2make higlight colours configurable; configurably allow shifting title, menus & icons to the left, ratehr than centring - #810
@jfbercher
toc2take account of nb metadata in html export - #813
@jcb91
limit_outputallow per-cell override of limit length, make output-limited notes persist through notebook save & reload, limit outputs even over several distinct output events - #814
@jcb91
init_cellmake automatic running of initialization cells configurable (fixes #812), prevent automatic run of initialization cells in untrusted notebooks
Alterations to the installation machinery:
- #774 @jcb91 Add flags to install only files/only config modifications.
- #769 @jcb91 Use jupyter_nbextensions_configurator's actual install app
Stale nbextensions removed:
- history, readonly, swc, slidemode #890, #889 @juhasch, #891 @jcb91, none of which have yet even been updated to notebook 4.x
New nbextensions, new features and bugfixes:
- #882
@juhasch
limit_outputenable independent limiting of different kernel message types - #877
@jfbercher
toc2Remove MathJax preview in headers and links - Fixes for timings issues related to the
notebook_loaded.Notebookevent, as raised in issue #885. Fixes forhide_input,hide_input_all,ruler,splitcellin #886 @jcb91, forcodefoldingin #888 @juhasch forfreezein #884 @kukanya forexecute_timein #883 @jcb91 - #787
@jcb91
scratchpadUpdates from master repo - #784
@azjps
limit_outputfix missing braces - #768
@lll9p
collapsible_headingsMake level test code robust to undefined cell - #770
@jfbercher
code_prettifyUpdate to address #767 - #765
@kukanya
FreezeExtend functionality to markdown cells - #781
@kukanya
ScrollDownAdd new nbextension
Updates to readme/docs:
- #790 @juhasch mention PyPi install source in readme
- #789 @jcb91 A few minor readme updates
- #788 @jcb91 update installation instructions
- #773 @jcb91 generate docs without conversion
Some CI updates: #778, #779, #772, #771, #766
New nbextensions, new features and bugfixes:
- New
html_embednbconvert exporter - Added
select_keymapnbextension - added tests for
toc2andhtml_embedexporters - tooltips on
highlighter toc2issue with zero-length navigation menu- switch
table_beautifierfrom bootstrap-table to tablesorter plugin code_prettify: corrected insufficient re replacementdragdropfix url generation when using non-default base_url
Updates to readme/docs:
- get docs readable at jupyter-contrib-nbextensions.readthedocs.io
- add an auto-enabled nbextension
contrib_nbextensions_help_item, which adds a help menu item to point at RTD - Add missing readmes & yaml links to readmes
Alterations to the installation machinery:
- alter app default settings, making
--userflag in install app default toFalse - add plural nbextensions command alias i.e.
jupyter contrib nbextensionsas an alias ofjupyter contrib nbextension - conda-forge recipe & installation instructions added
New nbextensions, new features and bugfixes:
- new
code_prettifyextension latex_envs: update for MathJax use and html export; add latex_envs.py - exporter library; add templates for conversion; configure entry points for exporters insetup.py; update readme.toc2modifications to templates, configure entry points for exporters insetup.py, update READMEbreakpointsremoved stale extension- Bugfixes:
limit_output, postprocessors, nbconvert support
Updates to readme/docs:
- Add docs generation
- Add lots of missing readme & yaml files
- Attempt to get docs builds working on readthedocs
Plus various CI & packaging fixes/improvements
First release with pep-440 compatible versioning!