Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rails UJS has been deprecated since Rails 7, time to die #50535

Merged
merged 1 commit into from Jan 2, 2024
Merged

Conversation

dhh
Copy link
Member

@dhh dhh commented Jan 2, 2024

We will still have the official package at @rails/ujs and also leave the final compiled targets for the asset pipeline. But everything else ought to go.

actionview/package.json Outdated Show resolved Hide resolved
This leaves only the final compiled targets in place.

Co-authored-by: David Heinemeier Hansson <david@hey.com>
@dhh dhh merged commit 8397eb2 into main Jan 2, 2024
7 checks passed
@dhh dhh deleted the remove-rails-ujs branch January 2, 2024 15:49
@benoittgt
Copy link
Contributor

And the deprecation documentation for curious people. https://guides.rubyonrails.org/working_with_javascript_in_rails.html#replacements-for-rails-ujs-functionality

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants