0.5.0
This commit is contained in:
parent
aa7254179f
commit
82bad4a376
@ -5,7 +5,7 @@ All notable changes to this project will be documented in this file.
|
|||||||
The format is based on [Keep a Changelog](http://keepachangelog.com/)
|
The format is based on [Keep a Changelog](http://keepachangelog.com/)
|
||||||
and this project adheres to [Semantic Versioning](http://semver.org/).
|
and this project adheres to [Semantic Versioning](http://semver.org/).
|
||||||
|
|
||||||
## 0.5.0-rc.1 - 2021-12-25
|
## 0.5.0 - 2022-01-01
|
||||||
|
|
||||||
### Fixed Issues
|
### Fixed Issues
|
||||||
* Why insert, update, etc return a ActiveModel instead of Model? https://github.com/SeaQL/sea-orm/issues/289
|
* Why insert, update, etc return a ActiveModel instead of Model? https://github.com/SeaQL/sea-orm/issues/289
|
||||||
@ -28,7 +28,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
|
|||||||
* Rename `sea-strum` lib back to `strum` by @billy1624 in https://github.com/SeaQL/sea-orm/pull/361
|
* Rename `sea-strum` lib back to `strum` by @billy1624 in https://github.com/SeaQL/sea-orm/pull/361
|
||||||
|
|
||||||
### Breaking Changes
|
### Breaking Changes
|
||||||
* Insert or update return `Model` instead of `ActiveModel`
|
* `ActiveModel::insert` and `ActiveModel::update` return `Model` instead of `ActiveModel`
|
||||||
* Method `ActiveModelBehavior::after_save` takes `Model` as input instead of `ActiveModel`
|
* Method `ActiveModelBehavior::after_save` takes `Model` as input instead of `ActiveModel`
|
||||||
* Rename method `sea_orm::unchanged_active_value_not_intended_for_public_use` to `sea_orm::Unchanged`
|
* Rename method `sea_orm::unchanged_active_value_not_intended_for_public_use` to `sea_orm::Unchanged`
|
||||||
* Rename method `ActiveValue::unset` to `ActiveValue::not_set`
|
* Rename method `ActiveValue::unset` to `ActiveValue::not_set`
|
||||||
|
@ -3,7 +3,7 @@ members = [".", "sea-orm-macros", "sea-orm-codegen"]
|
|||||||
|
|
||||||
[package]
|
[package]
|
||||||
name = "sea-orm"
|
name = "sea-orm"
|
||||||
version = "0.5.0-rc.1"
|
version = "0.5.0"
|
||||||
authors = ["Chris Tsang <tyt2y7@gmail.com>"]
|
authors = ["Chris Tsang <tyt2y7@gmail.com>"]
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
description = "🐚 An async & dynamic ORM for Rust"
|
description = "🐚 An async & dynamic ORM for Rust"
|
||||||
@ -29,7 +29,7 @@ futures = { version = "^0.3" }
|
|||||||
futures-util = { version = "^0.3" }
|
futures-util = { version = "^0.3" }
|
||||||
tracing = { version = "0.1", features = ["log"] }
|
tracing = { version = "0.1", features = ["log"] }
|
||||||
rust_decimal = { version = "^1", optional = true }
|
rust_decimal = { version = "^1", optional = true }
|
||||||
sea-orm-macros = { version = "^0.5.0-rc.1", path = "sea-orm-macros", optional = true }
|
sea-orm-macros = { version = "^0.5.0", path = "sea-orm-macros", optional = true }
|
||||||
sea-query = { version = "^0.20.0", features = ["thread-safe"] }
|
sea-query = { version = "^0.20.0", features = ["thread-safe"] }
|
||||||
sea-strum = { version = "^0.23", features = ["derive", "sea-orm"] }
|
sea-strum = { version = "^0.23", features = ["derive", "sea-orm"] }
|
||||||
serde = { version = "^1.0", features = ["derive"] }
|
serde = { version = "^1.0", features = ["derive"] }
|
||||||
|
@ -22,7 +22,7 @@ tracing-subscriber = { version = "0.3", features = ["env-filter"] }
|
|||||||
|
|
||||||
[dependencies.sea-orm]
|
[dependencies.sea-orm]
|
||||||
path = "../../" # remove this line in your own project
|
path = "../../" # remove this line in your own project
|
||||||
version = "^0.5.0-rc.1"
|
version = "^0.5.0"
|
||||||
features = ["macros", "runtime-actix-native-tls", "debug-print"]
|
features = ["macros", "runtime-actix-native-tls", "debug-print"]
|
||||||
default-features = false
|
default-features = false
|
||||||
|
|
||||||
|
@ -22,7 +22,7 @@ tracing-subscriber = { version = "0.3", features = ["env-filter"] }
|
|||||||
|
|
||||||
[dependencies.sea-orm]
|
[dependencies.sea-orm]
|
||||||
path = "../../" # remove this line in your own project
|
path = "../../" # remove this line in your own project
|
||||||
version = "^0.5.0-rc.1"
|
version = "^0.5.0"
|
||||||
features = ["macros", "runtime-async-std-native-tls", "debug-print"]
|
features = ["macros", "runtime-async-std-native-tls", "debug-print"]
|
||||||
default-features = false
|
default-features = false
|
||||||
|
|
||||||
|
@ -23,7 +23,7 @@ tracing-subscriber = { version = "0.3", features = ["env-filter"] }
|
|||||||
|
|
||||||
[dependencies.sea-orm]
|
[dependencies.sea-orm]
|
||||||
path = "../../" # remove this line in your own project
|
path = "../../" # remove this line in your own project
|
||||||
version = "^0.5.0-rc.1"
|
version = "^0.5.0"
|
||||||
features = ["macros", "runtime-tokio-native-tls", "debug-print"]
|
features = ["macros", "runtime-tokio-native-tls", "debug-print"]
|
||||||
default-features = false
|
default-features = false
|
||||||
|
|
||||||
|
@ -22,7 +22,7 @@ serde_json = { version = "^1" }
|
|||||||
|
|
||||||
[dependencies.sea-orm]
|
[dependencies.sea-orm]
|
||||||
path = "../../" # remove this line in your own project
|
path = "../../" # remove this line in your own project
|
||||||
version = "^0.5.0-rc.1"
|
version = "^0.5.0"
|
||||||
features = ["macros", "runtime-tokio-native-tls"]
|
features = ["macros", "runtime-tokio-native-tls"]
|
||||||
default-features = false
|
default-features = false
|
||||||
|
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
[package]
|
[package]
|
||||||
name = "sea-orm-cli"
|
name = "sea-orm-cli"
|
||||||
version = "0.5.0-rc.1"
|
version = "0.5.0"
|
||||||
authors = [ "Billy Chan <ccw.billy.123@gmail.com>" ]
|
authors = [ "Billy Chan <ccw.billy.123@gmail.com>" ]
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
description = "Command line utility for SeaORM"
|
description = "Command line utility for SeaORM"
|
||||||
@ -21,7 +21,7 @@ path = "src/main.rs"
|
|||||||
clap = { version = "^2.33.3" }
|
clap = { version = "^2.33.3" }
|
||||||
dotenv = { version = "^0.15" }
|
dotenv = { version = "^0.15" }
|
||||||
async-std = { version = "^1.9", features = [ "attributes" ] }
|
async-std = { version = "^1.9", features = [ "attributes" ] }
|
||||||
sea-orm-codegen = { version = "^0.5.0-rc.1", path = "../sea-orm-codegen" }
|
sea-orm-codegen = { version = "^0.5.0", path = "../sea-orm-codegen" }
|
||||||
sea-schema = { version = "0.4.0", default-features = false, features = [
|
sea-schema = { version = "0.4.0", default-features = false, features = [
|
||||||
"debug-print",
|
"debug-print",
|
||||||
"sqlx-mysql",
|
"sqlx-mysql",
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "sea-orm-codegen"
|
name = "sea-orm-codegen"
|
||||||
version = "0.5.0-rc.1"
|
version = "0.5.0"
|
||||||
authors = ["Billy Chan <ccw.billy.123@gmail.com>"]
|
authors = ["Billy Chan <ccw.billy.123@gmail.com>"]
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
description = "Code Generator for SeaORM"
|
description = "Code Generator for SeaORM"
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "sea-orm-macros"
|
name = "sea-orm-macros"
|
||||||
version = "0.5.0-rc.1"
|
version = "0.5.0"
|
||||||
authors = [ "Billy Chan <ccw.billy.123@gmail.com>" ]
|
authors = [ "Billy Chan <ccw.billy.123@gmail.com>" ]
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
description = "Derive macros for SeaORM"
|
description = "Derive macros for SeaORM"
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "sea-orm-rocket-codegen"
|
name = "sea-orm-rocket-codegen"
|
||||||
version = "0.5.0-rc.1"
|
version = "0.5.0"
|
||||||
authors = ["Sergio Benitez <sb@sergio.bz>", "Jeb Rosen <jeb@jebrosen.com>"]
|
authors = ["Sergio Benitez <sb@sergio.bz>", "Jeb Rosen <jeb@jebrosen.com>"]
|
||||||
description = "Procedural macros for sea_orm_rocket."
|
description = "Procedural macros for sea_orm_rocket."
|
||||||
repository = "https://github.com/SergioBenitez/Rocket/contrib/db_pools"
|
repository = "https://github.com/SergioBenitez/Rocket/contrib/db_pools"
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "sea-orm-rocket"
|
name = "sea-orm-rocket"
|
||||||
version = "0.5.0-rc.1"
|
version = "0.5.0"
|
||||||
authors = ["Sergio Benitez <sb@sergio.bz>", "Jeb Rosen <jeb@jebrosen.com>"]
|
authors = ["Sergio Benitez <sb@sergio.bz>", "Jeb Rosen <jeb@jebrosen.com>"]
|
||||||
description = "SeaORM Rocket support crate"
|
description = "SeaORM Rocket support crate"
|
||||||
repository = "https://github.com/SeaQL/sea-orm"
|
repository = "https://github.com/SeaQL/sea-orm"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user