Skip to content

Commit

Permalink
Update migrate.sh with official proposal number
Browse files Browse the repository at this point in the history
  • Loading branch information
dsnet committed Feb 12, 2025
1 parent 7564cc5 commit 7596141
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ with the string "WARNING: " near the top of the commit message.
It is your responsibility to inspect the list of commit changes
when upgrading the module. Not all breaking changes will lead to build failures.

A [Discussion about including this package in Go as `encoding/json/v2`](https://github.com/golang/go/discussions/63397) has been started on the Go Github project on 2023-10-05. Please provide your feedback there.
A [proposal to include this module in Go as `encoding/json/v2` and `encoding/json/jsontext`](https://github.com/golang/go/issues/71497) has been started on the Go Github project on 2025-01-30. Please provide your feedback there.

## Goals and objectives

Expand Down
2 changes: 1 addition & 1 deletion migrate.sh
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ LINE=$(sed -n '/Test-only packages can have anything they want/=' $GOROOT/src/go
sed -i "$((LINE+1)) i\\\tFMT, compress/gzip, embed, encoding/binary < encoding/json/internal/jsontest;" $GOROOT/src/go/build/deps_test.go

# Adjust for newly added API.
ISSUE=63397 # TODO: Replace with formal proposal issue for encoding/json/v2
ISSUE=71497
FILE=$(cd $GOROOT/api; ls -v | tail -n 1)
echo "pkg encoding/json, func CallMethodsWithLegacySemantics(bool) jsonopts.Options #$ISSUE" >> $GOROOT/api/$FILE
echo "pkg encoding/json, func DefaultOptionsV1() jsonopts.Options #$ISSUE" >> $GOROOT/api/$FILE
Expand Down

0 comments on commit 7596141

Please sign in to comment.