Major Change:
Collection Nesting
Allows the nesting relationship for collections to be specified as <sub-collection> <member_of_collection> <collection>
This can be used as follows:
collection.member_of_collections = [collection1, collection2]
Performance
The reversing of the relationship is consistent with a change that was made previously for <work> <member_of_collection> <collection>
. The reversal of the work to collection and collection to collection relationships are addressing a performance issue that appears when you have 100s of works and/or collections as members of a collection.
Backward Compatibility
- The major Samvera applications (e.g. Hyrax, Hyku, Avalon, Sufia, Curation Concerns) do not at this time surface the ability to nest collections. No migration is required for these apps.
- The original direction of the relationship
<collection> <hasMember> <sub-collection>
was not removed and can continue to be used, but is not recommended for performance reasons. - Custom apps that have made use of collection nesting may want to migrate to the new relationship to benefit from the performance enhancements.
Change Log:
- 2017-09-29 Provide tooling for reversing nested collection relationships (cjcolvar)
- 2017-05-26 Revert "generate_solr_document should yield the document" (atz)
- 2017-05-15 generate_solr_document should yield the document (jcoyne)
- 2017-05-09 Update travis build matrix (cbeer)
- 2017-01-25 Updating CONTRIBUTING.md as per Hydra v11.0.0 (jeremyf)
- 2017-01-15 Yard annotations for models (jcoyne)
- 2017-01-13 Cosmetic changes to models/object_spec.rb (no-reply)
- 2017-01-13 Refactor and repair technical metadata specs (no-reply)
- 2017-01-13 Update build matrix (jcoyne)
- 2017-01-13 Update rubocop-rspec (no-reply)
- 2016-09-26 update gem version in install instructions (jenlindner)