Relase v0.11.0 (The one where we support MySQL)

The headline features for this release are MySQL support and limited PG
upsert support. MySQL support works exactly as you'd expect. Just add
`features = ["mysql"]` to your Cargo.toml, pass a connection URL (where
the scheme is `mysql://` and the path is the name of the database) to
`MysqlConnection::establish` and you're off. Keep in mind that if you're
following the getting started guide, MySQL does not support the
`RETURNING` clause, so methods like `get_result` and `get_results` won't
work.

PostgreSQL upsert was a feature added in PG 9.5 and has been one of our
most requested features. The full upsert API is quite complex, but we've
added support for `ON CONFLICT DO NOTHING`, as this covered the highest
percentage of use cases with the lowest amount of work. You can see
examples in [the docs][on-conflict-do-nothing]. Support for the full
upsert syntax will be coming in 0.12.

In addition to the headline features, there were plenty of quality of
life improvements and bug fixes. As always, you can see a full list of
changes by reading [the changelog][changelog].

[on-conflict-do-nothing]: http://docs.diesel.rs/diesel/pg/upsert/trait.OnConflictExtension.html#method.on_conflict_do_nothing
[changelog]: https://github.com/diesel-rs/diesel/blob/v0.11.0/CHANGELOG.md

In addition to the Diesel core team, 6 additional contributors worked on
this release. A huge thank you to:

- Brandon W Maister
- Eijebong
- Georg Semmler
- Jimmy Cuadra
- Jovansonlee Cesar
- jacob

I'd also like to thank everybody who helped this release by opening
issues, finding bugs, and asking/answering questions in our gitter room.
11 files changed
tree: 797132edd604c790390ed5ab9b46f5814d0d078d
  1. bin/
  2. diesel/
  3. diesel_cli/
  4. diesel_codegen/
  5. diesel_compile_tests/
  6. diesel_infer_schema/
  7. diesel_tests/
  8. examples/
  9. migrations/
  10. .editorconfig
  11. .example.env
  12. .gitignore
  13. .travis.yml
  14. Cargo.toml
  15. CHANGELOG.md
  16. clippy.toml
  17. code_of_conduct.md
  18. CONTRIBUTING.md
  19. LICENSE-APACHE
  20. LICENSE-MIT
  21. README.md
README.md

A safe, extensible ORM and Query Builder for Rust

Build Status Gitter Crates.io

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.