Skip to content

Conversation

@dependabot-preview
Copy link

Bumps aura/sql from 2.6.0 to 3.0.0.

Release notes

Sourced from aura/sql's releases.

3.0.0

  • Fixed issue #163: Add getAttribute and setAttribute functions to make sure pdo is connected before calling the functions

  • Merged pull request #170: fixes error "Class 'Aura\Sql\PDO' not found"

  • Merged pull request #174: fixes bug with null value.

3.0.0-beta1

First beta release.

  • Updated documentation, and added a Bookdown JSON file.

  • The sqlsrv driver now defaults to exceptions like all other drivers.

3.0.0-alpha1

First alpha release.

Changelog

Sourced from aura/sql's changelog.

3.0.0

  • Fixed issue #163: Add getAttribute and setAttribute functions to make sure pdo is connected before calling the functions

  • Merged pull request #170: fixes error "Class 'Aura\Sql\PDO' not found"

  • Merged pull request #174: fixes bug with null value.

3.0.0-beta1

First beta release.

  • Updated documentation, and added a Bookdown JSON file.

  • The sqlsrv driver now defaults to exceptions like all other drivers.

3.0.0-alpha1

First alpha release.

See migration guide for details upgrading from 2.x to 3.x

2.5.1

Hygiene release: update documentation and testing.

2.5.0

This release adds new yield*() methods to ExtendedPdo; these return iterators to generate one result row at a time, which can reduce memory usage with very large result sets.

2.4.3

This release modifies the testing structure and updates other support files.

2.4.2

This is a hygiene release to update support files.

2.4.1

  • FIX: #96: Allow first bind value of query with numbered placeholders to be null.

2.4.0

The previous release changed the ExtendedPdoInterface by adding a new disconnect() method. That was an unintentional BC break to existing implementations of the interface. This release corrects that break by removing the disconnect() method from the interface, while leaving it in the implementation.

2.3.0

... (truncated)
Upgrade guide

Sourced from aura/sql's upgrade guide.

3.x Upgrade Notes

The vast majority of changes and breaks from the 2.x version are "under the hood," so to speak. The main functionality methods (query(), exec(), perform(), fetch*(), yield*(), etc.) are unchanged and work just the same as in 2.x.

The remaining changes and breaks can be categorized as:

  • the rebuilder and parsers;
  • profiling and logging;
  • instantiation; and
  • miscellaneous.

Rebuilder and Parsers

The 2.x Rebuilder has been redone entirely, and now provides separate parsers for the separate database drivers (mysql, pgsql, sqlite, and sqlsrv). This originated from #104, along with #107 and #111, all of which are now resolved. It took a great deal of time and effort to complete, with several approaches attempted.

Array Placeholders

Given this code ...

$stm = "SELECT * FROM test WHERE foo IN (:foo)"; $sth = $pdo->perform($stm, [ 'foo' => ['bar', 'baz', 'dib']; ]); echo $sth->queryString;

... 2.x would quote and replace the array values directly into the query:

SELECT * FROM test WHERE foo IN ('bar', 'baz', 'dib') 

Now, under 3.x, the placeholder is expanded to match the number of array keys, so that there are multiple placeholders:

SELECT * FROM test WHERE foo IN (:foo_0, :foo_1, :foo_2) 

The array values passed to the query will also be bound individually. (If you

... (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 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 use these labels will set the current labels as the default for future PRs for this repo and language
  • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
  • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
  • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language
  • @dependabot badge me will comment on this PR with code to add a "Dependabot enabled" badge to your readme

Additionally, you can set the following in your Dependabot dashboard:

  • Update frequency (including time of day and day of week)
  • Pull request limits (per update run and/or open at any time)
  • Out-of-range updates (receive only lockfile updates, if desired)
  • Security updates (receive only security updates, if desired)
Bumps [aura/sql](https://github.com/auraphp/Aura.Sql) from 2.6.0 to 3.0.0. - [Release notes](https://github.com/auraphp/Aura.Sql/releases) - [Changelog](https://github.com/auraphp/Aura.Sql/blob/3.x/CHANGELOG.md) - [Upgrade guide](https://github.com/auraphp/Aura.Sql/blob/3.x/docs/upgrade.md) - [Commits](auraphp/Aura.Sql@2.6.0...3.0.0) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
@dependabot-preview dependabot-preview bot added the dependencies Pull requests that update a dependency file label May 30, 2020
@aik099 aik099 closed this May 30, 2020
@aik099 aik099 deleted the dependabot/composer/aura/sql-3.0.0 branch May 30, 2020 11:26
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

1 participant