Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Upgrade Rails 8.0 -> 8.1

Đang mở
#888 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
45/100
Loại issue
Tái cấu trúc
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
rails, ruby
Lĩnh vực
backend, devops

Hướng nghiên cứu

Bắt đầu với issue bị chặn #887, sau đó xem xét ràng buộc phiên bản Rails và chạy bin/rails app:update. Kiểm tra các giá trị mặc định của framework 8.1 và cách chúng ảnh hưởng đến các định dạng tuần tự hóa; được xem là hoàn tất khi toàn bộ suite đều xanh và staging đã hoàn tất soak trước production.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

type:infrastructure

Why

Final step. Verified that rails 8.1.3.1 resolves cleanly against this gem set today.

Scope

  • gem "rails", "~> 8.1.0", bin/rails app:update
  • Framework defaults for 8.1 handled the same way as the previous two: commented first, flipped in a separate deploy if any affect serialization formats

Acceptance criteria

  • Full suite green
  • Staging soak before production

Blocked by

#887 (Rails 8.0 defaults).


Known remaining work after this sequence

  • OmniAuth 1.9 -> 2.x / Rack 2 -> 3. Rails 8.1 resolves fine while staying on Rack 2.2.24, because omniauth 1.9.2 caps rack < 3 and actionpack 8.1 only needs rack >= 2.2.4. So this does not block the upgrade — but it leaves the app on omniauth 1.x, which carries CVE-2015-9284 (authentication request forgery). Fixing it changes the auth request from GET to POST with a CSRF token, which breaks both the Ember and native clients until they are updated. Deserves its own issue and its own schedule.
  • AMS 0.9.8 -> 0.10.x, or off AMS entirely. The pin is a deliberate freeze, not a fix.
  • PostgreSQL 12.8 and MongoDB 4.4.9 are both past end of life in docker-compose.yml and CI.

Part of the Ruby + Rails upgrade sequence. Ruby 3.2 reached end of life on 2026-04-01 and the backend is on Rails 7.1; the goal is Ruby 3.4.10 and Rails 8.1, in steps that each keep CI green and are independently deployable.

Ngôn ngữ chính
Ruby
Star
50
Fork
21
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của rubyforgood/Flaredown

Tất cả issue của rubyforgood/Flaredown

Issue tương tự

Thêm issue về Ruby

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.