Traits

Latest version: v6.4.3

Safety actively analyzes 619324 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 8

8.0.0

-------------

This is a major release that provides support for PySide 6.4 and 6.5 as well
as Python 3.11. It includes a number of backwards-incompatible changes
following the example of Pyface 8.0.0, most notable is moving the
`traitsui.qt4.*` modules to `traitsui.qt.*`. As with Pyface 8.0 we include
a backwards-compatibility mode which allows importing from the 'qt4' namespace
via:

- setting the ETS toolkit to `"qt4"`
- setting the ETS_QT4_IMPORTS environment variable
- manually adding appropriate finders to sys.meta_path

This release also removes a number of features deprecated since TraitsUI 7.0.

Thanks To
---------

* David Baddeley
* Mark Dickinson
* Dominik Gresch
* hopeful0
* Chengyu Liu
* Orion Poplawski
* Corran Webster

Features
--------

* Be strict about 'handler.init()' return values (2008)
* Move 'traitsui.qt4.*' to 'traitsui.qt.*' (2004)
* Remove deprecated 'format' trait (2002)
* Deprecate imports from traitsui.editors (use traitsui.editors.api) (2000)
* Remove backwards-compatibility mode in undo/redo code (1999)
* Support for Python 3.11 and PySide 6.4+ (1994)

Fixes
-----

* Fix uses of None in date range editor (2019)
* Add comments for Wx-only examples (2011, 2020)
* Replace uses of "fast_ui" dispatch with "ui" dispatch (2009)
* Fix FileDialog selection actions (2003)
* Fix regression in Wx version of FileEditor (1993)
* Fix missing attribute of InstanceFactoryChocie (1989)

Test suite
----------

* Replace some relative imports in tests (1985)

7.4.3

-------------

This is a small bugfix release which resolves some bugs that have come to light
as we get more experience with PySide 6, together with changes to run CI on
more recent Python versions and current Github infrastructure.

Thanks To
---------

* Mark Dickinson
* Matt Reay
* Corran Webster
* John Wiggins

Fixes
-----
* Fix rendering of dragged tree nodes on Qt6 (1960)
* Add explicit allow_none in Datetime traits (1964)
* Generate extra TableEditor menus dynamically (1966)
* Display the selected date in the DateEditor in custom style (1967)
* Guard Qt TreeEditor against destroyed QTreeViewItems (1973)

Test suite
----------
* Update CI for EDM Python 3.8 (1972)

7.4.2

-------------

This is a small bug fix release which resolves a couple of bugs in the
RangeEditor and TreeEditor. It also pins the PySide6 version to < 6.4.0 due
to incompatibilities with the new enum system, which should improve the install
experience.

Thanks To
---------

* Aaron Ayres
* hopeful0
* Corran Webster

Fixes
-----

* Fix RangeTextEditor handling of None for low/high (1950)
* Pin PySide6 to < 6.4 (1951)
* Fix issues with shared "New" context menu in TreeEditor (1953)

7.4.1

-------------

This is a bug fix release which resolves an issue with RangeEditor not handling
None for either the high or low value, as well as an issue with ProgressColumn
rendering.

Thanks To
---------

* Steve Allen
* Chris Angell
* Aaron Ayres
* Maxwell Grady
* Johannes Loibl
* Rahul Poruri
* Corran Webster
* Hai Yan

Fixes
-----
* Fix issue with progress column rendering on Linux and Windows. (1937)
* Fix typos in docstrings (1935)
* Fix range text editor bug (1931)
* Fix issue where file editor filters were not used in simple editor (1930)

7.4.0

-------------

This is a minor release which fixes a number of bugs and adds a couple of
small features. The most significant changes are the ability to add separators
to EnumEditor comboboxes, the ability to use Pyface action Schemas for menu bars
and toolbars in Views, and getting the VideoEditor working against the new
QtMultimedia APIs in Qt6.

Thanks To
~~~~~~~~~

* Aaron Ayres
* Mark Dickinson
* Rahul Poruri
* PyHannes
* Prabhu Ramachandran
* Ioannis Tziakos
* Corran Webster
* John Wiggins
* Hai Yan

Features
~~~~~~~~
* Separators in Combobox EnumEditors. (1885)
* Allow the use of Pyface Schemas for View menus and toolbars. (1827)

Fixes
~~~~~
* Delay imports which force toolkit selection (1883)
* Fix ImageEditor paintEvent when image is None. (1907)
* Fix VideoEditor for Qt6 (1908)
* Fix the ImageEnumEditor on Qt5+ (1910)
* Fix some height and width calls for Qt and Python 3.10+ (1911)
* Fix a crash on PyQt5 when a Group has no content (1914)
* Numerous fixes for tests and CI (1897, 1893, 1889, 1894, 1898, 1899,
1990, 1902, 1903)

Documentation changes
~~~~~~~~~~~~~~~~~~~~~
* Add a copy button to code blocks in documentation (1904)

7.3.1

-------------

TraitsUI 7.3.1 is a bugfix release that resolves a couple of critical errors in
some Editors.

Thanks To
~~~~~~~~~

* Mark Dickinson
* Steven Kern
* Orion Poplawski
* Rahul Poruri
* Corran Webster

Fixes
~~~~~

* Fix an issue with KeyBindingsEditor double-click and dark mode colors (1864)
* Fix an issue with integer division in ImageEnumEditor (1862)
* Fix an attribute name and type error in the FileEditor (1860)

Page 1 of 8

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.