Release v2.8.0

[![Build Status](https://travis-ci.org/doctrine/dbal.svg?branch=v2.8.0)](https://travis-ci.org/doctrine/dbal)

This is a minor release of Doctrine DBAL that aggregates over 30 fixes and improvements developed over the last 3 months.

This release includes all changes of the 2.7.x series, as well as feature additions and improvements that couldn’t land in patch releases.

**Backwards Compatibility Breaks**

This doesn't contain any intentional Backwards Compatibility (BC) breaks.

**Dependency Changes**

* The dependency on [doctrine/common](https://github.com/doctrine/common) is removed. DBAL now depends on [doctrine/cache](https://github.com/doctrine/cache) and [doctrine/event-manager](https://github.com/doctrine/event-manager) instead.

Please see details in the [UPGRADE.md](UPGRADE.md) documentation.

**Deprecations**

* The usage of binary fields whose length exceeds the maximum field size on a given platform is deprecated. Please use binary fields of a size which fits all target platforms, or use blob explicitly instead.
* The usage of DB-generated UUIDs is deprecated. Their format is inconsistent across supported platforms and therefore the feature is not portable. Use a PHP library (e.g. [ramsey/uuid](https://packagist.org/packages/ramsey/uuid)) to generate UUIDs on the application side.

**New features**

* Initial support of MySQL 8.
* Initial support of PostgreSQL 11.
* Ability to evaluate arbitrary SQL expressions via `AbstractPlatform::getDummySelectSQL()`.

**Improvements and Fixes**

* Improved support of binary fields on Oracle and IBM DB2.
* Improved SQL Server configuration capabilities via both `sqlsrv` and `pdo_sqlsrv`.
* Improved handling of `AUTOINCREMENT`ed primary keys in SQLite.
* Integration tests are run against IBM DB2 on Travis CI.
* Code coverage is collected for the Oracle platform on continuousphp.

Total issues resolved: **33**

**Deprecations:**

- [3187: Deprecate usage of binary fields whose length exceeds maximum](https://github.com/doctrine/dbal/issues/3187) thanks to @morozov
- [3188: Deprecated usage of binary fields whose length exceeds the platform maximum](https://github.com/doctrine/dbal/pull/3188) thanks to @morozov
- [3192: Added more information to the deprecation notice](https://github.com/doctrine/dbal/pull/3192) thanks to @morozov
- [3212: Deprecated usage of DB-generated UUIDs](https://github.com/doctrine/dbal/pull/3212) thanks to @morozov

**New Features:**

**Bug Fixes:**

- [3149: Introduced binary binding type to support binary parameters on Oracle](https://github.com/doctrine/dbal/pull/3149) thanks to @morozov
- [3178: Fix incorrect exception thrown from SQLAnywhere16Platform](https://github.com/doctrine/dbal/pull/3178) thanks to @Majkl578
- [3044: Functional test for allowing dynamic intervals in date sub/add](https://github.com/doctrine/dbal/pull/3044) thanks to @AshleyDawson
- [3049: Test failures caused by invalid database connection result in fatal error](https://github.com/doctrine/dbal/issues/3049) thanks to @Majkl578

**Improvements:**

- [3033: Added support for available DSN parameters for the PDOSqlsrv driver](https://github.com/doctrine/dbal/pull/3033) thanks to @aashmelev
- [3128: Add MySQL 8 reserved keywords](https://github.com/doctrine/dbal/pull/3128) thanks to @mlocati
- [3143: initialize sql array into platform files](https://github.com/doctrine/dbal/pull/3143) thanks to @AlessandroMinoccheri
- [3173: Fix composer branch aliases](https://github.com/doctrine/dbal/pull/3173) thanks to @Majkl578
- [3157: When building a limit query, zero offset without a limit should be ignored](https://github.com/doctrine/dbal/pull/3157) thanks to @morozov
- [3109: Allow to specify arbitrary SQL expression in AbstractPlatform::getDummySelectSQL()](https://github.com/doctrine/dbal/pull/3109) thanks to @morozov
- [3141: allow creating PRIMARY KEY AUTOINCREMENT fields for sqlite (unit tests)](https://github.com/doctrine/dbal/pull/3141) thanks to @TimoBakx
- [3180: Import simplified version of Common\Util\Debug for var dumping purposes](https://github.com/doctrine/dbal/pull/3180) thanks to @Majkl578

**Documentation Improvements:**

- [3117: Added badges for the develop branch in README](https://github.com/doctrine/dbal/pull/3117) thanks to @morozov
- [3125: Upgrading docs](https://github.com/doctrine/dbal/pull/3125) thanks to @jwage
- [3144: added improvement type into pull request template](https://github.com/doctrine/dbal/pull/3144) thanks to @AlessandroMinoccheri

**Code Quality Improvements:**

- [3025: Added PHPStan, apply changes for level 3](https://github.com/doctrine/dbal/pull/3025) thanks to @Majkl578
- [3200: Php Inspections (EA Ultimate): minor code tweaks](https://github.com/doctrine/dbal/pull/3200) thanks to @kalessil
- [3204: Fix typo in AbstractPlatform](https://github.com/doctrine/dbal/pull/3204) thanks to @Majkl578
- [3205: Ignore OCI-* classes in static analysis (no stubs)](https://github.com/doctrine/dbal/pull/3205) thanks to @Majkl578

**Continuous Integration Improvements:**

- [3102: Use newer PHPUnit to prevent crashes on failures](https://github.com/doctrine/dbal/pull/3102) thanks to @Majkl578
- [3112: Removed hard-coded configuration filenames from the test runner](https://github.com/doctrine/dbal/pull/3112) thanks to @morozov
- [3133: Travis DB2](https://github.com/doctrine/dbal/pull/3133) thanks to @Majkl578, @morozov
- [3135: AppVeyor tweaks, retry coverage upload on failure](https://github.com/doctrine/dbal/pull/3135) thanks to @Majkl578
- [3137: Workaround for the inability to use a post-PHPUnit script on ContinuousPHP](https://github.com/doctrine/dbal/pull/3137) thanks to @morozov
- [3151: MSSQL DLL 5.2.0 has been released.](https://github.com/doctrine/dbal/pull/3151) thanks to @photodude
- [3160: Test against Postgres 11](https://github.com/doctrine/dbal/pull/3160) thanks to @Majkl578

**Dependencies**

- [3193: DBAL 2.8 needs Common 2.9](https://github.com/doctrine/dbal/issues/3193) thanks to @Majkl578
- [3176: Eliminate dependency on doctrine/common](https://github.com/doctrine/dbal/issues/3176) thanks to @Majkl578
- [3181: Remove dependency on doctrine/common](https://github.com/doctrine/dbal/pull/3181) thanks to @Majkl578
This tag has no release notes.