diff --git a/CHANGELOG.md b/CHANGELOG.md index a68bad1..ee32008 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,12 @@ All notable changes to WuttJamaican will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). +## v0.16.0 (2024-11-30) + +### Feat + +- make v7 UUID values instead of v1 + ## v0.15.0 (2024-11-24) ### Feat diff --git a/pyproject.toml b/pyproject.toml index 7415569..96ce552 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -6,7 +6,7 @@ build-backend = "hatchling.build" [project] name = "WuttJamaican" -version = "0.15.0" +version = "0.16.0" description = "Base package for Wutta Framework" readme = "README.md" authors = [{name = "Lance Edgar", email = "lance@edbob.org"}] @@ -32,6 +32,7 @@ dependencies = [ "progress", "python-configuration", "typer", + "uuid7", ] diff --git a/src/wuttjamaican/util.py b/src/wuttjamaican/util.py index 342868e..48c321d 100644 --- a/src/wuttjamaican/util.py +++ b/src/wuttjamaican/util.py @@ -28,7 +28,8 @@ import importlib import logging import os import shlex -from uuid import uuid1 + +from uuid_extensions import uuid7 log = logging.getLogger(__name__) @@ -176,7 +177,7 @@ def make_uuid(): :returns: A 32-character hex string. """ - return uuid1().hex + return uuid7().hex def parse_bool(value):