Skip to content

v0.2.0

Compare
Choose a tag to compare
@WebFreak001 WebFreak001 released this 30 Nov 08:07
· 25 commits to main since this release
v0.2.0
d081caf

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