Releases: PlotPyStack/guidata
v3.1.1 - Maintenance release
Version 3.1.1
🛠️ Bug fixes:
- 'Apply' button state is now correctly updated when modifying one of the following items:
dataset.MultipleChoiceItemdataset.dataitems.DictItemdataset.dataitems.FloatArrayItem
- Fixed minor deprecation and other issues related to locale
💥 Changes:
- Removed
--unattendedcommand line option forpytest:- Before:
pytest --unattended guidata(to run tests without Qt event loop) - Now:
pytest guidata(there is no use case for running tests with Qt event loop,
so the--unattendedoption was removed and the unattended mode is now the default)
- Before:
- Removed CHM documentation (obsolete format)
Version 3.1.0
⚠ Exceptionally, this release contains the following API breaking changes:
- Moved
utils.update_datasettodataset.conv.update_dataset - Moved
utils.restore_datasettodataset.conv.restore_dataset
✔ API simplification (backward compatible):
- Dataset items may now be imported from
guidata.datasetinstead ofguidata.dataset.dataitems - Dataset types may now be imported from
guidata.datasetinstead ofguidata.dataset.datatypes - Examples:
-
from guidata.dataset.dataitems import FloatItembecomesfrom guidata.dataset import FloatItem -
from guidata.dataset.datatypes import DataSetbecomesfrom guidata.dataset import DataSet -
Or you may now write:
import guidata.dataset as gds class MyParameters(gds.DataSet): """My parameters""" freq = gds.FloatItem("Frequency", default=1.0, min=0.0, nonzero=True) amp = gds.FloatItem("Amplitude", default=1.0, min=0.0)
-
💥 New features:
- New
dataset.create_dataset_from_dict: create a dataset from a dictionary,
using keys and values to create the dataset items - New
dataset.create_dataset_from_func: create a dataset from a function signature,
using type annotations and default values to create the dataset items dataset.dataitems.StringItem:- Added argument
passwordto hide text (useful for passwords) - Added argument
regexpto validate text using a regular expression
- Added argument
dataset.dataitems.FileSaveItem,dataset.dataitems.FileOpenItem,
dataset.dataitems.FilesOpenItemanddataset.dataitems.DirectoryItem:
added argumentregexpto validate file/dir name using a regular expressiondataset.dataitems.DictItem: added support for HDF5 and JSON serializationdataset.io.h5fmtanddataset.io.jsonfmt: added support for lists and dictionnaries serialization
♻ New PlotPyStack internal features:
widgets.about: handle about dialog box informations (Python, Qt, Qt bindings, ...)- Renamed development environment variable
GUIDATA_PYTHONEXEtoPPSTACK_PYTHONEXE
🧹 Bug fixes:
- Fixed Qt6 compatibility issue with
QFontDatabase
Version 3.0
See full changelog here.
v3.1.0
guidata Releases
Version 3.1.0
⚠ Exceptionnally, this release contains the following API breaking changes:
- Moved
utils.update_datasettodataset.conv.update_dataset - Moved
utils.restore_datasettodataset.conv.restore_dataset
✔ API simplification (backward compatible):
- Dataset items may now be imported from
guidata.datasetinstead ofguidata.dataset.dataitems - Dataset types may now be imported from
guidata.datasetinstead ofguidata.dataset.datatypes - Examples:
-
from guidata.dataset.dataitems import FloatItembecomesfrom guidata.dataset import FloatItem -
from guidata.dataset.datatypes import DataSetbecomesfrom guidata.dataset import DataSet -
Or you may now write:
import guidata.dataset as gds class MyParameters(gds.DataSet): """My parameters""" freq = gds.FloatItem("Frequency", default=1.0, min=0.0, nonzero=True) amp = gds.FloatItem("Amplitude", default=1.0, min=0.0)
-
💥 New features:
- New
dataset.create_dataset_from_dict: create a dataset from a dictionary,
using keys and values to create the dataset items - New
dataset.create_dataset_from_func: create a dataset from a function signature,
using type annotations and default values to create the dataset items dataset.dataitems.StringItem:- Added argument
passwordto hide text (useful for passwords) - Added argument
regexpto validate text using a regular expression
- Added argument
dataset.dataitems.FileSaveItem,dataset.dataitems.FileOpenItem,
dataset.dataitems.FilesOpenItemanddataset.dataitems.DirectoryItem:
added argumentregexpto validate file/dir name using a regular expressiondataset.dataitems.DictItem: added support for HDF5 and JSON serializationdataset.io.h5fmtanddataset.io.jsonfmt: added support for lists and dictionnaries serialization
♻ New PlotPyStack internal features:
widgets.about: handle about dialog box informations (Python, Qt, Qt bindings, ...)- Renamed development environment variable
GUIDATA_PYTHONEXEtoPPSTACK_PYTHONEXE
🧹 Bug fixes:
- Fixed Qt6 compatibility issue with
QFontDatabase
Version 3.0
See full changelog here.
v3.0.6 - Maintenance release
Version 3.0.6
Bug fixes:
widgets.console.interpreter: replaced threading.Thread.isAlive (deprecated since Python 3.8)
Other changes:
-
DataSet.edit,DataSet.viewandDataSetGroup.edit: added missing argumentssizeandwordwrap -
Documentation: added check-list before submitting a patch (see
contribute.rstfile) -
Fixed some typing annotations and docstrings, as well as Pylint false positives
-
Removed unused functions from
guidata.utils.encodingmodule:transcodegetfilesystemencoding
-
Added missing docstrings and typing annotations in modules:
guidata.dataset.qtitemwidgetsguidata.dataset.qtwidgetsguidata.utils.encodingguidata.utils.misc
Version 3.0
See full changelog here.
v3.0.5 - Fixed compatibility with PySide6
v3.0.4 - New major release
New major release:
- New BSD 3-Clause License
- Black code formatting on all Python files
- New automated test suite:
- Added module
guidata.envto handle execution environment - Added support for an "unattended" execution mode (Qt loop is bypassed)
- Added support for pytest fixtures
- Added support for coverage testing: 70% coverage to date
- Added module
- Documentation was entirely rewritten using Sphinx
- Reorganized modules:
- Moved
guidata.hd5iotoguidata.dataset.hdf5io - Moved
guidata.jsoniotoguidata.dataset.jsonio - Renamed
guidata.userconfigiotoguidata.dataset.iniio - New package
guidata.utilsfor utility functions:- Removed deprecated or unused functions in old
guidata.utilsmodule - Moved old
guidata.utilsmodule toguidata.utils.misc, except the
functionsupdate_datasetandrestore_datasetwhich are still in
guidata.utils(root module) - Moved
guidata.encodingtoguidata.utils.encoding - Moved
guidata.gettext_helperstoguidata.utils.gettext_helpers
- Removed deprecated or unused functions in old
- Splitted
guidata.qtwidgetsin two modules:guidata.widgets.dockablefor dockable widgetsguidata.widgets.rotatedlabelfor rotated label
- Moved
- Other changes:
guidata.guitest:- Added support for subpackages
- New comment directive (
# guitest: show) to add test module to test suite or
to show test module in test launcher (this replaces the oldSHOW = Trueline)
guidata.dataset.datatypes.DataSet: newcreateclass method for concise
dataset creation, allowing to create a dataset with a single line of code by
passing default item values as keyword arguments
v2.3.1: Fixed compatibility with Python 3.11
Updated CHANGELOG.md and version
v2.2.1
Updated CHANGELOG
Hotfix v2.0.4
updated changelog
Added Python 3.10, QtPy 2.0 support (dropped Python 2 support)
PySide2 support
This release adds PySide2 support.