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

Updated @rails/ujs files to follow 8e3449908c59858384ae230d1416c7dcabc8c2dc #49553

Merged
merged 2 commits into from Oct 11, 2023

Conversation

tricknotes
Copy link
Contributor

@tricknotes tricknotes commented Oct 9, 2023

Motivation / Background

This Pull Request has been created because 8e34499 was not affected build files.
Since we want to use it in our application, it should be updated in build files.

Detail

This Pull Request changes @rails/ujs.

Additional information

This commit has been created by $ yarn build that is defined in the following:

"build": "rollup --config rollup.config.js",

Checklist

Before submitting the PR make sure the following are checked:

  • This Pull Request is related to one change. Changes that are unrelated should be opened in separate PRs.
  • Commit message has a detailed description of what changed and why. If this PR fixes a related issue include it in the commit message. Ex: [Fix #issue-number]
  • Tests are added or updated if you fix a bug or add a feature.
  • CHANGELOG files are updated for the changed libraries if there is a behavior change or additional feature. Minor bug fixes and documentation changes should not be included.

@rails-bot rails-bot bot added the actionview label Oct 9, 2023
@tricknotes tricknotes force-pushed the update-rails-ujs-build branch 2 times, most recently from 9229513 to 90d55ff Compare October 9, 2023 14:55
@skipkayhil
Copy link
Member

Nice catch! Can you add a test like this to Action View as well: https://github.com/rails/rails/blob/1dbd2fa4790329da6b2a35b00e84a5b44dea73ec/activestorage/test/javascript_package_test.rb

@tricknotes
Copy link
Contributor Author

Thanks, @skipkayhil
I added test in e3c28eb4ee9dfe4b0ec6b953fc0a4b360a320af8.

@@ -1,3 +1,7 @@
* Updated `@rails/ujs` files to follow https://github.com/rails/rails/commit/8e3449908c59858384ae230d1416c7dcabc8c2dc.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changelog entries are for users, not for framework developer/contributors. So would you rewrite the link to the commit for more meaningful message.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for review, @yahonda
I updated CHANGELOG with 8b18d44 .

Let me know if this entry is not enough for users.

This change was built by `$ yarn build` in actionview.

This commit includes the following changes into build files.
- rails@8e34499
@rafaelfranca rafaelfranca merged commit fc8d9ed into rails:main Oct 11, 2023
4 checks passed
rafaelfranca added a commit that referenced this pull request Oct 11, 2023
@tricknotes tricknotes deleted the update-rails-ujs-build branch October 12, 2023 02:18
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

5 participants