From fd0bf64b82b5da4a169d24648ba6a00b1e5de924 Mon Sep 17 00:00:00 2001 From: PKing70 <39703314+PKing70@users.noreply.github.com> Date: Tue, 4 May 2021 09:34:23 -0700 Subject: [PATCH 1/2] Update CHANGELOG.md Fix bulleted lists --- CHANGELOG.md | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 89c2b6450..c8055fca1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,15 +3,17 @@ ## Version 1.6.15 ### Bug fixes -[#301](https://github.com/splunk/splunk-sdk-python/pull/301) Fix chunk synchronization -[#327](https://github.com/splunk/splunk-sdk-python/pull/327) Rename and cleanup follow-up for chunk synchronization -[#352](https://github.com/splunk/splunk-sdk-python/pull/352) Allow supplying of a key-value body when calling Context.post() + +* [#301](https://github.com/splunk/splunk-sdk-python/pull/301) Fix chunk synchronization +* [#327](https://github.com/splunk/splunk-sdk-python/pull/327) Rename and cleanup follow-up for chunk synchronization +* [#352](https://github.com/splunk/splunk-sdk-python/pull/352) Allow supplying of a key-value body when calling Context.post() ### Minor changes -[#350](https://github.com/splunk/splunk-sdk-python/pull/350) Initial end-to-end tests for streaming, reporting, generating custom search commands -[#348](https://github.com/splunk/splunk-sdk-python/pull/348) Update copyright years to 2020 -[#346](https://github.com/splunk/splunk-sdk-python/pull/346) Readme updates to urls, terminology, and formatting -[#317](https://github.com/splunk/splunk-sdk-python/pull/317) Fix deprecation warnings + +* [#350](https://github.com/splunk/splunk-sdk-python/pull/350) Initial end-to-end tests for streaming, reporting, generating custom search commands +* [#348](https://github.com/splunk/splunk-sdk-python/pull/348) Update copyright years to 2020 +* [#346](https://github.com/splunk/splunk-sdk-python/pull/346) Readme updates to urls, terminology, and formatting +* [#317](https://github.com/splunk/splunk-sdk-python/pull/317) Fix deprecation warnings ## Version 1.6.14 From f3774edca10923c111f94b6dac7fd43f39c4b4bd Mon Sep 17 00:00:00 2001 From: Tim Pavlik Date: Tue, 8 Jun 2021 15:40:11 -0700 Subject: [PATCH 2/2] Release 1.6.16 --- CHANGELOG.md | 5 +++++ README.md | 2 +- examples/searchcommands_app/setup.py | 2 +- splunklib/__init__.py | 2 +- splunklib/binding.py | 2 +- 5 files changed, 9 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 89c2b6450..1c0cd3cec 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,10 @@ # Splunk Enterprise SDK for Python Changelog +## Version 1.6.16 + +### Bug fixes +[#312](https://github.com/splunk/splunk-sdk-python/pull/312) Fix issue [#309](https://github.com/splunk/splunk-sdk-python/issues/309), avoid catastrophic backtracking in searchcommands + ## Version 1.6.15 ### Bug fixes diff --git a/README.md b/README.md index fbb4f3827..94ae42469 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@ # The Splunk Enterprise Software Development Kit for Python -#### Version 1.6.15 +#### Version 1.6.16 The Splunk Enterprise Software Development Kit (SDK) for Python contains library code and examples designed to enable developers to build applications using the Splunk platform. diff --git a/examples/searchcommands_app/setup.py b/examples/searchcommands_app/setup.py index fdb734630..b9dc87b78 100755 --- a/examples/searchcommands_app/setup.py +++ b/examples/searchcommands_app/setup.py @@ -439,7 +439,7 @@ def run(self): setup( description='Custom Search Command examples', name=os.path.basename(project_dir), - version='1.6.15', + version='1.6.16', author='Splunk, Inc.', author_email='devinfo@splunk.com', url='http://github.com/splunk/splunk-sdk-python', diff --git a/splunklib/__init__.py b/splunklib/__init__.py index 668dcfe7f..525dc8eed 100644 --- a/splunklib/__init__.py +++ b/splunklib/__init__.py @@ -16,5 +16,5 @@ from __future__ import absolute_import from splunklib.six.moves import map -__version_info__ = (1, 6, 15) +__version_info__ = (1, 6, 16) __version__ = ".".join(map(str, __version_info__)) diff --git a/splunklib/binding.py b/splunklib/binding.py index a95faa480..c3121fb86 100644 --- a/splunklib/binding.py +++ b/splunklib/binding.py @@ -1385,7 +1385,7 @@ def request(url, message, **kwargs): head = { "Content-Length": str(len(body)), "Host": host, - "User-Agent": "splunk-sdk-python/1.6.15", + "User-Agent": "splunk-sdk-python/1.6.16", "Accept": "*/*", "Connection": "Close", } # defaults