39 KiB
Changelog
A summary of changes in the Jupyter notebook. For more detailed information, see GitHub.
Tip
Use pip install notebook --upgrade
or
conda upgrade notebook
to upgrade to the latest
release.
We strongly recommend that you upgrade pip to version 9+ of pip
before upgrading notebook
.
Tip
Use pip install pip --upgrade
to upgrade pip. Check pip
version with pip --version
.
5.7.8
- Fix regression in restarting kernels in 5.7.5. The restart handler would return before restart was completed.
- Further improve compatibility with tornado 6 with improved checks for when websockets are closed.
- Fix regression in 5.7.6 on Windows where .js files could have the wrong mime-type.
- Fix Open Redirect vulnerability (CVE-2019-10255) where certain malicious URLs could redirect from the Jupyter login page to a malicious site after a successful login. 5.7.7 contained only a partial fix for this issue.
5.7.6
5.7.6 contains a security fix for a cross-site inclusion (XSSI)
vulnerability (CVE-2019–9644), where files at a known URL could be
included in a page from an unauthorized website if the user is logged
into a Jupyter server. The fix involves setting the
X-Content-Type-Options: nosniff
header, and applying CSRF
checks previously on all non-GET API requests to GET requests to API
endpoints and the /files/ endpoint.
The attacking page is able to access some contents of files when using Internet Explorer through script errors, but this has not been demonstrated with other browsers.
5.7.5
- Fix compatibility with tornado 6 (
4392
,4449
). - Fix opening integer filedescriptor during startup on Python 2 (
4349
) - Fix compatibility with asynchronous KernelManager.restart_kernel methods (
4412
)
5.7.4
5.7.4 fixes a bug introduced in 5.7.3, in which the
list_running_servers()
function attempts to parse HTML
files as JSON, and consequently crashes (4284
).
5.7.3
5.7.3 contains one security improvement and one security fix:
- Launch the browser with a local file which redirects to the server
address including the authentication token (
4260
). This prevents another logged-in user from stealing the token from command line arguments and authenticating to the server. The single-use token previously used to mitigate this has been removed. Thanks to Dr. Owain Kenway for suggesting the local file approach. - Upgrade bootstrap to 3.4, fixing an XSS vulnerability, which has
been assigned CVE-2018-14041
(
4271
).
5.7.2
5.7.2 contains a security fix preventing malicious directory names from being able to execute javascript. CVE request pending.
5.7.1
5.7.1 contains a security fix preventing nbconvert endpoints from executing javascript with access to the server API. CVE request pending.
5.7.0
New features:
- Update to CodeMirror to 5.37, which includes f-string sytax for
Python 3.6 (
3816
) - Update jquery-ui to 1.12 (
3836
) - Check Host header to more securely protect localhost deployments
from DNS rebinding. This is a pre-emptive measure, not fixing a known
vulnerability (
3766
). Use.NotebookApp.allow_remote_access
and.NotebookApp.local_hostnames
to configure access. - Allow access-control-allow-headers to be overridden (
3886
) - Allow configuring max_body_size and max_buffer_size (
3829
) - Allow configuring get_secure_cookie keyword-args (
3778
) - Respect nbconvert entrypoints as sources for exporters (
3879
) - Include translation sources in source distributions (
3925
,3931
) - Various improvements to documentation (
3799
,3800
,3806
,3883
,3908
)
Fixing problems:
- Fix breadcrumb link when running with a base url (
3905
) - Fix possible type error when closing activity stream (
3907
) - Disable metadata editing for non-editable cells (
3744
) - Fix some styling and alignment of prompts caused by regressions in 5.6.0.
- Enter causing page reload in shortcuts editor (
3871
) - Fix uploading to the same file twice (
3712
)
See the 5.7 milestone on GitHub for a complete list of pull requests involved in this release.
Thanks to the following contributors:
- Aaron Hall
- Benjamin Ragan-Kelley
- Bill Major
- bxy007
- Dave Aitken
- Denis Ledoux
- Félix-Antoine Fortin
- Gabriel
- Grant Nestor
- Kevin Bates
- Kristian Gregorius Hustad
- M Pacer
- Madicken Munk
- Maitiu O Ciarain
- Matthias Bussonnier
- Michael Boyle
- Michael Chirico
- Mokkapati, Praneet(ES)
- Peter Parente
- Sally Wilsak
- Steven Silvester
- Thomas Kluyver
- Walter Martin
5.6.0
New features:
- Execute cells by clicking icon in input prompt (
3535
,3687
) - New "Save as" menu option (
3289
) - When serving on a loopback interface, protect against DNS rebinding
by checking the
Host
header from the browser (3714
). This check can be disabled if necessary by settingNotebookApp.allow_remote_access
. (Disabled by default while we work out some Mac issues in3754
). - Add kernel_info_timeout traitlet to enable restarting slow kernels
(
3665
) - Add
custom_display_host
config option to override displayed URL (3668
) - Add /metrics endpoint for Prometheus Metrics (
3490
) - Update to MathJax 2.7.4 (
3751
) - Update to jQuery 3.3 (
3655
) - Update marked to 0.4 (
3686
)
Fixing problems:
- Don't duplicate token in displayed URL (
3656
) - Clarify displayed URL when listening on all interfaces (
3703
) - Don't trash non-empty directories on Windows (
3673
) - Include LICENSE file in wheels (
3671
) - Don't show "0 active kernels" when starting the notebook (
3696
)
Testing:
- Add find replace test (
3630
) - Selenium test for deleting all cells (
3601
) - Make creating a new notebook more robust (
3726
)
Thanks to the following contributors:
- Arovit Narula (arovit)
- lucasoshiro (lucasoshiro)
- M Pacer (mpacer)
- Thomas Kluyver (takluyver)
- Todd (toddrme2178)
- Yuvi Panda (yuvipanda)
See the 5.6 milestone on GitHub for a complete list of pull requests involved in this release.
5.5.0
New features:
- The files list now shows file sizes (
3539
) - Add a quit button in the dashboard (
3004
) - Display hostname in the terminal when running remotely (
3356
,3593
) - Add slides exportation/download to the menu (
3287
) - Add any extra installed nbconvert exporters to the "Download as"
menu (
3323
) - Editor: warning when overwriting a file that is modified on disk
(
2783
) - Display a warning message if cookies are not enabled (
3511
) - Basic
__version__
reporting for extensions (3541
) - Add
NotebookApp.terminals_enabled
config option (3478
) - Make buffer time between last modified on disk and last modified on
last save configurable (
3273
) - Allow binding custom shortcuts for 'close and halt' (
3314
) - Add description for 'Trusted' notification (
3386
) - Add
settings['activity_sources']
(3401
) - Add an
output_updated.OutputArea
event (3560
)
Fixing problems:
- Fixes to improve web accessibility (
3507
)- There is more to do on this! See
1801
.
- There is more to do on this! See
- Fixed color contrast issue in tree.less (
3336
) - Allow cancelling upload of large files (
3373
) - Don't clear login cookie on requests without cookie (
3380
) - Don't trash files on different device to home dir on Linux (
3304
) - Clear waiting asterisks when restarting kernel (
3494
) - Fix output prompt when
execution_count
missing (3236
) - Make the 'changed on disk' dialog work when displayed twice (
3589
) - Fix going back to root directory with history in notebook list
(
3411
) - Allow defining keyboard shortcuts for missing actions (
3561
) - Prevent default on pageup/pagedown when completer is active (
3500
) - Prevent default event handling on new terminal (
3497
) - ConfigManager should not write out default values found in the .d
directory (
3485
) - Fix leak of iopub object in activity monitoring (
3424
) - Javascript lint in notebooklist.js (
3409
) - Some Javascript syntax fixes (
3294
) - Convert native for loop to
Array.forEach()
(3477
) - Disable cache when downloading nbconvert output (
3484
) - Add missing digestmod arg to HMAC (
3399
) - Log OSErrors failing to create less-critical files during startup
(
3384
) - Use powershell on Windows (
3379
) - API spec improvements, API handler improvements (
3368
) - Set notebook to dirty state after change to kernel metadata (
3350
) - Use CSP header to treat served files as belonging to a separate
origin (
3341
) - Don't install gettext into builtins (
3330
) - Add missing
import _
(3316
,3326
) - Write
notebook.json
file atomically (3305
) - Fix clicking with modifiers, page title updates (
3282
) - Upgrade jQuery to version 2.2 (
3428
) - Upgrade xterm.js to 3.1.0 (
3189
) - Upgrade moment.js to 2.19.3 (
3562
) - Upgrade CodeMirror to 5.35 (
3372
) - "Require" pyzmq>=17 (
3586
)
Documentation:
- Documentation updates and organisation (
3584
) - Add section in docs about privacy (
3571
) - Add explanation on how to change the type of a cell to Markdown
(
3377
) - Update docs with confd implementation details (
3520
) - Add more information for where
jupyter_notebook_config.py
is located (3346
) - Document options to enable nbextensions in specific sections (
3525
) - jQuery attribute selector value MUST be surrounded by quotes (
3527
) - Do not execute special notebooks with nbsphinx (
3360
) - Other minor fixes in
3288
,3528
,3293
,3367
Testing:
- Testing with Selenium & Sauce labs (
3321
) - Selenium utils + markdown rendering tests (
3458
) - Convert insert cell tests to Selenium (
3508
) - Convert prompt numbers tests to Selenium (
3554
) - Convert delete cells tests to Selenium (
3465
) - Convert undelete cell tests to Selenium (
3475
) - More selenium testing utilities (
3412
) - Only check links when build is trigger by Travis Cron job (
3493
) - Fix Appveyor build errors (
3430
) - Undo patches in teardown before attempting to delete files (
3459
) - Get tests running with tornado 5 (
3398
) - Unpin ipykernel version on Travis (
3223
)
Thanks to the following contributors:
- Arovit Narula (arovit)
- Ashley Teoh (ashleytqy)
- Nicholas Bollweg (bollwyvl)
- Alex Rothberg (cancan101)
- Celina Kilcrease (ckilcrease)
- dabuside (dabuside)
- Damian Avila (damianavila)
- Dana Lee (danagilliann)
- Dave Hirschfeld (dhirschfeld)
- Heng GAO (ehengao)
- Leo Gallucci (elgalu)
- Evan Van Dam (evandam)
- forbxy (forbxy)
- Grant Nestor (gnestor)
- Ethan T. Hendrix (hendrixet)
- Miro Hrončok (hroncok)
- Paul Ivanov (ivanov)
- Darío Hereñú (kant)
- Kevin Bates (kevin-bates)
- Maarten Breddels (maartenbreddels)
- Michael Droettboom (mdboom)
- Min RK (minrk)
- M Pacer (mpacer)
- Peter Parente (parente)
- Paul Masson (paulmasson)
- Philipp Rudiger (philippjfr)
- Mac Knight (Shels1909)
- Hisham Elsheshtawy (Sheshtawy)
- Simon Biggs (SimonBiggs)
- Sunil Hari (
@sunilhari
) - Thomas Kluyver (takluyver)
- Tim Klever (tklever)
- Gabriel Ruiz (unnamedplay-r)
- Vaibhav Sagar (vaibhavsagar)
- William Hosford (whosford)
- Hong (xuhdev)
See the 5.5 milestone on GitHub for a complete list of pull requests involved in this release.
5.4.1
A security release to fix CVE-2018-8768.
Thanks to Alex for identifying this bug, and Jonathan Kamens and Scott Sanderson at Quantopian for verifying it and bringing it to our attention.
5.4.0
- Fix creating files and folders after navigating directories in the
dashboard (
3264
). - Enable printing notebooks in colour, removing the CSS that made
everything black and white (
3212
). - Limit the completion options displayed in the notebook to 1000, to
avoid performance issues with very long lists (
3195
). - Accessibility improvements in
tree.html
(3271
). - Added alt-text to the kernel logo image in the notebook UI (
3228
). - Added a test on Travis CI to flag if symlinks are accidentally
introduced in the future. This should prevent the issue that
necessitated
release-5.3.1
(3227
). - Use lowercase letters for random IDs generated in our Javascript
(
3264
). - Removed duplicate code setting
TextCell.notebook
(3256
).
Thanks to the following contributors:
- Alex Soderman (asoderman)
- Matthias Bussonnier (Carreau)
- Min RK (minrk)
- Nitesh Sawant (ns23)
- Thomas Kluyver (takluyver)
- Yuvi Panda (yuvipanda)
See the 5.4 milestone on GitHub for a complete list of pull requests involved in this release.
5.3.1
Replaced a symlink in the repository with a copy, to fix issues
installing on Windows (3220
).
5.3.0
This release introduces a couple noteable improvements, such as terminal support for Windows and support for OS trash (files deleted from the notebook dashboard are moved to the OS trash vs. deleted permanently).
- Add support for terminals on windows (
3087
). - Add a "restart and run all" button to the toolbar (
2965
). - Send files to os trash mechanism on delete (
1968
). - Allow programmatic copy to clipboard (
3088
). - Use DOM History API for navigating between directories in the file
browser (
3115
). - Add translated files to folder(docs-translations) (
3065
). - Allow non empty dirs to be deleted (
3108
). - Set cookie on base_url (
2959
). - Allow token-authenticated requests cross-origin by default (
2920
). - Change cull_idle_timeout_minimum to 1 from 300 (
2910
). - Config option to shut down server after n seconds with no kernels
(
2963
). - Display a "close" button on load notebook error (
3176
). - Add action to command pallette to run CodeMirror's "indentAuto" on
selection (
3175
). - Add option to specify extra services (
3158
). - Warn_bad_name should not use global name (
3160
). - Avoid overflow of hidden form (
3148
). - Fix shutdown trans loss (
3147
). - Find available kernelspecs more efficiently (
3136
). - Don't try to translate missing help strings (
3122
). - Frontend/extension-config: allow default json files in a .d
directory (
3116
). - Use requirejs vs. require (
3097
). - Fixes some ui bugs in firefox #3044 (
3058
). - Compare non-specific language code when choosing to use arabic
numerals (
3055
). - Fix save-script deprecation (
3053
). - Include moment locales in package_data (
3051
). - Fix moment locale loading in bidi support (
3048
). - Tornado 5: periodiccallback loop arg will be removed (
3034
). - Use /files prefix for pdf-like files
(
3031
). - Add folder for document translation (
3022
). - When login-in via token, let a chance for user to set the password
(
3008
). - Switch to jupyter_core implementation of ensure_dir_exists (
3002
). - Send http shutdown request on 'stop' subcommand (
3000
). - Work on loading ui translations (
2969
). - Fix ansi inverse (
2967
). - Add send2trash to requirements for building docs (
2964
). - I18n readme.md improvement (
2962
). - Add 'reason' field to json error responses (
2958
). - Add some padding for stream outputs (
3194
). - Always use setuptools in
setup.py
(3206
). - Fix clearing cookies on logout when
base_url
is configured (3207
).
Thanks to the following contributors:
- bacboc (bacboc)
- Steven Silvester (blink1073)
- Matthias Bussonnier (Carreau)
- ChungJooHo (ChungJooHo)
- edida (edida)
- Francesco Franchina (
ferdas
) - forbxy (forbxy)
- Grant Nestor (gnestor)
- Josh Barnes (jcb91)
- JocelynDelalande (JocelynDelalande)
- Karthik Balakrishnan (karthikb351)
- Kevin Bates (kevin-bates)
- Kirit Thadaka (kirit93)
- Lilian Besson (Naereen)
- Maarten Breddels (maartenbreddels)
- Madhu94 (Madhu94)
- Matthias Geier (mgeier)
- Michael Heilman (mheilman)
- Min RK (minrk)
- PHaeJin (PHaeJin)
- Sukneet (Sukneet)
- Thomas Kluyver (takluyver)
See the 5.3 milestone on GitHub for a complete list of pull requests involved in this release.
5.2.1
- Fix invisible CodeMirror cursor at specific browser zoom levels
(
2983
). - Fix nbconvert handler causing broken export to PDF (
2981
). - Fix the prompt_area argument of the output area constructor. (
2961
). - Handle a compound extension in new_untitled (
2949
). - Allow disabling offline message buffering (
2916
).
Thanks to the following contributors:
- Steven Silvester (blink1073)
- Grant Nestor (gnestor)
- Jason Grout (jasongrout)
- Min RK (minrk)
- M Pacer (mpacer)
See the 5.2.1 milestone on GitHub for a complete list of pull requests involved in this release.
5.2.0
- 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
). - Update viewable_extensions (
2913
). - Show edit shortcuts modal after shortcuts modal is hidden (
2912
). - Improve edit/view behavior (
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 [ci skip] (
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
- 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
This is the first major release of the Jupyter Notebook since version 4.0 was created by the "Big Split" of IPython and Jupyter.
We encourage users to start trying JupyterLab in preparation for a future transition.
We have merged more than 300 pull requests since 4.0. Some of the major user-facing changes are described here.
File sorting in the dashboard
Files in the dashboard may now be sorted by last modified date or
name (943
):
Cell tags
There is a new cell toolbar for adding cell tags (2048
):
Cell tags are a lightweight way to customise the behaviour of tools
working with notebooks; we're working on building support for them into
tools like nbconvert and nbval. To
start using tags, select Tags
in the
View > Cell Toolbar
menu in a notebook.
The UI for editing cell tags is basic for now; we hope to improve it in future releases.
Table style
The default styling for tables in the notebook has been updated
(1776
).
Before:
After:
Customise keyboard shortcuts
You can now edit keyboard shortcuts for Command Mode within
the UI (1347
):
See the Help > Edit Keyboard Shortcuts
menu item and
follow the instructions.
Other additions
- You can copy and paste cells between notebooks, using
Ctrl-C
andCtrl-V
(Cmd-C
andCmd-V
on Mac). - 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.
- The file browser now has Edit and View buttons.
- 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 from the jupyter_cms
incubator project (
1579
). - The notebook server now provides information about kernel activity
in its kernel resource API (
1827
).
Remember that upgrading notebook
only affects the user
interface. Upgrading kernels and libraries may also provide new
features, better stability and integration with the notebook
interface.
4.4.0
- 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
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
4.3.1 is a patch release with a security patch, a couple bug fixes, and improvements to the newly-released token authentication.
Security fix:
- CVE-2016-9971. Fix CSRF vulnerability, where malicious forms could create untitled files and start kernels (no remote execution or modification of existing files) for users of certain browsers (Firefox, Internet Explorer / Edge). All previous notebook releases are affected.
Bug fixes:
- Fix carriage return handling
- Make the font size more robust against fickle browsers
- Ignore resize events that bubbled up and didn't come from window
- Add Authorization to allowed CORS headers
- Downgrade CodeMirror to 5.16 while we figure out issues in Safari
Other improvements:
- Better docs for token-based authentication
- Further highlight token info in log output when autogenerated
See the 4.3.1 milestone on GitHub for a complete list of issues and pull requests involved in this release.
4.3.0
4.3 is a minor release with many bug fixes and improvements. The
biggest user-facing change is the addition of token authentication,
which is enabled by default. A token is generated and used when your
browser is opened automatically, so you shouldn't have to enter anything
in the default circumstances. If you see a login page (e.g. by switching
browsers, or launching on a new port with --no-browser
),
you get a login URL with the token from the command
jupyter notebook list
, which you can paste into your
browser.
Highlights:
- API for creating mime-type based renderer extensions using
OutputArea.register_mime_type
andNotebook.render_cell_output
methods. See mimerender-cookiecutter for reference implementations and cookiecutter. - Enable token authentication by default. See
server_security
for more details. - 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.
4.2.3
4.2.3 is a small bugfix release on 4.2.
Highlights:
- Fix regression in 4.2.2 that delayed loading custom.js until after
notebook_loaded
andapp_initialized
events have fired. - Fix some outdated docs and links.
4.2.3 on GitHub.
4.2.2
4.2.2 is a small bugfix release on 4.2, with an important security fix. All users are strongly encouraged to upgrade to 4.2.2.
Highlights:
- Security fix: CVE-2016-6524, where untrusted latex output could be added to the page in a way that could execute javascript.
- Fix missing POST in OPTIONS responses.
- Fix for downloading non-ascii filenames.
- Avoid clobbering ssl_options, so that users can specify more detailed SSL configuration.
- Fix inverted load order in nbconfig, so user config has highest priority.
- Improved error messages here and there.
4.2.2 on GitHub.
4.2.1
4.2.1 is a small bugfix release on 4.2. Highlights:
- Compatibility fixes for some versions of ipywidgets
- Fix for ignored CSS on Windows
- Fix specifying destination when installing nbextensions
4.2.1 on GitHub.
4.2.0
Release 4.2 adds a new API for enabling and installing extensions. Extensions can now be enabled at the system-level, rather than just per-user. An API is defined for installing directly from a Python package, as well.
./examples/Notebook/Distributing Jupyter Extensions as Python Packages
Highlighted changes:
- Upgrade MathJax to 2.6 to fix vertical-bar appearing on some equations.
- Restore ability for notebook directory to be root (4.1 regression)
- Large outputs are now throttled, reducing the ability of output floods to kill the browser.
- Fix the notebook ignoring cell executions while a kernel is starting by queueing the messages.
- Fix handling of url prefixes (e.g. JupyterHub) in terminal and edit pages.
- Support nested SVGs in output.
And various other fixes and improvements.
4.1.0
Bug fixes:
- Properly reap zombie subprocesses
- Fix cross-origin problems
- Fix double-escaping of the base URL prefix
- Handle invalid unicode filenames more gracefully
- Fix ANSI color-processing
- Send keepalive messages for web terminals
- Fix bugs in the notebook tour
UI changes:
Moved the cell toolbar selector into the View menu. Added a button that triggers a "hint" animation to the main toolbar so users can find the new location. (Click here to see a screencast )
Added Restart & Run All to the Kernel menu. Users can also bind it to a keyboard shortcut on action
restart-kernel-and-run-all-cells
.Added multiple-cell selection. Users press
Shift-Up/Down
orShift-K/J
to extend selection in command mode. Various actions such as cut/copy/paste, execute, and cell type conversions apply to all selected cells.Added a command palette for executing Jupyter actions by name. Users press
Cmd/Ctrl-Shift-P
or click the new command palette icon on the toolbar.Added a Find and Replace dialog to the Edit menu. Users can also press
F
in command mode to show the dialog.
Other improvements:
- Custom KernelManager methods can be Tornado coroutines, allowing async operations.
- Make clearing output optional when rewriting input with
set_next_input(replace=True)
. - Added support for TLS client authentication via
--NotebookApp.client-ca
. - Added tags to
jupyter/notebook
releases on DockerHub.latest
continues to track the master branch.
See the 4.1 milestone on GitHub for a complete list of issues and pull requests handled.
4.0.x
4.0.6
- fix installation of mathjax support files
- fix some double-escape regressions in 4.0.5
- fix a couple of cases where errors could prevent opening a notebook
4.0.5
Security fixes for maliciously crafted files.
- CVE-2015-6938: malicious filenames
- CVE-2015-7337: malicious binary files in text editor.
Thanks to Jonathan Kamens at Quantopian and Juan Broullón for the reports.
4.0.4
- Fix inclusion of mathjax-safe extension
4.0.2
- Fix launching the notebook on Windows
- Fix the path searched for frontend config
4.0.0
First release of the notebook as a standalone package.