chore(deps): bump github.com/google/uuid from 1.1.0 to 1.3.0 #7

Merged
argoyle merged 1 commits from dependabot-go_modules-github.com-google-uuid-1.3.0 into master 2021-11-07 07:27:17 +00:00
argoyle commented 2021-11-06 22:27:16 +00:00 (Migrated from gitlab.com)

Bumps github.com/google/uuid from 1.1.0 to 1.3.0.

Release notes

Sourced from github.com/google/uuid's releases.

Add randomness pool mode for V4 UUID and NullUUID for SQL Scanners.

From Andrey Pechkurov:

Adds an optional randomness pool mode for Random (Version 4) UUID generation. The pool contains random bytes read from the random number generator on demand in batches. Enabling the pool may improve the UUID generation throughput significantly.

Since the pool is stored on the Go heap, this feature may be a bad fit for security sensitive applications. That's why it's implemented as an opt-in feature.

From Samuel Roth:

Added support for NullUUID

A NullUUID can be marked not valid (i.e., null) for use with JSON and the database/sql/driver.Scanner interfaces.

Add NewString()

This release introduces the NewString() function which is the equivalent of uuid.New().String().

Syntactic cleanup

There are no code changes. A missing period was add to a godoc comment and the linter was told to not complain that the results of hash.Write() are ignored (the function cannot fail)

Further error optimizations

Do not allocate memory for errors (it is only one word)

Optimize error reporting

Optimize length of time it takes to discover an input is bad by no longer using fmt.Errorf, which is quite slow. It now uses a custom error type that formats the string when the Error method is called rather than when generating the error.

Minor fixes

This release contains

  • Allow concurrent, re-creatable usage #44 by trabetti was merged on Apr 16, 2019
  • Fix race in NewUUID() #64 by AstolfoKawaii was merged on Jul 2, 2020
  • Minor formatting and typo fixes

Release v1.1.1

Actually include darkfeline's fixes when no interfaces are found.

