Revision history
=================================


v1.1.10 (2018-04-25)
---------------------------------

* Added Codacy and Codeclimate badge.
* Update README with documentation.
* Adding service in config/di/db.php.
* Deprecated Active Record, the aim is to move that codebase to its own repo.
* Deprecated SQL Query builder, the aim is to move that codebase to its own repo.



v1.1.9 (2017-10-23)
---------------------------------

* Fix phpdoc in Database, DatabaseQueryBuilder.



v1.1.8 (2017-10-23)
---------------------------------

* Fix phpdoc in Database.



v1.1.7 (2017-10-12)
---------------------------------

* Add support for updateWhere(), deleteWhere() and saveWhere(), fix #7.



v1.1.6 (2017-10-09)
---------------------------------

* Add support for custom name of id field, fix #6.
* Change dependecy from anax/common to anax/configure.
* Add findWhere() and findbyId().



v1.1.5 (2017-10-09)
---------------------------------

* Add unit test to ActiveRecordModel.
* Add Database::setOption() to enable set specific option to individual question.
* Database::execute now prints details when option is verbose.
* Add ActiveRecordModel::findAllWhere().



v1.1.4 (2017-09-25)
---------------------------------

* Make all private methods protected in ActiveRecordModel to enable subclassing.



v1.1.3 (2017-09-18)
---------------------------------

* Fix DatabaseQueryBuilder::configure now returns self.



v1.1.2 (2017-09-14)
---------------------------------

* DatabaseQueryBuilder::configure now returns self.



v1.1.1 (2017-09-14)
---------------------------------

* DatabaseConfigure::configure now returns self.



v1.1.0 (2017-09-05)
---------------------------------

* Adding Active Record implementation.
* Prepare to work as databasedriven models.
* Adding querybuilder.
* Moving exception into Anax\Database\Exception.
* Creating DatabaseConfigure::configure and removing setDefaultsFromConfiguration, breaking change.



v1.0.8 (2017-05-31)
---------------------------------

* Bug: when throwing statement exception on pdo failure.



v1.0.7 (2017-05-31)
---------------------------------

* Bug: change $sql to $query in Database.



v1.0.5 (2017-05-29)
---------------------------------

* Make statementException protected to work with extends.
* Reengineer fetch methods in Database.



v1.0.4 (2017-04-07)
---------------------------------

* Rewrote Database class and moved debug utilities to DatabaseDebug.
* Cleaned up Database.
* Cleaned up DatabaseTest.



v1.0.3 (2017-03-31)
---------------------------------

* Connect returns self for chaining.



v1.0.2 (2017-03-31)
---------------------------------

* Rename DatabaseConfigurable to DatabaseConfigure.
* Fix error in composer.json.



v1.0.1 (2017-03-31)
---------------------------------

* Add configurable variant of Database as DatabaseConfigurable.



v1.0.0 (2017-03-31)
---------------------------------

* First version to include in anax for test.
* Extracted from mos/cdatabase to be an anax module.
