Skip to content

Epic: 2025 Deferred Maintenance #898

@jefferya

Description

@jefferya

A list of deferred maintenance items discovered while updating Rails to 7.2 (and 8.1) plus adopting a new supported fork of the Comfy CMS Gem / Rails Engine - a stream-of-consciousness document. The purpose of this issue is to start a discussion about prioritization and about which should be addressed in 2026 and which should be deferred to a later date (sub-issue creation encouraged).

  1. Rails 7.2 end-of-life: Aug 2026
  • PR Update Rails to v8.1 #884 updates to Rails 8.1 (end-of-life Oct 2027; 2 years after release)
  • Deprecation warning about "hash argument controller" will be removed in Rails 8.2
  1. sprockets-rails versus propshaft: Rails v8 introduces a new asset pipeline tool. The Library-CMS app minimally uses sprockets-rails. A refactoring would simplify the codebase following reasons in Rails Asset Pipeline

  2. Related to (2), Dart Sass function deprecation warnings from both the CMS Gem and Library CMS app regarding function removal in Dart Sass v3.0.0. The Rails 8 asset pipeline allow for the removal of Sass because recent browsers with recent version of CSS provide many/most of the features provided by Sass and the removal of Sass decreases complexity. Changes will be needed to either support the new Sass functions or move away from Sass.

  1. Related to (2), is bundling needed or does is add additional complexity that should be removed to ease maintenance? The CMS Gem comes with its own asset handing and the Library-CSM app has little javascript. Could these be removed: jsbundling-rails or cssbundling-rails?

  2. Browserslist: browsers data (caniuse-lite) is 7 months old. Please run: npx update-browserslist-db@latest
    Why you should do it regularly: https://github.com/browserslist/update-db#readme

  3. Update of the DB seeds to help with test on staging and within this repository.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions