Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 1fb2f7d

Browse files
committed
Prepare release notes for 9.13
- Fill out whatsnew/version9.rst with all 6 milestone PRs: terminal image rendering via Kitty protocol (#15184), Python 3.11 support restoration (#15175), theme-aware color fix (#15156), CapturedIO type annotation fix (#15172), docs and contributing improvements - Mark release.py as a full release (_version_extra = "") https://claude.ai/code/session_016yXG8tqxaMuYxyw2bqZBEP
1 parent be4179d commit 1fb2f7d

2 files changed

Lines changed: 41 additions & 3 deletions

File tree

IPython/core/release.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@
1818
_version_major = 9
1919
_version_minor = 13
2020
_version_patch = 0
21-
_version_extra = ".dev"
21+
# _version_extra = ".dev"
2222
# _version_extra = "b2"
23-
# _version_extra = "" # Uncomment this for full releases
23+
_version_extra = "" # Uncomment this for full releases
2424

2525
# Construct full version string from these.
2626
_ver = [_version_major, _version_minor, _version_patch]

docs/source/whatsnew/version9.rst

Lines changed: 39 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,48 @@
77
IPython 9.13
88
============
99

10+
Summary
11+
-------
12+
13+
This release includes native terminal image rendering via the Kitty graphics
14+
protocol, a fix for illegible text in light-background themes, Python 3.11
15+
support restoration, and type annotation corrections.
16+
17+
- :ghpull:`15184` Implement support for ``image/png`` format in terminal
18+
- :ghpull:`15175` Restore Python 3.11 support with conditional imports
19+
- :ghpull:`15156` Fix illegible yellow text on yellow background in light themes
20+
- :ghpull:`15172` Fix ``CapturedIO.__init__`` type annotations to accept ``Optional[StringIO]``
21+
- :ghpull:`15180` Clarify custom prompts example in documentation
22+
- :ghpull:`15182` Update Contributing.md
23+
24+
25+
Terminal Image Rendering via Kitty Protocol
26+
-------------------------------------------
27+
28+
IPython now renders ``image/png`` MIME output natively in supported terminals
29+
using the `Kitty graphics protocol
30+
<https://sw.kovidgoyal.net/kitty/graphics-protocol/>`_. Objects such as
31+
``PIL.Image`` instances and SymPy expressions rendered with
32+
``sympy.init_printing(use_latex="png")`` will display as actual inline images
33+
in Kitty, Ghostty, and other compatible terminals. No configuration is required
34+
(:ghpull:`15184`, closes :ghissue:`13287`).
35+
36+
1037
Python 3.11 Support Restored
1138
-----------------------------
1239

1340
Python 3.11 support has been restored. While IPython follows `SPEC-0
1441
<https://scientific-python.org/specs/spec-0000/>`__ for determining the minimum
1542
supported Python version, continued Python 3.11 support is funded by the
16-
`D. E. Shaw group <https://deshaw.com/>`_.
43+
`D. E. Shaw group <https://deshaw.com/>`_ (:ghpull:`15175`).
44+
45+
46+
Theme-Aware Output Color Fix
47+
-----------------------------
48+
49+
Text that was previously rendered in a fixed yellow color—causing it to be
50+
illegible on terminals with a light or yellow background—is now rendered using
51+
a theme-aware color (:ghpull:`15156`, fixes :ghissue:`14901`).
1752

1853

1954
Thanks
@@ -22,6 +57,9 @@ Thanks
2257
Thanks as well to the `D. E. Shaw group <https://deshaw.com/>`_ for sponsoring
2358
work on IPython including extended Python 3.11 support.
2459

60+
As usual, you can find the full list of PRs on GitHub under `the 9.13
61+
<https://github.com/ipython/ipython/milestone/162?closed=1>`__ milestone.
62+
2563

2664
.. _version 9.12:
2765

0 commit comments

Comments
 (0)