Skip to content

Releases: pyTooling/pyTooling

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

v2.6.0

13 Nov 23:50
0cac99e
Compare
Choose a tag to compare

Release created on: 13.11.2022 - 23:50:40

New Features

  • Group vertices in components represented by class Component.
  • Added properties Graph and Component on Vertex.
  • Added property Components on Graph.
  • Added parameter checks to initializer of Edge.
  • Added generators IterateRoots, IterateLeafs, IterateTopologically and method HasCycle on Graph.

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 to ENVIRONMENT_NAME.

Bug Fixes

  • Fixed wrong directive usage in documentation license.
  • Fixed typo Vertexes to Vertices (also in method names).

v2.5.0

09 Oct 15:21
5dd46db
Compare
Choose a tag to compare

Release created on: 09.10.2022 - 15:21:41

New Features

  • Added a zipdicts and mergedicts 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

16 Jul 20:37
4fb7a07
Compare
Choose a tag to compare

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 to GetDescendants.
  • Added lots of testcases to improve code coverage for class Node.
  • Changed raised Exception exceptions to raise RuntimeError due to a bug in pytest not asserting on Exception.

Bug Fixes

  • Fixed example code in the documentation after renaming parameter id to nodeID in Node's initializer.

v2.3.0

14 Jul 12:17
b467812
Compare
Choose a tag to compare

Release created on: 14.07.2022 - 12:17:28

New Features

  • For tree data structure in class Node:
    • Implemented property Level.
    • Added dunder method __iter__ to support iter(...).
      See #59.
    • Added dunder method __len__ to support len(...).
      See #60.
    • Added property Size.
  • 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

27 Jun 00:30
bc022ba
Compare
Choose a tag to compare

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

26 Jun 17:51
c23b28a
Compare
Choose a tag to compare

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

17 Jun 23:00
f1d7a23
Compare
Choose a tag to compare

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 into pyTooling as pyTooling.GenericPath.
    It's now part of the data structures chapter.
  • Added a pycode role in Sphinx prolog.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 for Coverage.py so far. Waiting for 6.4 support in MinGW64.)

Bug Fixes

  • Fixed indentation issues in nested ReST directives.

v2.0.1

16 May 20:04
e167ecc
Compare
Choose a tag to compare

Release created on: 16.05.2022 - 20:04:11

New Features

None

Changes

None

Bug Fixes

  • Inherit singleton property