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

🔧 Add parser config for APPENDUID/COPYUID, 🗑️ Deprecate UIDPlusData #401

Merged
merged 1 commit into from
Feb 6, 2025

Conversation

nevans
Copy link
Collaborator

@nevans nevans commented Feb 6, 2025

Adds Net::IMAP::Config#parser_use_deprecated_uidplus_data attribute. This config attribute causes the parser to use the new AppendUIDData and CopyUIDData classes instead of CopyUIDData.

AppendUIDData and CopyUIDData are mostly backward-compatible with UIDPlusData. Most applications should be able to upgrade with no changes.

The plan is to remove UIDPlusData in v0.6. To simplify upgrades, the config option can stay until 0.7. But, after UIDPlusData has been removed, maybe only allow setting it to false .

Verified

This commit was signed with the committer’s verified signature.
drazisil-codecov Joe Becher
This config attribute causes the parser to use the new AppendUIDData and
CopyUIDData classes instead of CopyUIDData.

AppendUIDData and CopyUIDData are _mostly_ backward-compatible with
UIDPlusData.  Most applications should be able to upgrade with no
changes.

UIDPlusData will be removed in +v0.6+.
@nevans nevans force-pushed the config-deprecate-uidplus_data branch from ec7fb2c to 13db788 Compare February 6, 2025 18:45
@nevans
Copy link
Collaborator Author

nevans commented Feb 6, 2025

@hoffi Since you submitted the original code, I assume this may affect you. Any thoughts? (See also: #400)

@nevans nevans requested a review from shugo February 6, 2025 19:26
@nevans nevans merged commit 60f5776 into master Feb 6, 2025
37 checks passed
@nevans nevans deleted the config-deprecate-uidplus_data branch February 6, 2025 19:52
@hoffi
Copy link
Contributor

hoffi commented Feb 7, 2025

Looks fine to me 👍

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

Successfully merging this pull request may close these issues.

None yet

2 participants