uuid

Go package for UUIDs based on RFC 4122 and DCE 1.1: Authentication and Security Services.

BSD-3-CLAUSE License

Stars
5.3K
Committers
53

Bot releases are visible (Hide)

uuid - v1.6.0 Latest Release

Published by release-please[bot] 9 months ago

1.6.0 (2024-01-16)

Features

Bug Fixes

uuid - v1.5.0

Published by release-please[bot] 10 months ago

1.5.0 (2023-12-12)

Features

  • Validate UUID without creating new UUID (#141) (9ee7366)
uuid - v1.4.0

Published by release-please[bot] 12 months ago

1.4.0 (2023-10-26)

Features

  • UUIDs slice type with Strings() convenience method (#133) (cd5fbbd)

Fixes

  • Clarify that Parse's job is to parse but not necessarily validate strings. (Documents current behavior)
uuid - v1.3.1

Published by release-please[bot] about 1 year ago

1.3.1 (2023-08-18)

Bug Fixes

  • Use .EqualFold() to parse urn prefixed UUIDs (#118) (574e687)
uuid - Add randomness pool mode for V4 UUID and NullUUID for SQL Scanners.

Published by pborman over 3 years ago

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.

uuid - Add NewString()

Published by pborman over 3 years ago

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

uuid - Syntactic cleanup

Published by pborman almost 4 years ago

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)

uuid - Further error optimizations

Published by pborman almost 4 years ago

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

uuid - Optimize error reporting

Published by pborman almost 4 years ago

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.

uuid - Minor fixes

Published by pborman about 4 years ago

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
uuid - Release v1.1.1

Published by pborman over 5 years ago

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

uuid - Release v1.1.0

Published by pborman almost 6 years ago

This release includes the MustParse as well as parsing of

Microsoft encoding {xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx}
Raw hex encoding: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx.

uuid - Release 1.0.0

Published by pborman about 6 years ago

This is the same as 1.0.0, but simply as the v in front.

uuid - Release 1.0.0

Published by pborman about 6 years ago

Finally marked this API as stable and release v1.
There were no code changes as part of this release.

uuid - Update to latest code.

Published by pborman over 7 years ago

This release includes a fix to the broken json.go file (now removed).

uuid -

Published by pborman over 8 years ago

Initial checkin after converting from byte slices to arrays.

uuid -

Published by pborman over 8 years ago

Initial import from github.com/pborman/uuid