I'm happy to announce the release of diesel 2.1.
This release contains several new features and improves existing features. It introduces support for generating migrations based on the diff between your
schema.rs file and your database via Diesel CLI. Diesel derives now provides a
#[derive(MultiConnection)] derive macro that allows to easily combine different database connections into a single enum, which implements
Connection on its own. The MySQL backend gets support for
upsert queries via the
ON DUPLICATE KEYS syntax. Finally we provide new tooling to improve complex error messages generated for common error cases. Check out our full announcement for more details.
This release wouldn't be possible without the support of our contributors and sponsors. If you want to support diesels development, consider joining the reviewer team, submitting PR's, help writing documentation or sponsor the maintainers.