Severity of a diff
Choose maximum severity between the two Magnitudes
[ Elm.SemanticMagnitude.Minor
, Elm.SemanticMagnitude.Major
, Elm.SemanticMagnitude.Patch
]
|> List.foldl
(\next soFar -> ( soFar, next ) |> Elm.SemanticMagnitude.theMoreSevere)
Elm.SemanticMagnitude.Patch
--> Elm.SemanticMagnitude.Major
What kind of version bump would be necessary?
Major: stuff has been deleted or a type has changedMinor: stuff has been added and the types still fitPatch: no API changes, either implementation or documentation changes