@@ -1667,6 +1667,114 @@ handlers should set the parent header and publish status busy / idle,
1667
1667
just like an execute request.
1668
1668
1669
1669
1670
+ Changelog
1671
+ =========
1672
+
1673
+ 5.5 (draft)
1674
+ -----------
1675
+
1676
+ - Added ``debug_request/reply `` messages
1677
+ - Added ``debug_event `` message
1678
+
1679
+ 5.4
1680
+ ---
1681
+
1682
+ - Sending a ``shutdown_request `` message on the ``shell `` channel is deprecated.
1683
+ It should be sent on the control channel.
1684
+
1685
+ 5.3
1686
+ ---
1687
+
1688
+ - Kernels can now opt to be interrupted by a message sent on the control channel
1689
+ instead of a system signal. See :ref: `kernelspecs ` and :ref: `msging_interrupt `.
1690
+
1691
+ 5.2
1692
+ ---
1693
+
1694
+ - Resolve ambiguity of ``cursor_pos `` field in the presence
1695
+ of unicode surrogate pairs.
1696
+ In 5.2, cursor_pos **must be ** the actual encoding-independent offset in unicode codepoints.
1697
+
1698
+ .. seealso ::
1699
+
1700
+ :ref: `cursor_pos_unicode_note `
1701
+
1702
+ 5.1
1703
+ ---
1704
+
1705
+ - ``date `` in the header was accidentally omitted from the spec prior to 5.1,
1706
+ but it has always been in the canonical implementation,
1707
+ so implementers are strongly encouraged to include it.
1708
+ It is mandatory in 5.1.
1709
+ - ``status='abort' `` in replies has not proved useful, and is considered deprecated.
1710
+ Kernels should send ``status='error' `` instead.
1711
+ - ``comm_info_request/reply `` added
1712
+ - ``connect_request/reply `` have not proved useful, and are considered deprecated.
1713
+ Kernels are not expected to implement handlers for this message.
1714
+ - new ``transient `` field in ``display_data ``
1715
+ - new ``update_display_data `` message
1716
+
1717
+ 5.0
1718
+ ---
1719
+
1720
+ General changes:
1721
+
1722
+ - ``version `` key added to message headers
1723
+ - busy and idle status messages should be sent before/after handling every request,
1724
+ not just execution
1725
+
1726
+ Message renames to remove Python-specific-ness:
1727
+
1728
+ - ``pyin `` message renamed to ``execute_input ``
1729
+ - ``pyerr `` renamed to ``error ``
1730
+ - ``object_info_request/reply `` messages renamed to ``inspect_request/reply ``
1731
+
1732
+ Kernel info:
1733
+
1734
+ - versions changed from lists of integers to strings
1735
+ - ``ipython_version `` is removed
1736
+ - ``language_info ``, ``implementation ``, ``implementation_version ``, ``banner ``
1737
+ and ``help_links `` keys are added.
1738
+ - ``language_version `` is moved to ``language_info.version ``
1739
+ - ``language `` is moved to ``language_info.name ``
1740
+
1741
+ Execution:
1742
+
1743
+ - ``user_variables `` is removed from ``execute_request/reply `` because it is redundant with ``user_expressions ``
1744
+ - ``password `` key added to ``input_request ``
1745
+
1746
+ Output:
1747
+
1748
+ - ``data `` key in stream messages renamed to ``text `` for consistency with the notebook format.
1749
+ - ``application/json `` in mimebundles should be unpacked JSON data,
1750
+ not a double-serialized JSON string.
1751
+
1752
+ Inspection:
1753
+
1754
+ - ``name `` key in ``inspect_request `` replaced with ``code `` and ``cursor_pos ``,
1755
+ moving the lexing responsibility to the kernel.
1756
+ - ``object_info_reply `` is now a mimebundle,
1757
+ allowing formatting decisions to be made by the kernel.
1758
+
1759
+ Completion:
1760
+
1761
+ - ``complete_request ``: ``line ``, ``block ``, and ``text `` keys are removed in favor of a single ``code `` for context.
1762
+ Lexing is up to the kernel.
1763
+ - ``complete_reply ``:
1764
+ - ``matched_text `` is removed in favor of ``cursor_start `` and ``cursor_end ``.
1765
+ - ``metadata `` is added for extended information.
1766
+ - new ``is_complete_request `` and ``is_complete_reply `` messages
1767
+
1768
+ 4.1
1769
+ ---
1770
+
1771
+ - ``comm_open/close/msg `` messages added
1772
+ - ``clear_output ``: ``stdout ``, ``stderr ``, and ``display `` boolean keys for selective clearing are removed,
1773
+ and ``wait `` is added.
1774
+ The selective clearing keys are ignored in v4 and the default behavior remains the same,
1775
+ so v4 ``clear_output `` messages will be safely handled by a v4.1 frontend.
1776
+
1777
+
1670
1778
Notes
1671
1779
=====
1672
1780
0 commit comments