Skip to content

Releases: Guiorgy/GitignoreParserNet

0.2.0.14

19 Nov 18:12
Compare
Choose a tag to compare
  • Dropped target for .NET 7
  • Added target for .NET 9

0.2.0.13

01 May 10:55
Compare
Choose a tag to compare
  • NuGet: update the license metadata by @ForNeVeR in #3
  • Small optimizations

0.2.0.12

12 Mar 14:17
Compare
Choose a tag to compare
  • Improved performance of directory processing by @Obalix in #2
  • Added the compileRegex parameter to the static Parse methods too

0.2.0.11

27 Nov 21:43
Compare
Choose a tag to compare
  • Dropped build targets for .NET Framework 4.8, .NET Core 3.1 and .NET 5.
  • Added build targets for .NET Standard 2.1, .NET 7 and .NET 8.
  • Improved inline documentation comments.
  • [BREAKING] Renamed OnFail event and OnFailEventArgs to OnExpectedMatchFail and OnExpectedMatchFailEventArgs respectively.
  • [BREAKING] Dropped support for the ignoreGitDirectory parameter. Now you have to handle that youself.
  • [BREAKING] The overload of Parse that accepts a gitignorePath string now requires you to pass the file encoding as a parameter (this is to avoid ambiguous overloads).
  • Added Parse overload that takes gitignore filters and and a directory path to apply the filters to.
  • Added compileRegex boolean parameter. If true, RegexOptions.Compiled option will be passed to all created Regex objects.
  • Optimizations.

0.2.0.10

24 Apr 14:38
Compare
Choose a tag to compare
  • Some small optimizations
  • More ways to use the parser (You can now pass a list of file paths, or the path to a directory)
  • A static Parse method that returns both accepted and denied entries when you pass the path to the .gitignore file (This creates a GitignoreParser object on every run, so for best performance use this only when you only need to do this once)

0.2.0.9

08 Dec 14:06
Compare
Choose a tag to compare

Ported the JavaScript code to C#