pub fn detect_all_dependency_explanations(
changesets: &[ChangesetInfo],
workspace: &Workspace,
config: &Config,
releases: &BTreeMap<String, (String, String)>,
) -> Result<BTreeMap<String, Vec<(String, Bump)>>>Expand description
Detect all dependency-related explanations for package releases
This function is the unified entry point for detecting all types of automatic dependency-related changelog entries. It identifies:
- Packages bumped due to internal dependency updates (“Updated dependencies: …”)
- Packages bumped due to fixed dependency group policy (“Bumped due to fixed dependency group policy”)
§Arguments
changesets- The changesets being processedworkspace- The workspace containing all packagesconfig- The configuration with dependency policiesreleases- Map of package name to (old_version, new_version) for all planned releases
§Returns
A map of package name to list of (message, bump_type) explanations to add to changelogs