Skip to content

Commit 44415b4

Browse files
Merge pull request #445 from splunk/master
Release/1.6.19 changes
2 parents 528118b + f28dd7b commit 44415b4

7 files changed

Lines changed: 77 additions & 5 deletions

File tree

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
---
2+
name: Pull Request Template
3+
about: Create a Pull Request to contribute to the SDK
4+
title: ''
5+
labels: ''
6+
assignees: ''
7+
8+
---
9+
10+
## Description of PR
11+
12+
Provide the **context and motivation** for this PR.
13+
Briefly explain the **type of changes** (bug fix, feature request, doc update, etc.) made in this PR. Provide reference to issue # fixed, if applicable.
14+
15+
Describe the approach to the solution, the changes made, and any resulting change in behavior or impact to the user.
16+
17+
## Testing the changes
18+
19+
Please ensure tests are added for your changes.
20+
Include details of **types of tests** written for the changes in the PR and any **test setup and configuration** required to run the tests.
21+
Mention the **versions of the SDK, language runtime, OS and details of Splunk deployment** used in testing.
22+
23+
## Documentation
24+
25+
Please ensure **comments** are added for your changes and any **relevant docs** (readme, reference docs, etc.) are updated.
26+
Include any references to documentation related to the changes.
27+
28+
## Dependencies and other resources
29+
30+
Provide references to PRs or things **dependent on this change** and any relevant PRs or resources like style guides and tools used in this PR.

‎CHANGELOG.md‎

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,42 @@
11
# Splunk Enterprise SDK for Python Changelog
22

