| ## 1.7.0 | |
| - Added `tagPattern` and `version` fields to `GitDependency`, to support the | |
| `tag_pattern` key for git dependencies introduced in Dart 3.9. | |
| - Added a usage example. | |
| - Fix `Pubspec.fromJson` with `lenient: true` to preserve the input `Map` | |
| (`YamlMap`) when `name` is invalid or missing. | |
| - Preserve nested `Map` (`YamlMap`) keys and spans when `git` or `hosted` | |
| dependency shorthands fail to parse or when `Pubspec.fromJson` is called with | |
| a non-`YamlMap` `Map`. | |
| - Added fields to `Pubspec`: `falseSecrets`, `hooks`, `platforms`. | |
| - Added `version` to `PathDependency`, exposing the constraint from an | |
| accompanying `version` key instead of silently discarding it. | |
| ## 1.6.0 | |
| - Added `toJson` method to `Pubspec` to serialize the object back to a `Map`. | |
| - Parse `HostedDetails.url` as a non-git URI. | |
| - Require Dart 3.8 | |
| - Fix analysis issues caused by new lints. | |
| ## 1.5.0 | |
| - Added fields to `Pubspec`: `executables`, `resolution`, `workspace`. | |
| - Require Dart 3.6 | |
| - Update dependencies. | |
| ## 1.4.0 | |
| - 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. | |
| ## 1.3.0 | |
| - Require Dart 3.0 | |
| - Added support for `ignored_advisories` field. | |
| - Added structural equality for `Dependency` subclasses and `HostedDetails`. | |
| ## 1.2.3 | |
| - Added topics to `pubspec.yaml`. | |
| ## 1.2.2 | |
| - Require Dart SDK >= 2.18.0 | |
| - Required `json_annotation: ^4.8.0` | |
| - Added support for `topics` field. | |
| ## 1.2.1 | |
| - Added support for `funding` field. | |
| ## 1.2.0 | |
| - Added support for `screenshots` field. | |
| - Update `HostedDetails` to reflect how `hosted` dependencies are parsed in | |
| Dart 2.15: | |
| - Add `HostedDetails.declaredName` as the (optional) `name` property in a | |
| `hosted` block. | |
| - `HostedDetails.name` now falls back to the name of the dependency if no | |
| name is declared in the block. | |
| - Require Dart SDK >= 2.14.0 | |
| ## 1.1.0 | |
| - Export `HostedDetails` publicly. | |
| ## 1.0.0 | |
| - Migrate to null-safety. | |
| - Pubspec: `author` and `authors` are both now deprecated. | |
| See https://dart.dev/tools/pub/pubspec#authorauthors | |
| ## 0.1.8 | |
| - Allow the latest `package:pub_semver`. | |
| ## 0.1.7 | |
| - Allow `package:yaml` `v3.x`. | |
| ## 0.1.6 | |
| - Update SDK requirement to `>=2.7.0 <3.0.0`. | |
| - Allow `package:json_annotation` `v4.x`. | |
| ## 0.1.5 | |
| - Update SDK requirement to `>=2.2.0 <3.0.0`. | |
| - Support the latest `package:json_annotation`. | |
| ## 0.1.4 | |
| - Added `lenient` named argument to `Pubspec.fromJson` to ignore format and type errors. | |
| ## 0.1.3 | |
| - Added support for `flutter`, `issue_tracker`, `publish_to`, and `repository` | |
| fields. | |
| ## 0.1.2+3 | |
| - Support the latest version of `package:json_annotation`. | |
| ## 0.1.2+2 | |
| - Support `package:json_annotation` v1. | |
| ## 0.1.2+1 | |
| - Support the Dart 2 stable release. | |
| ## 0.1.2 | |
| - Allow superfluous `version` keys with `git` and `path` 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/`. | |
| ## 0.1.1 | |
| - Fixed name collision with error type in latest `package:json_annotation`. | |
| - Improved parsing of hosted dependencies and environment constraints. | |
| ## 0.1.0 | |
| - Initial release. |