Skip to content
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

fix(deps): update rust crate sea-orm to 0.10.5 #12

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

Conversation

renovate[bot]
Copy link

@renovate renovate bot commented Feb 6, 2022

Mend Renovate

This PR contains the following updates:

Package Type Update Change
sea-orm (source) dependencies minor 0.5.0 -> 0.10.5

Release Notes

SeaQL/sea-orm

v0.10.5

Compare Source

New Features
Bug Fixes
Enhancements

v0.10.4

Compare Source

Bug Fixes
Enhancements

v0.10.3

Compare Source

Bug Fixes
Enhancements
House Keeping

v0.10.2

Compare Source

Enhancements
Bug Fixes
Upgrades
  • Update MSRV to 1.65

v0.10.1

Compare Source

Enhancements
Bug Fixes
House Keeping
Upgrades

v0.10.0

Compare Source

New Features
Enhancements
Bug Fixes
Breaking changes
enum ColumnType {
    // then
    Enum(String, Vec<String>)

    // now
    Enum {
        /// Name of enum
        name: DynIden,
        /// Variants of enum
        variants: Vec<DynIden>,
    }
    ...
}

// example

#[derive(Iden)]
enum TeaEnum {
    #[iden = "tea"]
    Enum,
    #[iden = "EverydayTea"]
    EverydayTea,
    #[iden = "BreakfastTea"]
    BreakfastTea,
}

// then
ColumnDef::new(active_enum_child::Column::Tea)
    .enumeration("tea", vec!["EverydayTea", "BreakfastTea"])

// now
ColumnDef::new(active_enum_child::Column::Tea)
    .enumeration(TeaEnum::Enum, [TeaEnum::EverydayTea, TeaEnum::BreakfastTea])
  • A new method array_type was added to ValueType:
impl sea_orm::sea_query::ValueType for MyType {
    fn array_type() -> sea_orm::sea_query::ArrayType {
        sea_orm::sea_query::ArrayType::TypeName
    }
    ...
}
  • ActiveEnum::name() changed return type to DynIden:
#[derive(Debug, Iden)]
#[iden = "category"]
pub struct CategoryEnum;

impl ActiveEnum for Category {
    // then
    fn name() -> String {
        "category".to_owned()
    }

    // now
    fn name() -> DynIden {
        SeaRc::new(CategoryEnum)
    }
    ...
}
House Keeping
Integration
Upgrades

v0.9.3

Compare Source

Enhancements
Bug Fixes

v0.9.2

Compare Source

Enhancements
House Keeping
Notes

In this minor release, we removed time v0.1 from the dependency graph

v0.9.1

Compare Source

Enhancements
Bug Fixes
House Keeping

v0.9.0

Compare Source

New Features
Enhancements
Upgrades
House Keeping
Bug Fixes
Breaking changes
  • SelectTwoMany::one() has been dropped https://github.com/SeaQL/sea-orm/pull/813, you can get (Entity, Vec<RelatedEntity>) by first querying a single model from Entity, then use [ModelTrait::find_related] on the model.
  • Feature flag revamp

    We now adopt the weak dependency syntax in Cargo. That means the flags ["sqlx-json", "sqlx-chrono", "sqlx-decimal", "sqlx-uuid", "sqlx-time"] are not needed and now removed. Instead, with-time will enable sqlx?/time only if sqlx is already enabled. As a consequence, now the features with-json, with-chrono, with-rust_decimal, with-uuid, with-time will not be enabled as a side-effect of enabling sqlx.

v0.8.0

Compare Source

New Features
Enhancements
Bug Fixes
Breaking changes
  • Migration utilities are moved from sea-schema to sea-orm repo, under a new sub-crate sea-orm-migration. sea_schema::migration::prelude should be replaced by sea_orm_migration::prelude in all migration files
Upgrades
Fixed Issues

Full Changelog: SeaQL/sea-orm@0.7.1...0.8.0

v0.7.1

Compare Source

  • Fix sea-orm-cli error
  • Fix sea-orm cannot build without with-json

v0.7.0

Compare Source

New Features
Enhancements
Bug Fixes
Breaking changes
Documentations
Fixed Issues

