v0.2.0
Breaking Changes
the previously recommended way to initialize DormDB like
DBConnectOptions options = {
backend: DBBackend.SQLite,
name: "database.sqlite3"
}
auto db = DormDB(options);
no longer works. Instead of DBConnectOptions having all the different types, you now could construct for example SQLiteConnectOptions. However the new recommended way how to create a DormDB instance is instead:
auto appConfig = parseTomlConfig!BareConfiguration("database.toml");
auto db = DormDB(appConfig.database);
thus using the same database.toml that's also used by rorm-cli / dub run dorm when migrating.
Change Details
- added support for parsing database.toml
- DMD 2.100.0 and associated LDC version support
- added
dub init
template
Full Changelog: v0.1.0...v0.2.0