Releases: bartventer/gorm-multitenancy
Releases · bartventer/gorm-multitenancy
v8.7.2
v8.7.1
v8.7.0
v8.6.0
8.6.0 (2024-08-19)
Features
-
middleware/nethttp: add
SubdomainOptions
and exported errors (856dff3)The
SubdomainOptions
struct 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:ErrInvalidHost
ErrInvalidSubdomain
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
UseDatabase
error 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
ParseDSNQueryParams
generic function (6175105) - pkg/migrator: Add
FNV-1a
lock key hashing function (b95f42c) - postgres: Add advisory locks and backoff retry logic (2d54f4e)
v8.4.0
v8.3.1
v8.3.0
v8.2.0
8.2.0 (2024-07-07)
Bug Fixes
- deps: Bump dependencies (f2bbbae)
Features
- all: Update Drivers to Support
URL
Type for Custom URL Handling (71f512a) - mysql/internal: Introduce
dsn
Package for DSN Parsing (9a5ea5a) - Update
OpenDB
signature for additional Options (a4f289a) - Update
OpenDBURL
Method Signature forURL
Type (c5ffa1b) - pkg/driver: Introduce
URL
Type for Custom URL Handling (ee70208)
v8.1.0
8.1.0 (2024-07-06)
Features
- Add OpenDB function for blank import database initialization (753b0cb)
Tip
For a comprehensive guide on how to use the new feature, please refer to the Usage Guide.