commit | 909a39bb3a84ba172656777f3d44f97b96dcc011 | [log] [tgz] |
---|---|---|
author | Sean Griffin <sean@seantheprogrammer.com> | Thu Feb 16 14:49:59 2017 -0500 |
committer | Sean Griffin <sean@seantheprogrammer.com> | Thu Feb 16 16:11:28 2017 -0500 |
tree | 797132edd604c790390ed5ab9b46f5814d0d078d | |
parent | 368674c8f25de2b986af062e1ff0a7d42ea88501 [diff] |
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.
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”.
You can find an extensive Getting Started tutorial at http://diesel.rs/guides/getting-started. Guides on more specific features will be coming soon.
Anyone who interacts with Diesel in any space including but not limited to this GitHub repository is expected to follow our code of conduct
Licensed under either of
at your option.
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.