Skip to content

v5.0.0

Compare
Choose a tag to compare
@github-actions github-actions released this 21 Feb 08:28
· 389 commits to master since this release

5.0.0 (2024-02-21)

Code Refactoring

  • postgres: modify SetSearchPath function in schema/postgres (872730a)
  • scopes: modify WithTenantSchema function in scopes/scopes.go (22c38ef)

Features

  • package: upgrade from v4 to v5 (a90944f)

BREAKING CHANGES

  • package: The upgrade from v4 to v5 introduces changes that are not backward compatible. Please refer to the documentation for more details.
  • scopes: The WithTenantSchema function in scopes/scopes.go no longer sets the tenant in context. This change may affect the behavior of any code that relies on the tenant being set in the context after calling this function.
  • postgres: The SetSearchPath function in schema/postgres/postgres.go no longer sets the tenant in context. The function signature has also been changed to return (*gorm.DB, ResetSearchPath) instead of (*gorm.DB, ResetSearchPath, error).