.Net library for parsing *.fb2 files, which provides few different ways read files into model, and write them back into file once it needed.
$ dotnet add package Fb2.DocumentFb2.Document is lightweight, fast .Net 10 lib with bunch of APIs to operate fb2 file's contents.
Fb2.Document is the easiest way to build reader or editor app for Fb2 book format.
Latest release of an Fb2.Document library brings .Net 10 and few minor updates.
For more info please see Readme.
Package version 2.5.0 targets .Net 10.
Following methods + corresponding extensions now support cancellation:
Fb2Node.AddAttributeAsyncFb2Element.AddContentAsyncFb2Container.AddContentAsyncFb2Container.AddTextContentAsyncFb2NodeExtensions.AppendAttributeAsyncFb2ElementExtensions.AppendContentAsyncFb2ContainerExtensions.AppendContentAsyncFb2ContainerExtensions.AppendTextContentAsyncThis change can be consedered a breaking change since method signatures were changed.
Fb2NodeHasAllowedAttributesFb2LoadingOptions,Fb2StreamLoadingOptions,Fb2XmlSerializingOptions are records now.ElementNames / AttributeNames are structs now.