Skip to content

Think about increaseXYZ methods #14

@SirYwell

Description

@SirYwell

Currently, SemanticVersion has the methods increaseMajor(), increaseMinor() and increasePatch(). The current implementation increments the specific version part, but it does not reset the following parts to zero.

While this is okay as long as it's documented accordingly, it might not be useful this way. Maybe these methods should be replaced by nextMajor(), nextMinor() and nextPatch methods.

While this might be more clear, it's still discussable what happens to the pre-release and the build part when using those methods.

For that reason, it might be better to not include neither of the mentioned methods in the initial release but rather add them later, depending on requirements and feedback.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions