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

build(deps): bump doctrine/dbal from 3.8.2 to 4.0.0 #470

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Feb 26, 2024

Bumps doctrine/dbal from 3.8.2 to 4.0.0.

Release notes

Sourced from doctrine/dbal's releases.

4.0.0

This is a major release that includes breaking changes. Please refer to the upgrade guide for more details.

API Improvements and Cleanup

Major Backward Compatibility Breaks

Major Bugfixes

  • Removed Connection::$_schemaManager() and ::getSchemaManager() (#4518)
  • Removed Connection::$_expr (#4516) and ::getExpressionBuilder() (#4540)

Detailed Release Notes

... (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 4.0

BC BREAK: removed AbstractMySQLPlatform methods.

  1. getColumnTypeSQLSnippets(),
  2. getDatabaseNameSQL().

BC BREAK: Removed lock-related AbstractPlatform methods

The methods AbstractPlatform::getReadLockSQL(), ::getWriteLockSQL() and ::getForUpdateSQL() have been removed Use QueryBuilder::forUpdate() as a replacement for the latter.

BC BREAK: BIGINT values are cast to int if possible

BigIntType casts values retrieved from the database to int if they're inside the integer range of PHP. Previously, those values were always cast to string.

BC BREAK: Stricter DateTime types

The following types don't accept or return DateTimeImmutable instances anymore:

  • DateTimeType
  • DateTimeTzType
  • DateType
  • TimeType
  • VarDateTimeType

As a consequence, the following type classes don't extend their mutable counterparts anymore:

  • DateTimeImmutableType
  • DateTimeTzImmutableType
  • DateImmutableType
  • TimeImmutableType
  • VarDateTimeImmutableType

BC BREAK: Remove legacy execute and fetch methods.

The following methods have been removed:

  • Result::fetch()
  • Result::fetchAll()

... (truncated)

Commits

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 show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @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 the dependencies Pull requests that update a dependency file label Feb 26, 2024
@dependabot dependabot bot force-pushed the dependabot/composer/main/doctrine/dbal-4.0.0 branch 3 times, most recently from 40137f0 to 64ca5d8 Compare February 27, 2024 22:33
Bumps [doctrine/dbal](https://github.com/doctrine/dbal) from 3.8.2 to 4.0.0.
- [Release notes](https://github.com/doctrine/dbal/releases)
- [Upgrade guide](https://github.com/doctrine/dbal/blob/4.0.x/UPGRADE.md)
- [Commits](doctrine/dbal@3.8.2...4.0.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
@ckrack ckrack force-pushed the dependabot/composer/main/doctrine/dbal-4.0.0 branch from 64ca5d8 to 46a9079 Compare March 1, 2024 21:01
Copy link
Contributor Author

dependabot bot commented on behalf of github Mar 4, 2024

A newer version of doctrine/dbal exists, but since this PR has been edited by someone other than Dependabot I haven't updated it. You'll get a PR for the updated version as normal once this PR is merged.

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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants