Skip to content

Commit c4e8bf3

Browse files
authored
Merge pull request #566 from splunk/master
Relase 2.0.0 sync
2 parents f37f17e + 9f9919d commit c4e8bf3

File tree

2 files changed

+33
-26
lines changed

2 files changed

+33
-26
lines changed

CHANGELOG.md

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

3-
## Version 2.0.0-beta
3+
## Version 2.0.0
44

55
### Feature updates
66
* `ensure_binary`, `ensure_str` and `assert_regex` utility methods have been migrated from `six.py` to `splunklib/utils.py`
77

88
### Major changes
9-
* Removed Code specific to Python2
9+
* Removed code specific to Python 2
1010
* Removed six.py dependency
1111
* Removed `__future__` imports
12-
* Refactored & Updated `splunklib` and `tests` to utilise Python3 features
12+
* Refactored and Updated `splunklib` and `tests` to utilize Python 3 features
1313
* Updated CI test matrix to run with Python versions - 3.7 and 3.9
1414
* Refactored Code throwing `deprecation` warnings
1515
* Refactored Code violating Pylint rules
16+
17+
### Bug fixes
18+
* [#527](https://github.com/splunk/splunk-sdk-python/issues/527) Added check for user roles
19+
* Fix to access the metadata "finished" field in search commands using the v2 protocol
20+
* Fix for error messages about ChunkedExternProcessor in splunkd.log for Custom Search Commands
21+
22+
1623
## Version 1.7.4
1724

1825
### Bug fixes
19-
* [#532](https://github.com/splunk/splunk-sdk-python/pull/532) update encoding errors mode to 'replace' [[issue#505](https://github.com/splunk/splunk-sdk-python/issues/505)]
20-
* [#507](https://github.com/splunk/splunk-sdk-python/pull/507) masked sensitive data in logs [[issue#506](https://github.com/splunk/splunk-sdk-python/issues/506)]
26+
* [#532](https://github.com/splunk/splunk-sdk-python/pull/532) Update encoding errors mode to 'replace' [[issue#505](https://github.com/splunk/splunk-sdk-python/issues/505)]
27+
* [#507](https://github.com/splunk/splunk-sdk-python/pull/507) Masked sensitive data in logs [[issue#506](https://github.com/splunk/splunk-sdk-python/issues/506)]
2128

2229
### Minor changes
2330
* [#530](https://github.com/splunk/splunk-sdk-python/pull/530) Update GitHub CI build status in README and removed RTD(Read The Docs) reference
@@ -48,7 +55,7 @@
4855
* [#471](https://github.com/splunk/splunk-sdk-python/pull/471) Fixed support of Load Balancer "sticky sessions" (persistent cookies) [[issue#438](https://github.com/splunk/splunk-sdk-python/issues/438)]
4956

5057
### Minor changes
51-
* [#466](https://github.com/splunk/splunk-sdk-python/pull/466) tests for CSC apps
58+
* [#466](https://github.com/splunk/splunk-sdk-python/pull/466) Tests for CSC apps
5259
* [#467](https://github.com/splunk/splunk-sdk-python/pull/467) Added 'kwargs' parameter for Saved Search History function
5360
* [#475](https://github.com/splunk/splunk-sdk-python/pull/475) README updates
5461

@@ -58,10 +65,10 @@
5865
* [#468](https://github.com/splunk/splunk-sdk-python/pull/468) SDK Support for splunkd search API changes
5966

6067
### Bug fixes
61-
* [#464](https://github.com/splunk/splunk-sdk-python/pull/464) updated checks for wildcards in StoragePasswords [[issue#458](https://github.com/splunk/splunk-sdk-python/issues/458)]
68+
* [#464](https://github.com/splunk/splunk-sdk-python/pull/464) Updated checks for wildcards in StoragePasswords [[issue#458](https://github.com/splunk/splunk-sdk-python/issues/458)]
6269

6370
### Minor changes
64-
* [#463](https://github.com/splunk/splunk-sdk-python/pull/463) Preserve thirdparty cookies
71+
* [#463](https://github.com/splunk/splunk-sdk-python/pull/463) Preserve third-party cookies
6572

6673
## Version 1.6.20
6774

@@ -87,7 +94,7 @@
8794
* Pre-requisite: Query parameter 'output_mode' must be set to 'json'
8895
* Improves performance by approx ~80-90%
8996
* ResultsReader is deprecated and will be removed in future releases (NOTE: Please migrate to JSONResultsReader)
90-
* [#437](https://github.com/splunk/splunk-sdk-python/pull/437) added setup_logging() method in splunklib for logging
97+
* [#437](https://github.com/splunk/splunk-sdk-python/pull/437) Added setup_logging() method in splunklib for logging
9198
* [#426](https://github.com/splunk/splunk-sdk-python/pull/426) Added new github_commit modular input example
9299
* [#392](https://github.com/splunk/splunk-sdk-python/pull/392) Break out search argument to option parsing for v2 custom search commands
93100
* [#384](https://github.com/splunk/splunk-sdk-python/pull/384) Added Float parameter validator for custom search commands
@@ -103,17 +110,17 @@
103110
### Minor changes
104111
* [#440](https://github.com/splunk/splunk-sdk-python/pull/440) Github release workflow modified to generate docs
105112
* [#430](https://github.com/splunk/splunk-sdk-python/pull/430) Fix indentation in README
106-
* [#429](https://github.com/splunk/splunk-sdk-python/pull/429) documented how to access modular input metadata
113+
* [#429](https://github.com/splunk/splunk-sdk-python/pull/429) Documented how to access modular input metadata
107114
* [#427](https://github.com/splunk/splunk-sdk-python/pull/427) Replace .splunkrc with .env file in test and examples
108115
* [#424](https://github.com/splunk/splunk-sdk-python/pull/424) Float validator test fix
109-
* [#423](https://github.com/splunk/splunk-sdk-python/pull/423) Python3 compatibility for ResponseReader.__str__()
116+
* [#423](https://github.com/splunk/splunk-sdk-python/pull/423) Python 3 compatibility for ResponseReader.__str__()
110117
* [#422](https://github.com/splunk/splunk-sdk-python/pull/422) ordereddict and all its reference removed
111118
* [#421](https://github.com/splunk/splunk-sdk-python/pull/421) Update README.md
112119
* [#387](https://github.com/splunk/splunk-sdk-python/pull/387) Update filter.py
113120
* [#331](https://github.com/splunk/splunk-sdk-python/pull/331) Fix a couple of warnings spotted when running python 2.7 tests
114121
* [#330](https://github.com/splunk/splunk-sdk-python/pull/330) client: use six.string_types instead of basestring
115122
* [#329](https://github.com/splunk/splunk-sdk-python/pull/329) client: remove outdated comment in Index.submit
116-
* [#262](https://github.com/splunk/splunk-sdk-python/pull/262) properly add parameters to request based on the method of the request
123+
* [#262](https://github.com/splunk/splunk-sdk-python/pull/262) Properly add parameters to request based on the method of the request
117124
* [#237](https://github.com/splunk/splunk-sdk-python/pull/237) Don't output close tags if you haven't written a start tag
118125
* [#149](https://github.com/splunk/splunk-sdk-python/pull/149) "handlers" stanza missing in examples/searchcommands_template/default/logging.conf
119126

@@ -183,7 +190,7 @@ https://github.com/splunk/splunk-sdk-python/blob/develop/README.md#customization
183190
* Fixed regression in mod inputs which resulted in error ’file' object has no attribute 'readable’, by not forcing to text/bytes in mod inputs event writer any longer.
184191

185192
### Minor changes
186-
* Minor updates to the splunklib search commands to support Python3
193+
* Minor updates to the splunklib search commands to support Python 3
187194

188195
## Version 1.6.12
189196

@@ -192,32 +199,32 @@ https://github.com/splunk/splunk-sdk-python/blob/develop/README.md#customization
192199
* Made modinput text consistent
193200

194201
### Bug fixes
195-
* Changed permissions from 755 to 644 for python files to pass appinspect checks
202+
* Changed permissions from 755 to 644 for Python files to pass Appinspect checks
196203
* Removed version check on ssl verify toggle
197204

198205
## Version 1.6.11
199206

200207
### Bug Fix
201208

202-
* Fix custom search command V2 failures on Windows for Python3
209+
* Fix custom search command V2 failures on Windows for Python 3
203210

204211
## Version 1.6.10
205212

206213
### Bug Fix
207214

208-
* Fix long type gets wrong values on windows for python 2
215+
* Fix long type gets wrong values on Windows for Python 2
209216

210217
## Version 1.6.9
211218

212219
### Bug Fix
213220

214-
* Fix buffered input in python 3
221+
* Fix buffered input in Python 3
215222

216223
## Version 1.6.8
217224

218225
### Bug Fix
219226

220-
* Fix custom search command on python 3 on windows
227+
* Fix custom search command on Python 3 on Windows
221228

222229
## Version 1.6.7
223230

@@ -291,7 +298,7 @@ The following bugs have been fixed:
291298

292299
### Minor changes
293300

294-
* Use relative imports throughout the the SDK.
301+
* Use relative imports throughout the SDK.
295302

296303
* Performance improvement when constructing `Input` entity paths.
297304

@@ -430,15 +437,15 @@ The following bugs have been fixed:
430437

431438
* Added a script (GenerateHelloCommand) to the searchcommand_app to generate a custom search command.
432439

433-
* Added a human readable argument titles to modular input examples.
440+
* Added a human-readable argument titles to modular input examples.
434441

435442
* Renamed the searchcommand `csv` module to `splunk_csv`.
436443

437444
### Bug fixes
438445

439446
* Now entities that contain slashes in their name can be created, accessed and deleted correctly.
440447

441-
* Fixed a perfomance issue with connecting to Splunk on Windows.
448+
* Fixed a performance issue with connecting to Splunk on Windows.
442449

443450
* Improved the `service.restart()` function.
444451

@@ -532,7 +539,7 @@ The following bugs have been fixed:
532539
### Bug fixes
533540

534541
* When running `setup.py dist` without running `setup.py build`, there is no
535-
longer an `No such file or directory` error on the command line, and the
542+
longer a `No such file or directory` error on the command line, and the
536543
command behaves as expected.
537544

538545
* When setting the sourcetype of a modular input event, events are indexed
@@ -554,7 +561,7 @@ The following bugs have been fixed:
554561
### Bug fix
555562

556563
* When running `setup.py dist` without running `setup.py build`, there is no
557-
longer an `No such file or directory` error on the command line, and the
564+
longer a `No such file or directory` error on the command line, and the
558565
command behaves as expected.
559566

560567
* When setting the sourcetype of a modular input event, events are indexed properly.

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
# The Splunk Enterprise Software Development Kit for Python
66

7-
#### Version 1.7.4
7+
#### Version 2.0.0
88

99
The Splunk Enterprise Software Development Kit (SDK) for Python contains library code designed to enable developers to build applications using the Splunk platform.
1010

@@ -19,13 +19,13 @@ The Splunk developer platform enables developers to take advantage of the same t
1919

2020
## Get started with the Splunk Enterprise SDK for Python
2121

22-
The Splunk Enterprise SDK for Python contains library code, and it's examples are located in the [splunk-app-examples](https://github.com/splunk/splunk-app-examples) repository, that show how to programmatically interact with the Splunk platform for a variety of scenarios including searching, saved searches, data inputs, and many more, along with building complete applications.
22+
The Splunk Enterprise SDK for Python contains library code, and its examples are located in the [splunk-app-examples](https://github.com/splunk/splunk-app-examples) repository. They show how to programmatically interact with the Splunk platform for a variety of scenarios including searching, saved searches, data inputs, and many more, along with building complete applications.
2323

2424
### Requirements
2525

2626
Here's what you need to get going with the Splunk Enterprise SDK for Python.
2727

28-
* Python 3.7 or Python 3.9.
28+
* Python 3.7 or Python 3.9
2929

3030
The Splunk Enterprise SDK for Python is compatible with python3 and has been tested with Python v3.7 and v3.9.
3131

0 commit comments

Comments
 (0)