Skip to content

chore(deps): bump catfan/medoo from 2.5.0 to 2.6.0 - #136

Merged
cakmoel merged 1 commit into
mainfrom
dependabot/composer/main/catfan/medoo-2.6.0
Aug 31, 2026
Merged

chore(deps): bump catfan/medoo from 2.5.0 to 2.6.0#136
cakmoel merged 1 commit into
mainfrom
dependabot/composer/main/catfan/medoo-2.6.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Aug 31, 2026

Copy link
Copy Markdown
Contributor

Bumps catfan/medoo from 2.5.0 to 2.6.0.

Release notes

Sourced from catfan/medoo's releases.

Medoo v2.6.0 - PHPStan Level 10

New Features

  • Added portable identity primary key syntax for create().
$database->create('account', [
    '@id',
    'email' => [
        'VARCHAR(255)',
        'NOT NULL',
        'UNIQUE'
    ]
]);

The @column syntax defines an auto-generated integer primary key. Custom column names are also supported.

$database->create('account', [
    '@account_id',
    'name' => [
        'VARCHAR(100)',
        'NOT NULL'
    ]
]);

Medoo automatically converts the identity definition for each database:

Database Identity Definition
MySQL / MariaDB BIGINT NOT NULL AUTO_INCREMENT PRIMARY KEY
PostgreSQL BIGINT GENERATED BY DEFAULT AS IDENTITY PRIMARY KEY
SQLite INTEGER PRIMARY KEY AUTOINCREMENT
MSSQL BIGINT IDENTITY(1,1) PRIMARY KEY
Oracle NUMBER(19) GENERATED BY DEFAULT AS IDENTITY PRIMARY KEY
Sybase BIGINT IDENTITY PRIMARY KEY

Only one identity column can be defined per table. Invalid identity names, duplicate identity definitions, and conflicts with regular column definitions will throw an InvalidArgumentException.

PostgreSQL identity columns require PostgreSQL 10 or later. Oracle identity columns require Oracle Database 12c or later.

  • Added PostgreSQL RETURNING support for insert() when the primary key is provided.
$database->insert('account', [
    'email' => 'foo@example.com'
], 'id');
$id = $database->id();
</tr></table>

... (truncated)

Commits
  • f0e443d [feature] @​id identity for create()
  • 09262d1 [fix] resolve test case database type
  • 2515613 [update] validate charset and collate option
  • 8c8486d [fix] IN() with empty array
  • a198c2f [fix] compatibility issue for PostgreSQL
  • ffdcdf3 [update] PHPStan configuration
  • 6a4d0c7 [fix] variable type check
  • 9744585 [update] improvement for PHPStan Level 10
  • f53882f [fix] quote join columns for USING()
  • See full diff 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 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)

Bumps [catfan/medoo](https://github.com/catfan/Medoo) from 2.5.0 to 2.6.0.
- [Release notes](https://github.com/catfan/Medoo/releases)
- [Commits](catfan/Medoo@v2.5.0...v2.6.0)

---
updated-dependencies:
- dependency-name: catfan/medoo
  dependency-version: 2.6.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file php Pull requests that update php code labels Aug 31, 2026
@strix-security

Copy link
Copy Markdown

Strix is installed on this repository, but we couldn't run this PR security review because this workspace's trial has ended. Add a card to resume code reviews here.

@cakmoel
cakmoel merged commit ddae435 into main Aug 31, 2026
2 checks passed
@cakmoel
cakmoel deleted the dependabot/composer/main/catfan/medoo-2.6.0 branch August 31, 2026 11:57
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.

1 participant