Skip to content

Why is an API extension treated as breaking? #28

@RusKnyaz

Description

@RusKnyaz

I compiled two versions of assembly:

  • 1st contains empty class
  • 2nd contains the same class and new enum

The report is:

<Assembly Name="test, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" DiffType="Modified">
  <Module Name="test.dll" DiffType="Modified">
    <Type Name="test.Types" DiffType="New" />
  </Module>
</Assembly>[diff] Suggested version change: Major

Why 'Suggested version change' is 'Major' ?
According to semver we have to change Minor version part in cases of API extension.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions