tag:github.com,2008:https://github.com/google/uuid/releases Tags from uuid 2024-01-23T18:54:04Z tag:github.com,2008:Repository/51620247/v1.6.0 2024-01-23T18:54:13Z v1.6.0 release-please tag:github.com,2008:Repository/51620247/v1.5.0 2023-12-12T17:21:48Z v1.5.0 <p>chore(master): release 1.5.0 (<a class="issue-link js-issue-link" href="https://github.com/google/uuid/pull/145">#145</a>)</p> <p>Co-authored-by: release-please[bot] &lt;55107282+release-please[bot]@users.noreply.github.com&gt;</p> release-please tag:github.com,2008:Repository/51620247/v1.4.0 2023-10-26T15:24:13Z v1.4.0 <p>chore(master): release 1.4.0 (<a class="issue-link js-issue-link" href="https://github.com/google/uuid/pull/134">#134</a>)</p> <p>🤖 I have created a release *beep* *boop* <br />---</p> <p>## [1.4.0](<a href="https://togithub.com/google/uuid/compare/v1.3.1...v1.4.0">https://togithub.com/google/uuid/compare/v1.3.1...v1.4.0</a>) (2023-10-26)</p> <p>### Features</p> <p>* UUIDs slice type with Strings() convenience method ([<a class="issue-link js-issue-link" href="https://github.com/google/uuid/pull/133">#133</a>](<a href="https://togithub.com/google/uuid/issues/133">https://togithub.com/google/uuid/issues/133</a>)) ([<a class="commit-link" href="https://github.com/google/uuid/commit/cd5fbbdd02f3e3467ac18940e07e062be1f864b4"><tt>cd5fbbd</tt></a>](<a href="https://togithub.com/google/uuid/commit/cd5fbbdd02f3e3467ac18940e07e062be1f864b4">https://togithub.com/google/uuid/commit/cd5fbbdd02f3e3467ac18940e07e062be1f864b4</a>))</p> <p>### Fixes</p> <p>* Clarify that Parse's job is to parse but not necessarily validate strings. (Documents current behavior)</p> <p>--- <br />This PR was generated with [Release Please](<a href="https://togithub.com/googleapis/release-please">https://togithub.com/googleapis/release-please</a>). See [documentation](<a href="https://togithub.com/googleapis/release-please#release-please">https://togithub.com/googleapis/release-please#release-please</a>).</p> release-please tag:github.com,2008:Repository/51620247/v1.3.1 2023-08-21T16:29:24Z v1.3.1 release-please tag:github.com,2008:Repository/51620247/v1.3.0 2021-07-12T22:43:25Z Add randomness pool mode for V4 UUID and NullUUID for SQL Scanners. pborman tag:github.com,2008:Repository/51620247/v1.2.0 2021-01-22T18:22:41Z Add NewString() <p>Add NewString Func (<a class="issue-link js-issue-link" href="https://github.com/google/uuid/pull/73">#73</a>)</p> <p>* added utility func</p> <p>* updated docs &amp; function call</p> pborman tag:github.com,2008:Repository/51620247/v1.1.5 2021-01-15T00:29:16Z Syntactic cleanup <p>hash.go hash error covered and linter error fixed (<a class="issue-link js-issue-link" href="https://github.com/google/uuid/pull/71">#71</a>)</p> <p>* hash.go hash error covered and linter error fixed</p> <p>Error covered without change function definition</p> <p>* Update hash.go</p> pborman tag:github.com,2008:Repository/51620247/v1.1.4 2021-01-04T19:19:44Z Further error optimizations <p>Reduce custom error allocation (<a class="issue-link js-issue-link" href="https://github.com/google/uuid/pull/70">#70</a>)</p> <p>Zero allocation by using non-pointer error.</p> <p>related <a class="issue-link js-issue-link" href="https://github.com/google/uuid/pull/69">#69</a></p> <p>name old time/op new time/op delta <br />ParseBadLength-16 15.4ns ± 0% 3.5ns ± 0% ~ (p=1.000 n=1+1)</p> <p>name old alloc/op new alloc/op delta <br />ParseBadLength-16 8.00B ± 0% 0.00B ~ (p=1.000 n=1+1)</p> <p>name old allocs/op new allocs/op delta <br />ParseBadLength-16 1.00 ± 0% 0.00 ~ (p=1.000 n=1+1)</p> pborman tag:github.com,2008:Repository/51620247/v1.1.3 2020-12-30T19:40:06Z Optimize error reporting <p>Use a custom error type for invalid lengths, replacing `fmt.Errorf` (<a class="issue-link js-issue-link" href="https://github.com/google/uuid/pull/69">#69</a></p> <p><a class="issue-link js-issue-link" href="https://github.com/google/uuid/pull/69"></a>)</p> <p>* Add benchmarks for different kinds of invalid UUIDs</p> <p>Also add a test case for too-short UUIDs to ensure behavior doesn’t <br />change.</p> <p>* Use a custom error type for invalid lengths, replacing `fmt.Errorf`</p> <p>This significantly improves the speed of failed parses due to wrong <br />lengths. Previously the `fmt.Errorf` call dominated, making this the <br />most expensive error and more expensive than successfully parsing:</p> <p> BenchmarkParse-4 29226529 36.1 ns/op <br /> BenchmarkParseBadLength-4 6923106 174 ns/op <br /> BenchmarkParseLen32Truncated-4 26641954 38.1 ns/op <br /> BenchmarkParseLen36Corrupted-4 19405598 59.5 ns/op</p> <p>When the formatting is not required and done on-demand, the failure per <br />se is much faster:</p> <p> BenchmarkParse-4 29641700 36.3 ns/op <br /> BenchmarkParseBadLength-4 58602537 20.0 ns/op <br /> BenchmarkParseLen32Truncated-4 30664791 43.6 ns/op <br /> BenchmarkParseLen36Corrupted-4 18882410 61.9 ns/op</p> pborman tag:github.com,2008:Repository/51620247/v1.1.2 2020-08-30T14:13:43Z Minor fixes <p>Fix race in NewUUID() (<a class="issue-link js-issue-link" href="https://github.com/google/uuid/pull/64">#64</a>)</p> <p>* Fixed race in NewUUID()</p> <p>* Remove unnecessary variable</p> pborman