Skip to content

Conversation

seanpdoyle
Copy link
Contributor

Motivation / Background

Add notes for #47144 to the 7.1 Release Notes.

Detail

Additionally, in the time since that was merged, both Nokogiri and Minitest have merged the PRs mentioned to integrate support for Ruby's Pattern matching (sparklemotion/nokogiri#2523 and minitest/minitest#936, respectively).

This commit adds coverage for those new assertions, and incorporates guidance into the release notes.

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.

@seanpdoyle seanpdoyle force-pushed the html-parsed-body-release-notes branch from 5355045 to 3a873f6 Compare August 22, 2023 19:03
@@ -65,6 +65,43 @@ TODO: https://github.com/rails/rails/pull/45602

TODO: https://github.com/rails/rails/pull/46049

### Extend `response.parsed_body` to parse HTML with Nokogiri
Copy link
Contributor Author

Choose a reason for hiding this comment

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

@rafaelfranca is this content appropriate for an addition to the 7.1 release notes?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Would this be better suited as two separate PRs?

  1. Add Release Notes for the original work done in ActionDispatch::Testing::TestResponse#parsed_body parse HTML with Nokogiri #47144
  2. Add test coverage for pattern matching, then expand on the Release Notes

Copy link
Member

Choose a reason for hiding this comment

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

I'll review this list later, since this is a highlight sections, but I prefer to have more and remove than have fewer things and trying to chase in more than 1000s commits

@seanpdoyle seanpdoyle force-pushed the html-parsed-body-release-notes branch from 3a873f6 to b5d797c Compare August 22, 2023 19:05
@seanpdoyle seanpdoyle force-pushed the html-parsed-body-release-notes branch 8 times, most recently from b772fe1 to 4eb3466 Compare August 23, 2023 18:33
Add notes for [rails#47144][] to the 7.1 Release Notes.

Additionally, in the time since that was merged, both Nokogiri and
Minitest have merged the PRs mentioned to integrate support for Ruby's
Pattern matching (sparklemotion/nokogiri#2523
and minitest/minitest#936, respectively).

This commit adds coverage for those new assertions, and incorporates
guidance into the release notes.

[rails#47144]: rails#47144
@seanpdoyle seanpdoyle force-pushed the html-parsed-body-release-notes branch from 4eb3466 to 90c9011 Compare August 23, 2023 19:33
@rafaelfranca rafaelfranca merged commit dd6d931 into rails:main Aug 23, 2023
@seanpdoyle seanpdoyle deleted the html-parsed-body-release-notes branch August 23, 2023 21:00
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.

2 participants