From 8fae526878c94b04e7e19d25e1b9c0ffcdd6a5ca Mon Sep 17 00:00:00 2001 From: Carlos Cordoba Date: Mon, 10 Jul 2023 13:22:29 -0500 Subject: [PATCH] API: Bump version to account for the changes required from plugins Also, add entry to the Spyder 6 changelog describing them and other entries with the new features merged since alpha1. --- changelogs/Spyder-6.md | 24 +++++++++++++++++++++--- spyder/api/_version.py | 2 +- spyder/widgets/helperwidgets.py | 4 ++-- 3 files changed, 24 insertions(+), 6 deletions(-) diff --git a/changelogs/Spyder-6.md b/changelogs/Spyder-6.md index 86c4cc13b72..c7604919e3b 100644 --- a/changelogs/Spyder-6.md +++ b/changelogs/Spyder-6.md @@ -1,6 +1,6 @@ # History of changes for Spyder 6 -## Version 6.0alpha1 (2023-06-19) +## Version 6.0.0 (unreleased) ### New features @@ -17,17 +17,35 @@ ### Important fixes +* Environment variables declared in `~/.bashrc` or `~/.zhrc` are detected and + passed to the IPython console. * Restore ability to load Hdf5 and Dicom files through the Variable Explorer (this was working in Spyder 4 and before). +### UX/UI improvements + +* The file switcher can open files present in the current project. +* 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. + ### New API features -* Generalize Run plugin to support generic inputs and executors. This allows +* `SpyderPluginV2.get_description` must be a static method now 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 spyder-ide/spyder#21101). +* 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. -* Add a new plugin for the files and symbols switcher. +* Add a new plugin called `Switcher` for the files and symbols switcher. * Declare a proper API for the Projects plugin. +---- + +## Version 6.0alpha1 (2023-06-19) + ### Issues Closed * [Issue 20885](https://github.com/spyder-ide/spyder/issues/20885) - Error when opening files due to a corrupted config file ([PR 20886](https://github.com/spyder-ide/spyder/pull/20886) by [@dalthviz](https://github.com/dalthviz)) diff --git a/spyder/api/_version.py b/spyder/api/_version.py index d4c5fbfcf05..9e275cbcd63 100644 --- a/spyder/api/_version.py +++ b/spyder/api/_version.py @@ -22,5 +22,5 @@ updated. """ -VERSION_INFO = (0, 9, 1) +VERSION_INFO = (0, 10, 0) __version__ = '.'.join(map(str, VERSION_INFO)) diff --git a/spyder/widgets/helperwidgets.py b/spyder/widgets/helperwidgets.py index 9f1f854cd62..5c15916509a 100644 --- a/spyder/widgets/helperwidgets.py +++ b/spyder/widgets/helperwidgets.py @@ -145,8 +145,8 @@ def _prepare_text_document(self, option, index): def on_hover_index_changed(self, index): """ This can be used by a widget that inherits from HoverRowsTableView to - connect its sig_hover_index_changed signal to paint an entire row when - it's hovered. + connect its sig_hover_index_changed signal to this method to paint an + entire row when it's hovered. """ self._hovered_row = index.row()