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

Bump nokogiri to v1.17.2 #78

Merged
merged 2 commits into from
Jan 23, 2025
Merged

Bump nokogiri to v1.17.2 #78

merged 2 commits into from
Jan 23, 2025

Conversation

danjrobertson
Copy link
Contributor

@danjrobertson danjrobertson commented Jan 21, 2025

Description

This PR updates the nokogiri gem to v1.17.2. This is required to unblock the same nokogiri update in other gems and apps that rely on abbreviato.

This PR also adds an encoding param since nokogiri v1.17 attempts to autodetect the document encoding. This autodetection caused some tests to fail when other languages were used. It also adds an early return when the source is an empty string as this now throws an error in nokogiri v1.17+

The v1.17.0+ of nokogiri allows XML ints to be greater than 24 digits which is required to resolve a Z2 ticket

- adds an `encoding` param since nokogiri v1.17 attempts to
autodetect the document encoding. This autodetection caused some tests
to fail when other languages were used
- early returns when the source is an empty string as this now throws an
error in nokogiri v1.17+
@danjrobertson danjrobertson marked this pull request as ready for review January 22, 2025 22:53
@danjrobertson danjrobertson marked this pull request as draft January 22, 2025 22:57
Copy link
Contributor

@alduethadyn alduethadyn left a comment

Choose a reason for hiding this comment

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

This looks good to me, let's get a branch open in classic to test it out with the gem bump there too (as mentioned in slack, let's also get PRs opened for zendesk_reply_parser, zendesk_mtc_mpq_migration, zendesk_mail_parsing_queue)

@alduethadyn alduethadyn marked this pull request as ready for review January 23, 2025 00:31
@alduethadyn
Copy link
Contributor

We will need to merge and bump this before we can proceed with the zendesk_mtc_mpq_migration bump

@danjrobertson danjrobertson merged commit df7d345 into master Jan 23, 2025
16 checks passed
@danjrobertson danjrobertson deleted the danr/update-nokogiri branch January 23, 2025 18:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants