Skip to content

Releases: alexei-sintotski/pubspec_yaml

Improved YAML formatting

15 Nov 08:02

Choose a tag to compare

  • Correct YAML output with nested arrays and structures

Null safety

18 Aug 14:56

Choose a tag to compare

3.0.0

Release 3.0.0 preps

Upgrade to Dart 2.10

13 Dec 21:45

Choose a tag to compare

2.0.1+1

2.0.1+1 release preps

Support for functional_data 0.3.0

23 Apr 18:22

Choose a tag to compare

2.0.1

Release 2.0.1

Support for Dart 2.7

23 Mar 17:00

Choose a tag to compare

  • Support for command-line executables provided by the package
  • PubspecYaml instances can be created from YAML using string extension method
  • This version requires Dart 2.7
  • Major refactoring to improve maintainability

Initial release

22 Dec 16:00

Choose a tag to compare

PubspecYaml is a data type representing data stored in pubspec.yaml files.

The following fields are supported:

  • Package name
  • Package version
  • Package description
  • Package author/authors
  • Package homepage, repository, and issue tracker
  • Package documentation
  • Package server specification
  • Dependency specifications: regular, dev, and overrides
  • SDK constraints
  • Command-line executables provided by the package

Other fields are accessible via PubspecYaml.customFields as a JSON structure (Map<String, dynamic>).