Skip to content

Releases: bartventer/gorm-multitenancy

v8.9.0

11 Jul 16:11
0d751d8

Choose a tag to compare

8.9.0 (2025-07-11)

What's Changed

v8.8.1

11 Jul 14:13

Choose a tag to compare

8.8.1 (2025-07-11)

Bug Fixes

  • postgres,mysql: Quote schema/database names in path operations by @bartventer in #101

v8.8.0

07 Apr 13:50

Choose a tag to compare

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

19 Sep 08:04

Choose a tag to compare

8.7.2 (2024-09-19)

Bug Fixes

  • deps: bump gorm.io/gorm from 1.25.11 to 1.25.12 (fb4feb0)

v8.7.1

31 Aug 14:48
6c6b808

Choose a tag to compare

8.7.1 (2024-08-31)

Bug Fixes

v8.7.0

31 Aug 14:18
3af7435

Choose a tag to compare

8.7.0 (2024-08-31)

Features

  • middleware/all: Add middleware aliases for nethttp package (c1c3498)

  • middleware/iris: Add iris middleware package (4bce41a), closes #51

    See middleware/iris for more information.

v8.6.0

19 Aug 14:50
c42a55c

Choose a tag to compare

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

18 Aug 22:18
f525a80

Choose a tag to compare

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

23 Jul 09:22
7e6439a

Choose a tag to compare

8.4.0 (2024-07-23)

Features

  • pkg/migrator: Introduce migrator Package (f58170e)
  • postgres, mysql: Update Drivers to Utilize migrator Package (f5f009b)

Performance Improvements

  • middleware/all: Optimize Context Keys String Method (b307429)
  • middleware/nethttp: Optimize DefaultTenantFromSubdomain Function (7e6439a)
  • middleware/nethttp: Optimize ExtractSubdomain Function (73a64df)
  • postgres: Optimize SetSearchPath Function (6a84bdc)

v8.3.1

20 Jul 10:36
0ab94c9

Choose a tag to compare

What's Changed

Full Changelog: v8.3.0...v8.3.1