Skip to content

x/exp/apidiff: support type constraints #73619

@pellared

Description

@pellared

From #26420 (comment).

Adding a new type term to type element is not seen an API-level change.

For example when changing

type Number interface {
	~float32 | ~float64
}

to

type Number interface {
	~float32 | ~float64 | ~int
}

gorelease suggest to only bump the patch number.

I think it should bump minor number instead.

The reason is that apidiff does not know about type constraints.

Metadata

Metadata

Assignees

No one assigned

    Labels

    FeatureRequestIssues asking for a new feature that does not need a proposal.NeedsInvestigationSomeone must examine and confirm this is a valid issue and not a duplicate of an existing one.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions