Skip to content

Releases: samvera/hyrax

v2.5.0

18 Mar 19:53
Compare
Choose a tag to compare

Bug Fixes

  • Ldp::Conflict occurring on all new works once it starts (#3128)
  • Collection Thumbnails don't show in search results (#3164)

Full Release Notes

2019-03-18: Prep for a Hyrax 2.5.0 release [Bess Sadler]

2018-09-19: backport: Fixes #3164 - Collection Thumbnails don't show in search results [Huawei Weng]

2019-02-20: backport: Forcing the reinstallation of chromedriver-helper [Tom Johnson]

2019-02-19: Backport current CircleCI config to 2.x-stable [Tom Johnson]

2019-02-04: Switches back to create from build in order to get the tests to pass for now. Will need to problem solve and update in the near future. [Chris Colvard]

2019-01-31: Runs through the spec tests and replaces create with build and collection with collection_lw where it can be done. [Chris Colvard]

2019-01-30: Fixes a couple leftover collection refs, replaces build with create where it can be done, and replaces create_user for with_permission_template. [Chris Colvard]

2019-01-30: Updates the references to private_collection and replaces it with the new factory private_collection_lw. [Chris Colvard]

2019-01-29: Replaces create with build for better performance with the collection_lw factory and replaces public_collection with public_collection_lw. [Chris Colvard]

2019-01-29: Replaces create with build for better performance with the collection_lw factory. [Chris Colvard]

2019-01-28: Replaces collection, public, and private collection with new collection_lw, public_collection_lw, private_collection_lw [Chris Colvard]

2019-02-13: Use version of sqlite that works with rails [Chris Colvard]

2019-02-06: Allow localhost connections in WebMock after view tests [Chris Colvard]

2019-02-01: Parallelism can be extended to 4 containers on free CircleCI 2.0 accounts [Chris Colvard]
2019-01-31: Restoring the gemspec statement in the Gemfile; Using
chromium-chromedriver on Travis CI for trusty for ensuring that headless tests
are run [Chris Colvard]

2019-01-31: Remove bundle clean from the CircleCI config. (these are no longer
needed when the bundle dependencies are not cached) [Chris Colvard]

2019-01-31: Do not cache Bundler dependencies [Chris Colvard]

2019-01-31: Extending Selectors::Dashboard#select_member_of_collection in order
to loop for the .select2-results elements in order to prevent JS feature tests
from failing [Chris Colvard]

2019-01-31: Updating to hydra-head releases 10.6.1 or later [Chris Colvard]

2019-01-30: Uses the hydra-head master branch in order to ensure that ACL
resources are not persisted when Works/Collections are only built (please see
samvera/hydra-head#469); Resolves issues with the
Collection and Hyrax::Collections::Migration::Service test suites (given that
ACL permissions are now persisted when Collections are created); Resolves issues
with the terms requestHandler for Solr in the Hyrax::Statistics::Works::ByResourceType test suite (see #3491); Resolves issues with race conditions found within the Hyrax::ResourceSync::ChangeListWriter test suite (factories were originally persisted using sleep invocations) [Chris Colvard]

2018-11-13: Use hydra-head branch no-extra-acls (#469) [Chris Colvard]

2019-01-30: Updating the chromedriver-helper dependency to 2.1 releases; Removing the CircleCI step for running headless Chrome manually [Chris Colvard]

2019-02-13: Make Hyrax::Actors::TransactionRequest a no-op actor. Backwards-compatible backport of #3482 [Chris Colvard]

2019-01-25: Remove Hyrax::Actors::TransactionalRequest from default middleware [Chris Colvard]

v3.0.0-beta2

11 Mar 20:30
83790e4
Compare
Choose a tag to compare
v3.0.0-beta2 Pre-release
Pre-release

Incompatible API changes

  • Dropped support for Ruby 2.3 (#3566)
  • Show for license has moved from app/views/hyrax/base/_metadata.html.erb to app/views/hyrax/base/_attribute_rows.html.erb (#3153).
    • If you have local view overrides for _attribute_rows.html.erb but not _metadata.html.erb, this will orphan the license field in the show view. Fix this by adding <%= presenter.attribute_to_html(:license, render_as: :license, html_dl: true) %> to your custom _attribute_rows.html.erb.
  • Renames two database columns to names to avoid camelCase: itemId -> item_id, downloadKey -> download_key (#3121)
  • Removes Solrizer::Common from the Hyrax::WorkBehavior ancestor tree (#3399)
  • Deprecated member_of_collection_ids interface removed from CollectionsMembershipActor; use member_of_collections_attributes instead (#3428)
  • Removes code deprecated during the Hyrax 2.x series (#3401)
  • Use Hydra.config.user_key_field to determine User#user_key (#3480)
  • Change Solr search builders to use [* TO *] for date range searches (#3559)

User Interface

  • Generic Work layout and button organization (#3374)
  • Makes Admin Sets Participants tab consistent with Collections Sharing tab (#3384)
  • Fixes punctuation error in help text (#3368)
  • Generic Login Form employs Bootstrap conventions (#3362)
  • Make thumbnails the same size as thumbnails in Works list view (#3446)
  • Ensure dashboard collection list item thumbnails don't overlap with title (#3446)
  • Change description label from "Abstract or Summary" to "Description" (#3449)
  • Ensure collection thumbnails show properly in search results (#3291)
  • Remove Hyrax::Actors::TransactionalRequest from default middleware (#3482)

Metadata

  • Add rights_notes metadata to BasicMetadata (#3550)

Bug Fixes

  • Prevents creation of multiple FileSets when AttachFilesToWorkJob is retried after an uncaught error (#3407)
  • Sanitize IIIF manifest output (#3395)

Internationalization

  • Improve coverage of i18n keys (#3535, #3564)
  • New form hint translation (#3396)
  • Email text are moved to locales (#3383)

Refactors

  • Homepage layout includes more room for customization and nav pills have been changed to tabs (#3375)
  • Extract VisibilityIntention class from InterpretVisibilityActor (#3462)
  • Remove unneeded #save of embargoes and leases during InterpretVisibilityActor (#3462)
  • Make CreateWithRemoteFilesOrderedMembersActor thread safe (#3477)
  • Add DestroyWork transaction to experimental Dry::Transactions actor stack alternative (#3473)
  • Add Wings as an internal ActiveFedora/Valkyrie bridge module (#3486, #3494, #3492, #3496, #3497, #3498, #3515, #3503, #3519, #3522, #3529)
  • Remove conditional from user partial (#3380)

Dependencies

  • Added support for Ruby 2.6; dropped 2.3 (#3565, #3566)
  • Add valkyrie (2.0.0-rc3) as a production dependency (#3563)
  • Upgrade riif gem to 2.0 (#3390)
  • Upgrade to ActiveFedora 12.0 (#3425)
  • Upgrade hydra-head to releases 10.6.1 or later (#3495)
  • Removes unnecessary check for Rails < 5 (#3391)

Documentation

  • Adds class level documentation for Hyrax::CatalogSearchBuilder (#3388)

Migration Procedures from Hyrax 2.x to 3.0

The following steps describe the process for migrating to Hyrax 3. The steps should be run in the order presented.

Update gem

Edit Gemfile or gemspec to update the version of hyrax.

gem 'hyrax', '3.0.0.pre.beta2`

and run

bundle update hyrax

Database: Application DB changes are all covered by db:migrate

Run migrations to get database changes...

rails hyrax:install:migrations
rails db:migrate

You will also need to run migrate for tests to update your test database.

rails db:migrate RAILS_ENV=test

v2.4.1

16 Nov 05:17
e1c5711
Compare
Choose a tag to compare

Bugfixes

  • Make AttachFilesToWorkJob idempotent with respect to FileSet creation (#3408; backports #3407)

Accessibility/UI/UX

  • Fix coloring of search label text for both background displays (#3382)

Internationalization

  • i18n-ize "Collection Details" string (#3370)

Dependencies

  • Generate riiif 2.0 instead of 1.x for new applications (#3390)

Refactors

  • Remove conditional from user partial in favor of User#display_name (#3380)

v3.0.0 Beta1

15 Nov 17:57
4ad1c9b
Compare
Choose a tag to compare
v3.0.0 Beta1 Pre-release
Pre-release

Incompatible API changes

  • Show for license has moved from app/views/hyrax/base/_metadata.html.erb to app/views/hyrax/base/_attribute_rows.html.erb (#3153).
    • If you have local view overrides for _attribute_rows.html.erb but not _metadata.html.erb, this will orphan the license field in the show view. Fix this by adding <%= presenter.attribute_to_html(:license, render_as: :license, html_dl: true) %> to your custom _attribute_rows.html.erb.
  • Renames two database columns to names to avoid camelCase: itemId -> item_id, downloadKey -> download_key (#3121)
  • Removes Solrizer::Common from the Hyrax::WorkBehavior ancestor tree (#3399)
  • Removes code deprecated during the Hyrax 2.x series (#3401)

User Interface

  • Generic Work layout and button organization (#3374)
  • Makes Admin Sets Participants tab consistent with Collections Sharing tab (#3384)
  • Fixes punctuation error in help text (#3368)
  • Generic Login Form employs Bootstrap conventions (#3362)

Bug Fixes

  • Prevents creation of multiple FileSets when AttachFilesToWorkJob is retried after an uncaught error (#3407)

Internationalization

  • New form hint translation (#3396)
  • Email text are moved to locales (#3383)

Refactors

  • Remove conditional from user partial (#3380 )
  • Homepage layout includes more room for customization and nav pills have been changed to tabs (#3375)

Dependencies

  • Upgrade riif gem to 2.0 (#3390)
  • Removes unnecessary check for Rails < 5 (#3391)

Documentation

  • Adds class level documentation for Hyrax::CatalogSearchBuilder (#3388)

Migration Procedures from Hyrax 2.x to 3.0

The following steps describe the process for migrating to Hyrax 3. The steps should be run in the order presented.

Update gem

Edit Gemfile or gemspec to update the version of hyrax.

gem 'hyrax', '3.0.0.pre.beta1`

and run

bundle update hyrax

Database: Application DB changes are all covered by db:migrate

Run migrations to get database changes...

rails hyrax:install:migrations
rails db:migrate

You will also need to run migrate for tests to update your test database.

rails db:migrate RAILS_ENV=test

v2.4.0

06 Nov 18:22
41fa3e3
Compare
Choose a tag to compare

Features

  • Allows logged in users to add read-only works to collections (#3338)
  • Adds support for implementing a IIIF viewer of your choice (#3360)

UI Changes

  • Wraps long file names without spaces (#3332)
  • Adds flash notice for successful deactivation of embargoes (#3334)
  • Fixes inconsistent spacing on Edit Works page (#3359)

Bug Fixes

  • Removes duplicate thumbnails on feature works panel (#3320)
  • Fixes UV embed code by using full resource URI (#3341)

Refactors

  • Replaces the :ensure_permission_template step with an :apply_permission_template step. (#3329)
  • Removes unneccessary case clause from NestCollectionsController#redirect_path (#3342)
  • Avoid deprecated static Factory attributes (#3345)

i18n

  • Update copyright year in blacklight locales (#3357)

Documentation

  • Adds in-line documentation about purpose of source parameter (#3343)
  • Updates in-line documentation about html attributes in _list_collections.html.erb (#3343)
  • Adds more documentation for the ordered members change (#3372)

v2.3.3

02 Oct 20:36
d7b4585
Compare
Choose a tag to compare

v2.3.2

27 Sep 15:17
7b7326c
Compare
Choose a tag to compare

Translations

  • Improve German translations with native speaker input. (#3311)

v2.3.1

25 Sep 20:58
ba6e0c4
Compare
Choose a tag to compare

Dependencies

  • Fixes support for active-fedora versions after 11.5.2. (#3300)

v2.3.0

19 Sep 17:34
e6ae4e3
Compare
Choose a tag to compare

Features

  • #3246 - Adds select all to embargo management panel

Accessibility

  • #3248 - Wraps Site header in tag
  • #3251 - Wraps sidebar in
  • #3263 - Adds heading markup to admin dashboard
  • #3264 - Adds aria-current=page attributes to static page links
  • #3265 - Adds labels to search bars
  • #3266 - Makes Dashboard graphs more accessible

Bug Fixes

  • #3270 - Fixes file counts in Admin set / Collections Dashboard

Refactors

  • #3259 - Avoids unnecessary calls in Generic work factories

v1.1.1

19 Sep 19:23
125eec3
Compare
Choose a tag to compare

Bug Fixes