You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
responses_without_block changed from :warn to :frozen_dup
parser_use_deprecated_uidplus_data changed from :up_to_max_size to false(and is deprecated)
parser_max_deprecated_uidplus_data_size changed from 100 to 0(and is deprecated)
🔥 Use psych (>= 5.2.5) for encoding Data objects by @nevans in ruby/net-imap#543 This changes the YAML tag for Data subclasses from ruby/object:Net::IMAP::DataSubclass to ruby/data:Net::IMAP::DataSubclass. YAML dumped by earlier net-imap versions may not load correctly. Psych >= 5.2.5 is required to dump these objects correctly.
💥✨ Change SequenceSet#size to count * and repeated numbers by @nevans in ruby/net-imap#564 SequenceSet is used to represent both sets and ordered lists (which may contain duplicates). Members are non-zero UInt32 numbers, but "*" has special meaning as "the number corresponding to the last mailbox entry". So there are four different ways to count the members of a SequenceSet. Previously, #size was an alias for #count. Now it differs in both relevant aspects.
* is a unique member
* is treated like 2³² - 1
distinct set members
#cardinality
#count
ordered list, including duplicates
#size
#count_with_duplicates
🔥 Remove deprecated UIDPlusData class by @nevans in ruby/net-imap#540 UIDPlusData was deprecated by v0.5.6. AppendUIDData or CopyUIDData will always be returned instead.
🔥 Delete deprecated MessageSet by @nevans in ruby/net-imap#573 MessageSet was deprecated by v0.5.0. Use SequenceSet instead.
💥 Do not include OpenSSL and OpenSSL::SSL modules into Net::IMAP by @nevans in ruby/net-imap#533 This only affects the ability to use OpenSSL constants from the Net::IMAP module namespace.
💥 Don't set verify_callback to VerifyCallbackProc by @nevans in ruby/net-imap#534 This functionality was never documented and is redundant with the verify_callback option.
Deprecated
Deprecated config options for UIDPlusData in ruby/net-imap#540 The parser_use_deprecated_uidplus_data and parser_max_deprecated_uidplus_data_size config options will be removed in v0.7.0. They are kept for backward compatibility, but they do not affect response parser results. When parser_use_deprecated_uidplus_data is changed from the default value (false), deprecation warnings are printed when parsing APPENDUID or COPYUID response codes.
🔥 Drop Data polyfill by @nevans in ruby/net-imap#541 This was only used for ruby 3.1, which is no longer supported. So this is not considered a breaking change.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
What's Changed
Breaking Changes
v0.6by @nevans in ruby/net-imap#539responses_without_blockchanged from:warnto:frozen_dupparser_use_deprecated_uidplus_datachanged from:up_to_max_sizetofalse(and is deprecated)parser_max_deprecated_uidplus_data_sizechanged from100to0(and is deprecated)This changes the YAML tag for
Datasubclasses fromruby/object:Net::IMAP::DataSubclasstoruby/data:Net::IMAP::DataSubclass. YAML dumped by earliernet-imapversions may not load correctly. Psych >= 5.2.5 is required to dump these objects correctly.SequenceSet#sizeto count*and repeated numbers by @nevans in ruby/net-imap#564SequenceSetis used to represent both sets and ordered lists (which may contain duplicates). Members are non-zero UInt32 numbers, but"*"has special meaning as "the number corresponding to the last mailbox entry". So there are four different ways to count the members of aSequenceSet.Previously,
#sizewas an alias for#count. Now it differs in both relevant aspects.*is a unique member*is treated like 2³² - 1#cardinality#count#size#count_with_duplicatesUIDPlusDatawas deprecated by v0.5.6.AppendUIDDataorCopyUIDDatawill always be returned instead.MessageSetby @nevans in ruby/net-imap#573MessageSetwas deprecated by v0.5.0. UseSequenceSetinstead.OpenSSLandOpenSSL::SSLmodules intoNet::IMAPby @nevans in ruby/net-imap#533This only affects the ability to use OpenSSL constants from the
Net::IMAPmodule namespace.verify_callbacktoVerifyCallbackProcby @nevans in ruby/net-imap#534This functionality was never documented and is redundant with the
verify_callbackoption.Deprecated
The
parser_use_deprecated_uidplus_dataandparser_max_deprecated_uidplus_data_sizeconfig options will be removed in v0.7.0. They are kept for backward compatibility, but they do not affect response parser results. Whenparser_use_deprecated_uidplus_datais changed from the default value (false), deprecation warnings are printed when parsingAPPENDUIDorCOPYUIDresponse codes.Added
when_capabilities_cachedoption forConfig#sasl_irby @nevans in ruby/net-imap#561Net::IMAP::ConfigimprovementsConfig#inspectoutput by @nevans in ruby/net-imap#546Config#pretty_print(forKernel::pp) by @nevans in ruby/net-imap#547Config#inherited?for any number of args by @nevans in ruby/net-imap#552Net::IMAP::SequenceSetimprovementsSequenceSet#intersect!for in-place setANDby @nevans in ruby/net-imap#549SequenceSet#xor!for in-place setXORby @nevans in ruby/net-imap#550SequenceSet#appendby @nevans in ruby/net-imap#553SequenceSet#normalized?by @nevans in ruby/net-imap#558SequenceSet#cardinalitymethod by @nevans in ruby/net-imap#563SequenceSet#sizeto count*and repeated numbers by @nevans in ruby/net-imap#564Net::IMAP::NumValidatorimprovementsmod-sequence-valzer(RFC4551) inNumValidatorby @nevans in ruby/net-imap#570NumValidator.coerce_{type}methods by @nevans in ruby/net-imap#571Documentation
#uid_fetchwithpartialby @nevans in ruby/net-imap#532Other Changes
Datapolyfill by @nevans in ruby/net-imap#541This was only used for ruby 3.1, which is no longer supported. So this is not considered a breaking change.
Net::IMAP::SequenceSetperformanceSequenceSet#stringon normalized sets by @nevans in ruby/net-imap#554SequenceSet#normalizewhen frozen by @nevans in ruby/net-imap#556SequenceSet#full?by @nevans in ruby/net-imap#565SequenceSet#xorby @nevans in ruby/net-imap#567SequenceSetinternals by @nevans in ruby/net-imap#562SequenceSetinternals by @nevans in ruby/net-imap#568Miscellaneous
release.ymlforgithub_actionslabel by @nevans in ruby/net-imap#557Full Changelog: v0.5.12...v0.6.0
This discussion was created from the release v0.6.0.
BetaWas this translation helpful?Give feedback.
All reactions