CHANGES
=======

0.12.0
------

* Updated change log for 0.12.0 release
* Changed documentation heading
* Add load-parameter to 'zhmc lpar load'
* Docs: Added internet-less install; minor other improvements
* Improved testcases for object-id/element-id in mock support
* Improved description of Pypi release process
* Fixed package dependencies for minimum pkg level
* Changed logging options of CLI to be more flexible
* Added logging support to CLI
* Fixed typo in description of FakedHmc
* Added support for 'error' field in 'job-results'
* Added -p/--password option; Added host+userid to get_password()
* Improved robustness of timestats unit tests
* Added OS-X to Travis CI environment
* Fixed minor doc build issues
* In CLI, add support for -y option
* Fixed display of CLI spinner in output
* Added testcases for Faked* repr() and attrs
* Fixes and improvements in mock support
* Moved logging constants to new _constants module
* Improved the log calls
* Assign WWPN for HBA in mock framework
* Start development of v0.12.0

0.11.0
------

* Updated change log for 0.11.0 release
* Add more output formats to the CLI
* Change DEFAULT_READ_TIMEOUT to 5 min
* Rebased on PR 206; session defaults for ops and status timeouts
* Fixed errors when waiting for completion of LPAR status
* Timeout support for async methods; deferred status polling for LPAR
* Moved retry and timeout default values into a new _constants module
* Improved handling of network errors
* Added support for tolerating HTML response content
* Improved help of zhmc CLI
* Testing with minimum/latest versions of dependent Python packages
* Added automatic devno setting for NIC, HBA, VF in mock support
* Increased minimum version of 'click-spinner' dependency to 0.1.7
* Minor docstring correction to send_os_command methods
* Added tools to check target and fixed flake8 errors
* Added minimum version 4.0.0 to 'decorate' dependency
* Added send_os_command method to partition and lpar
* Docs: Improved README file and example in intro chapter
* Added Python 3.6 to PyPI metadata
* Minor formatting fixes for return values in docs
* Fixes #178: Redesigned return value of async. operation methods
* Started development of v0.11.0

0.10.0
------

* Update change log for 0.10.0 release
* Updated change log; Declared NotificationReceiver as experimental
* Added termination of notification receiver and unit tests
* Mitigated multiple coveralls comments per Travis build
* Added Python 3.6 to Travis CI and 3.4,3.5,3.6 to Appveyor CI
* Fixed incorrect copyright year in new files
* Fixed incorrect use of partition when it was lpar
* Improved example lpar_operations
* Added a JMS notification receiver and examples for os messages
* Changed open_os_message_channel() method to return string directly
* Added open_os_message_channel() method to lpar and partition classes
* Mock support for zhmcclient, stage 2: Faked Session (partial)
* Mocking support for zhmcclient, stage 1: Fake HMC
* Fix unrecognized field ('adapter-port')
* Fix access 'cpc' from 'partition'
* Added documentation of auth reqs
* Added support for server-side resource filtering
* Rename files in examples folder
* Fix error in example5.py
* Add Appveyor status badge
* Reflected comments from PR 144
* Design for fake client, for review
* Fixed assertion error in TimeStats testing on Windows
* Start v0.10.0 development

0.9.0
-----

* Updated change log for 0.9.0 release
* lpar.load(): Added support for load-parameter field
* Fixing regression in findall(name=..)
* Improved the examples
* Added initial support for Appyevor CI
* Fixes #137: Accessing properties['name'] may raise KeyError
* Add example for CLI zhmc
* Links to HMC API books in docs no longer require IBM ID
* Started v0.9.0 development

0.8.0
-----

* Updated change log for 0.8.0 release
* Added a 'cpcdata' tool for showing CPC info in a data center
* Fixed some flake8 errors (real and style)
* Improvements in CLI list commands (options, ordering, always a name)
* Added support for lazy initialization of resource name
* In CLI, fixed boolean update opt, help texts; optimized ops
* Fixed an issue in the new find_by_name
* Added messages to assertions; removed an assertion
* FIxes and small improvements for CLI
* Added support in CLI for remaining cmds; client improvements
* Upgraded click-spinner to v0.1.5 and simplified its use
* Started v0.8.0 development

0.7.0
-----

* Fixed #120: Pin click-spinner to 0.1.3
* Fixed incorrect package version for Pypi upload
* Started 0.7.0 release
* For zhmc CLI, added RTD documentation and improved help texts

0.6.0
-----

* Updated change log
* Enabled and fixed flake8/pylint checking for zhmccli, and other stuff
* Renamed two modules in zhmccli
* Changes for zhmccli
* Command line interface for the zhmcclient
* Improvements to Session initialization, mainly docs
* Session object can be created with session id
* Improved VersionError exception class and removed number-of-args tests
* Added issue template
* Fixed new Flake8 issue E305
* Added time statistics entry for overall async operations
* Updatd example5 to allow for CPC being in 'service-required' state
* Fix typo in help message of cpcinfo
* Fixes #101: Fix documentation of field Partition.hbas
* Fixes #99: KeyError: 'status' when running example5.py
* PyLint fixes and a real fix in dump_partition()
* Improved AuthError and ConnectionError exceptions
* Improved ParseError and its use
* Removed not-yet-used hint on some exceptions in tutorial 4
* Fixed change log to represent v0.5.0 and improved how-to-release section
* Further improvements in tutorial 3 and new tutorial 4
* Simplified install from repo and enabled it for users without github key

