Debian Codegraph @

docs/source/whatsnew/version4.rst

raw
1 ============
2 4.x Series
3 ============
4
5 IPython 4.2
6 ===========
7
8 IPython 4.2 (April, 2016) includes various bugfixes and improvements over 4.1.
9
10 - Fix ``ipython -i`` on errors, which was broken in 4.1.
11 - The delay meant to highlight deprecated commands that have moved to jupyter has been removed.
12 - Improve compatibility with future versions of traitlets and matplotlib.
13 - Use stdlib :func:`python:shutil.get_terminal_size` to measure terminal width when displaying tracebacks
14 (provided by ``backports.shutil_get_terminal_size`` on Python 2).
15
16 You can see the rest `on GitHub <https://github.com/ipython/ipython/issues?q=milestone%3A4.2>`__.
17
18
19 IPython 4.1
20 ===========
21
22 IPython 4.1.2 (March, 2016) fixes installation issues with some versions of setuptools.
23
24 Released February, 2016. IPython 4.1 contains mostly bug fixes,
25 though there are a few improvements.
26
27
28 - IPython debugger (IPdb) now supports the number of context lines for the
29 ``where`` (and ``w``) commands. The `context` keyword is also available in
30 various APIs. See PR :ghpull:`9097`
31 - YouTube video will now show thumbnail when exported to a media that do not
32 support video. (:ghpull:`9086`)
33 - Add warning when running `ipython <subcommand>` when subcommand is
34 deprecated. `jupyter` should now be used.
35 - Code in `%pinfo` (also known as `??`) are now highlighter (:ghpull:`8947`)
36 - `%aimport` now support module completion. (:ghpull:`8884`)
37 - `ipdb` output is now colored ! (:ghpull:`8842`)
38 - Add ability to transpose columns for completion: (:ghpull:`8748`)
39
40 Many many docs improvements and bug fixes, you can see the
41 `list of changes <https://github.com/ipython/ipython/compare/4.0.0...4.1.0>`_
42
43 IPython 4.0
44 ===========
45
46 Released August, 2015
47
48 IPython 4.0 is the first major release after the Big Split.
49 IPython no longer contains the notebook, qtconsole, etc. which have moved to
50 `jupyter <https://jupyter.readthedocs.io>`_.
51 IPython subprojects, such as `IPython.parallel <https://ipyparallel.readthedocs.io>`_ and `widgets <https://ipywidgets.readthedocs.io>`_ have moved to their own repos as well.
52
53 The following subpackages are deprecated:
54
55 - IPython.kernel (now jupyter_client and ipykernel)
56 - IPython.consoleapp (now jupyter_client.consoleapp)
57 - IPython.nbformat (now nbformat)
58 - IPython.nbconvert (now nbconvert)
59 - IPython.html (now notebook)
60 - IPython.parallel (now ipyparallel)
61 - IPython.utils.traitlets (now traitlets)
62 - IPython.config (now traitlets.config)
63 - IPython.qt (now qtconsole)
64 - IPython.terminal.console (now jupyter_console)
65
66 and a few other utilities.
67
68 Shims for the deprecated subpackages have been added,
69 so existing code should continue to work with a warning about the new home.
70
71 There are few changes to the code beyond the reorganization and some bugfixes.
72
73 IPython highlights:
74
75 - Public APIs for discovering IPython paths is moved from :mod:`IPython.utils.path` to :mod:`IPython.paths`.
76 The old function locations continue to work with deprecation warnings.
77 - Code raising ``DeprecationWarning``
78 entered by the user in an interactive session will now display the warning by
79 default. See :ghpull:`8480` an :ghissue:`8478`.
80 - The `--deep-reload` flag and the corresponding options to inject `dreload` or
81 `reload` into the interactive namespace have been deprecated, and will be
82 removed in future versions. You should now explicitly import `reload` from
83 `IPython.lib.deepreload` to use it.
84