See PR #1223 for the other alternative introducing
This PR allows
This makes all item and resource fetches fire the callback. A use case could be anonymizing documents via on_fetched_*. Accessing with version=diffs would expose the documents.
As discussed in #475 and inline code notes
Merged the changes as discussed in #1223 to this PR instead of making another PR since this is labelled for 0.8.2.
The callback now gets the entire list of diffs, which I think makes sense. Also updated the tests in TestCompleteVersioning;
Hateos _links seems to get an extra