Commits
  • 44b5fee Minor cleanup.
  • e28eb7b Remove TestConformance from null_test.go. It was useful to demonstrate
  • ae25fc6 feat(uuid): Added support for NullUUID (#76)
  • 655bf50 Add randomness pool mode for V4 UUID (#80)
  • 512b657 feat: add public matcher function for custom error type invalidLengthError (#78)
  • bfb86fa Add NewString Func (#73)
  • b5d0d36 hash.go hash error covered and linter error fixed (#71)
  • 9377784 Update sql.go (#72)
  • 85223fa Reduce custom error allocation (#70)
  • edef28d Use a custom error type for invalid lengths, replacing fmt.Errorf (#69)
  • Additional commits viewable in compare view


Dependabot commands
You can trigger Dependabot actions by commenting on this MR
  • $dependabot rebase will rebase this MR
  • $dependabot recreate will recreate this MR rewriting all the manual changes and resolving conflicts
Bumps [github.com/google/uuid](https://github.com/google/uuid) from 1.1.0 to 1.3.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/google/uuid/releases">github.com/google/uuid's releases</a>.</em></p> <blockquote> <h2>Add randomness pool mode for V4 UUID and NullUUID for SQL Scanners.</h2> <p>From Andrey Pechkurov:</p> <p>Adds an optional randomness pool mode for Random (Version 4) UUID generation. The pool contains random bytes read from the random number generator on demand in batches. Enabling the pool may improve the UUID generation throughput significantly.</p> <p>Since the pool is stored on the Go heap, this feature may be a bad fit for security sensitive applications. That's why it's implemented as an opt-in feature.</p> <p>From Samuel Roth:</p> <p>Added support for NullUUID</p> <p>A NullUUID can be marked not valid (i.e., null) for use with JSON and the database/sql/driver.Scanner interfaces.</p> <h2>Add NewString()</h2> <p>This release introduces the NewString() function which is the equivalent of uuid.New().String().</p> <h2>Syntactic cleanup</h2> <p>There are no code changes. A missing period was add to a godoc comment and the linter was told to not complain that the results of hash.Write() are ignored (the function cannot fail)</p> <h2>Further error optimizations</h2> <p>Do not allocate memory for errors (it is only one word)</p> <h2>Optimize error reporting</h2> <p>Optimize length of time it takes to discover an input is bad by no longer using fmt.Errorf, which is quite slow. It now uses a custom error type that formats the string when the Error method is called rather than when generating the error.</p> <h2>Minor fixes</h2> <p>This release contains</p> <ul> <li>Allow concurrent, re-creatable usage <a href="https://github.com/google/uuid/issues/44">#44</a> by trabetti was merged on Apr 16, 2019</li> <li>Fix race in NewUUID() <a href="https://github.com/google/uuid/issues/64">#64</a> by AstolfoKawaii was merged on Jul 2, 2020</li> <li>Minor formatting and typo fixes</li> </ul> <h2>Release v1.1.1</h2> <p>Actually include darkfeline's fixes when no interfaces are found.</p> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/google/uuid/commit/44b5fee7c49cf3bcdf723f106b36d56ef13ccc88"><code>44b5fee</code></a> Minor cleanup.</li> <li><a href="https://github.com/google/uuid/commit/e28eb7b914dd26e1a4e861df5e3226d0f2c256c5"><code>e28eb7b</code></a> Remove TestConformance from null_test.go. It was useful to demonstrate</li> <li><a href="https://github.com/google/uuid/commit/ae25fc6a8e2fa9c3a72fc325117330736fe729f6"><code>ae25fc6</code></a> feat(uuid): Added support for NullUUID (<a href="https://github.com/google/uuid/issues/76">#76</a>)</li> <li><a href="https://github.com/google/uuid/commit/655bf50db9d265813a26b0fe2a5d1e80fb9e3c6b"><code>655bf50</code></a> Add randomness pool mode for V4 UUID (<a href="https://github.com/google/uuid/issues/80">#80</a>)</li> <li><a href="https://github.com/google/uuid/commit/512b657a42880af87e9f0d863aa6dccf3540d4ba"><code>512b657</code></a> feat: add public matcher function for custom error type invalidLengthError (<a href="https://github.com/google/uuid/issues/78">#78</a>)</li> <li><a href="https://github.com/google/uuid/commit/bfb86fa49a73e4194d93bea18d7acfe3694438ce"><code>bfb86fa</code></a> Add NewString Func (<a href="https://github.com/google/uuid/issues/73">#73</a>)</li> <li><a href="https://github.com/google/uuid/commit/b5d0d36c983b13c35a93a356a9d2c14da0a1c3ab"><code>b5d0d36</code></a> hash.go hash error covered and linter error fixed (<a href="https://github.com/google/uuid/issues/71">#71</a>)</li> <li><a href="https://github.com/google/uuid/commit/93777840becdb80e2f5e915fbd3ea9becd5f9718"><code>9377784</code></a> Update sql.go (<a href="https://github.com/google/uuid/issues/72">#72</a>)</li> <li><a href="https://github.com/google/uuid/commit/85223faccf99409308cd169d9608753a95d21083"><code>85223fa</code></a> Reduce custom error allocation (<a href="https://github.com/google/uuid/issues/70">#70</a>)</li> <li><a href="https://github.com/google/uuid/commit/edef28d0c8acc7d3bdfaddde8ab27de602cc131b"><code>edef28d</code></a> Use a custom error type for invalid lengths, replacing <code>fmt.Errorf</code> (<a href="https://github.com/google/uuid/issues/69">#69</a>)</li> <li>Additional commits viewable in <a href="https://github.com/google/uuid/compare/v1.1.0...v1.3.0">compare view</a></li> </ul> </details> <br /> --- <details> <summary>Dependabot commands</summary> <br /> You can trigger Dependabot actions by commenting on this MR - `$dependabot rebase` will rebase this MR - `$dependabot recreate` will recreate this MR rewriting all the manual changes and resolving conflicts </details>
argoyle commented 2021-11-07 07:27:17 +00:00 (Migrated from gitlab.com)

mentioned in commit a7a550b457

mentioned in commit a7a550b457186ff2c74b2ebf589042c2d85258ae
argoyle (Migrated from gitlab.com) merged commit a7a550b457 into master 2021-11-07 07:27:17 +00:00
Sign in to join this conversation.
No Reviewers
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: dancefinder/geo-service#7