DigiNews

Tech Watch by Johan Denoyer

← Back to articles

uuid: NewV7() always generates a UUID with 7000 on browsers

Quality: 8/10 Relevance: 9/10

Summary

This GitHub issue documents a bug where uuid.NewV7() outputs a UUID with 7000 in the fourth segment when run in browser environments (JavaScript/WebAssembly). The report includes reproduction steps, Go version details, and environment information, with the expected behavior being a random 000 segment. It highlights the need for expert feedback before changes in the Go1.27 milestone.

🚀 Service construit par Johan Denoyer