Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Manually merge 2.12.x into 3.0.x #4381

Merged
merged 27 commits into from
Oct 22, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
b88a45c
Release 2.11.2
morozov Oct 19, 2020
1f72f05
Bump version to 2.11.3-DEV
morozov Oct 19, 2020
a1f820e
Bump version to 2.12.0-DEV
morozov Oct 19, 2020
a3135e2
PHP 8 compatibility.
derrabus Oct 15, 2020
b407f8b
Merge pull request #4347 from derrabus/bugfix/php8-compat
greg0ire Oct 19, 2020
12b528d
Use sqlsrv 5.9.0-preview1
greg0ire Oct 19, 2020
f3cd606
Skip test on PHP8
greg0ire Oct 19, 2020
eb34f48
Move the logic out of the assertion
morozov Oct 20, 2020
94c02cc
Test all extensions with PHP8
greg0ire Oct 19, 2020
bb3082c
Fail on extension / tool installation failure
greg0ire Oct 20, 2020
bc61ebe
Merge pull request #4364 from morozov/issues/4359
morozov Oct 20, 2020
fb5d5f2
Release 2.11.3
morozov Oct 20, 2020
b85809c
Merge pull request #4361 from greg0ire/test-all-extensions-with-php8
greg0ire Oct 20, 2020
b7fd778
Bump version to 2.11.4-DEV
morozov Oct 20, 2020
903334c
Merge branch '2.11.x' into 2.12.x
morozov Oct 20, 2020
de9ce76
Adds exception thrown by execute() method
toby-griffiths Oct 19, 2020
f259b59
Psalm fails on release commits
morozov Oct 20, 2020
22e370a
Reduce number of build jobs
greg0ire Oct 20, 2020
1b303ba
Merge pull request #4373 from morozov/issues/4367
morozov Oct 21, 2020
9350d2a
Merge pull request #4365 from greg0ire/fail-fast
greg0ire Oct 21, 2020
38989c2
Merge pull request #4362 from toby-griffiths/add-missing-exception-an…
greg0ire Oct 21, 2020
7b5d241
Merge pull request #4374 from greg0ire/reduce-number-of-build-jobs
greg0ire Oct 21, 2020
e5160b2
Configuration should not be internal
BenMorel Oct 21, 2020
a79c8c3
Merge pull request #4376 from BenMorel/internal
morozov Oct 22, 2020
c6d37b4
Release 2.12.0
greg0ire Oct 22, 2020
bdb7983
Bump version to 2.12.1-DEV
greg0ire Oct 22, 2020
7a9306b
Merge remote-tracking branch 'origin/2.12.x' into 3.0.x
greg0ire Oct 22, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 9 additions & 3 deletions .doctrine-project.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,21 @@
"upcoming": true
},
{
"name": "2.11",
"branchName": "2.11.x",
"slug": "2.11",
"name": "2.12",
"branchName": "2.12.x",
"slug": "2.12",
"current": true,
"aliases": [
"current",
"stable"
]
},
{
"name": "2.11",
"branchName": "2.11.x",
"slug": "2.11",
"maintained": false
},
{
"name": "2.10",
"branchName": "2.10.x",
Expand Down
26 changes: 17 additions & 9 deletions .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ on:
schedule:
- cron: "42 3 * * *"

env:
fail-fast: true

jobs:
phpunit-smoke-check:
name: "PHPUnit with SQLite"
Expand Down Expand Up @@ -76,6 +79,7 @@ jobs:
matrix:
php-version:
- "7.4"
- "8.0"

services:
oracle:
Expand Down Expand Up @@ -125,6 +129,7 @@ jobs:
matrix:
php-version:
- "7.4"
- "8.0"

services:
oracle:
Expand Down Expand Up @@ -176,11 +181,6 @@ jobs:
- "7.4"
postgres-version:
- "9.4"
- "9.5"
- "9.6"
- "10"
- "11"
- "12"
- "13"
include:
- php-version: "8.0"
Expand Down Expand Up @@ -241,10 +241,7 @@ jobs:
- "7.4"
mariadb-version:
- "10.0"
- "10.1"
- "10.2"
- "10.3"
- "10.4"
- "10.5"
extension:
- "mysqli"
Expand Down Expand Up @@ -342,6 +339,16 @@ jobs:
php-version: "7.4"
mysql-version: "8.0"
extension: "mysqli"
- php-version: "8.0"
mysql-version: "8.0"
extension: "mysqli"
custom-entrypoint: >-
--entrypoint sh mysql:8 -c "exec docker-entrypoint.sh mysqld --default-authentication-plugin=mysql_native_password"
- php-version: "8.0"
mysql-version: "8.0"
extension: "pdo_mysql"
custom-entrypoint: >-
--entrypoint sh mysql:8 -c "exec docker-entrypoint.sh mysqld --default-authentication-plugin=mysql_native_password"

services:
mysql:
Expand Down Expand Up @@ -403,6 +410,7 @@ jobs:
php-version:
- "7.3"
- "7.4"
- "8.0"
extension:
- "sqlsrv"
- "pdo_sqlsrv"
Expand Down Expand Up @@ -443,7 +451,7 @@ jobs:
coverage: "pcov"
ini-values: "zend.assertions=1"
tools: "pecl"
extensions: "${{ matrix.extension }}-5.7.0preview"
extensions: "${{ matrix.extension }}-5.9.0preview1"

- name: "Cache dependencies installed with composer"
uses: "actions/cache@v2"
Expand Down
26 changes: 13 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
# Doctrine DBAL

| [Master][Master] | [2.11][2.11] |
| [Master][Master] | [2.12][2.12] |
|:----------------:|:----------:|
| [![Build status][Master image]][Master] | [![Build status][2.11 image]][2.11] |
| [![GitHub Actions][GA master image]][GA master] | [![GitHub Actions][GA 2.11 image]][GA 2.11] |
| [![AppVeyor][AppVeyor master image]][AppVeyor master] | [![AppVeyor][AppVeyor 2.11 image]][AppVeyor 2.11] |
| [![Code Coverage][Coverage image]][CodeCov Master] | [![Code Coverage][Coverage 2.11 image]][CodeCov 2.11] |
| [![Build status][Master image]][Master] | [![Build status][2.12 image]][2.12] |
| [![GitHub Actions][GA master image]][GA master] | [![GitHub Actions][GA 2.12 image]][GA 2.12] |
| [![AppVeyor][AppVeyor master image]][AppVeyor master] | [![AppVeyor][AppVeyor 2.12 image]][AppVeyor 2.12] |
| [![Code Coverage][Coverage image]][CodeCov Master] | [![Code Coverage][Coverage 2.12 image]][CodeCov 2.12] |

Powerful database abstraction layer with many features for database schema introspection, schema management and PDO abstraction.

Expand All @@ -24,11 +24,11 @@ Powerful database abstraction layer with many features for database schema intro
[GA master]: https://github.com/doctrine/dbal/actions?query=workflow%3A%22Continuous+Integration%22+branch%3Amaster
[GA master image]: https://github.com/doctrine/dbal/workflows/Continuous%20Integration/badge.svg

[2.11 image]: https://img.shields.io/travis/doctrine/dbal/2.11.x.svg?style=flat-square
[Coverage 2.11 image]: https://codecov.io/gh/doctrine/dbal/branch/2.11.x/graph/badge.svg
[2.11]: https://github.com/doctrine/dbal/tree/2.11.x
[CodeCov 2.11]: https://codecov.io/gh/doctrine/dbal/branch/2.11.x
[AppVeyor 2.11]: https://ci.appveyor.com/project/doctrine/dbal/branch/2.11.x
[AppVeyor 2.11 image]: https://ci.appveyor.com/api/projects/status/i88kitq8qpbm0vie/branch/2.11.x?svg=true
[GA 2.11]: https://github.com/doctrine/dbal/actions?query=workflow%3A%22Continuous+Integration%22+branch%3A2.11.x
[GA 2.11 image]: https://github.com/doctrine/dbal/workflows/Continuous%20Integration/badge.svg?branch=2.11.x
[2.12 image]: https://img.shields.io/travis/doctrine/dbal/2.12.x.svg?style=flat-square
[Coverage 2.12 image]: https://codecov.io/gh/doctrine/dbal/branch/2.12.x/graph/badge.svg
[2.12]: https://github.com/doctrine/dbal/tree/2.12.x
[CodeCov 2.12]: https://codecov.io/gh/doctrine/dbal/branch/2.12.x
[AppVeyor 2.12]: https://ci.appveyor.com/project/doctrine/dbal/branch/2.12.x
[AppVeyor 2.12 image]: https://ci.appveyor.com/api/projects/status/i88kitq8qpbm0vie/branch/2.12.x?svg=true
[GA 2.12]: https://github.com/doctrine/dbal/actions?query=workflow%3A%22Continuous+Integration%22+branch%3A2.12.x
[GA 2.12 image]: https://github.com/doctrine/dbal/workflows/Continuous%20Integration/badge.svg?branch=2.12.x
15 changes: 15 additions & 0 deletions UPGRADE.md
Original file line number Diff line number Diff line change
Expand Up @@ -375,6 +375,21 @@ Please use other database client applications for import, e.g.:
* For PostgreSQL: `psql [dbname] < data.sql`.
* For SQLite: `sqlite3 /path/to/file.db < data.sql`.

# Upgrade to 2.12

## PDO signature changes with php 8

In php 8.0, the method signatures of two PDO classes which are extended by DBAL have changed. This affects the following classes:

* `Doctrine\DBAL\Driver\PDOConnection`
* `Doctrine\DBAL\Driver\PDOStatement`

Code that extends either of the classes needs to be adjusted in order to function properly on php 8. The updated method signatures are:

* `PDOConnection::query(?string $query = null, ?int $fetchMode = null, mixed ...$fetchModeArgs)`
* `PDOStatement::setFetchMode($mode, ...$args)`
* `PDOStatement::fetchAll($mode = null, ...$args)`

# Upgrade to 2.11

## Deprecated `Abstraction\Result`
Expand Down
Loading