Skip to content

Bump sea-orm-migration from 1.1.20 to 2.0.4 - #105

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/cargo/main/sea-orm-migration-2.0.4
Open

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/cargo/main/sea-orm-migration-2.0.4

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Oct 26, 2026

Copy link
Copy Markdown

Bumps sea-orm-migration from 1.1.20 to 2.0.4.

Release notes

Sourced from sea-orm-migration's releases.

sea-orm-cli@2.0.4

Upgrade arrow to 60 (sea-orm-arrow 2.0.0-rc.5)

2.0.4

SeaORM 2.0.4

(since 2.0.3)

Enhancements

  • Add select_except to select all columns except the given ones SeaQL/sea-orm#3211

    select_except provides the inverse of select_only / column——selecting all columns except the specified ones.

    These methods replace the current selection, so the last one called takes effect.

    #[derive(DerivePartialModel)]
    #[sea_orm(entity = "post::Entity")]
    struct PostPreview {
        id: i32,
        title: String,
    }
    let posts = post::Entity::find()
    .select_except([post::Column::Body])
    .into_model::<PostPreview>()
    .all(db)
    .await?;

Bug Fixes

  • Fix chained left_join_linked using the wrong alias for links with multiple relations SeaQL/sea-orm#3199

    When left_join_linked was called more than once, later joins in a multi-relation link could refer to aliases belonging to the first call. The query remained valid but could return incorrect rows.

    cake::Entity::find()
        .left_join_linked(CakeToFilling)
        .left_join_linked(CakeToFillingVendor)
    -- before
    LEFT JOIN `filling` AS `r3` ON `r0`.`filling_id` = `r3`.`id`
    -- after
    LEFT JOIN filling AS r3 ON r2.filling_id = r3.id

... (truncated)

Changelog

Sourced from sea-orm-migration's changelog.

2.0.4 - 2026-09-27

select_except, save_as casts for eq_any / ne_all, linked-join alias and condition_type fixes, MySQL schema-sync index drop fix, arrow 60

2.0.3 - 2026-09-12

select_as aliases in combined selects, derive macro hygiene, ModelEx Eq handling, PostgreSQL partial-unique-index and postgres:db_name CLI fixes

2.0.2 - 2026-08-12

require_one query helper, date_time_default_now / timestamp_default_now schema helpers, entity-merge duplicate-import fix

2.0.1 - 2026-08-02

ActiveValue helpers (set_unset, is_set_and, as_option), Paginator::set_page, before_acquire pool hooks, read-only migration status queries, nested-transaction recursion fix

2.0.0 - 2026-07-19

Release Candidates

  • 2.0.0-rc.43 — BelongsTo relation type (opt-in, compile-time FK cardinality), CLI generation-option errors, has_related Condition::any() & PG enum-array codegen fixes
  • 2.0.0-rc.42 — typed value arrays, HasOne replace/delete, ActiveHasOne/ActiveHasMany rename, codegen ColumnType fixes
  • 2.0.0-rc.41 — SelectFourMany, update_without_returning, cargo binstall sea-orm-cli, junction ActiveModelBehavior & schema-sync PG-schema fixes
  • 2.0.0-rc.40 - Restore pgvector binding with SQLx 0.9
  • 2.0.0-rc.39 - SeaQuery 1.0, SQLx 0.9, async transaction helpers
  • 2.0.0-rc.38 — find_both_related, set_ne, pool options, schema sync fixes
  • 2.0.0-rc.37 — ER Diagram Generation
  • 2.0.0-rc.36 — Per-migration transaction control
  • 2.0.0-rc.35 — SQLite transaction modes, DeriveIntoActiveModel extensions, Decimal64/Bytes, schema sync fix
  • 2.0.0-rc.34 — Arrow/Parquet support, try_from_u64 for DeriveValueType
  • 2.0.0-rc.32 — MigratorTrait with self, PostgreSQL application_name
  • 2.0.0-rc.31 — ne_all, typed TextUuid, COUNT overflow fix
  • 2.0.0-rc.30 — Maintenance release, sea-query bump
  • 2.0.0-rc.29 — Tracing spans, UUID-as-TEXT, relation filtering, LEFT JOIN fix
  • 2.0.0-rc.28 — sqlx-all in migration, set_if_not_equals_and, auto_increment for String/Uuid PKs
  • 2.0.0-rc.27 — DeriveValueType implements NotU8 for PostgreSQL arrays
  • 2.0.0-rc.26 — postgres-use-serial-pk feature for legacy serial PKs
  • 2.0.0-rc.25 — Value system restoration, sea-query bump
  • 2.0.0-rc.24 — sea-query bump to rc.27
  • 2.0.0-rc.23 — DeriveValueType implements IntoActiveValue, remove NotU8
  • 2.0.0-rc.22 — DatabaseExecutor unified type, value array refactor
  • 2.0.0-rc.21 — Rusqlite / sea-orm-sync crate, exists on PaginatorTrait
  • 2.0.0-rc.20 — Stringy newtypes, M2M self-ref, nullable columns, bug fixes

New Features

  • Split belongs_to from has_one with a new BelongsTo relation type SeaQL/sea-orm#3118

    A belongs_to relation can now be typed BelongsTo<Entity> (required) or BelongsTo<Option<Entity>> (optional), encoding the foreign-key cardinality in the type,

... (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 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 [sea-orm-migration](https://github.com/SeaQL/sea-orm) from 1.1.20 to 2.0.4.
- [Release notes](https://github.com/SeaQL/sea-orm/releases)
- [Changelog](https://github.com/SeaQL/sea-orm/blob/master/CHANGELOG.md)
- [Commits](SeaQL/sea-orm@1.1.20...2.0.4)

---
updated-dependencies:
- dependency-name: sea-orm-migration
  dependency-version: 2.0.4
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot @github

dependabot Bot commented on behalf of github Oct 26, 2026

Copy link
Copy Markdown
Author

Labels

The following labels could not be found: production, stable, 📦 dependencies. Please create them before Dependabot can add them to a pull request.

Please fix the above issues or remove invalid values from dependabot.yml.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants