v0.6.0 #578
nevans
announced in
Announcements
v0.6.0
#578
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Beta Was this translation helpful? Give feedback.
All reactions