We are happy to announce the release of Diesel 2.0.0 RC1

Diesel is a safe, extensible ORM and query builder for Rust

This release contains a number of fixes and improvements compared to the previous 2.0.0 RC0 release.

Notably the following fixes and improvements are included:

* A fix for an issue preventing connection reuse with the built-in r2d2 integration
* Support for types from the `ipnet` crate
* Support for loading values via libpq's row by row mode
* Improvements to error messages generated by `#[derive(Insertable)]` for the case of type mismatches

This release hopefully marks the last prerelease before a stable 2.0.0 release.
We plan to release the final 2.0.0 soon after this, as long no other blocking issues are found.

Thank you to everyone who helped make this release happen through bug reports, and discussion on Gitter. While we don't have a way to collect stats on that form of contribution, it's greatly appreciated.

In addition to the Diesel core team, 8 people contributed code to this release. A huge thank you to:

* Chris Eckhardt
* Emile Fugulin
* Iban Eguia Moraza
* Jean SIMARD
* Martin Nordholts
* Otto Castle
* Sean Klein
* Steven Chu
Update release date + add link to commit range
1 file changed
tree: 0ad198d41f62003249e04f3bb6844702e92691a3
  1. .cargo/
  2. .github/
  3. bin/
  4. diesel/
  5. diesel_bench/
  6. diesel_cli/
  7. diesel_compile_tests/
  8. diesel_derives/
  9. diesel_dynamic_schema/
  10. diesel_migrations/
  11. diesel_tests/
  12. docker/
  13. examples/
  14. guide_drafts/
  15. migrations/
  16. .editorconfig
  17. .env.sample
  18. .gitignore
  19. Cargo.toml
  20. CHANGELOG.md
  21. clippy.toml
  22. code_of_conduct.md
  23. CONTRIBUTING.md
  24. docker-compose.yml
  25. LICENSE-APACHE
  26. LICENSE-MIT
  27. README.md
  28. rust-toolchain
README.md

A safe, extensible ORM and Query Builder for Rust

Build Status Gitter Crates.io

API Documentation: latest releasemaster branch

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

Supported databases:

  1. PostgreSQL
  2. MySQL
  3. SQLite

You can configure the database backend in Cargo.toml:

[dependencies]
diesel = { version = "<version>", features = ["<postgres|mysql|sqlite>"] }

Getting Started

Find our extensive Getting Started tutorial at https://diesel.rs/guides/getting-started. Guides on more specific features are coming soon.

Getting help

If you run into problems, Diesel has a very active Gitter room. You can come ask for help at gitter.im/diesel-rs/diesel. For help with longer questions and discussion about the future of Diesel, open a discussion on GitHub Discussions.

Code of conduct

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

License

Licensed under either of these:

Contributing

Before contributing, please read the contributors guide for useful information about setting up Diesel locally, coding style and common abbreviations.

Unless you explicitly state otherwise, any contribution you intentionally submit for inclusion in the work, as defined in the Apache-2.0 license, shall be dual-licensed as above, without any additional terms or conditions.