Releases: bartventer/gorm-multitenancy
Releases · bartventer/gorm-multitenancy
v8.9.0
v8.8.1
8.8.1 (2025-07-11)
Bug Fixes
- postgres,mysql: Quote schema/database names in path operations by @bartventer in #101
v8.8.0
8.8.0 (2025-04-07)
Bug Fixes
- mysql: enhance error handling for advisory lock acquisition and release (bd45e50)
- mysql: enhance error handling for database creation and advisory lock release (5902ef8)
- mysql: ensure connection-specific operations for advisory locks during model migrations (5387215)
- mysql: improve error handling for release of advisory lock (52be068)
- mysql: improve error handling in tenant model migration (2a563f8)
- mysql: improve error logging and streamline database operations in migrator (3161a19)
- postgres: ensure connection-specific operations for schema migrations (4ea97ed)
- postgres: improve error handling and streamline advisory lock acquisition (43d9f9a)
- postgres: streamline schema creation and transaction handling in migrator (7b733b0)
Features
- deps: update Go version and bump dependencies (9993ece)
v8.7.2
v8.7.1
v8.7.0
v8.6.0
8.6.0 (2024-08-19)
Features
-
middleware/nethttp: add
SubdomainOptionsand exported errors (856dff3)The
SubdomainOptionsstruct is used to configure the subdomain middleware. It allows developers to specify the disallowed subdomains and subdomain prefixes. The exported errors are used to handle invalid subdomains and hosts, including:ErrInvalidHostErrInvalidSubdomain
v8.5.0
8.5.0 (2024-08-18)
Bug Fixes
- all: Update go version to 1.23 (95ab6a8)
- mysql: Bump dependencies (f5df67c)
- mysql: Update
UseDatabaseerror handling (3cd1127) - postgres: Bump dependencies (2918c58)
- postgres: Update SetSearchPath error handling (78de424)
Features
- drivertest: Add conformance tests for data isolation (47d286f)
- mysql: Add advisory locks and backoff retry logic (2faa723)
- pkg/backoff: Add package for exponential backoff retry logic (dc27976)
- pkg/driver: Add
ParseDSNQueryParamsgeneric function (6175105) - pkg/migrator: Add
FNV-1alock key hashing function (b95f42c) - postgres: Add advisory locks and backoff retry logic (2d54f4e)