0.5.0
-----

* Improved tutorial notebooks
* Fixed HTTPError in dpm_enabled
* Moved unit tests to tests/unit and added tests/function
* Made unit tests consistent
* Fixed error in unit test for exceptions module
* Added HTTP method and URI to HTTPError information
* Fixed issue where cpcinfo -a failed on python 3
* Improved Tutorials section
* Added pypy Python to Travis CI environments
* Added an install test to Travis CI and to Tox
* Added install test to Travis CI
* Several logistical cpcinfo fixes
* Moved change log section one heading level down
* Docs: Added change log section
* Docs: Updated resource model
* Added more HBA/storage related methods
* Added adapter information to the cpcinfo tool
* Adjusted mocking in CPC testcases to new impl of dpm_enabled; fixed error
* Optimized dpm_enabled implementation for better performance
* Added cpcinfo tool and prop() method for resources
* Removed downloads button in readme and added bigquery in comment
* Renamed get_connected_vnics() to get_connected_nics()
* Docs: Added section for releasing to PyPI
* Consolidated Python resource object creation into resource modules
* Changed connected_vnics() to return Nic objects

0.4.0
-----

* Fixed doc links to resource types
* Made documentation of Port / PortManager consistent with other resources
* Resolved comments on PR
* Add more unit tests for CPC class
* Add Port Support
* Improved stomp example; fixed flake8 error in session
* Added get_notification_topics() and stomp job-completion message example
* Added Repository section to Development chapter
* Updated documentation of resources classes
* Improved documentation of resource modules and renaming of a method argument
* Update example5
* Changed create...() to return resource object instead of URI
* Add Virtual Switch Support
* Add more partition operations
* Add Virtual Function Support
* Added Resource Model in Appendix
* Update documentation header
* Add HBA Support
* Add NIC Support
* Add Adapter support
* Simplify quickstart example

0.3.0
-----

* Editorial update in dev heading of README
* Integrated CONTRIBUTING.rst content in Development section of docs
* Changed link to Installation section in README to be to Pypi/stable version
* Minor improvements in README.rst
* Add string representation of BaseResource
* Update install documentation
* Added 'Development' chapter to the documentation
* Added an 'Issue reporting' section to the Intro chapter
* Updated Introduction chapter
* Fixed incorrect args/kwargs prototype generated when using _log_call
* Added Unit Tests for Profile Activation class
* Added Unit Tests for Partition class
* Fixed flake8 problems
* Added Unit Tests for Lpar class
* Sorted the operations in TimeStats display
* Fixed missing parameters for BaseResource.get_property()
* Restructured and improved the documentation
* Added image for unit test coverage
* Improved documentation for logging
* Added support for Coveralls
* Updated Unit Tests because of removal of DPM checking
* Remove internal DPM check
* Added more status images to README.rst
* Updated several fields in setup.cfg
* Removed trailing spaces
* Update build handling in Makefile
* Addressed PyLint issues and added uri property to BaseResource class

0.2.0
-----

* Improved description of supported environments
* Disabled Travis notification emails
* Improved description of git sign-off line in CONTRIBUTING.rst
* Fixed all flake8 issues and enforced issue-free flake8 in make check
* Fixed links to Jupyter otebooks in tutorial section
* Added links to RTD documentation to README.rst
* Enabled documentation for activation profiles and fixed minor markup issue
* Embedding Status Images in README.md
* Fixed github links in documentation
* Fixed vagrant setup typo
* Added Travis CI control file
* Added unit tests for query_job_status and delete_completed_job_status
* Updated README file to fix link to CONTRIBUTING.rst
* Updated README file to explain how to start using it, and how to contribute
* Modified example4 to call delete_completed_job_status()
* Issue #14 Delete completed job
* Updated example for activation profiles
* Added update writable properties method to activation profile class
* Adapt resource unit test due to activation profile changes
* Updated documentation for activation profile changes
* Fixed issue #18
* Removed statement about AUTHORS file in contribution description (incorrect and not needed)
* Added example for Activation Profile handling
* Added Activation Profiles handling
* Improvements in build environment (.mailmap, AUTHORS/ChangeLog, MANIFEST*, make clean)
* Documented optional identifier in summary line
* Added unittest for client class
* Fixed two underscores in _api__version
* Issue #11: Provide query_api_version() which provides the results of GET /api/version
* Maintain order in HTTP response body when returned as json object
* Improved logging module and its use
* Issue #12: Add license of the library as comment in requirements.txt and dev-requirements.txt
* Improved description of asynchronous operations for CPC start and stop
* Moved the setting of data into the branch where it is used
* Fixes and implementations for CRUD ops in Partitions
* Fixes #12: example4.py: NameError: name 'logging' is not defined
* Fixed and improved description of asynchronous operations to match current impl
* Updated contribution rules with comments by Viktor

