You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+40-20
Original file line number
Diff line number
Diff line change
@@ -1,10 +1,30 @@
1
1
# Splunk Enterprise SDK for Python Changelog
2
2
3
+
## Version 2.0.0
4
+
5
+
### Feature updates
6
+
*`ensure_binary`, `ensure_str` and `assert_regex` utility methods have been migrated from `six.py` to `splunklib/utils.py`
7
+
8
+
### Major changes
9
+
* Removed code specific to Python 2
10
+
* Removed six.py dependency
11
+
* Removed `__future__` imports
12
+
* Refactored and Updated `splunklib` and `tests` to utilize Python 3 features
13
+
* Updated CI test matrix to run with Python versions - 3.7 and 3.9
14
+
* Refactored Code throwing `deprecation` warnings
15
+
* 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
+
3
23
## Version 1.7.4
4
24
5
25
### Bug fixes
6
-
*[#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)]
7
-
*[#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)]
8
28
9
29
### Minor changes
10
30
*[#530](https://github.com/splunk/splunk-sdk-python/pull/530) Update GitHub CI build status in README and removed RTD(Read The Docs) reference
@@ -35,7 +55,7 @@
35
55
*[#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)]
36
56
37
57
### Minor changes
38
-
*[#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
39
59
*[#467](https://github.com/splunk/splunk-sdk-python/pull/467) Added 'kwargs' parameter for Saved Search History function
*[#468](https://github.com/splunk/splunk-sdk-python/pull/468) SDK Support for splunkd search API changes
46
66
47
67
### Bug fixes
48
-
*[#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)]
49
69
50
70
### Minor changes
51
-
*[#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
52
72
53
73
## Version 1.6.20
54
74
@@ -74,7 +94,7 @@
74
94
* Pre-requisite: Query parameter 'output_mode' must be set to 'json'
75
95
* Improves performance by approx ~80-90%
76
96
* ResultsReader is deprecated and will be removed in future releases (NOTE: Please migrate to JSONResultsReader)
77
-
*[#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
78
98
*[#426](https://github.com/splunk/splunk-sdk-python/pull/426) Added new github_commit modular input example
79
99
*[#392](https://github.com/splunk/splunk-sdk-python/pull/392) Break out search argument to option parsing for v2 custom search commands
80
100
*[#384](https://github.com/splunk/splunk-sdk-python/pull/384) Added Float parameter validator for custom search commands
@@ -90,17 +110,17 @@
90
110
### Minor changes
91
111
*[#440](https://github.com/splunk/splunk-sdk-python/pull/440) Github release workflow modified to generate docs
92
112
*[#430](https://github.com/splunk/splunk-sdk-python/pull/430) Fix indentation in README
93
-
*[#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
94
114
*[#427](https://github.com/splunk/splunk-sdk-python/pull/427) Replace .splunkrc with .env file in test and examples
95
115
*[#424](https://github.com/splunk/splunk-sdk-python/pull/424) Float validator test fix
96
-
*[#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__()
97
117
*[#422](https://github.com/splunk/splunk-sdk-python/pull/422) ordereddict and all its reference removed
* 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.
171
191
172
192
### Minor changes
173
-
* Minor updates to the splunklib search commands to support Python3
193
+
* Minor updates to the splunklib search commands to support Python 3
Copy file name to clipboardExpand all lines: README.md
+8-8
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@
4
4
5
5
# The Splunk Enterprise Software Development Kit for Python
6
6
7
-
#### Version 1.7.4
7
+
#### Version 2.0.0
8
8
9
9
The Splunk Enterprise Software Development Kit (SDK) for Python contains library code designed to enable developers to build applications using the Splunk platform.
10
10
@@ -19,19 +19,19 @@ The Splunk developer platform enables developers to take advantage of the same t
19
19
20
20
## Get started with the Splunk Enterprise SDK for Python
21
21
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.
23
23
24
24
### Requirements
25
25
26
26
Here's what you need to get going with the Splunk Enterprise SDK for Python.
27
27
28
-
* Python 2.7+ or Python 3.7.
28
+
* Python 3.7 or Python 3.9
29
29
30
-
The Splunk Enterprise SDK for Python has been tested with Python v2.7 and v3.7.
30
+
The Splunk Enterprise SDK for Python is compatible with python3 and has been tested with Python v3.7 and v3.9.
31
31
32
-
* Splunk Enterprise 9.0 or 8.2
32
+
* Splunk Enterprise 9.2 or 8.2
33
33
34
-
The Splunk Enterprise SDK for Python has been tested with Splunk Enterprise 9.0, 8.2 and 8.1
34
+
The Splunk Enterprise SDK for Python has been tested with Splunk Enterprise 9.2, 8.2 and 8.1
35
35
36
36
If you haven't already installed Splunk Enterprise, download it [here](http://www.splunk.com/download).
37
37
For more information, see the Splunk Enterprise [_Installation Manual_](https://docs.splunk.com/Documentation/Splunk/latest/Installation).
@@ -61,7 +61,7 @@ Install the sources you cloned from GitHub:
61
61
You'll need `docker` and `docker-compose` to get up and running using this method.
62
62
63
63
```
64
-
make up SPLUNK_VERSION=9.0
64
+
make up SPLUNK_VERSION=9.2
65
65
make wait_up
66
66
make test
67
67
make down
@@ -110,7 +110,7 @@ here is an example of .env file:
0 commit comments