Skip to content

Releases: KE-works/pykechain

v1.14.2

24 Jan 13:00
Compare
Choose a tag to compare

1.14.2 (24JAN18)

  • enabled to use of property model UUID in the Part.add_with_properties() next to using property names. (#258)
  • enabled to search for properties using UUID next to using property names. This is provided for you in Part.property().
  • updated dependent versions for development: pytest (3.3.2), sphinx (1.6.6), nbsphinx (0.3.1), matplotlib (2.1.2), mypy (0.560)

1.14.1 (24JAN18)

  • The Part.update() is now considerate if you provide the property UUIDs inside the update_dict as well as property names. You can even mix UUIDs and property names together. (#263) Thanks to @raduiordache

1.14.0 (11DEC17)

  • In preparation for the release of KE-chain 2.7.0-132, we added support for multireference properties in pykechain. Pykechain 1.14 is compatible with both older versions of KE-chain as well as the ones supporting multireference properties. The main difference is that you need to provide a list of Parts or part_ids instead of a single Part or part_id. It will override the value in KE-chain fully, no adding or substraction methods are provided, you need to do that in your own code.
  • Updated documentation for the MultiReferenceProperty.
  • updated dependent versions for development: pytest (3.3.1)

v1.14

11 Dec 11:10
Compare
Choose a tag to compare

1.14.0 (11DEC17)

  • In preparation for the release of KE-chain 2.7.0-132, we added support for multireference properties in pykechain. Pykechain 1.14 is compatible with both older versions of KE-chain as well as the ones supporting multireference properties. The main difference is that you need to provide a list of Parts or part_ids instead of a single Part or part_id. It will override the value in KE-chain fully, no adding or substraction methods are provided, you need to do that in your own code.
  • Updated documentation for the MultiReferenceProperty.
  • updated dependent versions for development: pytest (3.3.1)

v1.13.3

05 Dec 10:50
Compare
Choose a tag to compare

1.13.3 (5DEC17)

  • added the 'type' attribute to a property (#248)
  • updated the enums documentation to include all the possible enums available (#247)

1.13.2 (4DEC17)

  • A wrong statuscode check prevented the upload of a script to complete fully in pykechain. The script is properly uploaded, but pykechain checked against wrong code (#246).
  • updated dependent versions for development: pyopenssl (17.5.0), pytest (3.3.0), nbsphinx (0.2.18)

1.13.1 (16NOV17)

  • Added additional xtypes to the list of allowed xtypes in the customizations in order to support our new widgets. (#240)
  • updated dependent versions for development: pytest (3.2.5)

1.13 (9NOV17)

  • Added Service and ServiceExecution models to pykechain (#231). This includes the ability to create, retrieve, edit, destroy and upload kecpkg files to KE-chain. Also the retrieve, terminate, and download log results for ServiceExecutions (which are associated to Services) are available. This brings pykechain in line with the full abilities in KE-chain 2 SIM release (31OKT17) (SIM module license needed). Also see the PyPI package kecpkg-tools from KE-works to help you smoothen the workflow of creating custom KE-chain supported python packages (kecpkg) that can be executed by the KE-chain SIM module.
  • Added additional keywords arguments in the scope and activity searchers. You can now craft complex search queries to the KE-chain API (#231)
  • Prevented the creation of Activities with incorrect activity_class. This is now prevented in pykechain (#225)
  • Added an option for all models to reload (will return a new object) and refresh (will update in place). (#232)
  • Added additional tests and improved documentation for Service and ServiceExecution models.
  • updated dependent versions for development: matplotlib (2.1.0), nbsphinx (0.2.16), flake8 (3.5.0), sphinx (1.6.5), mypy (0.540), pydocstyle (2.1.1)

v1.13.1

16 Nov 13:13
Compare
Choose a tag to compare

1.13.1 (16NOV17)

  • Added additional xtypes to the list of allowed xtypes in the customizations in order to support our new widgets. (#240)
  • updated dependent versions for development: pytest (3.2.5)

v1.13.0

09 Nov 20:53
Compare
Choose a tag to compare

1.13 (9NOV17)

  • Added Service and ServiceExecution models to pykechain (#231). This includes the ability to create, retrieve, edit, destroy and upload kecpkg files to KE-chain. Also the retrieve, terminate, and download log results for ServiceExecutions (which are associated to Services) are available. This brings pykechain in line with the full abilities in KE-chain 2 SIM release (31OKT17) (SIM module license needed). Also see the PyPI package kecpkg-tools from KE-works to help you smoothen the workflow of creating custom KE-chain supported python packages (kecpkg) that can be executed by the KE-chain SIM module.
  • Added additional keywords arguments in the scope and activity searchers. You can now craft complex search queries to the KE-chain API (#231)
  • Prevented the creation of Activities with incorrect activity_class. This is now prevented in pykechain (#225)
  • Added an option for all models to reload (will return a new object) and refresh (will update in place). (#232)
  • Added additional tests and improved documentation for Service and ServiceExecution models.
  • updated dependent versions for development: matplotlib (2.1.0), nbsphinx (0.2.16), flake8 (3.5.0), sphinx (1.6.5), mypy (0.540), pydocstyle (2.1.1)

v1.12.9

05 Oct 18:43
Compare
Choose a tag to compare

note:: We have many point releases for release 1.12 as we are actively working on project that require timely updates of found bugs. Pykechain only gets better with every point release.

1.12.9 (5OCT17)

  • Improved scope control for activity queries. Will ensure that the scope_id of an acitivity is properly retrieved and checked for in case of subqueries such as Activity.children(), siblings, subprocess.
  • Updated dependent versions for development: pytest updated to 3.2.3 (#215)

1.12.8 (2OCT17)

  • Fixed a bug where the scope object was ambigously retrieved during the edit assignees of an activity action. It failed when the scope was closed. Thanks to @raduiordache for its find! (#211)
  • Updated dependent versions for development for tox to 2.9.1 and Sphinx to 1.6.4 (#198, #209)

1.12.7 (2OCT17)

  • Fixed a bug where a model without an instance raises an incorrect Error. Now it will raise a NotFoundError (#207).

1.12.6 (28SEP17)

  • Fixed a bug in the models.customisation. After a succesfull save of a customisation to an activity, the activity could not be retrieved from KE-chain if the activity was part of a closed scope (#205).

1.12.5 (28SEP17)

  • The get_project() helper method will now retrieve a scope a status other than 'ACTIVE' only (#203).
  • Updated the documentation to fix wrongly formatted examples.

1.12.4 (26SEP17)

  • Fixed a bug in the customization code by which the activity was incorrectly updated after a correctly saved customization to the KE-chain server. In some cases the incorrect customisation was retrieved on name basis, which may resulted in an error raised. Thanks to @raduiordache for finding it (#200).
  • Added **kwargs to the Part.children(), Part.siblings(), Part.instances(), Activity.children(), and Activity.siblings() methods. This will enable more comprehensive searches, eg. by the name of children using Activity.children(name='Some childs name') (#199).

1.12.3 (21SEP17)

  • Fixing the warning: 'could not any envfile' from envparse. Which is suppressed for cosmetics. It is advised to provide a pathname for the envfile when you want to load the environment variables from an envfile (#195).
  • Fixed tests for the envparse warning and refactored the tests to better deal with in-test settings of the environment.

1.12.2 (15SEP17)

  • Removed a logical error in the checking of the existing of the environment variables.

1.12.1 (15SEP17)

  • Added the ability to enforce the use of environment variables when the KECHAIN_FORCE_ENV_USE is set to a true value in the environment. Altered documentation and altered tests for that (#193).

1.12 (14SEP17)

  • Added a new helper get_project() to bootstrap a pykechain client and return a project (aka Scope) immediately. You can retrieve a project using direct arguments url, token (or username and password), and scope_id (or scope name). Alternatively, you can provide an .env file or provide the arguments from the environment as the environment variables KECHAIN_URL, KECHAIN_TOKEN (or KECHAIN_USERNAME and KECHAIN_PASSWORD), and KECHAIN_SCOPE_ID (or KECHAIN_SCOPE) (#185). This is ideal for pykechain scripts in the KE-chain SIM, as we provide support for this to make your scripting experience in KE-chain buttersmooth. An example:

    from pykechain import get_project
    project = get_project(url='http://localhost:8000', username='foo', password='bar', scope='Bike Project')
    print(project.name)

  • Added additional checks for the Client to check if the url provided is correct (#185).

  • Improved the state of the project on codacy, a nice code quality monitor, from B to A grade. Removed over 100 insecure code elements, according to codacy. See: https://www.codacy.com/app/KE-works/pykechain/dashboard (#187).

  • Updated dependent versions of pyopenssl to 1.1.2 (#188), pytest to 3.2.2 (#183) and tox to 2.8.2 (#184).

  • Updated coverage of the files to internal standards. The critical models are now 100% tested such as the Client, Activity and Part. (#190) see: https://coveralls.io/github/KE-works/pykechain.

v1.12.8

02 Oct 20:43
Compare
Choose a tag to compare

1.12.8 (2OCT17)

  • Fixed a bug where the scope object was ambigously retrieved during the edit assignees of an activity action. It failed when the scope was closed. Thanks to @raduiordache for its find! (#211)
  • Updated dependent versions for development for tox to 2.9.1 and Sphinx to 1.6.4 (#198, #209)

v1.12.7

02 Oct 07:59
Compare
Choose a tag to compare

1.12.7 (2OKT17)

  • Fixed a bug where a model without an instance raises an incorrect Error. Now it will raise a NotFoundError (#207).

v1.12.6

28 Sep 09:09
Compare
Choose a tag to compare

1.12.6 (28SEP17)

  • fixed a bug in the models.customisation. After a succesfull save of a customisation to an activity, the activity could not be retrieved from KE-chain if the activity was part of a closed scope (#205)

v1.12.5

28 Sep 08:46
Compare
Choose a tag to compare

1.12.5 (28SEP17)

  • the get_project() helper method will now retrieve a scope a status other than 'ACTIVE' only (#203)
  • updated the documentation to fix wrongly formatted examples.