CHANGES
=======

0.12.0
------

* Add migration to cleanup and add additional indexes
* Fix the delete_old_*() db api functions

0.11.0
------

* Add db api method to get test_run dicts for runs by key value
* Switch to using autogenerated ChangeLog in docs
* Improve performance of get_runs_by_status_grouped_by_run_metadata
* Add db api methods to get keys from metadata tables
* Test get_runs_by_status_grouped_by_run_metadata API function
* Add migration to fix wrong column name in test_metadata
* Add db api method to get time series of runs by key value metadata
* Add more db api tests
* Use ostestr for running unit tests
* Order get_tests_run_dicts_from_run_id response by date
* Add tests for get_tests_run_dicts_from_run_id() and fix issues
* Fix verbose option inialization
* Fix misspelling in comments
* Add --verbose option to show sql statements generated
* Fix for sqlite support on migrations
* Add DB API testing framework

0.10.0
------

* Add support to more than one db provider for tests
* Fix the filter runs by date helper function
* Add a db api method to get a time series of runs by key
* Clarify DB models devref doc
* Add date filter on runs
* Remove conflicting cmdline option 'r'
* Adds error handling for queries returning no data
* Add DB API methods to deal with test metadata
* Add option to subunit2sql for attr regex
* Add graph to show failure rates grouped by run metadata
* Fix using no dates in create_test_run db api method
* Add mysql index length cap on index creation
* Add logging capture fixture to the unit tests

0.9.0
-----

* Update the in-tree TODO list
* Fix env command path
* Update the changelog in the readme
* Add a DB API method to get failing test_ids by run metadata
* Update API docs to include alternative db layer initialization

0.8.1
-----

* Fix issues in migration 1ff737bef438

0.8.0
-----

* Edits to_dict() to return correct dict
* Adds method to get metadata by key/value pair
* Adds method to get metadata from a run
* Add migration to add indexes on common search patterns
* Don't try to create indexes twice
* Update and fix some minor issues with docs
* Cleanup dailycount graph subunit2sql-graph command
* Update the run_time graph image in docs

0.7.0
-----

* Drop use of 'oslo' namespace package
* Set temporary version cap on oslo.db
* Fix misspelled words in some docs

0.6.0
-----

* Do not use oslo.db 1.12.0
* Add subunit2sql-graph plugin interface docs
* Add external plugin support to subunit2sql-graph
* Fix miss spelled words
* Scale run_time graph in subunit2sql-graph docs
* Switch functools partials usage to kwargs
* Add graph command to graph daily test count over time
* Add support to subunit2sql for storing attachments
* Add attachemnts table to database
* Add release notes for recent releases
* Cleanup std dev backfill in run_time graph
* Add docs about using subunit2sql-graph
* Use setuptools extras for graphing requirements

0.5.1
-----

* Remove matplotlib from requirements file

0.5.0
-----

* Add graph command to show aggregate counts for tests
* Add db api method to get per status counts for a test
* Add db api method to get uuid from test_id
* Improve run_time graph formatting
* Add command to calculate failure count and graph it
* Add db api method to get status time series
* Add modular subunit2sql-graph entry point
* Add start and stop date options to subunit2sql-graph
* Add a cli subcommand for deleting old rows
* Add db api methods to delete old runs and test_runs
* Fix double PL::Python category typo
* Add release notes to the README

0.4.2
-----

* Fix terrible path finding code in 1679b5bc102 migration

0.4.1
-----

* Hard code the sql for mysql on migration 1679b5bc102

0.4.0
-----

* Convert tags metadata to string before persist it
* Add microsecond columns to the test_runs table
* Add db api methods for getting recent run uuids
* Stop using numpy for just a mean
* Share a single connection with all systems during migrations
* Add db_api method for updating an existing test_run
* Improve query efficiency on populate_run_time migration
* Add tool for generating line graphs of test run times
* Add a db api method to extract run_times for a single test

0.3.0
-----

* Ensure we set attrs in test_ids for sql2subunit
* Add a contributing file
* Update TODO file
* Add --average option to sql2subunit cli
* Correct writing of timestampes in write_test() for sql2subunit
* Refactor sql2subunit to use get_tests_run_dicts_from_run_id
* Add new db api methods for getting test data from runs

0.2.1
-----

* Remove unneeded version string from setup.cfg
* Add cli option to subunit2sql to specify run_id
* Add section on the basic data model
* Reorganize the python api documentation
* Flush out the db api documenation
* Add version information
* Fix misspelled words in docs and comments
* Remove unnecessary variable assignment
* Remove openstack-common.conf
* Release subunit2sql 0.2

0.2.0
-----

* Add session objects for get_all* db api calls
* Add migration to populate run_time where needed
* Fix get_duration db api method
* Add db api function to get the latest run
* Add order column to runs table
* Cleanup some extra spaces
* Add sample config files for commands
* Remove unneccesary state_path config option
* Preseed data for migration tests until migration 163fd5aa1380
* Add migration tests with data
* Add manifest file to include base alembic config
* Add subunit2sql-db-manage utility
* Stop using intersphinx
* Add get_failing_from_run db api method
* Switch sample sqlalchemy url to use mysql
* Update pep8 ignore list
* Add new item to the TODO list
* Add basic support for creating a subunit stream from db
* Fix get_test_run_by_run_id() db api method
* Update the documentation
* Bump oslo.config version
* Add a .gitreview file
* Update the TODO file again
* Release subunit2sql-0.1

0.1
---

* Add unit tests for ReadSubunit helper methods
* Add unit tests and fixes for increment_counts
* Make get_duration return the proper type
* Add basic unit tests
* Update requirements files
* Add sphinx docs
* Allow oslo.db config options on the CLI
* Cleanup the readme
* Update project packaging
* Update TODO file
* More pep8 fixes
* Add CLI option to set run artifacts
* Some performance improvements to db updates
* Fix more DB bugs
* Add Test run metadata
* Fix DB bugs found testing with mysql
* Fix typo setting mysql engine
* Add metadata tables and cli args for run meta
* Add support for keeping a moving avg of test run_time
* Update TODO items
* Store counts for runs and tests
* Add a TODO file
* Add total run time to the runs table
* Make DB path work
* Make stream parser work correctly
* flake8 clean checkpoint
* Flesh out more of subunit
* Initial commit
