Skip to content

Releases: jupyter/notebook

5.2.0

13 Oct 16:38
Compare
Choose a tag to compare
  • Allow setting token via jupyter_token env (#2921).
  • Fix some errors caused by raising 403 in get_current_user (#2919).
  • Register contents_manager.files_handler_class directly (#2917).
  • Ensure that keyboard shortcuts are disabled when editing them (#2912).
  • Make all files in the dashboard editable by default and provide a whitelist of viewable file extensions (#2911).
  • The root directory of the notebook server should never be hidden (#2907).
  • Fix notebook require config to match tools/build-main (#2888).
  • Give page constructor default arguments (#2887).
  • Fix codemirror.less to match codemirror's expected padding layout (#2880).
  • Add x-xsrftoken to access-control-allow-headers (#2876).
  • Buffer messages when websocket connection is interrupted (#2871).
  • Load locale dynamically only when not en-us (#2866).
  • Changed key strength to 2048 bits (#2861).
  • Resync jsversion with python version (#2860).
  • Allow copy operation on modified, read-only notebook (#2854).
  • Update error handling on apihandlers (#2853).
  • Test python 3.6 on travis, drop 3.3 (#2852).
  • Avoid base64-literals in image tests (#2851).
  • Upgrade xterm.js to 2.9.2 (#2849).
  • Changed all python variables named file to file_name to not override built_in file (#2830).
  • Add more doc tests (#2823).
  • Typos fix (#2815).
  • Rename and update license (#2810).
  • Travis builds doc (#2808).
  • Pull request i18n (#2804).
  • Factor out output_prompt_function, as is done with input prompt (#2774).
  • Use rfc5987 encoding for filenames (#2767).
  • Added path to the resources metadata, the same as in from_filename(...) in nbconvert.exporters.py (#2753).
  • Make "extrakeys" consistent for notebook and editor (#2745).
  • Bidi support (#2357).

Special thanks to samarsultan and the Arabic Competence and Globalization Center Team at IBM Egypt for adding RTL (right-to-left) support to the notebook!

See the 5.2 milestone on GitHub for a complete list of issues and pull requests involved in this release.

5.1.0

14 Sep 21:58
Compare
Choose a tag to compare
  • Preliminary i18n implementation (#2140).
  • Expose URL with auth token in notebook UI (#2666).
  • Fix search background style (#2387).
  • List running notebooks without requiring --allow-root (#2421).
  • Allow session of type other than notebook (#2559).
  • Fix search background style (#2387).
  • Fix some Markdown styling issues (#2571), (#2691) and (#2534).
  • Remove keymaps that conflict with non-English keyboards (#2535).
  • Add session-specific favicons (notebook, terminal, file) (#2452).
  • Add /api/shutdown handler (#2507).
  • Include metadata when copying a cell (#2349).
  • Stop notebook server from command line (#2388).
  • Improve “View” and “Edit” file handling in dashboard (#2449) and (#2402).
  • Provide a promise to replace use of the app_initialized.NotebookApp event (#2710).
  • Fix disabled collapse/expand output button (#2681).
  • Cull idle kernels using --MappingKernelManager.cull_idle_timeout (#2215).
  • Allow read-only notebooks to be trusted (#2718).

See the 5.1 milestone on GitHub for a complete list of issues and pull requests involved in this release.

5.0.0

31 Mar 18:41
Compare
Choose a tag to compare
  • Files in the dashboard may now be sorted by last modified date or name (#943)
  • There is a new cell toolbar for adding cell tags (#2048).
  • The default styling for tables in the notebook has been updated (#1776).
  • You can now edit keyboard shortcuts for Command Mode within the UI
    (#1347).
  • You can copy and paste cells between notebooks, using :kbd:Ctrl-C and
    :kbd:Ctrl-V (:kbd:Cmd-C and :kbd:Cmd-V on Mac) (#1286).
  • It's easier to configure a password for the notebook with the new
    jupyter notebook password command (#2007).
  • The file list can now be ordered by last modified or by name
    (#943).
  • Markdown cells now support attachments. Simply drag and drop an image from
    your desktop to a markdown cell to add it. Unlike relative links that you
    enter manually, attachments are embedded in the notebook itself. An
    unreferenced attachment will be automatically scrubbed from the notebook on
    save (#621).
  • Undoing cell deletion now supports undeleting multiple cells. Cells may not be
    in the same order as before their deletion, depending on the actions you did
    on the meantime, but this should should help reduce the impact of
    accidentally deleting code (#969).
  • The file browser now has Edit and View buttons (#1905).
  • The file browser now supports moving multiple files at once
    (#1088).
  • The Notebook will refuse to run as root unless the --allow-root flag is
    given (#1115).
  • Keyboard shortcuts are now declarative (#1234).
  • Toggling line numbers can now affect all cells (#1312).
  • Add more visible Trusted and Untrusted notifications (#1658).
  • The favicon (browser shortcut icon) now changes to indicate when the kernel is busy
    (#1837).
  • Header and toolbar visibility is now persisted in nbconfig and across sessions
    (#1769).
  • Load server extensions with ConfigManager so that merge happens recursively,
    unlike normal config values, to make it load more consistently with frontend
    extensions(#2108).
  • The notebook server now supports the bundler API <http://jupyter-notebook.readthedocs.io/en/latest/extending/bundler_extensions.html>__
    from the jupyter_cms incubator project <https://github.com/jupyter-incubator/contentmanagement>__ (#1579).
  • The notebook server now provides information about kernel activity in
    its kernel resource API (#1827).

See the 5.0 milestone on GitHub for a complete list of issues and pull requests involved in this release.

4.4.0

09 Feb 04:23
Compare
Choose a tag to compare
  • Allow override of output callbacks to redirect output messages. This is used to implement the ipywidgets Output widget, for example.
  • Fix an async bug in message handling by allowing comm message handlers to return a promise which halts message processing until the promise resolves.

See the 4.4 milestone on GitHub for a complete list of issues and pull requests involved in this release.

4.3.2

01 Feb 01:34
Compare
Choose a tag to compare

4.3.2 is a patch release with a bug fix for CodeMirror and improved handling of the "editable" cell metadata field.

  • Monkey-patch for CodeMirror that resolves #2037 without breaking #1967
  • Read-only ("editable": false) cells can be executed but cannot be split, merged, or deleted

See the 4.3.2 milestone on GitHub for a complete list of issues and pull requests involved in this release.

4.3.1

21 Dec 21:27
Compare
Choose a tag to compare

4.3.1 is a patch release with a security patch, a couple bug fixes, and improvements to the newly-released token authentication.

Bug fixes:

  • Fix carriage return handling
  • Make the font size more robust against fickle brow
  • Ignore resize events that bubbled up and didn't come from window

Other improvements:

  • Better docs for token-based authentication
  • Further highlight token info in log output when autogenerated
  • Add Authorization to allowed CORS headers

See the 4.3.1 milestone on GitHub for a complete list of issues
and pull requests involved in this release.

4.3

08 Dec 22:03
Compare
Choose a tag to compare
4.3

4.3 is a minor release with many bug fixes and improvements.

Highlights:

  • API for creating mime-type based renderer extensions using OutputArea.register_mime_type and Notebook.render_cell_output methods. See mimerender-cookiecutter for reference implementations and cookiecutter.
  • Enable token authentication by default
  • Update security docs to reflect new signature system
  • Switched from term.js to xterm.js

Bug fixes:

  • Ensure variable is set if exc_info is falsey
  • Catch and log handler exceptions in events.trigger
  • Add debug log for static file paths
  • Don’t check origin on token-authenticated requests
  • Remove leftover print statement
  • Fix highlighting of Python code blocks
  • json_errors should be outermost decorator on API handlers
  • Fix remove old nbserver info files
  • Fix notebook mime type on download links
  • Fix carriage symbol bahvior
  • Fix terminal styles
  • Update dead links in docs
  • If kernel is broken, start a new session
  • Include cross-origin check when allowing login URL redirects

Other improvements:

  • Allow JSON output data with mime type “application/*+json”
  • Allow kernelspecs to have spaces in them for backward compat
  • Allow websocket connections from scripts
  • Allow None for post_save_hook
  • Upgrade CodeMirror to 5.21
  • Upgrade xterm to 2.1.0
  • Docs for using comms
  • Set dirty flag when output arrives
  • Set ws-url data attribute when accessing a notebook terminal
  • Add base aliases for nbextensions
  • Include @ operator in CodeMirror IPython mode
  • Extend mathjax_url docstring
  • Load nbextension in predictable order
  • Improve the error messages for nbextensions
  • Include cross-origin check when allowing login URL redirects

See the 4.3 milestone on GitHub for a complete list of issues and pull requests involved in this release.