Skip to content

v2.0.0: Possibility to restore a removed document (#8)

Compare
Choose a tag to compare
@markusn markusn released this 02 Feb 10:22
· 83 commits to master since this release
f6dbc2f
* Possibility to restore a removed document

* (Soft) removing a document creates a empty version as the latest
  version (possible to list using force).
* Added possibility to specify correlation id when removing (added to
  the empty version specified above).
* Added possibility to restore an entity to a specific version. This
  will create a copy of the version and put it as the latest version.
  This will also remove the soft remove of the entity.
* Changed the behaviour of the remove function, the cb only takes an
  err, not a res. The error will be raised if no such entity exists.
* The changed behaviour is a breaking API change and thus the major
  version has been bumped.
* Removed check that entity is not already removed when removing