snmp-sim-rust
snmp-sim-rust copied to clipboard
Update sea-orm requirement from 0.8 to 0.11
Updates the requirements on sea-orm to permit the latest version.
Release notes
Sourced from sea-orm's releases.
0.11.0
https://www.sea-ql.org/blog/2023-02-08-whats-new-in-seaorm-0.11.0/
New Features
SeaORM Core
- Simple data loader SeaQL/sea-orm#1238, SeaQL/sea-orm#1443
- Transactions Isolation level and Access mode SeaQL/sea-orm#1230
- Support various UUID formats that are available in
uuid::fmtmodule SeaQL/sea-orm#1325- Support Vector of enum for Postgres SeaQL/sea-orm#1210
- Support
ActiveEnumfield as primary key SeaQL/sea-orm#1414- Casting columns as a different data type on select, insert and update SeaQL/sea-orm#1304
- Methods of
ActiveModelBehaviorreceive db connection as a parameter SeaQL/sea-orm#1145, SeaQL/sea-orm#1328- Added
execute_unpreparedmethod toDatabaseConnectionandDatabaseTransactionSeaQL/sea-orm#1327- Added
Select::into_tupleto select rows as tuples (instead of defining a custom Model) SeaQL/sea-orm#1311SeaORM CLI
- Generate
#[serde(skip_deserializing)]for primary key columns SeaQL/sea-orm#846, SeaQL/sea-orm#1186, SeaQL/sea-orm#1318- Generate
#[serde(skip)]for hidden columns SeaQL/sea-orm#1171, SeaQL/sea-orm#1320- Generate entity with extra derives and attributes for model struct SeaQL/sea-orm#1124, SeaQL/sea-orm#1321
SeaORM Migration
- Migrations are now performed inside a transaction for Postgres SeaQL/sea-orm#1379
Enhancements
- Refactor schema module to expose functions for database alteration SeaQL/sea-orm#1256
- Generate compact entity with
#[sea_orm(column_type = "JsonBinary")]macro attribute SeaQL/sea-orm#1346MockDatabase::append_exec_results(),MockDatabase::append_query_results(),MockDatabase::append_exec_errors()andMockDatabase::append_query_errors()take any types implementedIntoIteratortrait SeaQL/sea-orm#1367find_by_idanddelete_by_idtake anyIntoprimary key value SeaQL/sea-orm#1362QuerySelect::offsetandQuerySelect::limittakes inInto<Option<u64>>whereNonewould reset them SeaQL/sea-orm#1410- Added
DatabaseConnection::closeSeaQL/sea-orm#1236- Added
is_nullgetter forColumnDefSeaQL/sea-orm#1381- Added
ActiveValue::resetto convertUnchangedintoSetSeaQL/sea-orm#1177- Added
QueryTrait::apply_ifto optionally apply a filter SeaQL/sea-orm#1415- Added the
sea-orm-internalfeature flag to expose some SQLx types
- Added
DatabaseConnection::get_*_connection_pool()for accessing the inner SQLx connection pool SeaQL/sea-orm#1297- Re-exporting SQLx errors SeaQL/sea-orm#1434
Upgrades
- Upgrade
axumto0.6.1SeaQL/sea-orm#1285- Upgrade
sea-queryto0.28SeaQL/sea-orm#1366- Upgrade
sea-query-binderto0.3SeaQL/sea-orm#1366- Upgrade
sea-schemato0.11SeaQL/sea-orm#1366House Keeping
... (truncated)
Changelog
Sourced from sea-orm's changelog.
0.11.0 - 2023-02-07
- 2023-02-02:
0.11.0-rc.1- 2023-02-04:
0.11.0-rc.2New Features
SeaORM Core
- Simple data loader SeaQL/sea-orm#1238, SeaQL/sea-orm#1443
- Transactions Isolation level and Access mode SeaQL/sea-orm#1230
- Support various UUID formats that are available in
uuid::fmtmodule SeaQL/sea-orm#1325- Support Vector of enum for Postgres SeaQL/sea-orm#1210
- Support
ActiveEnumfield as primary key SeaQL/sea-orm#1414- Casting columns as a different data type on select, insert and update SeaQL/sea-orm#1304
- Methods of
ActiveModelBehaviorreceive db connection as a parameter SeaQL/sea-orm#1145, SeaQL/sea-orm#1328- Added
execute_unpreparedmethod toDatabaseConnectionandDatabaseTransactionSeaQL/sea-orm#1327- Added
Select::into_tupleto select rows as tuples (instead of defining a custom Model) SeaQL/sea-orm#1311SeaORM CLI
- Generate
#[serde(skip_deserializing)]for primary key columns SeaQL/sea-orm#846, SeaQL/sea-orm#1186, SeaQL/sea-orm#1318- Generate
#[serde(skip)]for hidden columns SeaQL/sea-orm#1171, SeaQL/sea-orm#1320- Generate entity with extra derives and attributes for model struct SeaQL/sea-orm#1124, SeaQL/sea-orm#1321
SeaORM Migration
- Migrations are now performed inside a transaction for Postgres SeaQL/sea-orm#1379
Enhancements
- Refactor schema module to expose functions for database alteration SeaQL/sea-orm#1256
- Generate compact entity with
#[sea_orm(column_type = "JsonBinary")]macro attribute SeaQL/sea-orm#1346MockDatabase::append_exec_results(),MockDatabase::append_query_results(),MockDatabase::append_exec_errors()andMockDatabase::append_query_errors()take any types implementedIntoIteratortrait SeaQL/sea-orm#1367find_by_idanddelete_by_idtake anyIntoprimary key value SeaQL/sea-orm#1362QuerySelect::offsetandQuerySelect::limittakes inInto<Option<u64>>whereNonewould reset them SeaQL/sea-orm#1410- Added
DatabaseConnection::closeSeaQL/sea-orm#1236- Added
is_nullgetter forColumnDefSeaQL/sea-orm#1381- Added
ActiveValue::resetto convertUnchangedintoSetSeaQL/sea-orm#1177- Added
QueryTrait::apply_ifto optionally apply a filter SeaQL/sea-orm#1415- Added the
sea-orm-internalfeature flag to expose some SQLx types
- Added
DatabaseConnection::get_*_connection_pool()for accessing the inner SQLx connection pool SeaQL/sea-orm#1297- Re-exporting SQLx errors SeaQL/sea-orm#1434
Upgrades
- Upgrade
axumto0.6.1SeaQL/sea-orm#1285- Upgrade
sea-queryto0.28SeaQL/sea-orm#1366- Upgrade
sea-query-binderto0.3SeaQL/sea-orm#1366- Upgrade
sea-schemato0.11SeaQL/sea-orm#1366
... (truncated)
Commits
2a4e5e00.11.097da42ddocs.rs for mock #1453c4b3efaUpdate build scriptc4df499update examples9e36c110.11.0-rc.236f1911Update build script04c2f4dChangelog8680c46Refactorselect_as&save_asimplementation generated by derive macros (#...9b53b99Update CLI docs (#1446)dca2ffbUpdate docs.rs features (#1451)- Additional commits viewable in compare view
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 rebasewill rebase this PR -
@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it -
@dependabot mergewill merge this PR after your CI passes on it -
@dependabot squash and mergewill squash and merge this PR after your CI passes on it -
@dependabot cancel mergewill cancel a previously requested merge and block automerging -
@dependabot reopenwill reopen this PR if it is closed -
@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually -
@dependabot ignore this major versionwill 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 versionwill 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 dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)