pana 0.7.0+1
pana: ^0.7.0+1 copied to clipboard
Evaluate the health and quality of a Dart package
0.7.0+1 #
- Fixed issue where analyzer and/or formatter were run on directories with no Dart files.
0.7.0 #
-
Breaking changes
-
Summary.sdkVersionis now aVersioninstead ofString. -
new PackageAnalyzer(...)now takes aDartSdkinstance instead of aString.
-
-
static Future<PackageAnalyzer> create(...)was added toPackageAnalyzer. -
Added
loggeroptional argument toPackageAnalyzer.inspectPackage.
0.6.2 #
- Allow platform classification for a small class of analysis errors.
0.6.1 #
- Don't count the absence of an
analysis_options.yamlfile against a package.
0.6.0 #
-
Breaking changes
- Removed
ToolProblemclass. - Removed
Summary.toolProblems, in favor ofSummary.suggestions.
- Removed
-
Detect and store maintenance-related data in summary.
- Scoring of tool problems moved from
FitnesstoMaintenance.
- Scoring of tool problems moved from
-
Provide human-readable feedback and instructions on some of the issues we find during the analysis.
0.5.1 #
-
Use a consistent 2 minute timeout for all processes.
-
Classify platform as
nowherewhen part of analysis fails.
0.5.0 #
-
Breaking changes
Licenserenamed toLicenseFileSummary.license->licenses: we'll return multiple licenses- Removed
LicenseNames.missing: empty List will indicate no license file
-
Greatly expanded and improved license detection.
0.4.0 #
-
Breaking changes
-
Renamed
AnalyzerIssue->ToolProblem- Renamed
Summary.issues->toolProblems - Renamed
AnalyzerIssue.scope->tool - Renamed
AnalyzerScopes->ToolNames
- Renamed
-
Renamed
AnalyzerOutput->CodeProblem- Renamed
Summary.analyzerItemsandDartFileSummary.analyzerItems->codeProblems
- Renamed
-
Refactored
CodeProblem(previouslyAnalyzerOutput):- Split up
type, new fields:severity,errorType,errorCode - Renamed
errortodescription
- Split up
-
Refactored
Fitness:- Renamed
total->magnitude - Removed
value, usingshortcominginstead (value=magnitude - shortcoming;)
- Renamed
-
Refactored
PubSummary, renamed toPkgResolution- Moved
pubspec->Summary - Moved
pkgVersion->Pubspec.version - Moved
authors->Pubspec.authors - Merged
packageVersionsandavailableVersionsintodependencies - Renamed
Summary.pubSummary->pkgResolution
- Moved
-
Refactored
platform:- Renamed
PlatformFlags->PlatformNames - Removed most of the platform-related classes, using
DartPlatforminstead
- Renamed
-
0.3.0 #
-
Removed
PlatformSummary.packagein favor ofPlatformSummary.pubspecof (new) typePubspecPlatform. -
Renamed
KnownPlatformstoPlatformFlags. Also:- Removed
mirrors,browserandstandalone. - Renamed
nativetodartExtension.
- Removed
-
PlatformInfo- Now store
dart:*references directly inuses. worksInStandalonerenamed toworksOnServer.- Other
.worksIn*renamed toworksOn*. - Added
String get descriptionwhich returns a simpleStringdescription of the supported platforms. Examples:everywhere,flutter,server, web,conflict. - Removed
angularas a value inuses.
- Now store
0.2.4 #
-
Detect native extensions.
-
Detect licenses.
0.2.3 #
-
Lot's of stability improvements.
-
Improvements to error handling.
0.2.2 #
-
Lot's of cleanup to JSON output.
-
Improved stability.
-
Platform detection basics.
0.2.1 #
-
Added support for
flutterpackages. -
Expanded analysis to include transitive dependencies.
-
Added scoring library.
-
Moved the repo to
dart-lang.
0.2.0 #
- A lot of tweaks. Still under heavy development.
0.0.1 #
- Initial version.