commit | 5d78457dc102e9b55087152ddce09995dcf2fcf6 | [log] [tgz] |
---|---|---|
author | Sean Griffin <sean@seantheprogrammer.com> | Mon Aug 01 15:56:01 2016 -0400 |
committer | Sean Griffin <sean@seantheprogrammer.com> | Mon Aug 01 16:19:48 2016 -0400 |
tree | 6294c02cafc99af51ded85a259a5a939698b42ef | |
parent | 0142c03a5cc2321b08533d8b6943f9b70f9e8dfa [diff] |
Release v0.7.0 The headline feature of this version is associations. Just add `#[belongs_to(User)]` above your struct, and it becomes incredibly easy to manipulate larger batches of data. See http://docs.diesel.rs/diesel/associations/index.html for a full guide. Diesel is taking a slightly different approach to what you may have seen in the past, which I'm calling "non-invasive associations". In contrast to something like Active Record or Ecto, where the association lives on the parent, the data is completely independent. The type of a user and all its posts is `(User, Vec<Post>)`. This release also marks the elimination of Diesel's reliance on procedural macros. They're still available as an option, and their usage is recommended. However, a lot of people have had a desire to shy away from them. For all of our code generation that does not perform IO, there is now a completely stable non-procedural macro, which has been designed to work with the [custom_derive][custom-derive] crate. See [the CHANGELOG][changelog] for a full list. [custom-derive]: https://github.com/DanielKeep/rust-custom-derive [changelog]: https://github.com/diesel-rs/diesel/blob/v0.7.0/CHANGELOG.md `diesel_codegen` has been split into two crates. This is a breaking change which will affect 100% of our users. Please see https://github.com/diesel-rs/diesel/commit/36b8801bf5e9594443743e6a7c62e29d3dce36b7 for more information on how to migrate. This release has also had a contributor who has gone above and beyond to help out. I'd like to take this opportunity to announce the 4th addition to the Diesel core team, @killercup! Your contributions have been much appreciated, and your code review has been invaluable. Thank you to everybody who contributed to this release. - derekdreery - kardeiz - Michael Macias - Mike Piccolo - Pascal Hertleif - Richard Dodd - Tim Brooks On to 0.8! With this release, we are approaching the benchmarks I had set for 1.0. We will still have at least 2 more releases before the 1.0 release, but it's quickly becoming the next target. We will be publishing a roadmap soon.
Diesel gets rid of the boilerplate for database interaction and eliminates runtime errors, without sacrificing performance. It takes full advantage of Rust's type system to create a low overhead query builder that “feels like Rust”.
You can find an extensive Getting Started tutorial at http://diesel.rs/guides/getting-started. Guides on more specific features will be coming soon.
Anyone who interacts with Diesel in any space including but not limited to this GitHub repository is expected to follow our code of conduct
Licensed under either of
at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.