0.1.0
-----

* fix the unit tests for the session object
* Adds an example how we could log the entry/exit of HMC calls
* Updated documentation for operations in asynchronous mode and example4
* Update example4.py to se yaml file for parameterization
* Support for asynchronous handling (non-blocking) of operations (jobs)
* Resolved merge conflicts in exampl2.py
* Added document describing contributions, and DCO rules
* Allow for a local 'try' directory by adding it to .gitignore
* Addressed comments by Markus Zoeller and fixed exception handling in post job get
* Fixed timestats and added unit tests
* Added time statistics for measuring HMC response times
* Session improvements (connection pooling, testcases, PyLint)
* Resolved flake8 and PyLint issues and Python 3 test failures for `_exceptions` module
* Fixed flake8 issues and PyLint issues for `_cpc` module
* Revert "Adds an example how we could log the entry/exit of HMC calls"
* Reduced PyLint output to just the messages (no reports)
* Adds an example how we could log the entry/exit of HMC calls
* Removed `PYTHONPATH=.` from commands in the Makefile
* Added prints and logging to the examples
* Added mocked testcases for `_cpc` module
* add regression test for issue 7
* fix the need to add PYTHONPATH=. for unit test execution
* Reworked unit test cases for _resource module
* Fixes and improvements in README.rst
* updated README.rst to reflect tox changes
* Improvements for running `tox`
* Solved merge conflicts
* Update example4.py to se yaml file for parameterization
* Support for asynchronous handling (non-blocking) of operations (jobs)
* Use a tuble instead of a list
* On success of logoff operation, HTTP status code 204 (No Content) is returned with no response body
* Improvements and unit tests for exceptions
* Support for asynchronous handling (non-blocking) of operations (jobs)
* examples: Use yaml file for example parameterization
* Implemented partition create()
* Documented the possible exceptions
* Made body argument of post() optional, with None = empty body being the default
* Updated examples
* Added definition of the three CPC modes
* Minor improvements in Partition, Lpar and CPC
* Updates for Merge Request #18
* Resolved merge conflicts
* Merged review comment changes
* Added `_partition` module to `__init__.py` and to documentation
* First release for DPM support
* Solved merge conflicts
* Merged review comment changes
* Added `_partition` module to `__init__.py` and to documentation
* First release for DPM support
* Apply review findings for branch cpc info vs cpc full properties
* Updated README.rst to better describe goal and current state of the project
* Added `_partition` module to `__init__.py` and to documentation
* First release for DPM support
* Added means to get the full number properties for resource objects like CPC and LPAR
* Added document for full_properties bool parameter
* Added example3.py for showing usage of full properties option in cpc.list()
* Added full_properties option to cpc.list()
* Removed hashbang from python modules
* Removed merge conflicts
* Simplified handling of temp files in Makefile
* Fixes for Flake8 usage: Removed flake8.log file in `make clobber`; Downgraded package dependency from flake8>=3.0 to flake8>=2.0
* Addressed issues raised by Flake8; Adjusted line length of PyLint to 79 for Flake8 consistency
* Added copyright header to examples, rst files and tests files
* Added support for checking with flake8
* Cleaned up to resolve Pylint issues
* Added license information
* Removed pyyaml dependency from requirements.txt again, because it is in dev-requirements.txt
* Minor fixes in documentation
* Changed representation of resource properties such that the resource object has a new member 'properties' that is a dictionary with the properties
* Changed representation of resource properties such that the resource object is a dictionary with the properties
* Simplified commands in tox.ini file
* Changed output format of coverage checks to be HTML
* Improved class descriptions of base and derived resource classes
* Improved documentation (Intro, CPCs, LPARs)
* Added BaseResource and moved common functions and properties into base classes, for both resource and manager classes
* Redesigned a little bit to move version_info() away from Session, plus some more
* Added credentials yaml file to examples. Adjusted lpar module to client redesign
* Improved and documented Session class and improved HTTPError exception class
* Fixed URLs in README.rst and setup.cfg to use renamed repo name
* Fixed URLs in README.rst and setup.cfg to use renamed repo name
* Fixed examples by adjusting to the previous changes
* Added simple error handling for JSON parsiung in HTTPError exception
* Initial stab at defining exceptions for the client. Not yet ready
* Added support for testing locally using 'tox'
* Added Makefile with test, coverage, Sphinx docu, Pypi upload, etc
* Initial changes for discussion of Andy's proposal
* Added two examples to use the library
* Removed print statement
* Added status update method to lpar class
* Added load operator to Lpar class
* Implemnented activate and deactivate methods
* Adde BaseManager class with common methods like find
* Added CPC find method
* Implemented lpar classes
* Added first release for client, cpc, lpar, session and version
* Initial packaging setup with setuptools and pbr
* Added intial empty implementation
* Added initial .gitignore file
* Added Vagrant test environment
* Added initial README file
