Releases: pyTooling/pyTooling
Releases · pyTooling/pyTooling
v2.8.0
Release created on: 28.12.2022 - 00:08:02
New Features
- Added helper functions to get the first key, first value or first item (key-value-pair) of a dictionary.
firstKey
firstValue
firstItem
Changes
- Simplified GitHub Actions workflow.
- Enabled Python 3.11 on Windows jobs.
- Bumped dependencies.
Bug Fixes
- Register edges of a graph in the
Graph
instance.
v2.7.0
Release created on: 15.11.2022 - 23:03:30
New Features
- Added properties
IsPOSIX
,PathSeperator
andValueSeperator
to classPlatform
.
Changes
- Bumped dependencies.
- Renamed parameter
data
tovalue
in class initializer ofVertex
. - Renamed parameter
vertexData
tovertexValue
in methodsLinkToNewVertex
andLinkFromNewVertex
.
Bug Fixes
None
v2.6.0
Release created on: 13.11.2022 - 23:50:40
New Features
- Group vertices in components represented by class
Component
. - Added properties
Graph
andComponent
onVertex
. - Added property
Components
onGraph
. - Added parameter checks to initializer of
Edge
. - Added generators
IterateRoots
,IterateLeafs
,IterateTopologically
and methodHasCycle
onGraph
.
Changes
- Updated
README
and documentation landing page content. - Simplified pipeline code by using latest
dev
branch from pyTooling/Actions. - Bumped dependencies.
- Updated documentation pages for meta-classes, tree, graph and decorators.
- Added glossary entries.
- Added many doc-strings.
- Added Python 3.11 to default versions.
- Changes environment variable checks from
EXPECTED
toENVIRONMENT_NAME
.
Bug Fixes
- Fixed wrong directive usage in documentation license.
- Fixed typo
Vertexes
toVertices
(also in method names).
v2.5.0
Release created on: 09.10.2022 - 15:21:41
New Features
- Added a
zipdicts
andmergedicts
implementation. - Added a directed graph data structure.
Changes
- Removed shield for Requires.io.
- Added shield for Snyk vulnerability reports.
- Updated README according to documentation pages.
- Added introduction
- Added common helper functions.
- Bumped dependencies.
- Documentation improvements:
- Added local ToCs.
- Added todos at undocumented places and added a todo list to the appendix.
- Documented implemented operators on CallByRefParam classes.
- General restructuring/reordering for readability and a more concise navigation bar.
- Added more references for cross-referencing.
- Documented common helper functions.
- Added basic documentation for the graph data structure.
- Added new sections to document decorators.
- Added new sections to document meta-classes.
- Changed style of Python class reference and Python module index.
- Reworked documentation landing page.
Bug Fixes
None
Related PRs:
v2.4.0
Release created on: 16.07.2022 - 20:37:24
New Features
- Added properties
Siblings
,LeftSiblings
,RightSiblings
. - Added generators
GetSiblings
,GetLeftSiblings
,GetRightSiblings
. - Added generators
GetLeftRelatives
,GetRightRelatives
.
Changes
- Renamed
GetSiblings
toGetDescendants
. - Added lots of testcases to improve code coverage for class
Node
. - Changed raised
Exception
exceptions to raiseRuntimeError
due to a bug in pytest not asserting onException
.
Bug Fixes
- Fixed example code in the documentation after renaming parameter
id
tonodeID
inNode
's initializer.
v2.3.0
Release created on: 14.07.2022 - 12:17:28
New Features
- For tree data structure in class
Node
: - New decorator
@classproperty
.
Changes
- Enhanced unit tests for class
Node
. - Added missing tests for inplace operators on
CallByRef
. - Allow unit test failures when running Packaging tests on MinGW64 and Python 3.10.
(Somehow Python / pytest on MinGW64 promotes warnings to errors.)
Bug Fixes
- Fixed bugs when splitting a tree.
v2.2.0
Release created on: 27.06.2022 - 00:30:43
New Features
- Added
ClassProperty
decorator.
Changes
- Improved code coverage by disabling fallback solutions in coverage collection.
Bug Fixes
None
v2.1.1
Release created on: 26.06.2022 - 17:51:49
New Features
None
Changes
- Improved autoapi template.
- Improved code coverage and testcases.
- Added a test for
OriginalFunction
decorator.
Bug Fixes
- Fixed Linux platform comparison in
IsNativeLinux
. - Fixed reading of Python AST so Python 3.7 is supported too.
Thanks to @tgingold for pointing at this problem.
v2.1.0
Release created on: 17.06.2022 - 23:00:58
New Features
- Restructured documentation.
- Added documentation for:
CurrentPlatform
Configuration
Configuration.YAML
- Integrated PyPI package
pyTooling.GenericPath
intopyTooling
aspyTooling.GenericPath
.
It's now part of the data structures chapter. - Added a
pycode
role in Sphinxprolog.inc
(new feature of Sphinx 5.x) - Improved singleton behavior especially for derived classes.
Changes
- Updated dependencies:
- Updated actions/setup-python to v4 via #56.
- Bumped pyTooling reference to 2.x.y
- Bumped
lxml
to 4.9, because it's now supported by MinGW64
(No update forCoverage.py
so far. Waiting for 6.4 support in MinGW64.)
Bug Fixes
- Fixed indentation issues in nested ReST directives.
v2.0.1
Release created on: 16.05.2022 - 20:04:11
New Features
None
Changes
None
Bug Fixes
- Inherit singleton property