Skip to content

Releases: samvera/hydra-pcdm

v1.4.0

02 Oct 18:55
d0cf072
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v1.3.0...v1.4.0

Hydra-PCDM release 0.10.0

06 Sep 21:21
Compare
Choose a tag to compare

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)

Hydra-PCDM release 0.9.0

06 Sep 21:05
Compare
Choose a tag to compare
Bump version to 0.9.0

0.4.0

05 Feb 00:28
Compare
Choose a tag to compare

See the Changes section below for an exhaustive list of the work that has gone into this release.

Upgrade notes

To upgrade to 0.4.0, point your Gemfile at hydra-pcdm 0.4.0 and run bundle update hydra-pcdm.

Changes

2016-02-04: ObjectBehavior#in_objects should return parent objects whether
members are added via members.<< or ordered_members.<< [Michael J. Giarlo]
2016-02-04: Comply with Rubocop 0.37 [Michael J. Giarlo]

0.2.0

18 Sep 20:13
Compare
Choose a tag to compare

See the Changes section below for an exhaustive list of the work that has gone into this release.

Upgrade notes

To upgrade to 0.2.0, point your Gemfile at hydra-pcdm 0.2.0 and run bundle update hydra-pcdm.

Changes

  • rework association names
  • add method in_collection_ids which gets the list of collection ids of the collections in which an object resides
  • move rdf vocabs namespace
  • move ancestory check to pcdm_behavior
  • general bug fixes