From 9a1b771e41bc6bfd28dbd1de5a8e52f7203816c7 Mon Sep 17 00:00:00 2001 From: Chris Tsang Date: Fri, 3 Sep 2021 22:54:47 +0800 Subject: [PATCH] 0.2.0 --- CHANGELOG.md | 14 ++++++++++++++ Cargo.toml | 2 +- examples/rocket_example/Cargo.toml | 3 ++- 3 files changed, 17 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c9035c40..88555996 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,20 @@ 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.2.0 - 2021-09-03 + +- [[#37]] Rocket example +- [[#114]] `log` crate and `env-logger` +- [[#103]] `InsertResult` to return the primary key's type +- [[#89]] Represent several relations between same types by `Linked` +- [[#59]] Transforming an Entity into `TableCreateStatement` + +[#37]: https://github.com/SeaQL/sea-orm/issues/37 +[#114]: https://github.com/SeaQL/sea-orm/issues/114 +[#103]: https://github.com/SeaQL/sea-orm/issues/103 +[#89]: https://github.com/SeaQL/sea-orm/issues/89 +[#59]: https://github.com/SeaQL/sea-orm/issues/59 + ## 0.1.3 - 2021-08-30 - [[#108]] Remove impl TryGetable for Option diff --git a/Cargo.toml b/Cargo.toml index a5d534c1..a74b3658 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -3,7 +3,7 @@ members = [".", "sea-orm-macros", "sea-orm-codegen"] [package] name = "sea-orm" -version = "0.1.3" +version = "0.2.0" authors = ["Chris Tsang "] edition = "2018" description = "🐚 An async & dynamic ORM for Rust" diff --git a/examples/rocket_example/Cargo.toml b/examples/rocket_example/Cargo.toml index 944f8da5..1b4303c5 100644 --- a/examples/rocket_example/Cargo.toml +++ b/examples/rocket_example/Cargo.toml @@ -19,7 +19,8 @@ rocket_db_pools = { git = "https://github.com/SergioBenitez/Rocket.git" } rocket_dyn_templates = { git = "https://github.com/SergioBenitez/Rocket.git", features = [ "tera", ] } -sea-orm = { path = "../../", features = ["web-api-rocket"] } +# remove `path = ""` in your own project +sea-orm = { path = "../../", version = "^0.2" } serde_json = { version = "^1" } [dependencies.sqlx]