|
7 | 7 | IPython 9.13 |
8 | 8 | ============ |
9 | 9 |
|
| 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 | + |
10 | 37 | Python 3.11 Support Restored |
11 | 38 | ----------------------------- |
12 | 39 |
|
13 | 40 | Python 3.11 support has been restored. While IPython follows `SPEC-0 |
14 | 41 | <https://scientific-python.org/specs/spec-0000/>`__ for determining the minimum |
15 | 42 | 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`). |
17 | 52 |
|
18 | 53 |
|
19 | 54 | Thanks |
|
22 | 57 | Thanks as well to the `D. E. Shaw group <https://deshaw.com/>`_ for sponsoring |
23 | 58 | work on IPython including extended Python 3.11 support. |
24 | 59 |
|
| 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 | + |
25 | 63 |
|
26 | 64 | .. _version 9.12: |
27 | 65 |
|
|
0 commit comments