1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652
|
.. _changelog:
Changes in Jupyter Qt console
=============================
.. _5.6:
5.6
~~~
5.6.1
-----
`5.6.1 on GitHub <https://github.com/jupyter/qtconsole/milestones/5.6.1>`__
* Handle ANSI escape sequences that move the cursor.
5.6.0
-----
`5.6.0 on GitHub <https://github.com/jupyter/qtconsole/milestones/5.6.0>`__
Additions
+++++++++
* Use selected syntax highlighting style for tracebacks and improve ANSI color
codes support.
Changes
+++++++
* Remove syntax highlighting support for Python 2.
* Fix handling of carriage return.
* Fix showing bold face characters in output when using ANSI codes.
.. _5.5:
5.5
~~~
5.5.2
-----
`5.5.2 on GitHub <https://github.com/jupyter/qtconsole/milestones/5.5.2>`__
* Check if kernel manager is available in case the console is connected to an
externally launched kernel.
* Use string representation for a QKeySequence construction to avoid an error
in PySide6.
5.5.1
-----
`5.5.1 on GitHub <https://github.com/jupyter/qtconsole/milestones/5.5.1>`__
* Fix error when getting code completions.
5.5.0
-----
`5.5.0 on GitHub <https://github.com/jupyter/qtconsole/milestones/5.5.0>`__
Changes
+++++++
* Drop support for Python 3.7.
* Remove ``ipython_genutils`` as a dependency.
.. _5.4:
5.4
~~~
5.4.4
-----
`5.4.4 on GitHub <https://github.com/jupyter/qtconsole/milestones/5.4.4>`__
* Improve compatibility with PyQt6/PySide6.
5.4.3
-----
`5.4.3 on GitHub <https://github.com/jupyter/qtconsole/milestones/5.4.3>`__
* Add missing closed method to QtInProcessChannel.
5.4.2
-----
`5.4.2 on GitHub <https://github.com/jupyter/qtconsole/milestones/5.4.2>`__
* Check if the iopub channel is not closed before flushing it.
* Fix kernel autorestart after it's killed for Jupyter-client 8+.
5.4.1
-----
`5.4.1 on GitHub <https://github.com/jupyter/qtconsole/milestones/5.4.1>`__
* Fix crash at startup with PySide6.
* Cast images width and height to int when trying to insert them.
5.4.0
-----
`5.4.0 on GitHub <https://github.com/jupyter/qtconsole/milestones/5.4.0>`__
Additions
+++++++++
* Add ConsoleWidget.gui_completion_height option to configure the maximum
number of rows or height in pixels of completions when the
ConsoleWidget.gui_completion option has values 'ncurses' or 'droplist',
respectively.
Changes
+++++++
* Fix some errors with PySide6 6.4.0.
* Fix mixed input and print statements on macOS.
* Drop usage of disutils.
.. _5.3:
5.3
~~~
5.3.2
-----
`5.3.2 on GitHub <https://github.com/jupyter/qtconsole/milestones/5.3.2>`__
* Fix syntax highlighting with multiline inputs.
* Don't call processEvents when showing input prompts on Mac because it's not
necessary.
5.3.1
-----
`5.3.1 on GitHub <https://github.com/jupyter/qtconsole/milestones/5.3.1>`__
* Fix segfault when performing code completion on Qt6.
* Fix mixed input and print statements.
* Fix switching syntax highlighting styles on PySide2 and PySide6.
5.3.0
-----
`5.3.0 on GitHub <https://github.com/jupyter/qtconsole/milestones/5.3.0>`__
Additions
+++++++++
* Add support for PyQt6.
Changes
+++++++
* Don't show spurious blank lines when running input statements.
* Fix showing Latex images with dark background colors.
* Drop support for Python 3.6
.. _5.2:
5.2
~~~
5.2.2
-----
`5.2.2 on GitHub <https://github.com/jupyter/qtconsole/milestones/5.2.2>`__
* Fix implicit int to float conversion for Python 3.10 compatibility.
* Fix building documentation in ReadTheDocs.
5.2.1
-----
`5.2.1 on GitHub <https://github.com/jupyter/qtconsole/milestones/5.2.1>`__
* Fix error when deleting CallTipWidget.
* Another fix for the 'Erase in Line' ANSI code.
5.2.0
-----
`5.2.0 on GitHub <https://github.com/jupyter/qtconsole/milestones/5.2.0>`__
Changes
+++++++
- Fix hidden execution requests.
- Fix ANSI code for erase line.
.. _5.1:
5.1
~~~
5.1.1
-----
`5.1.1 on GitHub <https://github.com/jupyter/qtconsole/milestones/5.1.1>`__
* Improve handling of different keyboard combinations.
* Move cursor to the beginning of buffer if on the same line.
5.1.0
-----
`5.1.0 on GitHub <https://github.com/jupyter/qtconsole/milestones/5.1.0>`__
Additions
+++++++++
- Two new keyboard shortcuts: Ctrl + Up/Down to go to the beginning/end
of the buffer.
Changes
+++++++
- Monkeypatch RegexLexer only while in use by qtconsole.
- Import Empty from queue module.
.. _5.0:
5.0
~~~
5.0.3
-----
`5.0.3 on GitHub <https://github.com/jupyter/qtconsole/milestones/5.0.3>`__
* Emit kernel_restarted signal only after a kernel crash.
5.0.2
-----
`5.0.2 on GitHub <https://github.com/jupyter/qtconsole/milestones/5.0.2>`__
* Fix launching issue with Big Sur
* Remove partial prompt on copy
5.0.1
-----
`5.0.1 on GitHub <https://github.com/jupyter/qtconsole/milestones/5.0.1>`__
* Add python_requires to setup.py for Python 3.6+ compatibility
5.0.0
-----
`5.0.0 on GitHub <https://github.com/jupyter/qtconsole/milestones/5.0>`__
Additions
+++++++++
- Add option to set completion type while running.
Changes
+++++++
- Emit kernel_restarted after restarting kernel.
- Drop support for Python 2.7 and 3.5.
.. _4.7:
4.7
~~~
.. _4.7.7:
4.7.7
-----
`4.7.7 on GitHub <https://github.com/jupyter/qtconsole/milestones/4.7.7>`__
* Change font width calculation to use horizontalAdvance
.. _4.7.6:
4.7.6
-----
`4.7.6 on GitHub <https://github.com/jupyter/qtconsole/milestones/4.7.6>`__
* Replace qApp with QApplication.instance().
* Fix QFontMetrics.width deprecation.
.. _4.7.5:
4.7.5
-----
`4.7.5 on GitHub <https://github.com/jupyter/qtconsole/milestones/4.7.5>`__
* Print input if there is no prompt.
.. _4.7.4:
4.7.4
-----
`4.7.4 on GitHub <https://github.com/jupyter/qtconsole/milestones/4.7.4>`__
* Fix completion widget text for paths and files.
* Make Qtconsole work on Python 3.8 and Windows.
.. _4.7.3:
4.7.3
-----
`4.7.3 on GitHub <https://github.com/jupyter/qtconsole/milestones/4.7.3>`__
* Fix all misuses of QtGui.
.. _4.7.2:
4.7.2
-----
`4.7.2 on GitHub <https://github.com/jupyter/qtconsole/milestones/4.7.2>`__
* Set updated prompt as previous prompt object in JupyterWidget.
* Fix some Qt incorrect imports.
.. _4.7.1:
4.7.1
-----
`4.7.1 on GitHub <https://github.com/jupyter/qtconsole/milestones/4.7.1>`__
* Remove common prefix from path completions.
* Use QtWidgets instead of QtGui to create QMenu instances.
4.7.0
-----
`4.7.0 on GitHub <https://github.com/jupyter/qtconsole/milestones/4.7.0>`__
Additions
+++++++++
- Use qtpy as the shim layer for Python Qt bindings and remove our own
shim.
Changes
+++++++
- Remove code to expand tabs to spaces.
- Skip history if it is the same as the input buffer.
.. _4.6:
4.6
~~~
4.6.0
-----
`4.6.0 on GitHub <https://github.com/jupyter/qtconsole/milestones/4.6>`__
Additions
+++++++++
- Add an option to configure scrollbar visibility.
Changes
+++++++
- Avoid introducing a new line when executing code.
.. _4.5:
4.5
~~~
.. _4.5.5:
4.5.5
-----
`4.5.5 on GitHub <https://github.com/jupyter/qtconsole/milestones/4.5.5>`__
* Set console to read only after input.
* Allow text to be added before the prompt while autocompleting.
* Scroll when adding text even when not executing.
.. _4.5.4:
4.5.4
-----
`4.5.4 on GitHub <https://github.com/jupyter/qtconsole/milestones/4.5.4>`__
- Fix emoji highlighting.
.. _4.5.3:
4.5.3
-----
`4.5.3 on GitHub <https://github.com/jupyter/qtconsole/milestones/4.5.3>`__
- Fix error when closing comms.
- Fix prompt automatically scrolling down on execution.
.. _4.5.2:
4.5.2
-----
`4.5.2 on GitHub <https://github.com/jupyter/qtconsole/milestones/4.5.2>`__
- Remove deprecation warnings in Python 3.8
- Improve positioning and content of completion widget.
- Scroll down for output from remote commands.
.. _4.5.1:
4.5.1
-----
`4.5.1 on GitHub <https://github.com/jupyter/qtconsole/milestones/4.5.1>`__
- Only use setuptools in setup.py to fix uploading tarballs to PyPI.
4.5.0
-----
`4.5.0 on GitHub <https://github.com/jupyter/qtconsole/milestones/4.5>`__
Additions
+++++++++
- Add Comms to qtconsole.
- Add kernel language name as an attribute of JupyterWidget.
Changes
+++++++
- Use new traitlets API with decorators.
.. _4.4:
4.4
~~~
.. _4.4.4:
4.4.4
-----
`4.4.4 on GitHub <https://github.com/jupyter/qtconsole/milestones/4.4.4>`__
- Prevent cursor from moving to the end of the line while debugging.
.. _4.4.3:
4.4.3
-----
`4.4.3 on GitHub <https://github.com/jupyter/qtconsole/milestones/4.4.3>`__
- Fix complete statements check inside indented block for Python after
the IPython 7 release.
- Improve auto-scrolling during execution.
.. _4.4.2:
4.4.2
-----
`4.4.2 on GitHub <https://github.com/jupyter/qtconsole/milestones/4.4.2>`__
- Fix incompatibility with PyQt5 5.11.
.. _4.4.1:
4.4.1
-----
`4.4.1 on GitHub <https://github.com/jupyter/qtconsole/milestones/4.4.1>`__
- Fix setting width and height when displaying images with IPython's Image.
- Avoid displaying errors when using Matplotlib to generate pngs from Latex.
.. _4.4.0:
4.4.0
-----
`4.4.0 on GitHub <https://github.com/jupyter/qtconsole/milestones/4.4>`__
Additions
+++++++++
- :kbd:`Control-D` enters an EOT character if kernel is executing and input is
empty.
- Implement block indent on multiline selection with :kbd:`Tab`.
- Change the syntax highlighting style used in the console at any time. It can
be done in the menu ``View > Syntax Style``.
Changes
+++++++
- Change :kbd:`Control-Shift-A` to select cell contents first.
- Change default tab width to 4 spaces.
- Enhance handling of input from other clients.
- Don't block the console when the kernel is asked for completions.
Fixes
+++++
- Fix bug that make PySide2 a forbidden binding.
- Fix IndexError when copying prompts.
- Fix behavior of right arrow key.
- Fix behavior of :kbd:`Control-Backspace` and :kbd:`Control-Del`
.. _4.3:
4.3
~~~
.. _4.3.1:
4.3.1
-----
`4.3.1 on GitHub <https://github.com/jupyter/qtconsole/milestones/4.3.1>`__
- Make %clear to delete previous output on Windows.
- Fix SVG rendering.
.. _4.3.0:
4.3.0
-----
`4.3 on GitHub <https://github.com/jupyter/qtconsole/milestones/4.3>`__
Additions
+++++++++
- Add :kbd:`Shift-Tab` shortcut to unindent text
- Add :kbd:`Control-R` shortcut to rename the current tab
- Add :kbd:`Alt-R` shortcut to set the main window title
- Add :kbd:`Command-Alt-Left` and :kbd:`Command-Alt-Right` shortcut to switch
tabs on macOS
- Add support for PySide2
- Add support for Python 3.5
- Add support for 24 bit ANSI color codes
- Add option to create new tab connected to the existing kernel
Changes
+++++++
- Rename `ConsoleWidget.width/height` traits to `console_width/console_height`
to avoid a name clash with the `QWidget` properties. Note: the name change
could be, in rare cases if a name collision exists, a code-breaking
change.
- Change :kbd:`Tab` key behavior to always indent to the next increment of 4 spaces
- Change :kbd:`Home` key behavior to alternate cursor between the beginning of text
(ignoring leading spaces) and beginning of the line
- Improve documentation of various options and clarified the docs in some places
- Move documentation to ReadTheDocs
Fixes
+++++
- Fix automatic indentation of new lines that are inserted in the middle of a
cell
- Fix regression where prompt would never be shown for `--existing` consoles
- Fix `python.exe -m qtconsole` on Windows
- Fix showing error messages when running a script using `%run`
- Fix `invalid cursor position` error and subsequent freezing of user input
- Fix syntax coloring when attaching to non-IPython kernels
- Fix printing when using QT5
- Fix :kbd:`Control-K` shortcut (delete until end of line) on macOS
- Fix history browsing (:kbd:`Up`/:kbd:`Down` keys) when lines are longer than
the terminal width
- Fix saving HTML with inline PNG for Python 3
- Various internal bugfixes
.. _4.2:
4.2
~~~
`4.2 on GitHub <https://github.com/jupyter/qtconsole/milestones/4.2>`__
- various latex display fixes
- improvements for embedding in Qt applications (use existing Qt API if one is already loaded)
.. _4.1:
4.1
~~~
.. _4.1.1:
4.1.1
-----
`4.1.1 on GitHub <https://github.com/jupyter/qtconsole/milestones/4.1.1>`__
- Set AppUserModelID for taskbar icon on Windows 7 and later
.. _4.1.0:
4.1.0
-----
`4.1 on GitHub <https://github.com/jupyter/qtconsole/milestones/4.1>`__
- fix regressions in copy/paste, completion
- fix issues with inprocess IPython kernel
- fix ``jupyter qtconsole --generate-config``
.. _4.0:
4.0
~~~
.. _4.0.1:
4.0.1
-----
- fix installation issues, including setuptools entrypoints for Windows
- Qt5 fixes
.. _4.0.0:
4.0.0
-----
`4.0 on GitHub <https://github.com/jupyter/qtconsole/milestones/4.0>`__
First release of the Qt console as a standalone package.
|