Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: golang/text
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v0.33.0
Choose a base ref
...
head repository: golang/text
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v0.34.0
Choose a head ref
  • 8 commits
  • 103 files changed
  • 2 contributors

Commits on Jan 22, 2026

  1. unicode/norm: preserve QC Maybe bit in packed forminfo

    The bit packing for runes with decompositions assumed that
    QC Maybe cannot happen and only stored the yes/no bit,
    not the maybe bit. Squeeze the length from 6 to 5 bits to
    make room for saving the maybe bit too. This has no effect
    in Unicode 15 but will be needed for Unicode 16.
    
    For golang/go#77266.
    
    Change-Id: I377a0fc7af218ef5a481139b788fbb8b1e3980fb
    Reviewed-on: https://go-review.googlesource.com/c/text/+/737400
    LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
    Reviewed-by: Roland Shoemaker <roland@golang.org>
    rsc committed Jan 22, 2026
    Configuration menu
    Copy the full SHA
    678d34e View commit details
    Browse the repository at this point in the history
  2. internal/export/idna: delete old code

    The go.mod for this repo requires Go 1.24, so remove the code
    that is tagged with earlier Go versions. In general we could do
    this across the repo. I'm doing it here because I was confused
    by the idna10.0.0 vs idna9.0.0 split, which is more unusual
    than the usual per-version tables. But since we're deleting things,
    delete the too-old tables too.
    
    For golang/go#77266.
    
    Change-Id: Icc22b54fa976136142bda1c8917458c4595427b3
    Reviewed-on: https://go-review.googlesource.com/c/text/+/737401
    Reviewed-by: Roland Shoemaker <roland@golang.org>
    LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
    rsc committed Jan 22, 2026
    Configuration menu
    Copy the full SHA
    f964ad8 View commit details
    Browse the repository at this point in the history
  3. internal/export/idna: update for post-Unicode 10 idna changes

    Unicode 11 changed the test file format, and we've never updated
    to the new format nor kept up with algorithmic changes.
    
    Unicode 16 dropped the disallowed_STD3 variants from the
    IdnaMappingTable.txt file and made more algorithmic changes.
    
    Update to the new test format and implement the new algorithm.
    Note that unicode16 is a constant, so disabled version-specific
    code is dead code.
    
    For golang/go#77266.
    
    Change-Id: Ic9d0a6a7a5922c12383de12264c2a6d38b951047
    Reviewed-on: https://go-review.googlesource.com/c/text/+/737402
    Reviewed-by: Roland Shoemaker <roland@golang.org>
    LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
    rsc committed Jan 22, 2026
    Configuration menu
    Copy the full SHA
    7278b25 View commit details
    Browse the repository at this point in the history
  4. all: update to Unicode 17

    Manual edits in internal/gen/gen.go and internal/export/idna's file URLs
    (Unicode 17 moved the IDNA files.)
    
    Everything else is UNICODE_VERSION=17.0.0 go generate.
    
    For golang/go#77266.
    
    Change-Id: I38738aab7775471c51464b20d1f34fc53d50797d
    Reviewed-on: https://go-review.googlesource.com/c/text/+/737404
    Reviewed-by: Roland Shoemaker <roland@golang.org>
    LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
    rsc committed Jan 22, 2026
    Configuration menu
    Copy the full SHA
    9463ea4 View commit details
    Browse the repository at this point in the history
  5. all: delete old Unicode tables

    git rm `{git grep -l -E '!go1.(9|1|2[0123])' | grep -v internal/gen}
    
    The go.mod for this repo requires Go 1.24, so remove the code
    that is only here for older versions.
    
    Change-Id: I29b5fbc697b34139adc2fb3d8752dbaddfdb3480
    Reviewed-on: https://go-review.googlesource.com/c/text/+/738580
    LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
    Reviewed-by: Roland Shoemaker <roland@golang.org>
    Auto-Submit: Russ Cox <rsc@golang.org>
    rsc authored and gopherbot committed Jan 22, 2026
    Configuration menu
    Copy the full SHA
    117e03b View commit details
    Browse the repository at this point in the history
  6. all: fix tags in remaining Unicode tables

    Update internal/gen/gen.go and then
    UNICODE_VERSION=17.0.0 go generate
    
    Change-Id: I9f1cbc089e1a0d89687c7c53f1c157f70a51d8f0
    Reviewed-on: https://go-review.googlesource.com/c/text/+/738581
    Auto-Submit: Russ Cox <rsc@golang.org>
    Reviewed-by: Roland Shoemaker <roland@golang.org>
    LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
    rsc authored and gopherbot committed Jan 22, 2026
    Configuration menu
    Copy the full SHA
    74af298 View commit details
    Browse the repository at this point in the history
  7. all: clean up old Go hacks

    We are not maintaining pre-Go 1.24 code anymore,
    and certainly not pre-Go 1.16 or pre-Go 1.9 code.
    
    Change-Id: Idd3a1fd476f8eb34b8fbb6352addb5955e6b5893
    Reviewed-on: https://go-review.googlesource.com/c/text/+/738582
    Auto-Submit: Russ Cox <rsc@golang.org>
    LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
    Reviewed-by: Roland Shoemaker <roland@golang.org>
    rsc authored and gopherbot committed Jan 22, 2026
    Configuration menu
    Copy the full SHA
    3264de9 View commit details
    Browse the repository at this point in the history

Commits on Feb 9, 2026

  1. go.mod: update golang.org/x dependencies

    Update golang.org/x dependencies to their latest tagged versions.
    
    Change-Id: I15940ae7657ea118f6e8afe8b24d52bbb0118fa3
    Reviewed-on: https://go-review.googlesource.com/c/text/+/743121
    Reviewed-by: Cherry Mui <cherryyz@google.com>
    Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
    Auto-Submit: Gopher Robot <gobot@golang.org>
    LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
    gopherbot committed Feb 9, 2026
    Configuration menu
    Copy the full SHA
    817fba9 View commit details
    Browse the repository at this point in the history
Loading