Skip to content

Commit

Permalink
1.0.0-rc.1
Browse files Browse the repository at this point in the history
  • Loading branch information
tyt2y3 committed Jul 28, 2023
1 parent 4c5d229 commit 058a661
Show file tree
Hide file tree
Showing 7 changed files with 11 additions and 8 deletions.
5 changes: 4 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,14 @@ 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/).

## 1.0.0 - 2023-03-25
## 1.0.0 - Pending

`1.0.0-rc.1`: 2023-07-28

Introduction the functional API of Seaography. Warning, this version has breaking changes, but it was a sacrifice in order to make the project easier to maintain. With this version we have support for field guards and field renames.

### Breaking changes

* Dropped the derive API in favor of a functional API

SeaORM is a dynamic ORM for rust, this means that we can inspect the Tables, Columns properties on runtime. Recently async-graphql added support for dynamic creation of GraphQL nodes. Utilizing the dynamic nature of both libraries the Derive API is no longer needed and we developed a functional approach API. Moreover, the project in order to live long it needs to be maintainable (easy to maintain) and extensible (easy to extend), but the Derive API was fairly complex compared to a functional API. In order to make the migration easier we updated the seaography generator to generate using the new API
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ members = [

[package]
name = "seaography"
version = "1.0.0"
version = "1.0.0-rc.1"
edition = "2021"
rust-version = "1.60"
authors = ["Panagiotis Karatakis <panagiotiskaratakis@gmail.com>"]
Expand Down
4 changes: 2 additions & 2 deletions cli/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "seaography-cli"
version = "1.0.0"
version = "1.0.0-rc.1"
edition = "2021"
rust-version = "1.60"
authors = ["Panagiotis Karatakis <panagiotiskaratakis@gmail.com>"]
Expand All @@ -15,5 +15,5 @@ categories = ["database"]
[dependencies]
async-std = { version = "1.12.0", features = [ "attributes", "tokio1" ] }
clap = { version = "4.3.19", features = ["derive"] }
seaography-generator = { version = "^1.0.0", path = "../generator" }
seaography-generator = { version = "^1.0.0-rc.1", path = "../generator" }
url = "2.4.0"
2 changes: 1 addition & 1 deletion examples/mysql/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ lazy_static = { version = "1.4.0" }

[dependencies.seaography]
path = "../../"
version = "^1.0.0" # seaography version
version = "^1.0.0-rc.1" # seaography version
features = ["with-decimal", "with-chrono"]

[dev-dependencies]
Expand Down
2 changes: 1 addition & 1 deletion examples/postgres/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ lazy_static = { version = "1.4.0" }

[dependencies.seaography]
path = "../../"
version = "^1.0.0" # seaography version
version = "^1.0.0-rc.1" # seaography version
features = ["with-decimal", "with-chrono"]

[dev-dependencies]
Expand Down
2 changes: 1 addition & 1 deletion examples/sqlite/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ lazy_static = { version = "1.4.0" }

[dependencies.seaography]
path = "../../"
version = "^1.0.0" # seaography version
version = "^1.0.0-rc.1" # seaography version
features = ["with-decimal", "with-chrono"]

[dev-dependencies]
Expand Down
2 changes: 1 addition & 1 deletion generator/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "seaography-generator"
version = "1.0.0"
version = "1.0.0-rc.1"
edition = "2021"
rust-version = "1.60"
authors = ["Panagiotis Karatakis <panagiotiskaratakis@gmail.com>"]
Expand Down

0 comments on commit 058a661

Please sign in to comment.