Skip to content

chore: version packages - #32

Open
github-actions[bot] wants to merge 1 commit into
mainfrom
changeset-release/main
Open

chore: version packages#32
github-actions[bot] wants to merge 1 commit into
mainfrom
changeset-release/main

Conversation

@github-actions

@github-actions github-actions Bot commented Aug 5, 2026

Copy link
Copy Markdown

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.

Releases

@sailpoint/ui-plugin-sdk@0.1.0

Minor Changes

  • e2d78dc: Align plugin context types with the App Shell capability-flag contract (CSTM-354).

    Breaking. App Shell now sends an exhaustive map of public capability booleans
    instead of fine-grained rights, so the SDK's context declarations were not just
    stale but actively wrong: capabilities?: string[] compiled cleanly against a
    value that is really an object, then threw TypeError: ...includes is not a function at runtime.

    • UserContext.capabilities is now a required UserCapabilities object with all
      13 flags. Replace capabilities?.includes('ORG_ADMIN') with
      capabilities.isOrgAdmin.
    • Removed amsRights, uiRights, uid, alias, lastLoginTimestamp,
      federated, and mfeSessionHash from UserContext — App Shell never sent them.
    • TenantContext.name, pod, region, apiUrl, and products are now
      required, products is typed TenantProduct[] with licenses, and
      TenantApiUrl is narrowed to exactly { idn: string }.
    • Removed the [key: string]: unknown index signatures from TenantContext,
      UserContext, PageContext, and TenantApiUrl, so a misspelled field is a
      compile error instead of unknown.
    • Added PluginContext.pluginConfiguration, exposing the slotConfiguration and
      pluginId the SDK previously discarded.
    • The handshake now validates every newly-required field and fails with
      HANDSHAKE_FAILED when the host payload does not match, rather than handing
      plugins undefined at a site the types call safe.
    • api.get/api.post no longer derive a hostname from the tenant name when
      apiUrl is absent; they use the validated tenant.apiUrl.idn.
    • New public exports: UserCapabilities, CapabilityFlagKey, TenantProduct,
      TenantProductLicense, PluginConfiguration, SlotConfiguration, TenantApiUrl.

    Requires App Shell at saas-sp-renderer@4100daea or later.

@github-actions
github-actions Bot force-pushed the changeset-release/main branch from 13754dc to 469be80 Compare August 12, 2026 14:23
@github-actions
github-actions Bot force-pushed the changeset-release/main branch from 469be80 to 7a29ab7 Compare August 12, 2026 19:31
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.

0 participants