Skip to content

Commit 20cc68c

Browse files
committed
version rev to 1.3.1
1 parent 41c9781 commit 20cc68c

File tree

5 files changed

+32
-3
lines changed

5 files changed

+32
-3
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Python bindings for Carbon Black REST API
22

3-
**Current version: 1.2.0**
3+
**Current version: 1.3.1**
44

55
[![Build Status](https://travis-ci.org/carbonblack/cbapi-python.svg?branch=master)](https://travis-ci.org/carbonblack/cbapi-python)
66

docs/changelog.rst

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,28 @@
11
CbAPI Changelog
22
===============
33

4+
CbAPI 1.3.1 - Released August 3, 2017
5+
-------------------------------------
6+
7+
This is a bugfix release with minor changes:
8+
9+
* Cb Response
10+
* Add ``partition_operations.py`` script to demonstrate the use of the StoragePartition model object.
11+
* Fix errors when accessing the ``.start`` attribute of child processes.
12+
* Fix errors generated by the ``walk_children.py`` example script. The output has been changed as well to indicate
13+
the process lifetime, console UI link, and command lines.
14+
* Add an ``.end`` attribute to the Process model object. This attribute reports back either ``None`` if the
15+
process is still executing, or the last event time associated with the process if it has exited. See the
16+
``walk_children.py`` script for an example of how to calculate process lifetime.
17+
* Fix errors when using the ``.parents`` attribute of a Process.
18+
* Add ``wait_for_completion`` flag to ``create_process`` Live Response method, and default to ``True``. The
19+
``create_process`` method will now wait for the target process to complete before returning.
20+
21+
* Cb Defense
22+
* Add ``wait_for_completion`` flag to ``create_process`` Live Response method, and default to ``True``. The
23+
``create_process`` method will now wait for the target process to complete before returning.
24+
25+
426
CbAPI 1.3.0 - Released July 27, 2017
527
------------------------------------
628

docs/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@
6161
# The short X.Y version.
6262
version = u'1.3'
6363
# The full version, including alpha/beta/rc tags.
64-
release = u'1.3.0'
64+
release = u'1.3.1'
6565

6666
# The language for content autogenerated by Sphinx. Refer to documentation
6767
# for a list of supported languages.

examples/response/partition_operations.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
import sys
2+
from distutils.version import LooseVersion
3+
24
from cbapi.response.models import StoragePartition
35
from cbapi.example_helpers import build_cli_parser, get_cb_response_object, get_object_by_name_or_id
46
from cbapi.errors import ServerError
@@ -72,6 +74,11 @@ def main():
7274
args = parser.parse_args()
7375
cb = get_cb_response_object(args)
7476

77+
if cb.cb_server_version < LooseVersion("6.1.0"):
78+
parser.error("This script can only work with server versions >= 6.1.0; {0} is running {1}"
79+
.format(cb.url, cb.cb_server_version))
80+
return 1
81+
7582
if args.command_name == "list":
7683
return list_partitions(cb, parser, args)
7784
elif args.command_name == "create":

setup.py

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

2929
setup(
3030
name='cbapi',
31-
version='1.3.0',
31+
version='1.3.1',
3232
url='https://github.com/carbonblack/cbapi-python',
3333
license='MIT',
3434
author='Carbon Black',

0 commit comments

Comments
 (0)