Skip to content

Commit

Permalink
prepare next release
Browse files Browse the repository at this point in the history
  • Loading branch information
bnjmnp committed Jul 6, 2023
1 parent 600d48f commit 5b3bac4
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 1 deletion.
7 changes: 7 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,13 @@ Using `this pysoem chat room on gitter <https://gitter.im/pysoem/pysoem>`_ is on
Changes
-------

v1.1.0
^^^^^^^
* Changed the data type for the ``name`` attribute of SDO info CdefCoeObject and CdefCoeObjectEntry, they are of type bytes now instead of a regular Python 3 string.
* Also changed the ``desc`` attribute of the ``find_adapters()`` list elements to ``bytes``.
* Introduces the ``open()`` context manager function.
* Adds the ``setup_func`` that will maybe later replace the ``config_func``.

v1.0.8
^^^^^^^
* Version bump only to re-upload to PyPI with windows-wheel for Python 3.11
Expand Down
2 changes: 1 addition & 1 deletion pysoem/__init__.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
__version__ = '1.0.8-post.1'
__version__ = '1.1.0'
from .pysoem import *
4 changes: 4 additions & 0 deletions pysoem/pysoem.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,10 @@ def find_adapters():

@contextlib.contextmanager
def open(ifname):
"""Context manager function to create a Master object.
.. versionadded:: 1.1.0
"""
master = Master()
master.open(ifname)
yield master
Expand Down

0 comments on commit 5b3bac4

Please sign in to comment.