Skip to content

Releases: pyTooling/pyTooling

v2.12.1

11 Feb 12:49
17f6c44
Compare
Choose a tag to compare

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

05 Feb 23:23
f5c8255
Compare
Choose a tag to compare

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 and CycleError for graphs.
  • Added ConvertToTree method on Vertex.
  • Added TreeException, InternalError, NoSiblingsError, AlreadyInTreeError and NotInSameTreeError for trees.
  • Implementeded __len__ on Node.
  • Added Render method to Node.

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

11 Jan 09:52
ee07d25
Compare
Choose a tag to compare

Release created on: 11.01.2023 - 09:52:28

New Features

  • Added HasLinkToDestination and HasLinkFromSource on Vertex.
  • 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

09 Jan 17:44
562c7ad
Compare
Choose a tag to compare

Release created on: 09.01.2023 - 17:44:04

New Features

  • Added Copy method to Vertex.
  • 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

04 Jan 23:22
ef70c8a
Compare
Choose a tag to compare

Release created on: 04.01.2023 - 23:22:09

New Features

  • Implemented __del__ for Vertex, Edge, Component and Graph.
  • Added new properties EdgeCount, InboundEdgeCount and OutboundEdgeCount on Vertex.
  • Added new properties VertexCount, EdgeCount and ComponentCount on Graph.
  • Added new method Reverse on Edge.
  • Added new generators IterateVertices, IterateEdges on Graph.
  • Added predicate parameter to existing methods (IterateRoots, IterateLeafs, IterateTopologically) on Graph.
  • Added new methods ReverseEdges and RemoveEdges on Graph.
  • Added new method CopyVertices on Graph.

Changes

  • ⚠️ changed __len__ from number of subelements e.g. vertices or outbound edges to the number of key-value-pairs in the local dictionary of Graph, Vertex and Edge.
  • 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 to Nullable.

v2.8.3

01 Jan 11:33
5bf4108
Compare
Choose a tag to compare

Release created on: 01.01.2023 - 11:33:50

New Features

None

Changes

None

Bug Fixes

  • Fixed performance tests.

v2.8.2

31 Dec 16:52
568b78d
Compare
Choose a tag to compare

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

31 Dec 16:42
2f985a8
Compare
Choose a tag to compare

New Features

  • Added new properties to Vertex returning inbound/outbound edges and predecessor/successor vertices as tuples:
    • Inbound
    • Outbound
    • Predecessors
    • Successors

Changes

  • Link*** method on Vertex will now return the created Edge objects.
  • Bumped dependencies.

Bug Fixes

  • Fixed type hint for __iter__ on Graph.

v2.8.0

28 Dec 00:08
4ce66d0
Compare
Choose a tag to compare

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

15 Nov 23:03
d27125f
Compare
Choose a tag to compare

Release created on: 15.11.2022 - 23:03:30

New Features

  • Added properties IsPOSIX, PathSeperator and ValueSeperator to class Platform.

Changes

  • Bumped dependencies.
  • Renamed parameter data to value in class initializer of Vertex.
  • Renamed parameter vertexData to vertexValue in methods LinkToNewVertex and LinkFromNewVertex.

Bug Fixes

None