The Wire · Showcase
TYPESCRIPT 6 HITS PKGSITE, GOLANG TOOLS SHED DEAD CODE
By RepoJournal · Filed · About Go
The Go ecosystem's documentation and tooling infrastructure jumped a major version overnight, trading deprecated patterns for stdlib-native approaches.
golang/pkgsite shipped TypeScript 6.0 [2] alongside Jest 30 and a full ESLint modernization [3], clearing npm audit advisories and shedding the marked dependency in favor of a lightweight regex [1]. The TypeScript jump required deferring baseUrl deprecation cleanup to TS 7, a deliberate tradeoff to keep the upgrade clean. Meanwhile, golang/tools cut through its own technical debt by replacing xcontext.Detach with Go 1.21's native context.WithoutCancel [6], eliminating duplicate context logic across jsonrpc2_v2. gopls also deprecated the experimental importsSource option [7]—it's now just on by default—and tightened up its modernize analyzer to avoid suggesting unsafe rewrites when side effects lurk in the needle or predicate [8]. On the runtime side, ARM assembly got tighter [4] and VDSO test failures on ppc64le are fixed [5].
One email a day. Unsubscribe in one click.
Keep up with Go in about 3 minutes a day: what actually shipped — the commits, pull requests, releases, and security advisories that matter.
One email a day. Unsubscribe in one click. Read a past issue →
Action items
- → Review TypeScript 6 migration in pkgsite: baseUrl will require eventual cleanup in TS 7 golang/pkgsite [plan]
- → Upgrade to latest eslint and typescript-eslint in your local Go tools dev environment golang/tools [plan]
- → Test gopls completion behavior—importsSource option is now deprecated and ignored golang/tools [monitor]
- → Verify ARM code generation for AND with immediate operands in your CI golang/go [monitor]
References
- [1] static: drop marked dep, extract code fences with a regex golang/pkgsite
- [2] all: update typescript 5.9.3 -> 6.0.3 golang/pkgsite
- [3] all: update ESLint and related JS dev dependencies golang/pkgsite
- [4] cmd/internal/obj/arm: use single BIC for AND with negative-rotated immediate golang/go
- [5] runtime: fix TestUsingVDSO on linux/ppc64le golang/go
- [6] all: replace xcontext.Detach and notDone with context.WithoutCancel golang/tools
- [7] gopls: deprecate importsSource and remove its use golang/tools
- [8] go/analysis/passes/modernize: slicescontains: check for side effects golang/tools
- [9] go/analysis/passes/composite: clarify and optimize golang/tools
- [10] cmd/ejobs: add -since flag to filter by date golang/pkgsite-metrics