analysis_server_plugin_core 1.1.2
analysis_server_plugin_core: ^1.1.2 copied to clipboard
Core components to build a custom Dart analysis server plugin.
Changelog #
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
1.1.0 - 2026-07-26 #
Added #
PluginBuilder<C>for type-safe, builder-based plugin construction with shared session management.SessionedRuleFactory<C>typedef for registering session-managed lint and warning rules viaPluginBuilder.
1.0.1 - 2026-07-21 #
Added #
PathStringExtensionsonStringwithnormalizePathSeparators,ensureTrailingPathSeparator, andsurroundingPathSeparatorfor cross-platform path manipulation.RuleContextExtensionsonRuleContextwithpackageRelativeUnitPath(pathSeparator:)for resolving file paths relative to the package root.- README with installation instructions, quick-start guide, and component reference.
Changed #
PathStringExtensionsmethods now take a requiredpathSeparatorparameter instead of hardcoding/.packageRelativeUnitPathis now a method requiring apathSeparatorparameter.
Fixed #
ensureTrailingPathSeparatornow uses the providedpathSeparatorinstead of hardcoded/.surroundingPathSeparatornow uses the providedpathSeparatorinstead of hardcoded/.packageRelativeUnitPathnow correctly appendspathSeparatorinstead ofpackageRootwhen the root lacks a trailing separator.