Skip to content

v3.1.2

Choose a tag to compare

@likehopper likehopper released this 19 Oct 22:40
· 277 commits to 210af835e9e74c3374bb3e9842f16305d12a89c5 since this release

3.1.2 drops SQL functions and Rake helpers nothing calls anymore.

  • Drop sla_get_level_overlap (superseded by the schedule overlap validation) and, on PostgreSQL, sla_explain_level / sla_explain_spent (the "Explain" view uses the Ruby explanation service on every database).
  • The original migrations no longer create them; their rollback still drops them for older installations.
  • Remove the unused init_task / trace Rake helpers.

Validation: all five suites passed on Redmine 5.1.13, 6.1.4 and 7.0.1, each with PostgreSQL 17.7, MariaDB 10.11.19 and strict MySQL 8.0.46: 1,071 tests per combination, 9,639 total, zero failures/errors. One unit test is skipped by design on MariaDB/MySQL (CREATE FUNCTION commits implicitly); that upgrade path was checked outside test transactions on every combination: old functions recreated, migration 202111112021023 rolled back and reapplied, unused functions dropped and calculation functions kept. Exact runtime details: doc/TESTING.md.

Upgrade: back up the database, update the plugin, run bundle exec rake redmine:plugins:migrate NAME=redmine_sla RAILS_ENV=production, then restart Redmine. Migration 202111112021023 drops the unused SQL functions; rolling it back restores nothing, as nothing calls them.

No production deployment or representative performance benchmark was performed.