Skip to content

v0.5.0

@sgrif sgrif tagged this 05 Feb 21:47
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
Assets 2