Skip to content

Update sea-orm monorepo to 1.1.14 #583

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

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

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented May 27, 2025

This PR contains the following updates:

Package Type Update Change
sea-orm (source) dependencies patch 1.1.11 -> 1.1.14
sea-orm-migration (source) dependencies patch 1.1.11 -> 1.1.14

Warning

Some dependencies could not be looked up. Check the Dependency Dashboard for more information.


Release Notes

SeaQL/sea-orm (sea-orm)

v1.1.14

Compare Source

Enhancements
Bug Fixes
#[derive(Clone, Debug, PartialEq, Deserialize, FromJsonQueryResult)]
pub struct NonSerializableStruct;

impl Serialize for NonSerializableStruct {
    fn serialize<S>(&self, _serializer: S) -> Result<S::Ok, S::Error>
    where
        S: Serializer,
    {
        Err(serde::ser::Error::custom(
            "intentionally failing serialization",
        ))
    }
}

let model = Model {
    json: Some(NonSerializableStruct),
};

let _ = model.into_active_model().insert(&ctx.db).await; // panic here

v1.1.13

Compare Source

New Features
  • [sea-orm-cli] New --frontend-format flag to generate entities in pure Rust:
// for example, below is the normal (compact) Entity:
use sea_orm::entity::prelude::*;
use serde::{Deserialize, Serialize};

#[derive(Clone, Debug, PartialEq, DeriveEntityModel, Eq, Serialize, Deserialize)]

#[sea_orm(table_name = "cake")]
pub struct Model {
    #[sea_orm(primary_key)]
    #[serde(skip_deserializing)]
    pub id: i32,
    #[sea_orm(column_type = "Text", nullable)]
    pub name: Option<String> ,
}
// this is the generated frontend model, there is no SeaORM dependency:
use serde::{Deserialize, Serialize};

#[derive(Clone, Debug, PartialEq, Eq, Serialize, Deserialize)]
pub struct Model {
    #[serde(skip_deserializing)]
    pub id: i32,
    pub name: Option<String> ,
}
Enhancements

v1.1.12

Compare Source

Enhancements
Bug Fixes
#[derive(DeriveEntityModel)]
pub struct Model {
    #[sea_orm(column_name = "lAsTnAmE")]
    last_name: String,
}

assert!(matches!(Column::from_str("lAsTnAmE").unwrap(), Column::LastName));

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about these updates again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot added the cargo label May 27, 2025
@renovate renovate bot changed the title Update sea-orm monorepo to 1.1.12 Update sea-orm monorepo to 1.1.13 Jun 29, 2025
@renovate renovate bot force-pushed the renovate/sea-orm-monorepo branch from 10d0ead to 6f182c3 Compare June 29, 2025 17:53
@renovate renovate bot force-pushed the renovate/sea-orm-monorepo branch from 6f182c3 to 2c22c0f Compare July 21, 2025 17:48
@renovate renovate bot changed the title Update sea-orm monorepo to 1.1.13 Update sea-orm monorepo to 1.1.14 Jul 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants