Skip to content

Commit 389bde2

Browse files
committed
Add changelog for IPython 9.5.0
1 parent f9b5d08 commit 389bde2

File tree

1 file changed

+38
-0
lines changed

1 file changed

+38
-0
lines changed

docs/source/whatsnew/version9.rst

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,44 @@
22
9.x Series
33
============
44

5+
.. _version 9.5:
6+
7+
IPython 9.5
8+
===========
9+
10+
Featuring improvements for numerous magics (``%autoreload``, ``%whos``, ``%%script``, ``%%notebook``), a streaming performance regression fix, completer policy overrides improvements, and initial support for Python 3.14.
11+
12+
- :ghpull:`14938` Fix printing long strings in ``%whos`` magic command
13+
- :ghpull:`14941` Fix performance of streaming long text
14+
- :ghpull:`14943` Simplify overriding selective evaluation policy settings for modules
15+
- :ghpull:`14955` Populate notebook metadata when exporting with ``%notebook`` magic
16+
- :ghpull:`14960` Better handling in deduperreload for patching functions with freevars
17+
- :ghpull:`14964` Fix traceback logic for non-SyntaxError exceptions in plain mode
18+
- :ghpull:`14966` Do not warn repeatedly if policy overrides are not applicable
19+
- :ghpull:`14967` Support Python 3.14.0rc2, test on CI
20+
- :ghpull:`14969` Fix truncated output in ``%script`` magic
21+
- :ghpull:`14970` Fix exceptions in ``%whos`` magic command
22+
23+
The ``%notebook`` magic now stores the language and kernel information in notebook metadata, allowing users to quickly open the exported notebook with syntax highlighting and an appropriate kernel.
24+
25+
The completer :std:configtrait:`Completer.policy_overrides` traitlet handling was improved.
26+
It no longer repeatedly warns on each completion after switching away to a policy that does not support previously specified overrides.
27+
Allow-listing attribute access on all objects in a given library is now possible.
28+
The specification now also accepts dotted strings (rather than requiring tuples to specify the path) which should make configuration easier and less error-prone.
29+
30+
.. code:
31+
32+
c.Completer.policy_overrides = {
33+
"allowed_getattr_external": {
34+
"my_trusted_library"
35+
}
36+
}
37+
38+
A number of recent regressions were fixed:
39+
- ``%autoreload`` now again shows the correct module name in traceback
40+
- standard output/error streaming of long text/logs is now as fast as in IPython 9.0
41+
- in the ``%whos`` magic handling of long strings and class objects that implement ``__len__`` was fixed.
42+
543
.. _version 9.4:
644

745
IPython 9.4

0 commit comments

Comments
 (0)