Prepare for 0.5.0-rc.1 (#404)

* docs: edit changelog

* test: update examples' sea-orm version

* docs: edit changelog
This commit is contained in:
Billy Chan 2021-12-31 00:41:47 +08:00 committed by GitHub
parent da21e79bb5
commit aa7254179f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 15 additions and 5 deletions

View File

@ -8,7 +8,9 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
## 0.5.0-rc.1 - 2021-12-25 ## 0.5.0-rc.1 - 2021-12-25
### Fixed Issues ### Fixed Issues
(Please help fill in) * Why insert, update, etc return a ActiveModel instead of Model? https://github.com/SeaQL/sea-orm/issues/289
* Rework `ActiveValue` https://github.com/SeaQL/sea-orm/issues/321
* Some missing ActiveEnum utilities https://github.com/SeaQL/sea-orm/issues/338
### Merged PRs ### Merged PRs
* First metric and tracing implementation by @nappa85 in https://github.com/SeaQL/sea-orm/pull/373 * First metric and tracing implementation by @nappa85 in https://github.com/SeaQL/sea-orm/pull/373
@ -25,6 +27,14 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
* PR without clippy warmings in file changed tab by @billy1624 in https://github.com/SeaQL/sea-orm/pull/401 * PR without clippy warmings in file changed tab by @billy1624 in https://github.com/SeaQL/sea-orm/pull/401
* 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
* Insert or 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`
* Rename method `ActiveValue::is_unset` to `ActiveValue::is_not_set`
* `PartialEq` of `ActiveValue` will also check the equality of state instead of just checking the equality of value
**Full Changelog**: https://github.com/SeaQL/sea-orm/compare/0.4.2...0.5.0 **Full Changelog**: https://github.com/SeaQL/sea-orm/compare/0.4.2...0.5.0
## 0.4.2 - 2021-12-12 ## 0.4.2 - 2021-12-12

View File

@ -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.4.0" version = "^0.5.0-rc.1"
features = ["macros", "runtime-actix-native-tls", "debug-print"] features = ["macros", "runtime-actix-native-tls", "debug-print"]
default-features = false default-features = false

View File

@ -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.4.0" version = "^0.5.0-rc.1"
features = ["macros", "runtime-async-std-native-tls", "debug-print"] features = ["macros", "runtime-async-std-native-tls", "debug-print"]
default-features = false default-features = false

View File

@ -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.4.2" version = "^0.5.0-rc.1"
features = ["macros", "runtime-tokio-native-tls", "debug-print"] features = ["macros", "runtime-tokio-native-tls", "debug-print"]
default-features = false default-features = false

View File

@ -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.4.0" version = "^0.5.0-rc.1"
features = ["macros", "runtime-tokio-native-tls"] features = ["macros", "runtime-tokio-native-tls"]
default-features = false default-features = false