Skip to content

chore(deps): bump doctrine/dbal from 2.13.9 to 3.6.1#128

Open
dependabot[bot] wants to merge 1 commit intodevelopfrom
dependabot/composer/develop/doctrine/dbal-3.6.1
Open

chore(deps): bump doctrine/dbal from 2.13.9 to 3.6.1#128
dependabot[bot] wants to merge 1 commit intodevelopfrom
dependabot/composer/develop/doctrine/dbal-3.6.1

Conversation

@dependabot
Copy link
Copy Markdown

@dependabot dependabot Bot commented on behalf of github Mar 6, 2023

Bumps doctrine/dbal from 2.13.9 to 3.6.1.

Release notes

Sourced from doctrine/dbal's releases.

3.6.1

Release Notes for 3.6.1

3.6.1

  • Total issues resolved: 0
  • Total pull requests resolved: 11
  • Total contributors: 6

Documentation

Test Suite

Bug,Prepared Statements,pgsql

Static Analysis

Bug,PHP

CI,IBM DB2,ibm_db2

Bug,PostgreSQL,Schema Management

3.6.0

Release Notes for 3.6.0

3.6.0

... (truncated)

Upgrade guide

Sourced from doctrine/dbal's upgrade guide.

Note about upgrading: Doctrine uses static and runtime mechanisms to raise awareness about deprecated code.

  • Use of @deprecated docblock that is detected by IDEs (like PHPStorm) or Static Analysis tools (like Psalm, phpstan)
  • Use of our low-overhead runtime deprecation API, details: https://github.com/doctrine/deprecations/

Upgrade to 3.6

Deprecated not setting a schema manager factory

DBAL 4 will change the way the schema manager is created. To opt in to the new behavior, please configure the schema manager factory:

$configuration = new Configuration();
$configuration->setSchemaManagerFactory(new DefaultSchemaManagerFactory());
$connection = DriverManager::getConnection(
[/* your parameters */],
$configuration,
);

If you use a custom platform implementation, please make sure it implements the createSchemaManager()method . Otherwise, the connection will fail to create a schema manager.

Deprecated the url connection parameter

DBAL ships with a new and configurable DSN parser that can be used to parse a database URL into connection parameters understood by DriverManager.

Before

$connection = DriverManager::getConnection(
    ['url' => 'mysql://my-user:t0ps3cr3t@my-host/my-database']
);

After

$dsnParser  = new DsnParser(['mysql' => 'pdo_mysql']);
$connection = DriverManager::getConnection(
    $dsnParser->parse('mysql://my-user:t0ps3cr3t@my-host/my-database')
);

... (truncated)

Commits
  • 57815c7 Merge pull request #5947 from derrabus/chore/add-3.7
  • 974a5ab Merge pull request #5800 from allenisalai/psql-schema-manager-error
  • e0dcf39 Add 3.7.x branch
  • e7331bc Merge pull request #5943 from derrabus/bump/phpunit
  • ad8683a PHPUnit 9.6.4
  • e6d4ba4 Merge pull request #5942 from derrabus/improvement/pgsql-resource
  • 14fdf3e Support resources as parameters with pgsql
  • e4564fb Merge pull request #5935 from doctrine/bump/tools
  • e121b96 PHPStan 1.10.3, PHP Code Sniffer 3.7.2
  • 2c8afad Merge pull request #5933 from phansys/ibm_db2_sca
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file php Pull requests that update Php code labels Mar 6, 2023
Bumps [doctrine/dbal](https://github.com/doctrine/dbal) from 2.13.9 to 3.6.1.
- [Release notes](https://github.com/doctrine/dbal/releases)
- [Upgrade guide](https://github.com/doctrine/dbal/blob/3.6.x/UPGRADE.md)
- [Commits](doctrine/dbal@2.13.9...3.6.1)

---
updated-dependencies:
- dependency-name: doctrine/dbal
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot force-pushed the dependabot/composer/develop/doctrine/dbal-3.6.1 branch from 05d5528 to 8f01c30 Compare March 9, 2023 23:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file php Pull requests that update Php code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants