Skip to content

1.1.0

Latest
Compare
Choose a tag to compare
@eoyilmaz eoyilmaz released this 21 Jan 11:46
· 3 commits to develop since this release

Warning

Although the major version is not updated to v2.x, this is not compatible with 1.0.x as the implication of the change this introduces is huge.

What's Changed

Basically the Version class is now deriving directly from Entity instead of the File (previously Link). This is done in this way to simplify the relation of Version and File instances. Now, the Version class is the holder of File instances (which by the way got incredibly relaxed with this new name: File instead of Link, i.e you can have file-types: Type(name="OpenEXR", target_entity_type="File")) and and the Files are held in Version.files attribute instead of the Version.inputs or Version.outputs and we now have File.references attribute to hold the relation between files. With this change, all edges are now smoothed out...

Being only a change related to 2 classes, this didn't deserve being called version 2.x. On the other hand it breaks compatibility with 1.0.x branches. But, I have bigger changes in mind for 2.x branch 😉

By the way, the alembic script related to this change, can upgrade the data so that all the path and reference related data contained by Version instances are transfered to File instances and the data is preserved. But, the downgrade() doesn't work properly, so it is suggested to backup the database before upgrading it to Stalker 1.1.0 compatible version.

Full Changelog: 1.0.2...1.1.0