Skip to content

Latest commit

 

History

History
805 lines (682 loc) · 109 KB

Spyder-6.md

File metadata and controls

805 lines (682 loc) · 109 KB

History of changes for Spyder 6

Version 6.0.3 (Unreleased)

API changes

  • Add items_elide_mode kwarg to the constructors of SpyderComboBox and SpyderComboBoxWithIcons.
  • The sig_item_in_popup_changed and sig_popup_is_hidden signals were added to SpyderComboBox, SpyderComboBoxWithIcons and SpyderFontComboBox.

Version 6.0.2 (2024/10/31)

Important fixes

  • Fix plots not being generated with the Matplotlib inline backend.
  • Restore missing debugger buttons to the main toolbar.
  • Several fixes and improvements to the update detection mechanism.
  • Fix SSH tunneling info handling for remote kernels connection and add remote client tests.
  • Handle kernel fault file not being available.
  • Update QtConsole constraint to 5.6.1 to support ANSI codes that move the cursor.

API changes

  • The sig_is_rendered signal was added to SpyderToolbar.
  • The add_toolbar kwarg of the create_run_button and create_run_in_executor_button methods of the Run plugin can now accept a dictionary.

Issues Closed

In this release 15 issues were closed.

Pull Requests Merged

In this release 31 pull requests were closed.


Version 6.0.1 (2024/09/23)

Important fixes

  • Fix Spyder hanging at startup on Linux when started in a terminal in background mode.
  • Fix appeal/sponsor Spyder message being shown at every startup.
  • Fix error that prevented mouse clicks in Spyder to work on the Windows Subsystem for Linux.
  • Avoid crashes at startup from faulty/outdated external plugins.
  • Fix Spyder installer not being able to finish installation due to Start Menu entry error in some Conda installations.
  • Fix Spyder installer not installing the right Spyder version (6.0.0 vs 6.0.0rc2)
  • Fix Binder instance with example workshop project from being non-responsive.
  • Fix errors related to unmaximazing panes and layout changes.

Issues Closed

In this release 14 issues were closed.

Pull Requests Merged

In this release 20 pull requests were closed.


Version 6.0.0 (2024-09-03)

New features

  • New installers for Windows, Linux and macOS based on Conda and Conda-forge. They come up with a more robust update process and are based on Python 3.11.
  • Add a Debugger pane to explore the stack frame of the current debugging session.
  • Add a button to the Debugger pane to pause the current code execution and enter the debugger afterwards.
  • Add submenu to the Consoles menu to start a new console for a specific Conda or Pyenv environment.
  • Add ability to refresh the open Variable Explorer viewers to reflect the current variable value.
  • Add initial support to automatically connect to remote servers through SSH and run code in them. This functionality can be found in the menu Consoles > New console in remote server.
  • Show plots generated in the Variable Explorer or its viewers in the Plots pane.
  • Show Matplotlib backend and Python environment information in the status bar.
  • Make kernel restarts be much faster for the current interpreter.
  • Add experimental support for Qt 6 and increase minimal required version to Qt 5.15.
  • Turn runfile, debugfile, runcell and related commands into IPython magics.

Important fixes

  • Environment variables declared in ~/.bashrc or ~/.zhrc are detected and passed to the IPython console.
  • Support all real number dtypes in the dataframe viewer.
  • Respect Matplotlib user settings configured outside Spyder.
  • Increase DPI of Matplotlib plots so they look better in high resolution screens.
  • Allow to copy the absolute and relative paths of the current file to the tabs' context menu of the Editor.
  • Restore ability to load Hdf5 and Dicom files through the Variable Explorer (this was working in Spyder 4 and before).
  • Add ability to disable external plugins in Preferences > Plugins.
  • Use a simpler filesystem watcher in Projects to improve performance.

UX/UI improvements

  • Make Spyder accept Chinese, Korean or Japanese input on Linux by adding fcitx-qt5 as a new dependency (in conda environments only).
  • The file switcher can browse and open files present in the current project (in conda environments or if the fzf package is installed).
  • Improve how options are displayed and handled in several Variable Explorer viewers.
  • The interface font used by the entire application can be configured in Preferences > Appearance.
  • Files can be opened in the editor by pasting their path in the Working Directory toolbar.
  • Add a new button to the Variable Explorer to indicate when variables are being filtered.
  • Show intro message for panes that don't display content at startup.

New, updated and removed plugins

  • Add a Switcher plugin for the files and symbols switcher.
  • Add a Debugger plugin to centralize all functionality related to debugging.
  • Add an External Terminal plugin to execute Python and Bash/Batch/PS1 files on a system terminal.
  • Generalize the Run plugin to support generic inputs and executors. This allows plugins to declare what kind of inputs (i.e. file, cell or selection) they can execute and how they will display the result.
  • Declare a proper API for the Projects plugin.
  • The Editor now uses the API introduced in Spyder 5. That was the last built-in plugin that needed to be migrated to it.
  • The Breakpoints plugin was removed and its functionality moved to the Debugger one.

