- Require Dart 3.4
-
Adds
minVersion
tofindPackageConfig
andfindPackageConfigVersion
which allows ignoring earlier versions (which currently only means ignoring version 1, aka..packages
files.) -
Changes the version number of
SimplePackageConfig.empty
to the current maximum version. -
Improve file read performance; improve lookup performance.
-
Emit an error when a package is inside the package root of another package.
-
Fix a link in the readme.
- Update package description and README.
- Change to package:lints for style checking.
- Add an example.
- Use unique library names to correct docs issue.
- Migrate to null safety.
- Remove legacy APIs.
- Adds
relativeRoot
property toPackage
which controls whether to make the root URI relative when writing a configuration file.
- Fix
Package
constructor not accepting relativepackageUriRoot
.
- Updated to support new rules for picking
package_config.json
over a specified.packages
. - Deduce package root from
.packages
derived package configuration, and default all such packages to language version 2.7.
- Remove accidental transitive import of
dart:io
from entrypoints that are supposed to be cross-platform compatible.
- Based on new JSON file format with more content.
- This version includes all the new functionality intended for a 2.0.0 version, as well as the, now deprecated, version 1 functionality. When we release 2.0.0, the deprecated functionality will be removed.
- Allow parsing files with default-package entries and metadata. A default-package entry has an empty key and a valid package name as value. Metadata is attached as fragments to base URIs.
- Fix usage of SDK constants.
- Set max SDK version to <3.0.0.
- Removed unneeded dependency constraint on SDK.
- Update SDK constraint to be 2.0.0 dev friendly.
- Fix test to not write to sink after it's closed.
- Public API marked stable.
FilePackagesDirectoryPackages.getBase(..)
performance improvements.
- Strong mode fixes.
- Invalid test cleanup (to keep up with changes in
Uri
).
- Syntax updates.
- Initial implementation.