- Require Dart 3.3.
- Allow
fileversion7.x. - Require Dart 2.19.
- Updated the dependency on
package:fileto require at least6.1.3.
- Return empty results instead of throwing when trying to list a path that does not exist.
- Drop package:pedantic dependency, use package:lints instead.
- Update SDK lower bound to
2.15.0
- Update example in README for new import.
- Stable null safety release.
The list* apis on Glob have been renamed to listFileSystem* and they now
require a FileSystem object from package:file.
There is a new convenience import, package:glob/list_local_fs.dart which
provides the old methods as extensions, and automatically passes a
LocalFileSystem.
- Add an empty list_local_fs.dart to ease upgrade from 1x to 2x
- Support running on Node.js.
- Set max SDK version to
<3.0.0, and adjust other dependencies.
- Improve support for Dart 2 runtime semantics.
-
Declare support for
async2.0.0. -
Require Dart 1.23.0.
- Throw an exception when listing globs whose initial paths don't exist in case-insensitive mode. This matches the case-sensitive behavior.
- Support
string_scanner1.0.0.
- Fix all strong mode errors and warnings.
- Fix a bug where listing an absolute glob with
caseInsensitive: falsefailed.
-
Add a
caseSensitivenamed parameter tonew Glob()that controls whether the glob is case-sensitive. This defaults tofalseon Windows andtrueelsewhere.Matching case-insensitively on Windows is a behavioral change, but since it more closely matches the semantics of Windows paths it's considered a bug fix rather than a breaking change.
-
Narrow the dependency on
path. Previously, this allowed versions that didn't support all the functionality this package needs. -
Upgrade to the new test runner.
- Added overlooked
collectiondependency.
- Fix a bug where
Glob.list()andGlob.listSync()would incorrectly throw exceptions when a directory didn't exist on the filesystem.
- Fixed
Glob.list()on Windows.
-
Fix several analyzer warnings.
-
Fix the tests on Windows.