Releases: keimpema/Usenet
Releases · keimpema/Usenet
version 3.1.0
New
- #15 Added Sourcelink. Thanks to Pavlo Datsiuk.
- #12 Added support for RFC822 timezone formatting. Thanks to John Tasler.
Changes
- #14 Dropped LibLog because it is deprecated. Used Microsoft.Extensions.Logging.Abstractions instead. Thanks to Brendan Grant.
- Updated all dependencies.
version 3.0.1
Fixed
- Issue #9: NewNews did not use provided wildmat.
- HeaderDateParser tests did not use correct culture info.
version 3.0.0
New
- Added a CountingStream that counts the number of bytes read and written. These properties are made available through the NntpClient as BytesRead and BytesWritten.
To reset the counters call method ResetCounters().
Changes
- LibLog is used for logging now. The LibraryLogging class is removed. The target framework had to be upped to netstandard2.0 for this.
- new NntpMessageId(null) will be converted to an empty string value.
version 2.0.0
New
- Added a streaming YencEncoder.
- Added an NzbBuilder. Can be used to build NzbDocuments.
- Added an NzbWriter. Can be used to write NzbDocuments to a stream. Extended TextWriter with methods WriteNzbDocument and WriteNzbDocumentAsync for ease of use.
- Added an NntpGroups type which represents a collection of newsgroups.
- Added an NntpGroupsBuilder to build NntpGroups collections. Used in the NntpArticleBuilder and NzbBuilder.
Changes
- NntpArticleBuilder: Added a SetBody method which allows using an enumerable collection of strings.
AddGroup changed to AddGroups. RemoveGroup changed to RemoveGroups. - NntpArticle: Added Groups property of type NntpGroups. Type of Headers property
changed from MultiValueDictionary to ImmutableDictionary<string, ImmutableHashSet<string>>. - NzbDocument: Changed type of MetaData property from ILookup<string, string> to ImmutableDictionary<string, ImmutableHashSet<string>>.
Changed type of Files property from IList<NzbFile> to ImmutableList<NzbFile>. - NzbFile: Changed type of Groups property from IList<string> to NntpGroups.
Changed type of Segments property from IList<NzbSegment> to ImmutableList<NzbSegment>. - NzbSegment: Added an Offset property.
- Made all models immutable. Implemented GetHashCode and Equals on all models.
- Made MultiValueDictionary internal.
Release 1.1.0
- Changed article number type from int to long.
Release 1.0.1
- Changed Yenc to yEnc.
- The NZB parser now attempts to extract the file name from the subject.
Release 1.0.0
- NNTP client
- NZB parser
- yEnc decoder