- Added fields to
Pubspec
:executables
,resolution
,workspace
. - Require Dart 3.6
- Update dependencies.
- Require Dart 3.2
- Seal the
Dependency
class. - Set
Pubspec.environment
to non-nullable. - Remove deprecated package_api_docs rule
- Move to
dart-lang/tools
monorepo.
- Require Dart 3.0
- Added support for
ignored_advisories
field. - Added structural equality for
Dependency
subclasses andHostedDetails
.
- Added topics to
pubspec.yaml
.
- Require Dart SDK >= 2.18.0
- Required
json_annotation: ^4.8.0
- Added support for
topics
field.
- Added support for
funding
field.
- Added support for
screenshots
field. - Update
HostedDetails
to reflect howhosted
dependencies are parsed in Dart 2.15:- Add
HostedDetails.declaredName
as the (optional)name
property in ahosted
block. HostedDetails.name
now falls back to the name of the dependency if no name is declared in the block.
- Add
- Require Dart SDK >= 2.14.0
- Export
HostedDetails
publicly.
- Migrate to null-safety.
- Pubspec:
author
andauthors
are both now deprecated. See https://dart.dev/tools/pub/pubspec#authorauthors
- Allow the latest
package:pub_semver
.
- Allow
package:yaml
v3.x
.
- Update SDK requirement to
>=2.7.0 <3.0.0
. - Allow
package:json_annotation
v4.x
.
- Update SDK requirement to
>=2.2.0 <3.0.0
. - Support the latest
package:json_annotation
.
- Added
lenient
named argument toPubspec.fromJson
to ignore format and type errors.
- Added support for
flutter
,issue_tracker
,publish_to
, andrepository
fields.
- Support the latest version of
package:json_annotation
.
- Support
package:json_annotation
v1.
- Support the Dart 2 stable release.
- Allow superfluous
version
keys withgit
andpath
dependencies. - Improve errors when unsupported keys are provided in dependencies.
- Provide better errors with invalid
sdk
dependency values. - Support "scp-like syntax" for Git SSH URIs in the form
[user@]host.xz:path/to/repo.git/
.
- Fixed name collision with error type in latest
package:json_annotation
. - Improved parsing of hosted dependencies and environment constraints.
- Initial release.