Skip to content
This repository was archived by the owner on May 5, 2025. It is now read-only.

Commit 787de57

Browse files
authored
Release 1.4.0 (#116)
* Update HISTORY.rst * Bump version: 1.3.0 → 1.4.0 * Add python 3.7
1 parent 4add5f2 commit 787de57

File tree

5 files changed

+25
-5
lines changed

5 files changed

+25
-5
lines changed

HISTORY.rst

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,24 @@
22
History
33
=======
44

5+
1.4.0 (2018-10-04)
6+
------------------
7+
8+
* Added default URL to `HTTPClient` class.
9+
* Updated docstrings for `StorageAdapter`, `TinyDBStore` and `Credentials` classes.
10+
* Now returning `state` as `str` instead of `UUID` in `get_authorization_url()` method.
11+
* Now unifying display results for -m/-s/--write. For -m you now need an output specifier (-j/-p) to print the response.
12+
* Added `decode_jwt_payload()` method to allow for extracting/using all JWT fields.
13+
* Added -s option to allow for invocation of setter methods. This allows modifying of credential store fields.
14+
* Added credential setters to allow for modifying credentials.
15+
* Updated examples.
16+
* Switched from using `requests` to `HTTPClient` in `Credentials` class.
17+
* Now checking JWT access_token `exp` to determine if refresh if needed.
18+
* Now generating a new `state` each time `get_authorization_url()` is called.
19+
* Added `__repr__` to `Credentials` class with support for masking secrets.
20+
* Updated -E --ack,nack,poll options usage to be accurate.
21+
* `JOB_FAILED` response in `xpoll()` queryStatus now includes errorCode.
22+
523
1.3.0 (2018-08-04)
624
------------------
725

pancloud/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"""Main package for pancloud."""
44

55
__author__ = 'Palo Alto Networks'
6-
__version__ = '1.3.0'
6+
__version__ = '1.4.0'
77

88
from .directorysync import DirectorySyncService
99
from .event import EventService

setup.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[bumpversion]
2-
current_version = 1.3.0
2+
current_version = 1.4.0
33
commit = True
44
tag = True
55

setup.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424

2525
setup(
2626
name='pancloud',
27-
version='1.3.0',
27+
version='1.4.0',
2828
description="Python idiomatic SDK for the Palo Alto Networks Application Framework.",
2929
long_description=readme + '\n\n' + history,
3030
author="Steven Serrata",
@@ -45,7 +45,8 @@
4545
'Programming Language :: Python :: 2.7',
4646
'Programming Language :: Python :: 3',
4747
'Programming Language :: Python :: 3.5',
48-
'Programming Language :: Python :: 3.6'
48+
'Programming Language :: Python :: 3.6',
49+
'Programming Language :: Python :: 3.7'
4950
],
5051
test_suite='tests',
5152
tests_require=test_requirements,

tox.ini

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
[tox]
2-
envlist = py27, py35, py36, pypy, pypy3 flake8
2+
envlist = py27, py35, py36, py37, pypy, pypy3 flake8
33
skipsdist = True
44

55
[travis]
66
python =
77
pypy3: pypy3
88
pypy: pypy
9+
3.7: py37
910
3.6: py36
1011
3.5: py35
1112
2.7: py27

0 commit comments

Comments
 (0)