Skip to content

Commit

Permalink
0.10.0
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinsteves committed Jul 23, 2016
1 parent 7857b36 commit bfb5e54
Show file tree
Hide file tree
Showing 2 changed files with 45 additions and 2 deletions.
43 changes: 43 additions & 0 deletions HISTORY.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,49 @@
Release History
===============

0.10.0 (2016-07-23)
-------------------

- pan.http: Use email.message_from_string() for the headers attribute,
which is now an email.message.Message object:

https://docs.python.org/2/library/email.message.html

encoding attribute now set with Message get_content_charset()
method.

Add content_type attribute using Message get_content_type() method.

NOTE: this *may* introduce an incompatibility depending on how you
were using pan.afapi.PanAFapiRequest http_headers.

- pan.http: If using urllib and no content-type header urlencode data
so application/x-www-form-urlencoded request works.

- panxapi.rst: Add link to "PAN-OS XML API Labs with pan-python".

- Updated documentation links to PAN-OS 7.1.

- pan.xapi, pan.wfapi: Sanitize secrets in debug output.

- pan.wfapi, bin/panwfapi.py: Deprecate the use of
pan.wfapi.cloud_ssl_context() for SSL server certificate
verification.

NOTE: Changes are backwards compatible however use of
cloud_ssl_context() is not recommended.

If your operating system certificate store is insufficient you can
install certifi (https://pypi.python.org/pypi/certifi) and its CA
bundle will now be used for SSL server certificate verification when
ssl_context is None.

- pan.xapi: Allow Python 2.6 as a one-off while still using
sys.version_info.major named attribute.

- pan.xapi, panxapi.py: Support for type=report API request. Joint
effort with Andrew Stanton.

0.9.1 (2016-03-09)
------------------

Expand Down
4 changes: 2 additions & 2 deletions lib/pan/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#
# Copyright (c) 2013-2015 Kevin Steves <[email protected]>
# Copyright (c) 2013-2016 Kevin Steves <[email protected]>
#
# Permission to use, copy, modify, and distribute this software for any
# purpose with or without fee is hereby granted, provided that the above
Expand All @@ -16,7 +16,7 @@

import logging

__version__ = '0.9.1-current'
__version__ = '0.10.0'

DEBUG1 = logging.DEBUG
DEBUG2 = DEBUG1 - 1
Expand Down

0 comments on commit bfb5e54

Please sign in to comment.