This commit is contained in:
Chris Tsang 2022-01-01 15:00:31 +08:00
parent aa7254179f
commit 82bad4a376
11 changed files with 14 additions and 14 deletions

View File

@ -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/)
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
* 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
### 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`
* Rename method `sea_orm::unchanged_active_value_not_intended_for_public_use` to `sea_orm::Unchanged`
* Rename method `ActiveValue::unset` to `ActiveValue::not_set`

View File

@ -3,7 +3,7 @@ members = [".", "sea-orm-macros", "sea-orm-codegen"]
[package]
name = "sea-orm"
version = "0.5.0-rc.1"
version = "0.5.0"
authors = ["Chris Tsang <tyt2y7@gmail.com>"]
edition = "2021"
description = "🐚 An async & dynamic ORM for Rust"
@ -29,7 +29,7 @@ futures = { version = "^0.3" }
futures-util = { version = "^0.3" }
tracing = { version = "0.1", features = ["log"] }
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-strum = { version = "^0.23", features = ["derive", "sea-orm"] }
serde = { version = "^1.0", features = ["derive"] }

View File

@ -22,7 +22,7 @@ tracing-subscriber = { version = "0.3", features = ["env-filter"] }
[dependencies.sea-orm]
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"]
default-features = false

View File

@ -22,7 +22,7 @@ tracing-subscriber = { version = "0.3", features = ["env-filter"] }
[dependencies.sea-orm]
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"]
default-features = false

View File

@ -23,7 +23,7 @@ tracing-subscriber = { version = "0.3", features = ["env-filter"] }
[dependencies.sea-orm]
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"]
default-features = false

View File

@ -22,7 +22,7 @@ serde_json = { version = "^1" }
[dependencies.sea-orm]
path = "../../" # remove this line in your own project
version = "^0.5.0-rc.1"
version = "^0.5.0"
features = ["macros", "runtime-tokio-native-tls"]
default-features = false

View File

@ -3,7 +3,7 @@
[package]
name = "sea-orm-cli"
version = "0.5.0-rc.1"
version = "0.5.0"
authors = [ "Billy Chan <ccw.billy.123@gmail.com>" ]
edition = "2021"
description = "Command line utility for SeaORM"
@ -21,7 +21,7 @@ path = "src/main.rs"
clap = { version = "^2.33.3" }
dotenv = { version = "^0.15" }
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 = [
"debug-print",
"sqlx-mysql",

View File

@ -1,6 +1,6 @@
[package]
name = "sea-orm-codegen"
version = "0.5.0-rc.1"
version = "0.5.0"
authors = ["Billy Chan <ccw.billy.123@gmail.com>"]
edition = "2021"
description = "Code Generator for SeaORM"

View File

@ -1,6 +1,6 @@
[package]
name = "sea-orm-macros"
version = "0.5.0-rc.1"
version = "0.5.0"
authors = [ "Billy Chan <ccw.billy.123@gmail.com>" ]
edition = "2021"
description = "Derive macros for SeaORM"

View File

@ -1,6 +1,6 @@
[package]
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>"]
description = "Procedural macros for sea_orm_rocket."
repository = "https://github.com/SergioBenitez/Rocket/contrib/db_pools"

View File

@ -1,6 +1,6 @@
[package]
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>"]
description = "SeaORM Rocket support crate"
repository = "https://github.com/SeaQL/sea-orm"