Skip to content

Commit 918b460

Browse files
committed
changelog for 5.0
1 parent fbdd296 commit 918b460

File tree

1 file changed

+44
-0
lines changed

1 file changed

+44
-0
lines changed

docs/changelog.rst

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,50 @@
44
Changes in Jupyter Client
55
=========================
66

7+
5.0
8+
===
9+
10+
5.0.0
11+
-----
12+
13+
`5.0.0 on GitHub <https://github.com/jupyter/jupyter_client/milestones/5.0>`__
14+
15+
New features:
16+
17+
- Introduce :command:`jupyter run` command for running scripts with a kernel, for instance::
18+
19+
jupyter run --kernel python3 myscript.py
20+
21+
- New method :meth:`.BlockingKernelClient.execute_interactive`
22+
for running code and capturing or redisplaying its output.
23+
- New ``KernelManager.shutdown_wait_time`` configurable for adjusting the time
24+
for a kernel manager to wait after politely requesting shutdown
25+
before it resorts to forceful termination.
26+
27+
Fixes:
28+
29+
- Set sticky bit on connection-file directory to avoid getting cleaned up.
30+
- :func:`jupyter_client.launcher.launch_kernel` passes through additional options to the underlying Popen,
31+
matching :meth:`KernelManager.start_kernel`.
32+
- Check types of ``buffers`` argument in :meth:`.Session.send`,
33+
so that TypeErrors are raised immediately,
34+
rather than in the eventloop.
35+
36+
Changes:
37+
38+
- In kernelspecs, if the executable is the string ``python`` (as opposed to an absolute path),
39+
``sys.executable`` will be used rather than resolving ``python`` on PATH.
40+
This should enable Python-based kernels to install kernelspecs as part of wheels.
41+
- kernelspec names are now validated.
42+
They should only include ascii letters and numbers, plus period, hyphen, and underscore.
43+
44+
Backward-incompatible changes:
45+
46+
- :py:class:`.datetime` objects returned in parsed messages are now always timezone-aware.
47+
Timestamps in messages without timezone info are interpreted as the local timezone,
48+
as this was the behavior in earlier versions.
49+
50+
751
4.4
852
===
953

0 commit comments

Comments
 (0)