Full Changelog: SeaQL/sea-orm@0.6.0...0.7.0

v0.6.0

Compare Source

New Features
Enhancements
Bug Fixes
Breaking Changes
Fixed Issues

Full Changelog: SeaQL/sea-orm@0.5.0...0.6.0


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 this update again.


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

This PR has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot changed the title fix(deps): update rust crate sea-orm to 0.6.0 fix(deps): update rust crate sea-orm to 0.7.0 Mar 26, 2022
@renovate renovate bot changed the title fix(deps): update rust crate sea-orm to 0.7.0 fix(deps): update rust crate sea-orm to 0.7.1 Mar 26, 2022
@renovate renovate bot changed the title fix(deps): update rust crate sea-orm to 0.7.1 fix(deps): update rust crate sea-orm to 0.8.0 May 15, 2022
@renovate renovate bot changed the title fix(deps): update rust crate sea-orm to 0.8.0 fix(deps): update Rust crate sea-orm to 0.8.0 Jun 27, 2022
@renovate renovate bot changed the title fix(deps): update Rust crate sea-orm to 0.8.0 fix(deps): update rust crate sea-orm to 0.8.0 Jun 28, 2022
@renovate renovate bot changed the title fix(deps): update rust crate sea-orm to 0.8.0 fix(deps): update rust crate sea-orm to 0.9.0 Jul 11, 2022
@IgnisDa IgnisDa force-pushed the main branch 20 times, most recently from 9626835 to 529abd0 Compare July 12, 2022 10:58
@renovate renovate bot changed the title fix(deps): update rust crate sea-orm to 0.9.0 fix(deps): update rust crate sea-orm to 0.9.0 - autoclosed Jul 12, 2022
@renovate renovate bot closed this Jul 12, 2022
@renovate renovate bot deleted the renovate/sea-orm-0.x branch July 12, 2022 11:26
@renovate renovate bot changed the title fix(deps): update rust crate sea-orm to 0.9.0 - autoclosed fix(deps): update rust crate sea-orm to 0.9.0 Jul 12, 2022
@renovate renovate bot restored the renovate/sea-orm-0.x branch July 12, 2022 14:25
@renovate renovate bot reopened this Jul 12, 2022
@IgnisDa IgnisDa force-pushed the main branch 2 times, most recently from 3ce07f1 to 5ebea7f Compare July 12, 2022 14:35
@renovate renovate bot force-pushed the renovate/sea-orm-0.x branch 2 times, most recently from 3be35b9 to 8e9d410 Compare July 15, 2022 16:48
@renovate renovate bot changed the title fix(deps): update rust crate sea-orm to 0.9.0 fix(deps): update rust crate sea-orm to 0.9.1 Jul 21, 2022
@renovate renovate bot changed the title fix(deps): update rust crate sea-orm to 0.9.1 fix(deps): update rust crate sea-orm to 0.9.2 Aug 20, 2022
@renovate renovate bot changed the title fix(deps): update rust crate sea-orm to 0.9.2 fix(deps): update rust crate sea-orm to 0.9.3 Sep 30, 2022
@renovate renovate bot changed the title fix(deps): update rust crate sea-orm to 0.9.3 fix(deps): update rust crate sea-orm to 0.10.0 Oct 23, 2022
@renovate renovate bot changed the title fix(deps): update rust crate sea-orm to 0.10.0 fix(deps): update rust crate sea-orm to 0.10.1 Oct 27, 2022
@renovate renovate bot changed the title fix(deps): update rust crate sea-orm to 0.10.1 fix(deps): update rust crate sea-orm to 0.10.2 Nov 6, 2022
@renovate renovate bot changed the title fix(deps): update rust crate sea-orm to 0.10.2 fix(deps): update rust crate sea-orm to 0.10.3 Nov 14, 2022
@renovate renovate bot changed the title fix(deps): update rust crate sea-orm to 0.10.3 fix(deps): update rust crate sea-orm to 0.10.4 Nov 24, 2022
@renovate renovate bot changed the title fix(deps): update rust crate sea-orm to 0.10.4 fix(deps): update rust crate sea-orm to 0.10.5 Dec 2, 2022
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