Skip to content

Releases: rameel/ramstack.globbing

2.1.0-preview.2

17 Jul 09:04
806c812
Compare
Choose a tag to compare
2.1.0-preview.2 Pre-release
Pre-release

Adjust MatchFlags

2.1.0-preview.1

17 Jul 07:01
aace838
Compare
Choose a tag to compare
2.1.0-preview.1 Pre-release
Pre-release
  • Rewrite file traversal to use FileSystemEnumerable
  • Add overloads with TraversalOptions for file enumeration
  • Add extension methods for DirectoryInfo

2.0.0

15 Jul 22:26
ab5233a
Compare
Choose a tag to compare
  • Added the ability to retrieve a list of files and directories based on a specified glob pattern.

BREAKING CHANGE

To improve code readability and adherence to .NET conventions, the order of parameters in the IsMatch method has been changed.
The path parameter is now first, followed by the pattern parameter.

New signature

public static bool IsMatch(string path, string pattern, MatchFlags flags = MatchFlags.Auto)

Reasons for the change:

  • Consistency with .NET methods: The primary object of an action is typically the first parameter.
    Here, path is the primary object, and pattern is the secondary.
  • Alignment with common APIs: This order matches other .NET methods like Regex.IsMatch(string input, string pattern).
  • Flexibility for future expansions: Having the most commonly varied parameter (pattern) second makes it easier to create intuitive method overloads in the future.
  • Early stage of development: Since the library is newly released, we've made this change to ensure consistency from the start.

1.1.0

10 Jul 21:16
ca04fe2
Compare
Choose a tag to compare
  • Change target framework from multi-targeting (net6.0;net8.0) to single target net6.0
  • Replace conditional compilation for .NET 8 with a universal approach

1.0.0

09 Jul 01:20
Compare
Choose a tag to compare

Initial release of Ramstack.Globbing