3+
## Version 1.6.19
4+
5+
### New features and APIs
6+
* [#441](https://github.com/splunk/splunk-sdk-python/pull/441) JSONResultsReader added and deprecated ResultsReader
7+
* Pre-requisite: Query parameter 'output_mode' must be set to 'json'
8+
* Improves performance by approx ~80-90%
9+
* ResultsReader is deprecated and will be removed in future releases (NOTE: Please migrate to JSONResultsReader)
10+
* [#437](https://github.com/splunk/splunk-sdk-python/pull/437) added setup_logging() method in splunklib for logging
11+
* [#426](https://github.com/splunk/splunk-sdk-python/pull/426) Added new github_commit modular input example
12+
* [#392](https://github.com/splunk/splunk-sdk-python/pull/392) Break out search argument to option parsing for v2 custom search commands
13+
* [#384](https://github.com/splunk/splunk-sdk-python/pull/384) Added Float parameter validator for custom search commands
14+
* [#371](https://github.com/splunk/splunk-sdk-python/pull/371) Modinput preserve 'app' context
15+
16+
### Bug fixes
17+
* [#439](https://github.com/splunk/splunk-sdk-python/pull/439) Modified POST method debug log to not log sensitive body/data
18+
* [#431](https://github.com/splunk/splunk-sdk-python/pull/431) Add distsearch.conf to Stream Search Command examples [ [issue#418](https://github.com/splunk/splunk-sdk-python/issues/418) ]
19+
* [#419](https://github.com/splunk/splunk-sdk-python/pull/419) Hec endpoint issue[ [issue#345](https://github.com/splunk/splunk-sdk-python/issues/345) ]
20+
* [#416](https://github.com/splunk/splunk-sdk-python/pull/416) Removed strip() method in load_value() method from data.py file [ [issue#400](https://github.com/splunk/splunk-sdk-python/issues/400) ]
21+
* [#148](https://github.com/splunk/splunk-sdk-python/pull/148) Identical entity names will cause an infinite loop
22+
23+
### Minor changes
24+
* [#440](https://github.com/splunk/splunk-sdk-python/pull/440) Github release workflow modified to generate docs
25+
* [#430](https://github.com/splunk/splunk-sdk-python/pull/430) Fix indentation in README
26+
* [#429](https://github.com/splunk/splunk-sdk-python/pull/429) documented how to access modular input metadata
27+
* [#427](https://github.com/splunk/splunk-sdk-python/pull/427) Replace .splunkrc with .env file in test and examples
28+
* [#424](https://github.com/splunk/splunk-sdk-python/pull/424) Float validator test fix
29+
* [#423](https://github.com/splunk/splunk-sdk-python/pull/423) Python3 compatibility for ResponseReader.__str__()
30+
* [#422](https://github.com/splunk/splunk-sdk-python/pull/422) ordereddict and all its reference removed
31+
* [#421](https://github.com/splunk/splunk-sdk-python/pull/421) Update README.md
32+
* [#387](https://github.com/splunk/splunk-sdk-python/pull/387) Update filter.py
33+
* [#331](https://github.com/splunk/splunk-sdk-python/pull/331) Fix a couple of warnings spotted when running python 2.7 tests
34+
* [#330](https://github.com/splunk/splunk-sdk-python/pull/330) client: use six.string_types instead of basestring
35+
* [#329](https://github.com/splunk/splunk-sdk-python/pull/329) client: remove outdated comment in Index.submit
36+
* [#262](https://github.com/splunk/splunk-sdk-python/pull/262) properly add parameters to request based on the method of the request
37+
* [#237](https://github.com/splunk/splunk-sdk-python/pull/237) Don't output close tags if you haven't written a start tag
38+
* [#149](https://github.com/splunk/splunk-sdk-python/pull/149) "handlers" stanza missing in examples/searchcommands_template/default/logging.conf
39+
340
## Version 1.6.18
441

542
### Bug fixes

‎README.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
# The Splunk Enterprise Software Development Kit for Python
55

6-
#### Version 1.6.18
6+
#### Version 1.6.19
77

88
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.
99

‎splunklib/__init__.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,5 +31,5 @@ def setup_logging(level, log_format=DEFAULT_LOG_FORMAT, date_format=DEFAULT_DATE
3131
format=log_format,
3232
datefmt=date_format)
3333

34-
__version_info__ = (1, 6, 18)
34+
__version_info__ = (1, 6, 19)
3535
__version__ = ".".join(map(str, __version_info__))

‎splunklib/binding.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1414,7 +1414,7 @@ def request(url, message, **kwargs):
14141414
head = {
14151415
"Content-Length": str(len(body)),
14161416
"Host": host,
1417-
"User-Agent": "splunk-sdk-python/1.6.18",
1417+
"User-Agent": "splunk-sdk-python/1.6.19",
14181418
"Accept": "*/*",
14191419
"Connection": "Close",
14201420
} # defaults

‎splunklib/searchcommands/__init__.py‎

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -134,9 +134,13 @@
134134
135135
.. topic:: References
136136
137-
1. `Search command style guide <http://docs.splunk.com/Documentation/Splunk/6.0/Search/Searchcommandstyleguide>`__
137+
1. `Custom Search Command manual: <https://dev.splunk.com/enterprise/docs/devtools/customsearchcommands>`__
138138
139-
2. `Commands.conf.spec <http://docs.splunk.com/Documentation/Splunk/5.0.5/Admin/Commandsconf>`_
139+
2. `Create Custom Search Commands with commands.conf.spec <http://docs.splunk.com/Documentation/Splunk/latest/Admin/Commandsconf>`_
140+
141+
3. `Configure seach assistant with searchbnf.conf <https://docs.splunk.com/Documentation/Splunk/latest/Admin/Searchbnfconf>`_
142+
143+
4. `Control search distribution with distsearch.conf <https://docs.splunk.com/Documentation/Splunk/latest/Admin/Distsearchconf>`_
140144
141145
"""
142146

‎tox.ini‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,4 +48,5 @@ commands = coverage erase
4848
description = invoke sphinx-build to build the HTML docs
4949
basepython = python3.7
5050
deps = sphinx >= 1.7.5, < 2
51+
jinja2 < 3.1.0
5152
commands = make -C docs/ html

0 commit comments

Comments
 (0)