wwu-cs / Submitty

Homework Submission, Automated Grading, and TA grading system.
http://submitty.org
BSD 3-Clause "New" or "Revised" License
0 stars 11 forks source link

[Dependency] Bump doctrine/dbal from 2.13.9 to 3.6.6 in /site #989

Closed dependabot[bot] closed 1 year ago

dependabot[bot] commented 1 year ago

Bumps doctrine/dbal from 2.13.9 to 3.6.6.

Release notes

Sourced from doctrine/dbal's releases.

3.6.6

Release Notes for 3.6.6

3.6.6

  • Total issues resolved: 0
  • Total pull requests resolved: 8
  • Total contributors: 4

Bugfixes

Documentation

Static Analysis

CI

Code Style

3.6.5

Release Notes for 3.6.5

3.6.5

  • Total issues resolved: 0
  • Total pull requests resolved: 5
  • Total contributors: 4

Bug,Prepared Statements,ibm_db2

Bug

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


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 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[bot] commented 1 year ago

The following labels could not be found: dependencies.

codecov-commenter commented 1 year ago

Codecov Report

Merging #989 (e877f68) into master (00d119c) will increase coverage by 22.66%. Report is 397 commits behind head on master. The diff coverage is 87.77%.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.

Impacted file tree graph

@@              Coverage Diff              @@
##             master     #989       +/-   ##
=============================================
+ Coverage     23.32%   45.99%   +22.66%     
=============================================
  Files           220       44      -176     
  Lines         27303     3520    -23783     
  Branches         70       73        +3     
=============================================
- Hits           6369     1619     -4750     
+ Misses        20866     1831    -19035     
- Partials         68       70        +2     
Flag Coverage Δ
autograder 22.15% <59.25%> (+0.58%) :arrow_up:
js 27.51% <ø> (-0.96%) :arrow_down:
migrator 100.00% <100.00%> (ø)
php ?
python_submitty_utils 71.65% <ø> (ø)
submitty_daemon_jobs 91.01% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

dependabot[bot] commented 1 year ago

Superseded by #1010.