Skip to content

cmd/api: misses encoding/json/v2 API changes #79737

@dmitshur

Description

@dmitshur

@prattmic noticed and reported in #79733 (comment) that the cmd/api tool missed encoding/json/v2 API changes. It may be related to the API being gated by a GOEXPERIMENT, even though that experiment is being defaulted to on in Go 1.27, and cmd/api maintaing its own list of build contexts:

https://cs.opensource.google/go/go/+/master:src/cmd/api/main_test.go;l=50-85;drc=9e53e2e2ccbb272bca52f9f672689fd8893805a5

It's worth looking at whether this might've affected other related symbols. At least testing/synctest was correctly reported in api/go1.25.txt, possibly because its use GOEXPERIMENT was to gate the older (1.24) API of the same package.

CC @golang/release, @cherrymui.

Metadata

Metadata

Assignees

No one assigned

    Labels

    NeedsInvestigationSomeone must examine and confirm this is a valid issue and not a duplicate of an existing one.release-blocker

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions