Releases: pyTooling/pyTooling
Releases · pyTooling/pyTooling
v2.12.1
Release created on: 11.02.2023 - 12:49:29
Changes
- Added test cases for abstract classes that are derived multiple times.
Bug Fixes
- Fixed
ExtendedType
when an abstract class is derived multiple times, a former abstract class was still reported as abstract. - Fixed raised exception in
Vertex.Copy
.
v2.12.0
Release created on: 05.02.2023 - 23:23:02
New Features
- Added new
ToolingException
base-exception class. - Added
GraphException
,InternalError
,NotInSameGraph
,DuplicateVertexError
,DuplicateEdgeError
,DestinationNotReachable
,NotATreeError
andCycleError
for graphs. - Added
ConvertToTree
method onVertex
. - Added
TreeException
,InternalError
,NoSiblingsError
,AlreadyInTreeError
andNotInSameTreeError
for trees. - Implementeded
__len__
onNode
. - Added
Render
method toNode
.
Changes
- Bumped dependencies.
- Documented rendering of trees.
- Added
treelib
as alternative implementation. - Adjusted test cases due to changed exceptions.
Bug Fixes
- fixed some broken tables in ReST.
v2.11.0
Release created on: 11.01.2023 - 09:52:28
New Features
- Added
HasLinkToDestination
andHasLinkFromSource
onVertex
. - Added many doc-strings to classes in
pyTooling.Graph
.
Changes
- Implemented filtering feature also for
Vertex
:IterateOutboundEdges
IterateInboundEdges
IterateSuccessorVertices
IteratePredecessorVertices
Bug Fixes
None
v2.10.0
Release created on: 09.01.2023 - 17:44:04
New Features
- Added
Copy
method toVertex
. - Added missing doc-strings to existing methods in
Graph
.
Changes
- Improved exception handling for
ast_parse
. - Updated doc-strings.
- Bumped dependencies.
- Updated copyright year to 2023.
Bug Fixes
- Fixed URTL to GitHub Actions shield.
v2.9.0
Release created on: 04.01.2023 - 23:22:09
New Features
- Implemented
__del__
forVertex
,Edge
,Component
andGraph
. - Added new properties
EdgeCount
,InboundEdgeCount
andOutboundEdgeCount
onVertex
. - Added new properties
VertexCount
,EdgeCount
andComponentCount
onGraph
. - Added new method
Reverse
onEdge
. - Added new generators
IterateVertices
,IterateEdges
onGraph
. - Added
predicate
parameter to existing methods (IterateRoots
,IterateLeafs
,IterateTopologically
) onGraph
. - Added new methods
ReverseEdges
andRemoveEdges
onGraph
. - Added new method
CopyVertices
onGraph
.
Changes
⚠️ changed__len__
from number of subelements e.g. vertices or outbound edges to the number of key-value-pairs in the local dictionary ofGraph
,Vertex
andEdge
.- Adjusted handling order of vertices or edges without/with ID.
First without ID, then with ID. - Added
no cover
pragma to Python version checks for Python <3.8 code. - Added, adjusted and improved test cases for
pyTooling.Graph
.
Bug Fixes
- Adjusted type hint for
Graph.Name
toNullable
.
v2.8.3
Release created on: 01.01.2023 - 11:33:50
New Features
None
Changes
None
Bug Fixes
- Fixed performance tests.
v2.8.2
Release created on: 31.12.2022 - 16:52:42
New Features
None
Changes
None
Bug Fixes
- Limited Sphinx to
>=5.3, <6.0
. - Fixed type hints.
- Fixed testcase after v2.8.1 release.
v2.8.1
New Features
- Added new properties to
Vertex
returning inbound/outbound edges and predecessor/successor vertices as tuples:Inbound
Outbound
Predecessors
Successors
Changes
Link***
method onVertex
will now return the createdEdge
objects.- Bumped dependencies.
Bug Fixes
- Fixed type hint for
__iter__
onGraph
.
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