Skip to content

Commit

Permalink
Release 1.4.0 (#116)
Browse files Browse the repository at this point in the history
* Update HISTORY.rst

* Bump version: 1.3.0 → 1.4.0

* Add python 3.7
  • Loading branch information
sserrata authored Oct 5, 2018
1 parent 4add5f2 commit 787de57
Show file tree
Hide file tree
Showing 5 changed files with 25 additions and 5 deletions.
18 changes: 18 additions & 0 deletions HISTORY.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,24 @@
History
=======

1.4.0 (2018-10-04)
------------------

* Added default URL to `HTTPClient` class.
* Updated docstrings for `StorageAdapter`, `TinyDBStore` and `Credentials` classes.
* Now returning `state` as `str` instead of `UUID` in `get_authorization_url()` method.
* Now unifying display results for -m/-s/--write. For -m you now need an output specifier (-j/-p) to print the response.
* Added `decode_jwt_payload()` method to allow for extracting/using all JWT fields.
* Added -s option to allow for invocation of setter methods. This allows modifying of credential store fields.
* Added credential setters to allow for modifying credentials.
* Updated examples.
* Switched from using `requests` to `HTTPClient` in `Credentials` class.
* Now checking JWT access_token `exp` to determine if refresh if needed.
* Now generating a new `state` each time `get_authorization_url()` is called.
* Added `__repr__` to `Credentials` class with support for masking secrets.
* Updated -E --ack,nack,poll options usage to be accurate.
* `JOB_FAILED` response in `xpoll()` queryStatus now includes errorCode.

1.3.0 (2018-08-04)
------------------

Expand Down
2 changes: 1 addition & 1 deletion pancloud/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"""Main package for pancloud."""

__author__ = 'Palo Alto Networks'
__version__ = '1.3.0'
__version__ = '1.4.0'

from .directorysync import DirectorySyncService
from .event import EventService
Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[bumpversion]
current_version = 1.3.0
current_version = 1.4.0
commit = True
tag = True

Expand Down
5 changes: 3 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@

setup(
name='pancloud',
version='1.3.0',
version='1.4.0',
description="Python idiomatic SDK for the Palo Alto Networks Application Framework.",
long_description=readme + '\n\n' + history,
author="Steven Serrata",
Expand All @@ -45,7 +45,8 @@
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6'
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7'
],
test_suite='tests',
tests_require=test_requirements,
Expand Down
3 changes: 2 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
[tox]
envlist = py27, py35, py36, pypy, pypy3 flake8
envlist = py27, py35, py36, py37, pypy, pypy3 flake8
skipsdist = True

[travis]
python =
pypy3: pypy3
pypy: pypy
3.7: py37
3.6: py36
3.5: py35
2.7: py27
Expand Down

0 comments on commit 787de57

Please sign in to comment.