Skip to content

v2.0.1 (TML.Files 2.1.0)

Compare
Choose a tag to compare
@steviegt6 steviegt6 released this 23 Nov 04:33
· 73 commits to master since this release
75fd39f

TML.Patcher

Changes

  • Updated TML.Files version to 2.1.0 (relevant: GH-29).
    • Noticeable speed improvements as a result (GH-29, @Chik3r).

TML.Files

Additions

  • Added System.Threading.Tasks.Dataflow as a dependency (GH-29, @Chik3r).
  • Added void TML.Files.Extraction::Extract(TML.Files.TModFile,int,System.Threading.Tasks.Dataflow.ActionBlock<TML.Files.TModFileData>,TML.Files.Extraction.IFileExtractor).
    • See Changes for more information.

Changes

  • Changed TML.Files.Extraction.TModFileExtractor::Extract API; you should now interface with extraction using an System.Threading.Tasks.Dataflow.ActionBlock<TML.Files.TModFileData> object, allowing you to act immediately when a file is extracted (GH-29, @Chik3r).
    • In turn, System.Collections.Generic.List<TML.Files.TModFileData> TML.Files.Extraction.TModFileExtractor::Extract(TML.Files.TModFile,int,TML.Files.Extraction.IFileExtractor[]) has been made obsolete.
      • In favor of a new method (see Additions).

Fixes

  • Fixed span.Slice having the wrong length value (GH-28, @Chik3r).