Releases: rorm-orm/dorm
Releases · rorm-orm/dorm
v0.4.0
- fixed Date column insertion
- allowing updates with dynamic / conditional column setting
- update rorm-cli to 0.4.1
Full Changelog: v0.3.1...v0.4.0
v0.3.1
- fixed bugs with differing primary key column names in ModelRef, populate not working properly
- added support for
Nullable!(ModelRef!T)
- support db.insert(ImplicitPatch)
- support update.set!"modelRef" with instances
Full Changelog: v0.3.0...v0.3.1
v0.3.0
- fixed cyclic ModelRef models
- fixed vibe template (it's using DormDB as global which was broken before)
Full Changelog: v0.2.0...v0.3.0
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
v0.1.0
- First release of DORM, based on rorm 0.3.0
- Includes basic CRUD interface, transactions and foreign keys
Full Changelog: https://github.com/rorm-orm/dorm/commits/v0.1.0