analysis_server_plugin_core 1.0.1
analysis_server_plugin_core: ^1.0.1 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.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.