reactjs/react-rails

2.7 release

justin808 opened this issue ยท 7 comments

If you have feedback on what's needed for a 2.7 release, please comment!

TODO for 2.7

  • Update changelog for diffs since 2.6.2
  • Verify the latest Shakapacker works with React-Rails
  • Confirm support for latest React 18 via Shakapacker
  • Consider updating the versions of React packaged with react-rails
  • Update to React 17 latest, as this was done for React 16
  • Update Sample App to master with latest Shakapacker

With the guideline I wrote in README file (#1214) I can verify react-rails works fine with Shakapacker. (For Rails 6 and 7)

I also think we should add test for React-Rails + Shakapacker. I don't know if we should keep the test for React-Rails + Webpacker or not.

Webpacker v5.4 and before should work.

If the migration to shakapacker should be straightforward, then we should require that for react-rails v3.

@ahangarha what's left for 2.7 release? can you check off items as completed?

This is the status:

  • โœ… Update changelog for diffs since 2.6.2
  • โœ… Verify the latest Shakapacker works with React-Rails
  • โญ๏ธ Confirm support for latest React 18 via Shakapacker
  • โญ๏ธ Consider updating the versions of React packaged with react-rails
  • โญ๏ธ Update to React 17 latest, as this was done for React 16
  • โš ๏ธ Update Sample App to master with latest Shakapacker

Tomorrow I can work on checking react 18 with shakapacker and hopefully upgrade to React 17.0.2. Working on the sample app would take more time. Regarding the old versions of dependencies, I cannot give any estimation on how long it would talk time. For that I might need some support.

Also from other issues, I think we should include the following(s) in the list:

  • Update dependencies (webpack)

For "Update to react 17", I have done all of the steps except updating the version in lib/react/rails/version.rb which requires other updates and ultimately it requires (as per the comments in the file) running rake ujs:publish. Since this process generates many more files and tries updating npm package on npmjs.com, I didn't proceed further.

I need guidance for this step.

Shipped.