github samvera/hyrax v3.0.0.pre.beta1
v3.0.0 Beta1

latest releases: v3.4.1, v3.4.0, v3.3.0...
pre-release5 years ago

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

Don't miss a new hyrax release

NewReleases is sending notifications on new releases.