The primary change in this major DMPRoadmap release is the upgrade from Rails 6.1 to Rails 7.1. As part of this upgrade, the handling of conditional questions was updated, including a migration that converts the Condition.option_list
and Condition.remove_data
fields to proper JSON types (#3497).
In addition to the framework upgrade, this release includes a number of refactors, bug fixes, dependency updates, and performance optimisations. For further details, please refer to the pull requests and issues listed below:
- Updated app to Rails 7 #3426, #3496
- Address Some Bullet Warnings / Optimise Mean Request Times #3440
- Fix Flaky Tests / Optimize Checking of
plan.title
Withinspec/features/plans/exports_spec.rb
#3451 - Refactor Plan.deep_copy(plan) #3469
- Fixed a bug in the deep copy of plans where the old identifier was being copied into the new plan. We now copy the generated id of the new plan to the identifier field.
- Fixed bar chart click function in the Usage dashboard (GitHub issue #3443)
- Fixed broken link for the V1 API documentation.
- Fix
hidden_field_tag
Nested Attributes Format For Rails 7 Upgrade and Add Test Coverage #3479 - Update all workflows to
runs-on: ubuntu-24.04
and Consolidate Capybara Config #3487 - Add pdf handling in
render_respond_to_format_with_error_message
#3482 - Lower PostgreSQL GitHub Action Chrome Version to Address Breaking Changes Between Latest Chrome Version (134) and
/features
Tests #3491 - Bumped dependencies via
bundle update && yarn upgrade
#3483 - Fixed issues with Conditional Question serialization offered by @briri from PR CDLUC3#667 for DMPTool. There is a migration file with code for MySQL and Postgres to update the Conditions table to convert JSON Arrays in string format records in the conditions table so that they are JSON Arrays.
- Refactor
org_admin/conditions/_form.html.erb
#3502 - Refactor
Question.save_condition
#3501 - Bump tinymce from 6.8.5 to 7.2.0 #3505