Jupyter Notebook 5.5.0

Grant Nestor
Jupyter Blog
Published in
4 min readMay 25, 2018

--

We are pleased to announce the release of Jupyter Notebook 5.5.0. This is a minor release that introduces some new features such as:

  • Dynamic Download as… menu for nbconvert exporters
  • Download as Reveal.js slides
  • Quit button for stopping the notebook server from the dashboard
  • File size for files in the dashboard

This release also includes many bug fixes and enhancements as well as improvements to our documentation and testing infrastructure.

You can install the new version of the notebook now using pip:

pip install --upgrade notebook

Or conda:

conda upgrade notebook

Changelog

New features:

  • The files list now shows file sizes (PR #3539)
  • Add a quit button in the dashboard (PR #3004)
  • Display hostname in the terminal when running remotely (PR #3356, PR #3593)
  • Add slides exportation/download to the menu (PR #3287)
  • Add any extra installed nbconvert exporters to the “Download as” menu (PR #3323)
  • Editor: warning when overwriting a file that is modified on disk (PR #2783)
  • Display a warning message if cookies are not enabled (PR #3511)
  • Basic __version__ reporting for extensions (PR #3541)
  • Add NotebookApp.terminals_enabled config option (PR #3478)
  • Make buffer time between last modified on disk and last modified on last save configurable (PR #3273)
  • Allow binding custom shortcuts for ‘close and halt’ (PR #3314)
  • Add description for ‘Trusted’ notification (PR #3386)
  • Add settings['activity_sources'] (PR #3401)
  • Add an output_updated.OutputArea event (PR #3560)

Bug fixes:

  • Fixes to improve web accessibility (PR #3507)
  • There is more to do on this! See #1801.
  • Fixed color contrast issue in tree.less (PR #3336)
  • Allow cancelling upload of large files (PR #3373)
  • Don’t clear login cookie on requests without cookie (PR #3380)
  • Don’t trash files on different device to home dir on Linux (PR #3304)
  • Clear waiting asterisks when restarting kernel (PR #3494)
  • Fix output prompt when execution_count missing (PR #3236)
  • Make the ‘changed on disk’ dialog work when displayed twice (PR #3589)
  • Fix going back to root directory with history in notebook list (PR #3411)
  • Allow defining keyboard shortcuts for missing actions (PR #3561)
  • Prevent default on pageup/pagedown when completer is active (PR #3500)
  • Prevent default event handling on new terminal (PR #3497)
  • ConfigManager should not write out default values found in the .d directory (PR #3485)
  • Fix leak of iopub object in activity monitoring (PR #3424)
  • Javascript lint in notebooklist.js (PR #3409)
  • Some Javascript syntax fixes (PR #3294)
  • Convert native for loop to Array.forEach() (PR #3477)
  • Disable cache when downloading nbconvert output (PR #3484)
  • Add missing digestmod arg to HMAC (PR #3399)
  • Log OSErrors failing to create less-critical files during startup (PR #3384)
  • Use powershell on Windows (PR #3379)
  • API spec improvements, API handler improvements (PR #3368)
  • Set notebook to dirty state after change to kernel metadata (PR #3350)
  • Use CSP header to treat served files as belonging to a separate origin (PR #3341)
  • Don’t install gettext into builtins (PR #3330)
  • Add missing import _ (PR #3316, PR #3326)
  • Write notebook.json file atomically (PR #3305)
  • Fix clicking with modifiers, page title updates (PR #3282)
  • Upgrade jQuery to version 2.2 (PR #3428)
  • Upgrade xterm.js to 3.1.0 (PR #3189)
  • Upgrade moment.js to 2.19.3 (PR #3562)
  • Upgrade CodeMirror to 5.35 (PR #3372)
  • “Require” pyzmq>=17 (PR #3586)

Documentation:

  • Documentation updates and organisation (PR #3584)
  • Add section in docs about privacy (PR #3571)
  • Add explanation on how to change the type of a cell to Markdown (PR #3377)
  • Update docs with confd implementation details (PR #3520)
  • Add more information for where jupyter_notebook_config.py is located (PR #3346)
  • Document options to enable nbextensions in specific sections (PR #3525)
  • jQuery attribute selector value MUST be surrounded by quotes (PR #3527)
  • Do not execute special notebooks with nbsphinx (PR #3360)
  • Other minor fixes in PR #3288, PR #3528, PR #3293, PR #3367

Testing:

  • Testing with Selenium & Sauce labs (PR #3321)
  • Selenium utils + markdown rendering tests (PR #3458)
  • Convert insert cell tests to Selenium (PR #3508)
  • Convert prompt numbers tests to Selenium (PR #3554)
  • Convert delete cells tests to Selenium (PR #3465)
  • Convert undelete cell tests to Selenium (PR #3475)
  • More selenium testing utilities (PR #3412)
  • Only check links when build is trigger by Travis Cron job (PR #3493)
  • Fix Appveyor build errors (PR #3430)
  • Undo patches in teardown before attempting to delete files (PR #3459)
  • Get tests running with tornado 5 (PR #3398)
  • Unpin ipykernel version on Travis (PR #3223)

Credits

This release has been a team effort and we would like to thank the following 36 people who contributed:

We look forward to your feedback and contributions!

--

--

Core developer at Project Jupyter, Software consultant for Two Sigma, Plotly, and others, Creator of Hammies Shorts