From 8d4956cd8208ac3b2ecba0e99b15252bb5d7ca96 Mon Sep 17 00:00:00 2001 From: Aaron Barnes Date: Thu, 18 Jun 2026 10:21:23 +1200 Subject: [PATCH] refactor: rename DatabaseType.sql_server to mssql Match the DataMasque server wire value ("mssql") and the sibling mssql_linked member; every other DataMasque repo uses mssql. Enum value unchanged. Patch bump to 1.0.5. --- HISTORY.rst | 5 +++++ datamasque/client/models/connection.py | 2 +- pyproject.toml | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/HISTORY.rst b/HISTORY.rst index 65c8dce..73bb66e 100644 --- a/HISTORY.rst +++ b/HISTORY.rst @@ -2,6 +2,11 @@ History ======= +1.0.5 (2026-06-18) +------------------ + +* Renamed the ``DatabaseType.sql_server`` member to ``DatabaseType.mssql`` to match the DataMasque server's wire value and the sibling ``mssql_linked`` member. The value is unchanged (``"mssql"``). + 1.0.4 (2026-06-09) ------------------ diff --git a/datamasque/client/models/connection.py b/datamasque/client/models/connection.py index 3950b48..912d46f 100644 --- a/datamasque/client/models/connection.py +++ b/datamasque/client/models/connection.py @@ -36,7 +36,7 @@ class DatabaseType(Enum): mysql = "mysql" oracle = "oracle" mariadb = "mariadb" - sql_server = "mssql" + mssql = "mssql" redshift = "redshift" dynamodb = "dynamo_db" db2_luw = "db2_luw" diff --git a/pyproject.toml b/pyproject.toml index 4112f17..5fdc7d0 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "datamasque-python" -version = "1.0.4" +version = "1.0.5" description = "Official Python client for the DataMasque data-masking API." authors = [ { name = "DataMasque Ltd" },