Skip to content

Releases: bartventer/gorm-multitenancy

v8.7.2

19 Sep 08:04
Compare
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
Compare
Choose a tag to compare

8.7.1 (2024-08-31)

Bug Fixes

v8.7.0

31 Aug 14:18
3af7435
Compare
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
Compare
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
Compare
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
Compare
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
Compare
Choose a tag to compare

What's Changed

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

v8.3.0

08 Jul 06:43
193e859
Compare
Choose a tag to compare

8.3.0 (2024-07-08)

Bug Fixes

  • middleware/all: Update Middleware Initialization for TenantGetters (2b47c2a)

Features

  • middleware/gin: Introduce gin Middleware (b5dca9c)

v8.2.0

07 Jul 10:39
7391581
Compare
Choose a tag to compare

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 for URL Type (c5ffa1b)
  • pkg/driver: Introduce URL Type for Custom URL Handling (ee70208)

v8.1.0

06 Jul 07:43
753b0cb
Compare
Choose a tag to compare

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.