CHANGES
=======

1.4.0
-----

* Update min tox version to 2.0

1.3.0
-----

* Request multiple folder levels at once in get\_all\_jobs
* Replace build\_jobs\_list\_responses with actual Jenkins responses
* Clean up job/folder path handling
* Test requested URLs in test\_getall
* Make jjb-tox-cross-jenkins-job-builder voting
* Allow adding extra HTTP headers to Jenkins requests

1.2.1
-----

* Revert "detect and respect http redirects"
* Revert "Avoid empty body failure on HEAD requests"

1.2.0
-----

* Avoid empty body failure on HEAD requests
* Fix item being ignored in get\_info
* Add folder credential support
* detect and respect http redirects

1.1.0
-----

* Fix run\_script method
* Check for 'Location' header in the response
* Adopt use of pre-commit hooks
* Adds support for executing Groovy scripts on jenkins nodes
* Allow use of unicode job names
* Added pypy-dev to bindep.txt
* Fix run\_scripts() API

1.0.2
-----

* fix tox python3 overrides
* Selectively mock requests\_kerberos import
* Ensure timeout exceptions are re-raised during auth attempts

1.0.1
-----

* Revert "Do not require requests-kerberos for tests"
* Freeze cmd2 library on python2
* Update URLS that require depth or tree filters
* README: mention #openstack-jjb channel
* Do not require requests-kerberos for tests
* Fix: send proxy as empty dict
* Add functions to retrieve more data from Jenkins
* Update to \_response\_handler
* Trivial: Update pypi url to new url

1.0.0
-----

* add get\_queue\_item() method
* build\_job: return queue item identifier
* add jenkins\_request() method
* Use proper code highlight in docs
* Fix docstrings params
* Adds support for wiping out a job's workspace
* Adds support for multi-select build parameters
* Adds support for deleting builds
* enable cross testing with jenkins-job-builder
* Improve SSL support with requests lib
* Enables use of PYTHONHTTPSVERIFY override
* Adding pypy to bindep test profile
* Added folder support in views keeping backward compatibility and added tests for it
* Add EMPTY\_FOLDER\_XML str to match docs
* build\_job: fix grammar in comment
* Replace testr with stestr

0.4.16
------

* This Allow to include folders in jobs list when calling get\_all\_jobs() method. Closes-Bug: #1731903
* repair .gitgnore
* Migration to using requests
* trivial:  modify spelling error of version
* modify version spelling errors
* Pass form data as body instead of in the url
* get\_build\_console\_output: fix docs for "number" parameter
* Sanitize url in get\_info() function
* get\_job\_name: fix grammar in comment

0.4.15
------

* doc: add get\_job\_config() example
* create\_node: avoid double-encoding
* Add py35 to tox envlist

0.4.14
------

* remove cap on pbr
* Fix error thrown in presence of placeholder tasks
* Changes get\_job\_info to get\_build\_info
* Allow to wait for jenkins to enter normal operation
* Use standard cover setup
* url-proof scripts passed to run\_script
* get\_running\_builds failed when server has a path
* Fix relative import in kerberos support for python3
* Remove redundant 'the'
* Move other-requirements.txt to bindep.txt
* Remove discover from test-requirements
* Setup required packages with bindep
* Do not force DeprecationWarning to be displayed
* Fixed a minor typo in example of Python-jenkins

0.4.13
------

* Make the kerberos support python3 ready
* Fetch all builds from a job
* add get\_whoami()
* Adds possibility to retrieve all jobs from the view specified
* Add optional kerberos support
* Add support for handling promotions

0.4.12
------

* Drop py33 support
* Fixed create\_node() Error
* Deprecated tox -downloadcache option removed
* Use TestWithScenarios to add additional url tests
* Change repositories from stackforge to openstack
* Update .gitreview for new namespace

0.4.11
------

* Handle depth errors in get\_running\_builds

0.4.10
------

* Use str as base class for PluginVersion

0.4.9
-----

* Support ability to install plugins
* Provider helper classes for plugin data management
* Allow setting the next build number
* Adds Cloudbees folder plugin support
* Add function to get running builds
* Change order of tox envs for testr
* Add support for quiet down
* fix get version example
* remove support for python 2.6
* Separate tests in separate files and classes
* Create module member index from autodoc
* Fix timeout function and add capturing of messages on failure
* Stop specifying requirements.txt in tox.ini
* Wrap url building with helper method
* Rework the examples
* Add socket timeout tests and helpers

0.4.8
-----

* Fix tests on python 2.6 and mark as deprecated
* Remove unneeded wrapping of imports
* Support scriptText api to execute groovy scripts on the server
* Creates ability to work with views in jenkins
* fix passing of byte object to url request method

0.4.7
-----

* requirements: pin pbr>=0.8.2,<2.0

0.4.6
-----

* Ensure request data is in the correct format
* Ensure data is utf-8 encoded
* Modify tests to exercise Request on python3
* Add decode to utf8 for python 3.x
* Fix examples
* Add utf8 to headers
* Add a get\_nodes method

0.4.5
-----

* Add get\_job\_info\_regex method to get info about a set of jobs
* Set the server connection timeout to same as socket timeout
* Consolidate raising identical exceptions
* Add a jobs\_count method
* Doc Update: Fix formatting for inclusion of README.rst
* Doc Change: update supported python versions
* Add BadHTTPException
* Fix incorrect indentation
* Don't return None on unhandled http errors
* Use empty crumb on empty response
* Don't assume we get a valid response

0.4.4
-----

* Update and clean up docs
* Add a default http timeout for connections to jenkins
* Eliminate redundant calls to assert\_job\_exists()
* Raise an exception on 404
* testtools requires unittest2
* Fix cancel\_queue() method

0.4.3
-----

* Fix enable\_node and disable\_node methods
* Handle job and node names that contain spaces
* Workflow documentation is now in infra-manual
* fix typo, must be 'classifier' to appear on pypi.python.org

0.4.2
-----

* Yield HTTPError reason on open error
* fix auth with long username or password
* Add a readme and make it appear on pypi.python.org

0.4.1
-----

* Add get\_plugins\_info and get\_plugin\_info methods
* generate a code coverage html report
* add get\_version method
* exclude tests from code coverage report

0.4.0
-----

* Setup pbr versioning for docs
* Support node configuration
* Fix it so build\_job triggers a build
* Rename doc environment to docs
* Enabled hacking check H404
* Add MANIFEST.in
* Six is a runtime requirement not a test req

0.3.1
-----

* Update version info
* Fix \`tox -e doc\` duplicate id error
* Use pbr, pep8 checks & fixes, add "doc" tox target
* make JSON depth response configurable
* Add a gitreview file

0.3.0
-----

* Adds assert\_node\_exists()
* Speed up job existence tests by fetching less info
* Fix remaining PEP8 errors in docstrings
* Fix hacking docstring warnings
* Make it work on Python 3
* 100% test coverage
* Add support for measuring coverage
* Support node startup with the JNLP Launcher
* Add .gitignore
* Clarify job\_exists() error messages
* Doc fixes
* Wrap tests and linting with tox
* David Strauss 2014-03-06 Fedora 19+ has packages, too
* Fedora 19+ has packages, too
* [soren] Add fixes for crumb addition to post requests
* Add bug metadata
* Change method name to reflect behaviour
* Recycle crumb. Apparently, it's not a nonce
* Attempt to fetch a crumb (needed if CSRF protection is enabled)
* Release 0.2.1
* Antoine Musso 2013-06-25 [merge] speed up job existence test by fetching less informations
* Adam Gandelman 2013-05-11 [merge] Add rename\_job(). Adam Gandelman 2012-10-19 Add support for a rename\_job() call. Adam Gandelman 2013-05-11 Add ability to fetch raw console text for build
* speed up job existence test by fetching less informations
* Add rename\_job()
* Add ability to fetch raw console text for build
* Antoine Musso:
* overhaul the sphinx documentation
* pass pep8 on all files
* Add support for a rename\_job() call
* Merged new node management features including using SSH and Windows slaves plus cancel job/queue methods
* Add additional methods:
* Merged bug fix and tests for job names with spaces
* Open for 0.3 development
* Some extraneous imports
* Fixes for this bug
* Merged branch to add get\_build\_info method
* Tidied trailing whitespace
* Updated documentation, updated error handler for consistency
* Added build\_info
* Documentation updates.  Sphinx no longer uses automodule.  Filled in some missing API methods.  Corrected references to Hudson in doc strings
* Converting documentation to sphinx
* Release 0.2
* Tidied up create\_node function to deal with NORMAL and EXCLUSIVE node types
* Improved exception handling
* Fix issue with POST when triggering jobs with authentication
* Fix authorisation issue for new functions
* Added patches from  Matthew Gertner
* added get\_info() and get\_jobs() to API
* Added tags
* Initial re-shuffle
* Initial version
