Skip to content

Conversation

@nevans
Copy link
Collaborator

@nevans nevans commented Oct 16, 2025

Depends on #538, which drops support for ruby 3.1. This code would only run in ruby 3.1, so removing it is not a breaking change.

For now, we're keeping Net::IMAP::Data only to support YAML encoding. But the rest of the ::Data polyfill has been dropped. psych v5.2.5 handles Data natively, so DataLite will be dropped completely in #543.

Please note: TruffleRuby and JRuby support for Data is incomplete, but the code doesn't currently distinguish between them and CRuby, so they're the same level of broken as before. 😉 We're keeping the Data tests (for now), to help track full support in other ruby implementations.

@nevans nevans added this to the v0.6 milestone Oct 16, 2025
@nevans nevans changed the title Drop data polyfill 🔥 Drop data polyfill Oct 16, 2025
Depends on #538, which drops support for ruby 3.1. This code would only
run in ruby 3.1, so removing it is not be a breaking change.

Please note: TruffleRuby and JRuby support for Data is incomplete, but
the code doesn't currently distinguish between them and CRuby, so
they're the same level of broken as before. We're keeping the Data
tests, to help track full support in other ruby implementations.

For now, we're keeping Net::IMAP::Data only to support YAML encoding.
But the rest of the ::Data polyfill has been dropped. psych v5.2.5
handles Data natively, so DataLite will be dropped completely (in a
separate PR).
@nevans nevans force-pushed the drop-data-polyfill branch from 7d7d424 to faa83d6 Compare October 16, 2025 17:49
@nevans nevans marked this pull request as ready for review October 16, 2025 18:26
@nevans nevans merged commit 079167e into master Oct 16, 2025
32 checks passed
@nevans nevans deleted the drop-data-polyfill branch October 16, 2025 18:32
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