mirror of
https://github.com/coder/coder.git
synced 2026-09-22 05:05:20 +08:00
chore: bump github.com/brianvoe/gofakeit/v7 from 7.8.0 to 7.9.0 (#20698)
Bumps [github.com/brianvoe/gofakeit/v7](https://github.com/brianvoe/gofakeit) from 7.8.0 to 7.9.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/brianvoe/gofakeit/releases">github.com/brianvoe/gofakeit/v7's releases</a>.</em></p> <blockquote> <h2>ID Generator</h2> <h1>New: <code>ID()</code> — Fast, Human-Readable Random Identifier</h1> <p><em>(GoFakeIt v7.9.0)</em></p> <p><code>gofakeit.ID()</code> is a new high-performance identifier generator designed for <strong>speed</strong>, <strong>readability</strong>, and <strong>practically zero collision probability</strong>.</p> <p>Unlike UUID v4 or XID, this generator is intentionally <strong>random-first</strong>, not structure-based.<br /> Perfect for mock APIs, test data, fixtures, seed data, and temporary identifiers.</p> <hr /> <h2>Highlights</h2> <ul> <li><strong>Human readable alphabet</strong>, no confusing characters<br /> → <code>23456789abcdefghjkmnpqrstuvwxyz</code> <em>(no 1, l, i or 0, o to alleviate confusion)</em></li> <li><strong>Fast</strong></li> <li><strong>Memory Allocation</strong></li> <li><strong>Generates from your rand source</strong></li> <li><strong>Shorter than UUID</strong>, faster than XID, and requires no coordination</li> </ul> <hr /> <h2>Example</h2> <pre lang="go"><code>id := gofakeit.ID() fmt.Println(id) // → "3t9qf4c92npxhw7bg6y0" </code></pre> <hr /> <h2>Performance Benchmarks</h2> <p>Measured on Go 1.25</p> <table> <thead> <tr> <th>Generator / Function</th> <th>Benchmark Name</th> <th>ops/sec</th> <th>ns/op</th> <th>B/op</th> <th>allocs/op</th> </tr> </thead> <tbody> <tr> <td><code>gofakeit.ID()</code></td> <td>BenchmarkID-10</td> <td>31,383,146</td> <td>37.8 ns</td> <td>24</td> <td>1</td> </tr> <tr> <td><code>gofakeit.UUIDv4()</code></td> <td>BenchmarkUUIDv4-10</td> <td>22,131,577</td> <td>53.8 ns</td> <td>48</td> <td>1</td> </tr> <tr> <td><code>github.com/rs/xid</code></td> <td>BenchmarkXID-10</td> <td>16,190,817</td> <td>74.2 ns</td> <td>0</td> <td>0</td> </tr> <tr> <td><code>github.com/google/uuid</code> (v4)</td> <td>BenchmarkGoogleUUIDv4-10</td> <td>3,098,770</td> <td>386.1 ns</td> <td>64</td> <td>2</td> </tr> </tbody> </table> <p><strong>Takeaway:</strong> <code>gofakeit.ID()</code> is <strong>~2× faster than XID</strong> and <strong>~10× faster than UUID v4</strong>, while being shorter and human-readable.</p> <hr /> <h2>Collision Probability (Randomness Math)</h2> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/brianvoe/gofakeit/commit/93c1858df281da0d43482ac8186a21aafe60c75a"><code>93c1858</code></a> password - improve memery allocation and minor increase in op speed</li> <li><a href="https://github.com/brianvoe/gofakeit/commit/ce78392e670d1b5227ae7644977e99d3a7ed5ffc"><code>ce78392</code></a> id - lookup updates and some other minor things</li> <li><a href="https://github.com/brianvoe/gofakeit/commit/aba6d6fcd594f25201e305928de5ed454bc7ae43"><code>aba6d6f</code></a> ids - moved uuid into ids file and add our own unique gofakeit id generator</li> <li><a href="https://github.com/brianvoe/gofakeit/commit/da6da65344eac1034f874fb6bac4664622b8c11d"><code>da6da65</code></a> faker - pcg seed create 2 separate seeds using crypto</li> <li><a href="https://github.com/brianvoe/gofakeit/commit/1e2c3fbb0173b6e51ff510eb9f8f1a32f047c35a"><code>1e2c3fb</code></a> readme - added/organize ids</li> <li><a href="https://github.com/brianvoe/gofakeit/commit/ae981a3966fb1423f9037bd0b2621eed1546c540"><code>ae981a3</code></a> company - remove duplicate keyword/alias wording</li> <li><a href="https://github.com/brianvoe/gofakeit/commit/969e3c7799804cfdb97c84680a27d31cdee52ecf"><code>969e3c7</code></a> occupation - updated a few functions to favor job over emojijob</li> <li><a href="https://github.com/brianvoe/gofakeit/commit/1ef7578f4711c08fc6fc81f675a5912d8b0c05da"><code>1ef7578</code></a> occupation - updated a few functions to favor job over emojijob</li> <li><a href="https://github.com/brianvoe/gofakeit/commit/a93e4a968e84cd3ae0ef63fa08645075bdfd4b37"><code>a93e4a9</code></a> readme - minor update to remove unused functions</li> <li><a href="https://github.com/brianvoe/gofakeit/commit/f4eb855b56d393ba2ee69d0847b521c29e8c5a5b"><code>f4eb855</code></a> text - added params back to sentence and paragraph to not break builds</li> <li>See full diff in <a href="https://github.com/brianvoe/gofakeit/compare/v7.8.0...v7.9.0">compare view</a></li> </ul> </details> <br /> [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
This commit is contained in:
@@ -474,7 +474,7 @@ require (
|
||||
|
||||
require (
|
||||
github.com/anthropics/anthropic-sdk-go v1.16.0
|
||||
github.com/brianvoe/gofakeit/v7 v7.8.0
|
||||
github.com/brianvoe/gofakeit/v7 v7.9.0
|
||||
github.com/coder/agentapi-sdk-go v0.0.0-20250505131810-560d1d88d225
|
||||
github.com/coder/aibridge v0.1.6
|
||||
github.com/coder/aisdk-go v0.0.9
|
||||
|
||||
@@ -842,8 +842,8 @@ github.com/boombuler/barcode v1.0.0/go.mod h1:paBWMcWSl3LHKBqUq+rly7CNSldXjb2rDl
|
||||
github.com/boombuler/barcode v1.0.1/go.mod h1:paBWMcWSl3LHKBqUq+rly7CNSldXjb2rDl3JlRe0mD8=
|
||||
github.com/bramvdbogaerde/go-scp v1.5.0 h1:a9BinAjTfQh273eh7vd3qUgmBC+bx+3TRDtkZWmIpzM=
|
||||
github.com/bramvdbogaerde/go-scp v1.5.0/go.mod h1:on2aH5AxaFb2G0N5Vsdy6B0Ml7k9HuHSwfo1y0QzAbQ=
|
||||
github.com/brianvoe/gofakeit/v7 v7.8.0 h1:FHLerglGVodD2O4pnQPCmFlkmIRXp8MpAflnarW5sQM=
|
||||
github.com/brianvoe/gofakeit/v7 v7.8.0/go.mod h1:QXuPeBw164PJCzCUZVmgpgHJ3Llj49jSLVkKPMtxtxA=
|
||||
github.com/brianvoe/gofakeit/v7 v7.9.0 h1:6NsaMy9D5ZKVwIZ1V8L//J2FrOF3546FcXDElWLx994=
|
||||
github.com/brianvoe/gofakeit/v7 v7.9.0/go.mod h1:QXuPeBw164PJCzCUZVmgpgHJ3Llj49jSLVkKPMtxtxA=
|
||||
github.com/buger/jsonparser v1.1.1 h1:2PnMjfWD7wBILjqQbt530v576A/cAbQvEW9gGIpYMUs=
|
||||
github.com/buger/jsonparser v1.1.1/go.mod h1:6RYKKt7H4d4+iWqouImQ9R2FZql3VbhNgx27UK13J/0=
|
||||
github.com/bytecodealliance/wasmtime-go/v3 v3.0.2 h1:3uZCA/BLTIu+DqCfguByNMJa2HVHpXvjfy0Dy7g6fuA=
|
||||
|
||||
Reference in New Issue
Block a user