Releases: enablingflow/spring-boot-data-mongo-multitenant
Releases · enablingflow/spring-boot-data-mongo-multitenant
0.0.26
Feature
- Allowing nesting different tenants
void itAllowsToNestTenantContext() throws Exception {
tenants.performAsTenant("tenantA", () -> {
assertThat(tenants.getScopedTenant()).isEqualTo("tenantA");
tenants.performAsTenant("tenantB", () -> {
assertThat(tenants.getScopedTenant()).isEqualTo("tenantB");
});
assertThat(tenants.getScopedTenant()).isEqualTo("tenantA");
});
}
0.0.25
Fixes:
- 🐛 Not lose tenant context when nesting calls
0.0.24
Fixes
- 🐛 Not lose the context when using
performAsRoot(Callable<T> callable)
0.0.23
Fixes:
- 🐛 Fix losing the root context with nested executions
0.0.22
- Renamed package to
com.github.enablingflow
0.0.20
Nullable
0.0.19
supporting objectId as tenant during save operation
0.0.17
adding callable interface
0.0.7
0.0.7
0.0.5
removed -plan at the end of the artifact