Skip to content

Releases: rorm-orm/dorm

v0.4.0

21 Feb 20:47
7a5a431
Compare
Choose a tag to compare
  • 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

04 Dec 18:24
v0.3.1
a86c785
Compare
Choose a tag to compare
  • 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

01 Dec 10:39
v0.3.0
2de206e
Compare
Choose a tag to compare
  • 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

30 Nov 08:07
v0.2.0
d081caf
Compare
Choose a tag to compare

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

24 Nov 05:47
v0.1.0
85b7f6d
Compare
Choose a tag to compare
  • 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