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.
5 files changed
tree: 6294c02cafc99af51ded85a259a5a939698b42ef
  1. .cargo/
  2. bin/
  3. diesel/
  4. diesel_cli/
  5. diesel_codegen/
  6. diesel_codegen_syntex/
  7. diesel_compile_tests/
  8. diesel_tests/
  9. migrations/
  10. .example.env
  11. .gitignore
  12. .travis.yml
  13. CHANGELOG.md
  14. code_of_conduct.md
  15. LICENSE-APACHE
  16. LICENSE-MIT
  17. README.md
README.md

A safe, extensible ORM and Query Builder for Rust

Build Status Gitter

Documentation

Homepage

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”.

Getting Started

You can find an extensive Getting Started tutorial at http://diesel.rs/guides/getting-started. Guides on more specific features will be coming soon.

Code of conduct

Anyone who interacts with Diesel in any space including but not limited to this GitHub repository is expected to follow our code of conduct

License

Licensed under either of

at your option.

Contribution

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.