History¶
1.1.7 (2026-07-14)¶
Added
retry_writestoMongoConnectionConfig(defaultTrue), serialized only when disabled. Set it toFalsefor AWS DocumentDB, which rejects retryable writes.Updated the validation error API on
RulesetandRulesetLibrary.
1.1.6 (2026-07-13)¶
Added discovery-config-library management APIs (
list_discovery_config_libraries,create_discovery_config_library, and friends).
1.1.5 (2026-06-29)¶
Added support for DataMasque deployments on Snowpark Container Services (SPCS):
Added
spcs_pattoDataMasqueInstanceConfigfor authenticating through the SPCS app gateway.Added
SpcsGatewayAuthError, raised when the gateway rejects the PAT.Added the
spcsoption toSnowflakeStageLocation.Made several
SnowflakeConnectionConfigfields optional, since SPCS-staged connections leave them unset.
1.1.4 (2026-06-29)¶
Added
DatabaseType.saphanafor SAP HANA support.
1.1.3 (2026-06-26)¶
Added
tls_ca_fileandtls_allow_invalid_certificatestoMongoConnectionConfig, serialized only when TLS is enabled (tls_ca_fileonly when set,tls_allow_invalid_certificatesonly whenTrue).Added
DatabaseType.documentdbandDocumentDbConnectionConfigfor AWS DocumentDB, which is MongoDB wire-compatible and reusesMongoConnectionConfig(differing only bydb_type).
1.1.2 (2026-06-26)¶
Completed wiring of the
finished_with_warningsstatus forAsyncRulesetGenerationTaskStatus.Added the
cancelledstatus toAsyncRulesetGenerationTaskStatus.
1.1.1 (2026-06-25)¶
Made
DiscoveryMatch.labeloptional (it is absent for non-sensitive/ignore matches).Added the
finished_with_warningsstatus toAsyncRulesetGenerationTaskStatus.get_db_discovery_result_reportmay now returnbytes(a zip) when the server splits a large DB-discovery report, and ruleset generation from CSV now detects and forwards zip uploads.
1.1.0 (2026-06-24)¶
Added discovery configuration models and management APIs.
Added schema-discovery and file-data-discovery APIs that take a saved discovery configuration (
start_schema_discovery_run_from_config/start_file_data_discovery_run_from_config). Adoption is recommended; the older APIs that take individual options will be deprecated in a future release.Corrected the file-data-discovery
include/skipfilter syntax and addedignore_rulessupport.Added
InvalidDiscoveryConfigErrorandDiscoveryConfigNotFoundError, raised when a discovery run can’t start due to an unusable or missing discovery config.Added
get_discovery_run_config_snapshot_yamlto retrieve the discovery-config YAML that was effective at the start of a given discovery run.Added
is_user_subscribedtoMaskingRunRequestto subscribe the requesting user to a run’s email notifications.Added
auto_pull/auto_pull_branchtoMaskingRunOptionsto refresh the run’s ruleset from git before starting.Added
validation_error(andvalidation_error_typefor rulesets) toRulesetandRulesetLibrary.Exposed git provenance on
RulesetandRulesetLibraryas a nestedgitfield (GitSnapshot).Read-only fields (
id,is_valid,validation_error, etc.) are no longer echoed back inRuleset/RulesetLibrarycreate/update request bodies.Fixed
SslZipFileuploads to send the requireddatabase_type=mysqlform field.Breaking:
delete_ruleset_by_name_if_existsnow requires aruleset_typeargument, since ruleset names are unique only per type.
1.0.5 (2026-06-18)¶
Renamed the
DatabaseType.sql_servermember toDatabaseType.mssqlto match the DataMasque server’s wire value and the siblingmssql_linkedmember. The value is unchanged ("mssql").
1.0.4 (2026-06-09)¶
Added
informixtoDatabaseTypeenum.Pool HTTP connections via a per-client
requests.Sessionso TCP/TLS connections are reused across calls. Note: a client is not thread-safe; construct one per worker.Send a descriptive
User-Agentidentifying the SDK name, version, Python interpreter, and OS.Only re-authenticate and replay on a
401for requests that actually sent a token (gate the retry onrequires_authorization).
1.0.3 (2026-05-27)¶
Added
databrickstoDatabaseTypeenum.Removed
DatabricksDeltaS3ConnectionConfig.
1.0.2 (2026-05-14)¶
Added
DatabricksDeltaS3ConnectionConfigfor Databricks Delta tables stored in S3.
1.0.1 (2026-05-11)¶
Added
databricks_lakebasetoDatabaseTypeenum.
1.0.0 (2026-04-21)¶
First public open-source release.
All request and response types are now pydantic v2 models.
Added support for many new APIs.
Added
DataMasqueIfmClientfor the in-flight masking (IFM) API.Overhauled error handling and added new exception types.
Certain request models now accept either a server-assigned ID or the corresponding object (
ConnectionConfig,Ruleset) for entity-reference fields.Added
token_sourcecallable-based authentication to bothDataMasqueInstanceConfigandDataMasqueIfmInstanceConfigas an alternative topassword.Ruleset is now mandatory on masking run requests.
Fixed file data discovery API to accept both JSON path and standard locators.
Replaced the CSV-only
get_rulesets_generated_from_csvwithget_generated_rulesets, which handles all three async-ruleset-generation flows (CSV, column selection, file selection).
0.6.3 (2026-04-10)¶
Added
db2itoDatabaseTypeenum.
0.6.2 (2026-03-17)¶
Added
RULESET_LIBRARY_MANAGERuser role.Fixed superuser role value (
admininstead of empty string).Superusers can now be created via the users API.
Fixed API field for user roles (
user_rolesinstead ofroles/is_superuser).
0.6.1 (2026-03-16)¶
Added
InvalidLibraryErrorexception type.
0.6.0 (2026-03-11)¶
Added support for ruleset libraries.
Removed
too_bigfrom ruleset validation statuses (no longer used).Migrated toolchain to
uvwithruff.Added support for
validatingrun status.
0.5.1 (2026-03-10)¶
Added
delete_user_by_id_if_existsanddelete_user_by_username_if_exists.
0.4.12 (2026-01-29)¶
Added support for downloading files.
Fixed positional argument call in
dmclient.py.
0.4.11 (2025-12-11)¶
Fixed
start_async_ruleset_generation_from_csvto use new file upload specification.
0.4.10 (2025-12-10)¶
Fixed issue with file uploads when request was retried after a 401 response.
0.4.9 (2025-11-26)¶
Added
get_run_reportandstart_schema_discovery_runendpoints.
0.4.8 (2025-09-19)¶
Updated
admin_installendpoint to support username parameter
0.4.7 (2025-08-29)¶
Added support for Redshift
0.4.6 (2025-07-18)¶
Added support for
engine_optionsin database connection configUpdated
rulesetendpoint to useupsertbehaviourUpdated Snowflake connection handling for encrypted connection strings
0.4.5 (2025-06-30)¶
Added support for
hash_columnsin ruleset generator requests.
0.4.4 (2025-06-09)¶
Added support for Azure Blob Storage as a Snowflake staging platform.
0.4.3 (2025-05-16)¶
Added support for specifying Snowflake staging platform.
0.4.2 (2025-04-03)¶
Added support for Snowflake keypair authentication.
0.4.1 (2025-03-25)¶
Made snowflake role field optional.
0.4.0 (2025-03-17)¶
Added support for Snowflake connections.
0.3.0 (2024-10-24)¶
Added support for asynchronous ruleset generation with
start_async_ruleset_generation.Added support for CSV-based ruleset generation with
start_async_ruleset_generation_from_csvandget_rulesets_generated_from_csv.
0.2.9 (2024-09-27)¶
Added support for the
dynamo_default_sseconfiguration option on DynamoDB connections.
0.2.7 (2024-08-26)¶
Fixed the user creation API.
0.2.6 (2024-08-09)¶
Removed the
run_not_startedpseudo-status from theMaskingRunStatusenum.Added support for the
data_encodingconnection parameter on MySQL and MariaDB.
0.2.5 (2024-08-07)¶
Added support for the
finished_with_warningsrun status.
0.2.4 (2024-08-01)¶
Added support for MSSQL Linked Server connections.
0.2.3 (2024-07-30)¶
Fixed
set_localitypassing in “locality” rather than “region”.
0.2.2 (2024-07-29)¶
Add support for passing a filename or StringIO when uploading a license
Add handling for HTTP 502 errors
0.2.1 (2024-07-23)¶
Add Ruleset model
Fix numerous issues with the new Connection models
Introduce a separate model for Dynamo connections
0.2.0 (2024-07-22)¶
Drastic simplification of the config models
- Add new features:
file data discovery
file ruleset generation
locality
seed file deletion
list connections and delete connections
user APIs
Use v2 ruleset generation API
0.1.2 (2024-01-22)¶
Export RunID, remove RunFailureReason
Run tests using Tox against Python 3.9 and above
0.1.1 (2024-01-19)¶
First release