Releases: njord-rs/njord
v0.4.0-alpha
What's Changed
- Light/Dark mode for website by @SvMak in #93
- Fixed a typo in the example code from the documentation. by @TomasWild in #99
- Implement primary keys as a specific type by @chaseWillden in #131
- Adding
EXCEPT
feature by @mjovanc in #133 - Add
UNION
by @chaseWillden in #134 - Implement subqueries by @chaseWillden in #136
- Pull columns out. Implement subqueries in update by @chaseWillden in #138
- Implement
IN
andNOT IN
by @chaseWillden in #139 - Implemented
AutoIncrementPrimary
key for autoincrement in SQLite by @mjovanc in #78 - Created better tests structure by @Hiccup-za in #142
- Add
JOIN
by @chaseWillden in #143 - Add Subqueries to
DELETE
by @chaseWillden in #145 - Add
INSERT
subquery support by @chaseWillden in #146 - Add MySQL support by @chaseWillden in #149
- Updating workflow and various stuff by @mjovanc in #151
- Create pre-commit script by @mjovanc in #154
- Add MySQL
DELETE
tests by @chaseWillden in #155 - Implement more MySQL tests by @chaseWillden in #158
- Removing docs from README -> moved to docs repo by @mjovanc in #156
- Removing lifetimes where it can be automatically inferred by @mjovanc in #160
- Fixing modules in lib.rs by @mjovanc in #161
New Contributors
- @SvMak made their first contribution in #93
- @TomasWild made their first contribution in #99
- @chaseWillden made their first contribution in #131
- @Hiccup-za made their first contribution in #142
Full Changelog: v0.3.0...v0.4.0
v0.3.0-alpha
What's Changed
- Adding UPDATE feature by @mjovanc in #66
- Adding DELETE feature by @mjovanc in #72
- Updating INSERT to be able to take in vector of structs and execute batches to be more optimized. 5ac2f88
- Have a feature for each new database support we provide by @mjovanc #23
- Adding more unit tests.
- Refactoring.
Full Changelog: v0.2.1...v0.3.0
v0.2.1-alpha
Second release of Njord is now released! Artifacts are uploaded to crates.io. New features include:
INSERT
andSELECT
statements are quite done for minimalistic usage. We will add more functionality toSELECT
in the coming versions. Currently things that are missing isJOIN
and nestedWHERE
and more advanced features overall.- Create a in-memory db with SQLite.
- New attribute added for the procedural macro
#[table_name = "products"]
so you can define the exact generated table name in the database. - With
INSERT
comes a convenient QueryBuilder so you can now do the following:
let result: Result<Vec<User>> = sqlite::select(conn, columns)
.from(User::default())
.where_clause(where_condition)
.order_by(order_by)
.group_by(group_by)
.having(having_condition)
.build();
Read the docs of usage: https://docs.rs/njord/0.2.1/njord
Note that this release is very limited and unstable for serious usage. Things will break in the upcoming release iterations. Use it with caution.
v0.1.0-alpha
First initial alpha of njord is now released! Artifacts are uploaded to crates.io. Currently two libraries are finished:
- njord
- njord_derive
We will add a feature flag for njord_derive in the upcoming release so you don't need to add both sperately.
Read the docs of usage: https://docs.rs/njord/0.1.0/njord or on the Wiki
Note that this release is very limited and unstable for serious usage. Things will break in the upcoming release iterations. Use it with caution.