Changelog
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
[0.2.1] - 2021-09-04
Added
Versioned.add_version_id/1fills the:version_idof a versioned struct.:version_fieldsoption forversioned_object/3macro.Versioned.Migration.modify_versioned_column/4.Versioned.Migration.rename_versioned_column/3.Versioned.Migration.remove_versioned_column/2.
[0.2.0] - 2021-07-26
Added
- Base schema now has
has_many :versions - Version schema swapped its simple
:entity_idfield for abelongs_towhich achieves the same, plus adding the:entityfield and the ability to query with the assoc. - Added
Versioned.Absinthe.versioned_object/2absinthe helper which creates the base object and the versioned one at the same time. - Added
Versioned.get_last/3which fetches the last version record in a history.
Changed
Versioned.with_versionsbecameVersioned.with_version_id. I originally named the function incorrectly ;)
[0.1.0] - 2021-07-15
Added
- Initial release