Release version 0.5.0

This is by far our biggest release yet, including 162 commits by 9
contributors. You can view the full changelog at
https://github.com/sgrif/diesel/blob/v0.5.0/CHANGELOG.md

To coincide with this release, we've launched a new website. Check it
out at http://diesel.rs -- We've also published a new Getting Started
guide.

By far the biggest feature of this release is support for SQLite3 as a
backend. If you'd like to try it out, add `features = ["sqlite"]` to
`diesel` and `diesel_codgen` in your Cargo.toml. PostgreSQL is still
included by default. To remove it, add `default-features = false`.

Additionally, this release adds support for the various types from the
`chrono` crate. Add `features = ["chrono"]` to enable it.

Some of the more minor features include the ability to opt into the
0.2.0 behavior for updates (treating `None` as `NULL` instead of
skipping the field), as well as support for the `sum` and `avg`
functions.

Unfortunately, there were some breaking changes in this release that are
likely to have a broad impact. `diesel::Connection` is now
`diesel::pg::PgConnection`. `load` and `get_results` now return a `Vec`
instead of an `Iterator`. `Queriable` has been renamed to `Queryable`.

This release was a huge group effort to make happen, and we hope you
enjoy it. Happy Dieseling!

Thank you to Diesel core team, and the contributors to this release:

@oursonguimauve
@robertmaloney
@tamird
@tessgriffin
@weiznich
6 files changed
tree: 956657a8ee546111b64fae79039842e650e10807
  1. .cargo/
  2. bin/
  3. diesel/
  4. diesel_cli/
  5. diesel_codegen/
  6. diesel_compile_tests/
  7. diesel_tests/
  8. migrations/
  9. .example.env
  10. .gitignore
  11. .travis.yml
  12. CHANGELOG.md
  13. code_of_conduct.md
  14. LICENSE-APACHE
  15. LICENSE-MIT
  16. README.md
README.md

Diesel - A safe, extensible ORM and Query Builder for Rust

Build Status Gitter

Documentation

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.