Skip to content

Commit

Permalink
Fix TML.Files changelog.
Browse files Browse the repository at this point in the history
  • Loading branch information
steviegt6 authored Nov 23, 2022
1 parent 7097b87 commit 75fd39f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions CHANGELOG-TML.Files.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,19 +10,19 @@ Changelog for the `TML.Files` library.

### Additions

- Added `System.Threading.Tasks.Dataflow` as a dependency ((GH-29)[https://github.com/steviegt6/tml-patcher/pull/29], (@Chik3r)[https://github.com/Chik3r]).
- Added `System.Threading.Tasks.Dataflow` as a dependency ([GH-29](https://github.com/steviegt6/tml-patcher/pull/29), [@Chik3r](https://github.com/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)[https://github.com/steviegt6/tml-patcher/pull/29], (@Chik3r)[https://github.com/Chik3r]).
- 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](https://github.com/steviegt6/tml-patcher/pull/29), [@Chik3r](https://github.com/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)[https://github.com/steviegt6/tml-patcher/pull/28], (@Chik3r)[https://github.com/Chik3r]).
- Fixed `span.Slice` having the wrong `length` value ([GH-28](https://github.com/steviegt6/tml-patcher/pull/28), [@Chik3r](https://github.com/Chik3r)).

## 2.0.0 - 20 November 2022

Expand All @@ -47,4 +47,4 @@ Initial release.
- `TML.Files.Extraction.BuildProperties` represents the data defined within a mod's `build.txt`/`Info` file (ported from tModLoader's codebase);
- `TML.Files.Extraction.BuildPurpose` represents the reason for which an archive is being packed (unused!);
- `TML.Files.Extraction.ModReference` is a useful abstraction of the raw string representations of dependencies (includes parsing);
- and `TML.Files.Extraction.ModSide` represent's a mod's client-server side relation.
- and `TML.Files.Extraction.ModSide` represent's a mod's client-server side relation.

0 comments on commit 75fd39f

Please sign in to comment.