From 650bea0e8629dd42e44936aaa1f96a43b7df72ee Mon Sep 17 00:00:00 2001 From: vmalaviya Date: Thu, 28 Oct 2021 15:12:08 +0530 Subject: [PATCH] Release-1.6.17 changes --- CHANGELOG.md | 20 ++++++++++++++++++++ README.md | 2 +- docs/searchcommands.rst | 6 +++--- examples/searchcommands_app/setup.py | 2 +- splunklib/__init__.py | 2 +- splunklib/binding.py | 2 +- 6 files changed, 27 insertions(+), 7 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 63f520c82..743b4f175 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,25 @@ # Splunk Enterprise SDK for Python Changelog +## Version 1.6.17 + +### Bug fixes + +* [#396](https://github.com/splunk/splunk-sdk-python/pull/396) Updated KVStore Methods to support dictionaries +* [#397](https://github.com/splunk/splunk-sdk-python/pull/397) Added code changes for encoding '/' in _key parameter in kvstore.data APIs. +* [#398](https://github.com/splunk/splunk-sdk-python/pull/398) Added dictionary support for KVStore "query" methods. +* [#404](https://github.com/splunk/splunk-sdk-python/pull/404) Fixed test case failure for 8.0 and latest(8.2.x) splunk version + +### Minor changes + +* [#381](https://github.com/splunk/splunk-sdk-python/pull/381) Updated current year in conf.py +* [#389](https://github.com/splunk/splunk-sdk-python/pull/389) Fixed few typos +* [#391](https://github.com/splunk/splunk-sdk-python/pull/391) Fixed spelling error in client.py +* [#393](https://github.com/splunk/splunk-sdk-python/pull/393) Updated development status past 3 +* [#394](https://github.com/splunk/splunk-sdk-python/pull/394) Updated Readme steps to run examples +* [#395](https://github.com/splunk/splunk-sdk-python/pull/395) Updated random_number.py +* [#399](https://github.com/splunk/splunk-sdk-python/pull/399) Moved CI tests to GitHub Actions +* [#403](https://github.com/splunk/splunk-sdk-python/pull/403) Removed usage of Easy_install to install SDK + ## Version 1.6.16 ### Bug fixes diff --git a/README.md b/README.md index 6b92a179a..a1f077ebe 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@ # The Splunk Enterprise Software Development Kit for Python -#### Version 1.6.16 +#### Version 1.6.17 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/docs/searchcommands.rst b/docs/searchcommands.rst index a620fbb84..281f755ff 100644 --- a/docs/searchcommands.rst +++ b/docs/searchcommands.rst @@ -3,7 +3,7 @@ splunklib.searchcommands .. automodule:: splunklib.searchcommands -.. autofunction:: dispatch(command_class[, argv=sys.argv, input_file=sys.stdin, output_file=sys.stdout, module_name=None]) +.. autofunction:: dispatch(command_class[, argv=sys.argv, input_file=sys.stdin, output_file=sys.stdout, module_name=None, allow_empty_input=True]) .. autoclass:: EventingCommand :members: @@ -31,7 +31,7 @@ splunklib.searchcommands .. automethod:: splunklib.searchcommands::GeneratingCommand.generate - .. automethod:: splunklib.searchcommands::GeneratingCommand.process(args=sys.argv[, input_file=sys.stdin, output_file=sys.stdout]) + .. automethod:: splunklib.searchcommands::GeneratingCommand.process(args=sys.argv[, input_file=sys.stdin, output_file=sys.stdout, allow_empty_input=True]) .. autoclass:: ReportingCommand :members: @@ -59,7 +59,7 @@ splunklib.searchcommands :inherited-members: :exclude-members: configuration_settings, fix_up, items, keys - .. automethod:: splunklib.searchcommands::StreamingCommand.process(args=sys.argv[, input_file=sys.stdin, output_file=sys.stdout]) + .. automethod:: splunklib.searchcommands::StreamingCommand.process(args=sys.argv[, input_file=sys.stdin, output_file=sys.stdout, allow_empty_input=True]) .. automethod:: splunklib.searchcommands::StreamingCommand.stream diff --git a/examples/searchcommands_app/setup.py b/examples/searchcommands_app/setup.py index b9dc87b78..ba2d46a0d 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.16', + version='1.6.17', 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 525dc8eed..36f8a7e0b 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, 16) +__version_info__ = (1, 6, 17) __version__ = ".".join(map(str, __version_info__)) diff --git a/splunklib/binding.py b/splunklib/binding.py index 8d47d244f..cea9894e3 100644 --- a/splunklib/binding.py +++ b/splunklib/binding.py @@ -1391,7 +1391,7 @@ def request(url, message, **kwargs): head = { "Content-Length": str(len(body)), "Host": host, - "User-Agent": "splunk-sdk-python/1.6.16", + "User-Agent": "splunk-sdk-python/1.6.17", "Accept": "*/*", "Connection": "Close", } # defaults