Skip to content

feat: export tenant manager use cases and features from public API#5140

Merged
adrians5j merged 4 commits intonextfrom
adrian/tenant-manager-exports-2026-04-27
Apr 28, 2026
Merged

feat: export tenant manager use cases and features from public API#5140
adrians5j merged 4 commits intonextfrom
adrian/tenant-manager-exports-2026-04-27

Conversation

@adrians5j
Copy link
Copy Markdown
Member

@adrians5j adrians5j commented Apr 28, 2026

What changed

This PR exposes the tenant manager's use case and feature classes through the public API exports. Previously, only TenantModelExtension and TenantExtensions were exported from both the @webiny/tenant-manager package and the main @webiny/api entry point. Now, all tenant lifecycle operations — getting the current tenant, fetching by ID, creating, updating, enabling, disabling, and installing tenants — are available as named exports, along with their corresponding feature wrappers and TypeScript interfaces.

Changelog

Tenant Manager Use Cases and Features Now Exported from Public API

The tenant manager's use case classes, feature plugins, and TypeScript interfaces were not accessible through the package's public entry point, making it difficult to extend or override tenant management behavior. They are now exported from both @webiny/tenant-manager and the main @webiny/webiny package, enabling developers to consume and build on top of these abstractions directly.

Squash Merge Commit

feat: export tenant manager use cases and features from public API (#5140)

@adrians5j adrians5j added this to the 6.3.0 milestone Apr 28, 2026
@adrians5j adrians5j changed the title adrian/tenant-manager-exports-2026-04-27 feat: export tenant manager use cases and features from public API Apr 28, 2026
@adrians5j adrians5j merged commit 217394b into next Apr 28, 2026
16 checks passed
@adrians5j adrians5j deleted the adrian/tenant-manager-exports-2026-04-27 branch April 28, 2026 11:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant