Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump github.com/google/uuid from 1.1.2 to 1.3.0 #5

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

dependabot[bot]
Copy link

@dependabot dependabot bot commented on behalf of github Aug 17, 2021

Bumps github.com/google/uuid from 1.1.2 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.

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)
  • See full diff in compare view

Dependabot compatibility score

You can trigger a rebase of this PR by commenting @dependabot rebase.


Dependabot commands and options

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 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)
> **Note** > Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

Bumps [github.com/google/uuid](https://github.com/google/uuid) from 1.1.2 to 1.3.0.
- [Release notes](https://github.com/google/uuid/releases)
- [Commits](google/uuid@v1.1.2...v1.3.0)

---
updated-dependencies:
- dependency-name: github.com/google/uuid
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file go Pull requests that update Go code labels Aug 17, 2021
@codecov-commenter
Copy link

codecov-commenter commented Aug 17, 2021

Codecov Report

Merging #5 (e01d382) into main (7f90fc0) will decrease coverage by 1.36%.
The diff coverage is n/a.

❗ Current head e01d382 differs from pull request most recent head 3a70ed8. Consider uploading reports for the commit 3a70ed8 to get more accurate results
Impacted file tree graph

@@            Coverage Diff             @@
##             main       #5      +/-   ##
==========================================
- Coverage   60.37%   59.00%   -1.37%     
==========================================
  Files         282      282              
  Lines       22411    22411              
==========================================
- Hits        13530    13224     -306     
- Misses       7453     7809     +356     
+ Partials     1428     1378      -50     
Flag Coverage Δ
kind-e2e-tests 45.46% <ø> (-1.81%) ⬇️
unit-tests 42.02% <ø> (+0.02%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
...g/agent/apiserver/handlers/featuregates/handler.go 0.00% <0.00%> (-82.36%) ⬇️
pkg/support/dump.go 0.00% <0.00%> (-65.12%) ⬇️
...kg/apiserver/registry/system/supportbundle/rest.go 19.76% <0.00%> (-55.82%) ⬇️
pkg/support/dump_others.go 0.00% <0.00%> (-50.00%) ⬇️
...g/agent/apiserver/handlers/addressgroup/handler.go 0.00% <0.00%> (-40.00%) ⬇️
...agent/apiserver/handlers/appliedtogroup/handler.go 0.00% <0.00%> (-40.00%) ⬇️
pkg/apiserver/handlers/loglevel/handler.go 0.00% <0.00%> (-38.47%) ⬇️
pkg/ovs/ovsctl/ofctl.go 18.51% <0.00%> (-19.76%) ⬇️
pkg/ovs/ovsctl/appctl.go 32.60% <0.00%> (-11.96%) ⬇️
pkg/log/log_level.go 0.00% <0.00%> (-10.00%) ⬇️
... and 17 more

@dependabot @github
Copy link
Author

dependabot bot commented on behalf of github Aug 22, 2023

A newer version of github.com/google/uuid exists, but since this PR has been edited by someone other than Dependabot I haven't updated it. You'll get a PR for the updated version as normal once this PR is merged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file go Pull requests that update Go code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant