Skip to content

Commit

Permalink
Release 0.8.1
Browse files Browse the repository at this point in the history
- Fixes bug that breaks unix-socket connection.
- Allows commands sent as unicode to be used.
- Updated error messages for commands that timeout.
  • Loading branch information
mharista committed Jul 21, 2017
1 parent d8b5756 commit dc4331a
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 2 deletions.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
develop
0.8.1
21 changes: 21 additions & 0 deletions docs/release-notes-0.8.1.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
######
v0.8.1
######

2017-07-20

New Modules
^^^^^^^^^^^

Enhancements
^^^^^^^^^^^^

Fixed
^^^^^

* hard coded /command-api was probably a safe default (`141 <https://github.com/arista-eosplus/pyeapi/issues/141>`_)
This issue/PR (`142 <https://github.com/arista-eosplus/pyeapi/pull/142>`_) reverts a change that introduced a bug breaking pyeapi's unix-socket connection. Regardless of using TCP/IP or unix-socket for communicating with the EAPI process the data being sent to the process is formatted in HTTP requests. The HTTP requests should always POST to the /command-api endpoint. The change being reverted by this prevents the unix-socket path from ever erroneously being used as the HTTP endpoint.
* Execute does not work well with long running commands (`138 <https://github.com/arista-eosplus/pyeapi/issues/138>`_)
Added socket specific error messages in PR (`144 <https://github.com/arista-eosplus/pyeapi/pull/144>`_) to help distinguish errors caused by command timeouts.
* eAPI does not handle commands sent as unicode strings (`137 <https://github.com/arista-eosplus/pyeapi/issues/137>`_)
Bug fixed in PR (`139 <https://github.com/arista-eosplus/pyeapi/pull/139>`_) unicode commands converted to strings when detected.
1 change: 1 addition & 0 deletions docs/release-notes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ Release Notes
:maxdepth: 2
:titlesonly:

release-notes-0.8.1.rst
release-notes-0.8.0.rst
release-notes-0.7.0.rst
release-notes-0.6.1.rst
Expand Down
2 changes: 1 addition & 1 deletion pyeapi/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
# OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
# IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#
__version__ = 'develop'
__version__ = '0.8.1'
__author__ = 'Arista EOS+'


Expand Down

0 comments on commit dc4331a

Please sign in to comment.