New API features

  • SpyderPluginV2.get_description must be a static method and SpyderPluginV2.get_icon a class or static method. This is necessary to display the list of available plugins in Preferences in a more user-friendly way (see PR PR 21101 for the details).
  • SpyderPlugin and SpyderPluginWidget are no longer exposed in the public API. They will be removed in Spyder 6.1.
  • All comboboxes must inherit from SpyderComboBox or related subclasses in spyder.api.widgets.comboboxes. Comboboxes that inherit directly from QComboBox won't follow Spyder's graphical style.
  • All menus must inherit from SpyderMenu in spyder.api.widgets.menus.
  • All dialog button boxes must inherit from SpyderDialogButtonBox in spyder.api.widgets.dialogs.
  • Helper classes were added to spyder.api.fonts to get and set the fonts used in Spyder in different widgets.
  • Helper classes were added to spyder.api.shortcuts to get and set keyboard shortcuts.
  • AsyncDispatcher was added to spyder.api.asyncdispatcher to run asyncio code in Spyder. Only Qt signals can be attached to asyncio future.add_done_callback calls to avoid segfaults.
  • ShellConnectStatusBarWidget was added to spyder.api.shellconnect.status to create status bar widgets connected to the current console.

Issues Closed

In this release 2 issues were closed.

Pull Requests Merged

In this release 13 pull requests were closed.


Version 6.0rc2 (2024-08-22)

Issues Closed

In this release 7 issues were closed.

Pull Requests Merged

  • PR 22371 - PR: Fix starting kernels for old Conda versions (IPython console), by @ccordoba12
  • PR 22370 - PR: Limit sphinx version to <7.4.0 to prevent bug with splash screen on Windows, by @mrclary (22353)
  • PR 22368 - PR: Update spyder-remote-services installation script (Remote client), by @hlouzada (22363)
  • PR 22367 - PR: Update core dependencies for 6.0.0rc2, by @dalthviz
  • PR 22364 - PR: Sync the IPython console current env with the one used in the Editor for completions, by @ccordoba12
  • PR 22362 - PR: Update menuinst version for file-type association (Installers), by @mrclary
  • PR 22361 - PR: Fix buttons style of the start tour dialog (Tours), by @ccordoba12
  • PR 22360 - PR: Fix redirection flag for micromamba (IPython console), by @mrclary (22240)
  • PR 22355 - PR: Prevent first time render glitch by calling position logic via a timer in showEvent (Menus), by @dalthviz (22266)
  • PR 22350 - PR: Add statusbar widget to display the env info associated to the current console (IPython console), by @ccordoba12 (22309, 21652)
  • PR 22339 - PR: Recreate Spyder runtime environment on minor updates (Installers), by @mrclary
  • PR 22338 - PR: Ensure "Update Assets" job runs when "Build Subrepos" is skipped, by @mrclary
  • PR 22303 - PR: Update connections dialog size constants, title and icon (Remote Client), by @dalthviz

In this release 13 pull requests were closed.


Version 6.0rc1 (2024-08-08)

Issues Closed

In this release 7 issues were closed.

Pull Requests Merged

In this release 17 pull requests were closed.


Version 6.0beta3 (2024-07-18)

Issues Closed

In this release 8 issues were closed.

Pull Requests Merged

In this release 17 pull requests were closed.


Version 6.0beta2 (2024-06-19)

Issues Closed

In this release 10 issues were closed.

Pull Requests Merged

In this release 16 pull requests were closed.


Version 6.0beta1 (2024-05-16)

Issues Closed

In this release 9 issues were closed.

Pull Requests Merged

In this release 13 pull requests were closed.


Version 6.0alpha5 (2024-04-23)

Issues Closed

In this release 14 issues were closed.

Pull Requests Merged

In this release 26 pull requests were closed.


Version 6.0alpha4 (2024-02-08)

Issues Closed

In this release 8 issues were closed.

Pull Requests Merged

In this release 17 pull requests were closed.


Version 6.0alpha3 (2023-12-19)

Issues Closed

In this release 17 issues were closed.

Pull Requests Merged

In this release 34 pull requests were closed.


Version 6.0alpha2 (2023-09-05)

Issues Closed

In this release 21 issues were closed.

Pull Requests Merged

In this release 51 pull requests were closed.


Version 6.0alpha1 (2023-06-19)

Issues Closed

In this release 20 issues were closed.

Pull Requests Merged

In this release 75 pull requests were closed.