diff --git a/CHANGELOG.md b/CHANGELOG.md index 6bdedc1f..8c856cce 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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` diff --git a/Cargo.toml b/Cargo.toml index 58bf7751..0665ae23 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -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 "] 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"] } diff --git a/examples/actix4_example/Cargo.toml b/examples/actix4_example/Cargo.toml index 54424550..711b437f 100644 --- a/examples/actix4_example/Cargo.toml +++ b/examples/actix4_example/Cargo.toml @@ -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 diff --git a/examples/actix_example/Cargo.toml b/examples/actix_example/Cargo.toml index 1dd00bc8..0849a4d4 100644 --- a/examples/actix_example/Cargo.toml +++ b/examples/actix_example/Cargo.toml @@ -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 diff --git a/examples/axum_example/Cargo.toml b/examples/axum_example/Cargo.toml index fd01563d..68248be2 100644 --- a/examples/axum_example/Cargo.toml +++ b/examples/axum_example/Cargo.toml @@ -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 diff --git a/examples/rocket_example/Cargo.toml b/examples/rocket_example/Cargo.toml index 9b88017f..36eac643 100644 --- a/examples/rocket_example/Cargo.toml +++ b/examples/rocket_example/Cargo.toml @@ -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 diff --git a/sea-orm-cli/Cargo.toml b/sea-orm-cli/Cargo.toml index 27bb9d7b..4c1dbb9c 100644 --- a/sea-orm-cli/Cargo.toml +++ b/sea-orm-cli/Cargo.toml @@ -3,7 +3,7 @@ [package] name = "sea-orm-cli" -version = "0.5.0-rc.1" +version = "0.5.0" authors = [ "Billy Chan " ] 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", diff --git a/sea-orm-codegen/Cargo.toml b/sea-orm-codegen/Cargo.toml index 39777996..22ada992 100644 --- a/sea-orm-codegen/Cargo.toml +++ b/sea-orm-codegen/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "sea-orm-codegen" -version = "0.5.0-rc.1" +version = "0.5.0" authors = ["Billy Chan "] edition = "2021" description = "Code Generator for SeaORM" diff --git a/sea-orm-macros/Cargo.toml b/sea-orm-macros/Cargo.toml index f8e9e086..326d48e8 100644 --- a/sea-orm-macros/Cargo.toml +++ b/sea-orm-macros/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "sea-orm-macros" -version = "0.5.0-rc.1" +version = "0.5.0" authors = [ "Billy Chan " ] edition = "2021" description = "Derive macros for SeaORM" diff --git a/sea-orm-rocket/codegen/Cargo.toml b/sea-orm-rocket/codegen/Cargo.toml index 0cede12c..03e34ab0 100644 --- a/sea-orm-rocket/codegen/Cargo.toml +++ b/sea-orm-rocket/codegen/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "sea-orm-rocket-codegen" -version = "0.5.0-rc.1" +version = "0.5.0" authors = ["Sergio Benitez ", "Jeb Rosen "] description = "Procedural macros for sea_orm_rocket." repository = "https://github.com/SergioBenitez/Rocket/contrib/db_pools" diff --git a/sea-orm-rocket/lib/Cargo.toml b/sea-orm-rocket/lib/Cargo.toml index 0d50fef8..c2be9508 100644 --- a/sea-orm-rocket/lib/Cargo.toml +++ b/sea-orm-rocket/lib/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "sea-orm-rocket" -version = "0.5.0-rc.1" +version = "0.5.0" authors = ["Sergio Benitez ", "Jeb Rosen "] description = "SeaORM Rocket support crate" repository = "https://github.com/SeaQL/sea-orm"