60 KiB
@backstage/integration
2.0.3-next.0
Patch Changes
a07e6a3: Added the correctly-spelledAzureBlobStorageIntegrationclass export and deprecated the previous typoedAzureBlobStorageIntergationexport. Existing usage ofAzureBlobStorageIntergationcontinues to work; switch toAzureBlobStorageIntegrationto avoid future removal.
2.0.2
Patch Changes
-
6b112d3: Fixed two issues in the GitLab integration's fetch behavior:- The internal fetch wrapper was passing
mode: 'same-origin'on every request. This had no practical effect server-side, but would have caused cross-origin requests to be rejected when the integration is used from a browser. Requests now use the default fetch mode and work correctly in both browser and Node environments. - When retries are configured, transient network errors (such as dropped connections or DNS hiccups) are now retried using the same
maxRetriesand exponential delay as retryable HTTP status codes. Previously, a thrown fetch error would propagate immediately on the first failure regardless of the retry configuration. Caller-initiated aborts continue to surface immediately without being retried.
- The internal fetch wrapper was passing
-
b62781f: MovedregisterMswTestHooksto test files. -
Updated dependencies
- @backstage/errors@1.3.1
- @backstage/config@1.3.8
2.0.2-next.1
Patch Changes
-
6b112d3: Fixed two issues in the GitLab integration's fetch behavior:- The internal fetch wrapper was passing
mode: 'same-origin'on every request. This had no practical effect server-side, but would have caused cross-origin requests to be rejected when the integration is used from a browser. Requests now use the default fetch mode and work correctly in both browser and Node environments. - When retries are configured, transient network errors (such as dropped connections or DNS hiccups) are now retried using the same
maxRetriesand exponential delay as retryable HTTP status codes. Previously, a thrown fetch error would propagate immediately on the first failure regardless of the retry configuration. Caller-initiated aborts continue to surface immediately without being retried.
- The internal fetch wrapper was passing
2.0.2-next.0
Patch Changes
b62781f: MovedregisterMswTestHooksto test files.- Updated dependencies
- @backstage/errors@1.3.1-next.0
- @backstage/config@1.3.8-next.0
2.0.1
Patch Changes
d112499: FixedSingleInstanceGithubCredentialsProviderto return app credentials whengetCredentialsis called with a bare host URL (e.g.https://github.com) instead of falling back to a personal access token.- Updated dependencies
- @backstage/errors@1.3.0
- @backstage/config@1.3.7
2.0.1-next.0
Patch Changes
d112499: FixedSingleInstanceGithubCredentialsProviderto return app credentials whengetCredentialsis called with a bare host URL (e.g.https://github.com) instead of falling back to a personal access token.- Updated dependencies
- @backstage/errors@1.3.0-next.0
- @backstage/config@1.3.7-next.0
2.0.0
Major Changes
-
527cf88: BREAKING Removed deprecated Azure DevOps, Bitbucket, Gerrit and GitHub code:- For Azure DevOps, the long deprecated
tokenstring andcredentialobject have been removed from theconfig.d.ts. Use thecredentialsarray object instead. - For Bitbucket, the long deprecated
bitbucketobject has been removed from theconfig.d.ts. Use thebitbucketCloudorbitbucketServerobjects instead. - For Gerrit, the
parseGerritGitilesUrlfunction has been removed, useparseGitilesUrlRefinstead. ThebuildGerritGitilesArchiveUrlfunction has also been removed, usebuildGerritGitilesArchiveUrlFromLocationinstead. - For GitHub, the
getGitHubRequestOptionsfunction has been removed.
- For Azure DevOps, the long deprecated
Minor Changes
d933f62: Add configurable throttling and retry mechanism for GitLab integration.
Patch Changes
1513a0b: Fixed a security vulnerability where path traversal sequences in SCM URLs could be used to access unintended API endpoints using server-side integration credentials.993a598: Fixed Azure integration config schema visibility annotations to use per-field@visibility secretinstead of@deepVisibility secreton parent objects, so that non-secret fields likeclientId,tenantId,organizations, andmanagedIdentityClientIdare no longer incorrectly marked as secret.
2.0.0-next.2
Patch Changes
1513a0b: Fixed a security vulnerability where path traversal sequences in SCM URLs could be used to access unintended API endpoints using server-side integration credentials.
2.0.0-next.1
Major Changes
-
527cf88: BREAKING Removed deprecated Azure DevOps, Bitbucket, Gerrit and GitHub code:- For Azure DevOps, the long deprecated
tokenstring andcredentialobject have been removed from theconfig.d.ts. Use thecredentialsarray object instead. - For Bitbucket, the long deprecated
bitbucketobject has been removed from theconfig.d.ts. Use thebitbucketCloudorbitbucketServerobjects instead. - For Gerrit, the
parseGerritGitilesUrlfunction has been removed, useparseGitilesUrlRefinstead. ThebuildGerritGitilesArchiveUrlfunction has also been removed, usebuildGerritGitilesArchiveUrlFromLocationinstead. - For GitHub, the
getGitHubRequestOptionsfunction has been removed.
- For Azure DevOps, the long deprecated
Patch Changes
993a598: Fixed Azure integration config schema visibility annotations to use per-field@visibility secretinstead of@deepVisibility secreton parent objects, so that non-secret fields likeclientId,tenantId,organizations, andmanagedIdentityClientIdare no longer incorrectly marked as secret.- Updated dependencies
- @backstage/config@1.3.6
- @backstage/errors@1.2.7
1.21.0-next.0
Minor Changes
d933f62: Add configurable throttling and retry mechanism for GitLab integration.
Patch Changes
- Updated dependencies
- @backstage/config@1.3.6
- @backstage/errors@1.2.7
1.20.0
Minor Changes
6999f6d: The AzureUrl class in the @backstage/integration package is now able to process BOTH git branches and git tags. Initially this class only processed git branches and threw an error when non-branch Azure URLs were passed in.
Patch Changes
cc6206e: Added support for{org}.visualstudio.comdomains used by Azure DevOps7455dae: Use node prefix on native imports
1.20.0-next.2
Patch Changes
cc6206e: Added support for{org}.visualstudio.comdomains used by Azure DevOps
1.20.0-next.1
Minor Changes
6999f6d: The AzureUrl class in the @backstage/integration package is now able to process BOTH git branches and git tags. Initially this class only processed git branches and threw an error when non-branch Azure URLs were passed in.
1.19.3-next.0
Patch Changes
7455dae: Use node prefix on native imports- Updated dependencies
- @backstage/config@1.3.6
- @backstage/errors@1.2.7
1.19.2
Patch Changes
3afeab4: ImplementingScmIntegrationforGoogleGcs9083273: Rollback the lowercase replacing in GitHub integration config
1.19.2-next.0
Patch Changes
3afeab4: ImplementingScmIntegrationforGoogleGcs9083273: Rollback the lowercase replacing in GitHub integration config
1.19.0
Minor Changes
-
37fba1d: Added support for Bitbucket Cloud OAuth. This introduces an alternative authentication method using a workspace OAuth consumer, alongside App Passwords (deprecated) and API tokens. OAuth does not require a bot or service account and avoids token expiry issues.BREAKING CHANGES
-
@backstage/integration (
src/bitbucketCloud/core.ts)getBitbucketCloudRequestOptionsnow returns aPromiseand must be awaited.
-
@backstage/plugin-scaffolder-backend-module-bitbucket-cloud (
src/actions/helpers.ts)getBitbucketClientnow returns aPromiseand must be awaited.getAuthorizationHeadernow returns aPromiseand must be awaited.
OAuth usage example
integrations: bitbucketCloud: - clientId: client-id clientSecret: client-secret -
Patch Changes
a26a322: Added support for using a GitHub App installation to generate tokens for public repository access when thepublicAccessoption is enabled. When all other authentication methods fail (e.g., the app is not installed in that organization), the provider will now use an available installation to generate a token that can be used to access public repositories as read only.fb029b6: Updated luxon typese15fdae: Made the github urls case insensitive.
1.18.3-next.1
Patch Changes
fb029b6: Updated luxon types- Updated dependencies
- @backstage/config@1.3.6
- @backstage/errors@1.2.7
1.18.3-next.0
Patch Changes
e15fdae: Made the github urls case insensitive.- Updated dependencies
- @backstage/config@1.3.6
- @backstage/errors@1.2.7
1.18.2
Patch Changes
-
fa255f5: Support for Bitbucket Cloud's API token was added asappPasswordis deprecated (no new creation from September 9, 2025) and will be removed on June 9, 2026.API token usage example:
integrations: bitbucketCloud: - username: user@domain.com token: my-token -
05f60e1: Refactored constructor parameter properties to explicit property declarations for compatibility with TypeScript'serasableSyntaxOnlysetting. This internal refactoring maintains all existing functionality while ensuring TypeScript compilation compatibility. -
Updated dependencies
- @backstage/config@1.3.6
1.18.2-next.0
Patch Changes
05f60e1: Refactored constructor parameter properties to explicit property declarations for compatibility with TypeScript'serasableSyntaxOnlysetting. This internal refactoring maintains all existing functionality while ensuring TypeScript compilation compatibility.- Updated dependencies
- @backstage/config@1.3.6-next.0
- @backstage/errors@1.2.7
1.18.1
Patch Changes
d772b51: remove host from azure blob storage integration type84443f1: Adds config definitions for Azure Blob Storage.- Updated dependencies
- @backstage/config@1.3.5
1.18.1-next.1
Patch Changes
- Updated dependencies
- @backstage/config@1.3.4-next.0
1.18.1-next.0
Patch Changes
d772b51: remove host from azure blob storage integration type84443f1: Adds config definitions for Azure Blob Storage.- Updated dependencies
- @backstage/config@1.3.3
- @backstage/errors@1.2.7
1.18.0
Minor Changes
03bdc68: Added support for limiting GithubAppCredentialsMux to specific apps
Patch Changes
56897d7: Fixes issue with Github credentials provider which fails to match organization name if using allowedInstallationOwners
1.18.0-next.0
Minor Changes
03bdc68: Added support for limiting GithubAppCredentialsMux to specific apps
1.17.1
Patch Changes
e0189b8: UrlReader: Fix handling of access tokens for GitLab readURL requestsd1e4a6d: Fixed bug where the GitLab user token and GitLab integration token were being merged together- Updated dependencies
- @backstage/config@1.3.3
1.17.1-next.1
Patch Changes
- Updated dependencies
- @backstage/config@1.3.3-next.0
1.17.1-next.0
Patch Changes
e0189b8: UrlReader: Fix handling of access tokens for GitLab readURL requestsd1e4a6d: Fixed bug where the GitLab user token and GitLab integration token were being merged together- Updated dependencies
- @backstage/config@1.3.2
- @backstage/errors@1.2.7
1.17.0
Minor Changes
-
d945206: Added support for federated credentials using managed identities in the Azure DevOps integration. Federated credentials are only available for Azure DevOps organizations that have been configured to use Entra ID for authentication.integrations: azure: - host: dev.azure.com credentials: + - clientId: ${APP_REGISTRATION_CLIENT_ID} + managedIdentityClientId: system-assigned + tenantId: ${AZURE_TENANT_ID}This also adds support for automatically using the system-assigned managed identity of an Azure resource by specifying
system-assignedas the client ID of the managed identity.integrations: azure: - host: dev.azure.com credentials: - - clientId: ${AZURE_CLIENT_ID} + - clientId: system-assigned -
f134cea: Implement Edit URL feature for Gerrit 3.9+.It's possible to disable the edit url by adding the
disableEditUrl: trueconfig in the Gerrit integration.
Patch Changes
f3381d3: Added missingorganizationsproperty toazuresection inconfig.d.tsfileacea1d4: update documentation- Updated dependencies
- @backstage/config@1.3.2
- @backstage/errors@1.2.7
1.17.0-next.3
Minor Changes
-
d945206: Added support for federated credentials using managed identities in the Azure DevOps integration. Federated credentials are only available for Azure DevOps organizations that have been configured to use Entra ID for authentication.integrations: azure: - host: dev.azure.com credentials: + - clientId: ${APP_REGISTRATION_CLIENT_ID} + managedIdentityClientId: system-assigned + tenantId: ${AZURE_TENANT_ID}This also adds support for automatically using the system-assigned managed identity of an Azure resource by specifying
system-assignedas the client ID of the managed identity.integrations: azure: - host: dev.azure.com credentials: - - clientId: ${AZURE_CLIENT_ID} + - clientId: system-assigned
Patch Changes
- Updated dependencies
- @backstage/config@1.3.2
- @backstage/errors@1.2.7
1.17.0-next.2
Minor Changes
-
f134cea: Implement Edit URL feature for Gerrit 3.9+.It's possible to disable the edit url by adding the
disableEditUrl: trueconfig in the Gerrit integration.
Patch Changes
- Updated dependencies
- @backstage/config@1.3.2
- @backstage/errors@1.2.7
1.16.4-next.1
Patch Changes
acea1d4: update documentation- Updated dependencies
- @backstage/config@1.3.2
- @backstage/errors@1.2.7
1.16.4-next.0
Patch Changes
f3381d3: Added missingorganizationsproperty toazuresection inconfig.d.tsfile- Updated dependencies
- @backstage/config@1.3.2
- @backstage/errors@1.2.7
1.16.3
Patch Changes
9768992: Mark GitHubwebhookSecretconfig property as optional. AwebhookSecretis not required when creating a GitHub App.- Updated dependencies
- @backstage/config@1.3.2
- @backstage/errors@1.2.7
1.16.3-next.0
Patch Changes
9768992: Mark GitHubwebhookSecretconfig property as optional. AwebhookSecretis not required when creating a GitHub App.- Updated dependencies
- @backstage/config@1.3.2
- @backstage/errors@1.2.7
1.16.2
Patch Changes
89db8b8: Gerrit integration now exportsgetGitilesAuthenticationUrl. This enables its usage by theGerritUrlReader.4f8b5b6: Allow signing git commits using configured private PGP key in scaffolder- Updated dependencies
- @backstage/config@1.3.2
- @backstage/errors@1.2.7
1.16.2-next.0
Patch Changes
4f8b5b6: Allow signing git commits using configured private PGP key in scaffolder- Updated dependencies
- @backstage/config@1.3.2
- @backstage/errors@1.2.7
1.16.1
Patch Changes
-
d2b16db: A new Gerrit helper function (buildGerritGitilesArchiveUrlFromLocation) has been added. This constructs a Gitiles URL to download an archive. It is similar to the existingbuildGerritGitilesArchiveUrlbut also support content referenced by a full commitSHA.DEPRECATIONS: The function
buildGerritGitilesArchiveUrlis deprecated, use thebuildGerritGitilesArchiveUrlFromLocationfunction instead.DEPRECATIONS: The function
parseGerritGitilesUrlis deprecated, use theparseGitilesUrlReffunction instead. -
Updated dependencies
- @backstage/config@1.3.2
- @backstage/errors@1.2.7
1.16.1-next.0
Patch Changes
- Updated dependencies
- @backstage/config@1.3.2-next.0
- @backstage/errors@1.2.7-next.0
1.16.0
Minor Changes
277092a: Add the integration for Azure blob storage to read the credentials to access the storage account and provide the default credential provider.
Patch Changes
- Updated dependencies
- @backstage/errors@1.2.6
- @backstage/config@1.3.1
1.16.0-next.1
Patch Changes
- Updated dependencies
- @backstage/errors@1.2.6-next.0
- @backstage/config@1.3.1-next.0
1.16.0-next.0
Minor Changes
277092a: Add the integration for Azure blob storage to read the credentials to access the storage account and provide the default credential provider.
Patch Changes
- Updated dependencies
- @backstage/config@1.3.0
- @backstage/errors@1.2.5
1.15.2
Patch Changes
- Updated dependencies
- @backstage/config@1.3.0
- @backstage/errors@1.2.5
1.15.1
Patch Changes
720a2f9: Updated dependencygit-url-parseto^15.0.0.920004b: Updating error message for getProjectId when fetching Gitlab project from its url to be more accurate090e49a: Updated functions parseHarnessUrl, getHarnessLatestCommitUrl, getHarnessFileContentsUrl and getHarnessArchiveUrl to fix parsing of urls- Updated dependencies
- @backstage/config@1.2.0
- @backstage/errors@1.2.4
1.15.1-next.1
Patch Changes
720a2f9: Updated dependencygit-url-parseto^15.0.0.- Updated dependencies
- @backstage/config@1.2.0
- @backstage/errors@1.2.4
1.15.1-next.0
Patch Changes
920004b: Updating error message for getProjectId when fetching Gitlab project from its url to be more accurate090e49a: Updated functions parseHarnessUrl, getHarnessLatestCommitUrl, getHarnessFileContentsUrl and getHarnessArchiveUrl to fix parsing of urls- Updated dependencies
- @backstage/config@1.2.0
- @backstage/errors@1.2.4
1.15.0
Minor Changes
-
1573014: The Gerrit integration can now resolve Gitiles urls that point to the following refs:- HEAD
- A SHA
- Tag
- Branch
Patch Changes
- Updated dependencies
- @backstage/config@1.2.0
- @backstage/errors@1.2.4
1.15.0-next.0
Minor Changes
-
1573014: The Gerrit integration can now resolve Gitiles urls that point to the following refs:- HEAD
- A SHA
- Tag
- Branch
Patch Changes
- Updated dependencies
- @backstage/config@1.2.0
- @backstage/errors@1.2.4
1.14.0
Minor Changes
78c1329: UpdatedGitlabUrlReader.readUrlandGitlabUrlReader.readTreeto accept a user-provided token, supporting both bearer and private tokens.
Patch Changes
c591670: Updated functions forgetHarnessEditContentsUrl,getHarnessFileContentsUrl,getHarnessArchiveUrl,getHarnessLatestCommitUrlandparseHarnessUrlto handle account and org level urls- Updated dependencies
- @backstage/config@1.2.0
- @backstage/errors@1.2.4
1.14.0-next.0
Minor Changes
78c1329: UpdatedGitlabUrlReader.readUrlandGitlabUrlReader.readTreeto accept a user-provided token, supporting both bearer and private tokens.
Patch Changes
c591670: Updated functions forgetHarnessEditContentsUrl,getHarnessFileContentsUrl,getHarnessArchiveUrl,getHarnessLatestCommitUrlandparseHarnessUrlto handle account and org level urls- Updated dependencies
- @backstage/config@1.2.0
- @backstage/errors@1.2.4
1.13.0
Minor Changes
b5deed0: Add support fortokenforbitbucketCloudintegration
Patch Changes
- Updated dependencies
- @backstage/config@1.2.0
- @backstage/errors@1.2.4
1.13.0-next.0
Minor Changes
b5deed0: Add support fortokenforbitbucketCloudintegration
Patch Changes
- Updated dependencies
- @backstage/config@1.2.0
- @backstage/errors@1.2.4
1.12.0
Minor Changes
-
be1014d: BREAKING Removed deprecated code from when casing was changed fromGitHubtoGithubnearly two years ago. The following items have been removed:getGitHubFileFetchUrl(usegetGithubFileFetchUrlinstead)GitHubIntegrationConfig(useGithubIntegrationConfiginstead)GitHubIntegration(useGithubIntegrationinstead)readGitHubIntegrationConfig(usereadGithubIntegrationConfiginstead)readGitHubIntegrationConfigs(usereadGithubIntegrationConfigsinstead)replaceGitHubUrlType(usereplaceGithubUrlTypeinstead)
-
395b973: ImplementedreadTreefor Harness provider to support TechDocs functionality -
662dce8: BREAKING:gitilesBaseUrlis now mandatory for the Gerrit integration. The ability to override this requirement using theDISABLE_GERRIT_GITILES_REQUIREMENTenvironment variable has been removed.
Patch Changes
509e08c: Updated function for getHarnessEditContentsUrl23ee9ab: Fix AWS CodeCommit integration by allowing to change the host- Updated dependencies
- @backstage/config@1.2.0
- @backstage/errors@1.2.4
1.12.0-next.1
Minor Changes
-
be1014d: BREAKING Removed deprecated code from when casing was changed fromGitHubtoGithubnearly two years ago. The following items have been removed:getGitHubFileFetchUrl(usegetGithubFileFetchUrlinstead)GitHubIntegrationConfig(useGithubIntegrationConfiginstead)GitHubIntegration(useGithubIntegrationinstead)readGitHubIntegrationConfig(usereadGithubIntegrationConfiginstead)readGitHubIntegrationConfigs(usereadGithubIntegrationConfigsinstead)replaceGitHubUrlType(usereplaceGithubUrlTypeinstead)
Patch Changes
23ee9ab: Fix AWS CodeCommit integration by allowing to change the host- Updated dependencies
- @backstage/config@1.2.0
- @backstage/errors@1.2.4
1.12.0-next.0
Minor Changes
395b973: ImplementedreadTreefor Harness provider to support TechDocs functionality
Patch Changes
- Updated dependencies
- @backstage/config@1.2.0
- @backstage/errors@1.2.4
1.11.0
Minor Changes
2cc750d: AddedHarnessIntegrationvia theScmIntegrationsinterface.
1.11.0-next.0
Minor Changes
2cc750d: AddedHarnessIntegrationvia theScmIntegrationsinterface.
1.10.0
Minor Changes
7b11422: Add AWS CodeCommit URL Reader/Integration
Patch Changes
- Updated dependencies
- @backstage/config@1.2.0
- @backstage/errors@1.2.4
1.10.0-next.0
Minor Changes
7b11422: Add AWS CodeCommit URL Reader/Integration
Patch Changes
- Updated dependencies
- @backstage/config@1.2.0
- @backstage/errors@1.2.4
1.9.1
Patch Changes
0386fa7: Fixed an issue with resolution of SCM URLs against a base URL with a trailing slash.- Updated dependencies
- @backstage/config@1.2.0
- @backstage/errors@1.2.4
1.9.1-next.2
Patch Changes
0386fa7: Fixed an issue with resolution of SCM URLs against a base URL with a trailing slash.- Updated dependencies
- @backstage/config@1.2.0-next.1
- @backstage/errors@1.2.4-next.0
1.9.1-next.1
Patch Changes
- Updated dependencies
- @backstage/config@1.2.0-next.1
- @backstage/errors@1.2.4-next.0
1.9.1-next.0
Patch Changes
- Updated dependencies
- @backstage/errors@1.2.4-next.0
- @backstage/config@1.1.2-next.0
1.9.0
Minor Changes
e27b7f3: Fix rate limit detection by looking for HTTP status code 429 and updating the headerx-ratelimit-remainingto look for in case of a 403 code is returned
Patch Changes
6d898f7: All single-line secrets read from config will now have both leading and trailing whitespace trimmed. This is done to ensure that the secrets are always valid HTTP header values, since many fetch implementations will include the header value itself when an error is thrown due to invalid header values.1cae748: Updated dependencygit-url-parseto^14.0.0.2d0e7cd: Validate if thebaseUrlis a valid URL- Updated dependencies
- @backstage/config@1.1.1
- @backstage/errors@1.2.3
1.9.0-next.1
Patch Changes
6d898f7: All single-line secrets read from config will now have both leading and trailing whitespace trimmed. This is done to ensure that the secrets are always valid HTTP header values, since many fetch implementations will include the header value itself when an error is thrown due to invalid header values.1cae748: Updated dependencygit-url-parseto^14.0.0.- Updated dependencies
- @backstage/config@1.1.1
- @backstage/errors@1.2.3
1.9.0-next.0
Minor Changes
e27b7f3: Fix rate limit detection by looking for HTTP status code 429 and updating the headerx-ratelimit-remainingto look for in case of a 403 code is returned
Patch Changes
- Updated dependencies
- @backstage/config@1.1.1
- @backstage/errors@1.2.3
1.8.0
Minor Changes
870db76: ImplementedreadTreefor Gitea provider to support TechDocs functionality
Patch Changes
99fb541: Updated dependency@azure/identityto^4.0.0.- Updated dependencies
- @backstage/config@1.1.1
1.8.0-next.1
Patch Changes
99fb54183b: Updated dependency@azure/identityto^4.0.0.- Updated dependencies
- @backstage/config@1.1.1
1.8.0-next.0
Minor Changes
870db76a45: ImplementedreadTreefor Gitea provider to support TechDocs functionality
Patch Changes
- Updated dependencies
- @backstage/config@1.1.1
1.7.2
Patch Changes
243c655a68: JSDoc and Error message updates to handleAzure Active Directoryre-brand toEntra ID4aa43f62aa: Updated dependencycross-fetchto^4.0.0.- Updated dependencies
- @backstage/config@1.1.1
1.7.2-next.0
Patch Changes
243c655a68: JSDoc and Error message updates to handleAzure Active Directoryre-brand toEntra ID- Updated dependencies
- @backstage/config@1.1.1
1.7.1
Patch Changes
3963d0b885: Ensure that all relevant config fields are properly marked as secret0b55f773a7: Removed some unused dependencies- Updated dependencies
- @backstage/config@1.1.1
1.7.1-next.1
Patch Changes
0b55f773a7: Removed some unused dependencies- Updated dependencies
- @backstage/config@1.1.1-next.0
1.7.1-next.0
Patch Changes
3963d0b885: Ensure that all relevant config fields are properly marked as secret- Updated dependencies
- @backstage/config@1.1.0
- @backstage/errors@1.2.2
1.7.0
Minor Changes
-
5f1a92b9f1: AddedAzureDevOpsCredentialsProviderto support multiple Azure DevOps organizations and deprecatedAzureIntegrationConfig.credentialandAzureIntegrationConfig.tokenin favour ofAzureIntegrationConfig.credentials. You can now use specific credentials for different Azure DevOps (Server) organizations by specifying theorganizationsfield on a credential:integrations: azure: - host: dev.azure.com credentials: - organizations: - my-org - my-other-org clientId: ${AZURE_CLIENT_ID} clientSecret: ${AZURE_CLIENT_SECRET} tenantId: ${AZURE_TENANT_ID} - organizations: - yet-another-org personalAccessToken: ${PERSONAL_ACCESS_TOKEN}See the Azure integration documentation for more information.
Patch Changes
406b786a2a: Mark package as being free of side effects, allowing more optimized Webpack builds.2d2fc9d20e: Additional fix for Gitiles auth linkscb2e19d82d: Gitiles: Fixed auth prefix issue- Updated dependencies
- @backstage/config@1.1.0
- @backstage/errors@1.2.2
1.7.0-next.3
Patch Changes
406b786a2a: Mark package as being free of side effects, allowing more optimized Webpack builds.- Updated dependencies
- @backstage/config@1.1.0-next.2
- @backstage/errors@1.2.2-next.0
1.7.0-next.2
Patch Changes
- Updated dependencies
- @backstage/config@1.1.0-next.1
- @backstage/errors@1.2.1
1.7.0-next.1
Patch Changes
2d2fc9d20e: Additional fix for Gitiles auth links- Updated dependencies
- @backstage/config@1.1.0-next.0
- @backstage/errors@1.2.1
1.7.0-next.0
Minor Changes
-
5f1a92b9f1: AddedAzureDevOpsCredentialsProviderto support multiple Azure DevOps organizations and deprecatedAzureIntegrationConfig.credentialandAzureIntegrationConfig.tokenin favour ofAzureIntegrationConfig.credentials. You can now use specific credentials for different Azure DevOps (Server) organizations by specifying theorganizationsfield on a credential:integrations: azure: - host: dev.azure.com credentials: - organizations: - my-org - my-other-org clientId: ${AZURE_CLIENT_ID} clientSecret: ${AZURE_CLIENT_SECRET} tenantId: ${AZURE_TENANT_ID} - organizations: - yet-another-org personalAccessToken: ${PERSONAL_ACCESS_TOKEN}See the Azure integration documentation for more information.
Patch Changes
cb2e19d82d: Gitiles: Fixed auth prefix issue- Updated dependencies
- @backstage/config@1.0.8
- @backstage/errors@1.2.1
1.6.0
Minor Changes
443afcf7f5: AddedbuildGerritGitilesArchiveUrl()to construct a Gitiles URL to download an archive. Gitiles URL that uses an authenticated prefix (/a/) can now be parsed by the integration.
Patch Changes
- Updated dependencies
- @backstage/config@1.0.8
- @backstage/errors@1.2.1
1.5.1
Patch Changes
- Updated dependencies
- @backstage/errors@1.2.1
- @backstage/config@1.0.8
1.5.1-next.0
Patch Changes
- Updated dependencies
- @backstage/errors@1.2.1-next.0
- @backstage/config@1.0.8
1.5.0
Minor Changes
-
a316d226c7: Add credential provider for GitLab. -
c7f848bcea: Support authentication with a service principal or managed identity for Azure DevOpsAzure DevOps recently released support, in public preview, for authenticating with a service principal or managed identity instead of a personal access token (PAT): https://devblogs.microsoft.com/devops/introducing-service-principal-and-managed-identity-support-on-azure-devops/. With this change the Azure integration now supports service principals and managed identities for Azure AD backed Azure DevOps organizations. Service principal and managed identity authentication is not supported on Azure DevOps Server (on-premises) organizations.
Patch Changes
-
3c83550fdb: Renamed ClientSecret to AzureClientSecretCredential and ManagedIdentity to AzureManagedIdentityCredential -
df8411779d: Add support for Repository Variables and Secrets to thepublish:githubandgithub:repo:createscaffolder actions. You will need to addread/writepermissions to your GITHUB_TOKEN and/or Github Backstage App for RepositorySecretsandVariablesUpgrade octokit introduces some breaking changes.
-
Updated dependencies
- @backstage/errors@1.2.0
- @backstage/config@1.0.8
1.5.0-next.0
Minor Changes
-
a316d226c7: Add credential provider for GitLab. -
c7f848bcea: Support authentication with a service principal or managed identity for Azure DevOpsAzure DevOps recently released support, in public preview, for authenticating with a service principal or managed identity instead of a personal access token (PAT): https://devblogs.microsoft.com/devops/introducing-service-principal-and-managed-identity-support-on-azure-devops/. With this change the Azure integration now supports service principals and managed identities for Azure AD backed Azure DevOps organizations. Service principal and managed identity authentication is not supported on Azure DevOps Server (on-premises) organizations.
Patch Changes
-
df8411779d: Add support for Repository Variables and Secrets to thepublish:githubandgithub:repo:createscaffolder actions. You will need to addread/writepermissions to your GITHUB_TOKEN and/or Github Backstage App for RepositorySecretsandVariablesUpgrade octokit introduces some breaking changes.
-
Updated dependencies
- @backstage/errors@1.2.0-next.0
- @backstage/config@1.0.7
1.4.5
Patch Changes
b026275bcc: Fixed a bug where the wrong credentials would be selected when using multiple GitHub app integrations.- Updated dependencies
- @backstage/config@1.0.7
- @backstage/errors@1.1.5
1.4.5-next.0
Patch Changes
b026275bcc: Fixed a bug where the wrong credentials would be selected when using multiple GitHub app integrations.- Updated dependencies
- @backstage/config@1.0.7
- @backstage/errors@1.1.5
1.4.4
Patch Changes
e0c6e8b9c3: Update peer dependencies- Updated dependencies
- @backstage/config@1.0.7
- @backstage/errors@1.1.5
1.4.4-next.0
Patch Changes
e0c6e8b9c3: Update peer dependencies- Updated dependencies
- @backstage/config@1.0.7
- @backstage/errors@1.1.5
1.4.3
Patch Changes
52b0022dab: Updated dependencymswto^1.0.0.- Updated dependencies
- @backstage/errors@1.1.5
- @backstage/config@1.0.7
1.4.3-next.0
Patch Changes
52b0022dab: Updated dependencymswto^1.0.0.- Updated dependencies
- @backstage/errors@1.1.5-next.0
- @backstage/config@1.0.7-next.0
1.4.2
Patch Changes
- Updated dependencies
- @backstage/config@1.0.6
- @backstage/errors@1.1.4
1.4.2-next.0
Patch Changes
- Updated dependencies
- @backstage/config@1.0.6-next.0
- @backstage/errors@1.1.4
1.4.1
Patch Changes
3280711113: Updated dependencymswto^0.49.0.34b039ca9f: Addedintegrations.github.apps.allowedInstallationOwnersto the configuration schema.- Updated dependencies
- @backstage/errors@1.1.4
- @backstage/config@1.0.5
1.4.1-next.1
Patch Changes
- Updated dependencies
- @backstage/config@1.0.5-next.1
- @backstage/errors@1.1.4-next.1
1.4.1-next.0
Patch Changes
3280711113: Updated dependencymswto^0.49.0.34b039ca9f: Addedintegrations.github.apps.allowedInstallationOwnersto the configuration schema.- Updated dependencies
- @backstage/config@1.0.5-next.0
- @backstage/errors@1.1.4-next.0
1.4.0
Minor Changes
-
d05e1841ce: This patch brings Gitea as a valid integration: target, via the ScmIntegration interface. It adds gitea to the relevant static properties (get integration by name, get integration by type) for plugins to be able to reference the same Gitea server. -
c1784a4980: Replaces in-code uses ofGitHubwithGithuband deprecates old versions.Deprecates:
getGitHubFileFetchUrlreplaced bygetGithubFileFetchUrlGitHubIntegrationConfigreplaced byGithubIntegrationConfigGitHubIntegrationreplaced byGithubIntegrationreadGitHubIntegrationConfigreplaced byreadGithubIntegrationConfigreadGitHubIntegrationConfigsreplaced byreadGithubIntegrationConfigsreplaceGitHubUrlTypereplaced byreplaceGithubUrlType
Patch Changes
-
7573b65232: Internal refactor of imports to avoid circular dependencies -
a6d779d58a: Remove explicit default visibility atconfig.d.tsfiles./** * @visibility backend */ -
Updated dependencies
- @backstage/config@1.0.4
- @backstage/errors@1.1.3
1.4.0-next.0
Minor Changes
-
d05e1841ce: This patch brings Gitea as a valid integration: target, via the ScmIntegration interface. It adds gitea to the relevant static properties (get integration by name, get integration by type) for plugins to be able to reference the same Gitea server. -
c1784a4980: Replaces in-code uses ofGitHubwithGithuband deprecates old versions.Deprecates:
getGitHubFileFetchUrlreplaced bygetGithubFileFetchUrlGitHubIntegrationConfigreplaced byGithubIntegrationConfigGitHubIntegrationreplaced byGithubIntegrationreadGitHubIntegrationConfigreplaced byreadGithubIntegrationConfigreadGitHubIntegrationConfigsreplaced byreadGithubIntegrationConfigsreplaceGitHubUrlTypereplaced byreplaceGithubUrlType
Patch Changes
-
7573b65232: Internal refactor of imports to avoid circular dependencies -
a6d779d58a: Remove explicit default visibility atconfig.d.tsfiles./** * @visibility backend */ -
Updated dependencies
- @backstage/config@1.0.4-next.0
- @backstage/errors@1.1.3-next.0
1.3.2
Patch Changes
- Updated dependencies
- @backstage/config@1.0.3
- @backstage/errors@1.1.2
1.3.2-next.2
Patch Changes
- Updated dependencies
- @backstage/config@1.0.3-next.2
- @backstage/errors@1.1.2-next.2
1.3.2-next.1
Patch Changes
- Updated dependencies
- @backstage/config@1.0.3-next.1
- @backstage/errors@1.1.2-next.1
1.3.2-next.0
Patch Changes
- Updated dependencies
- @backstage/config@1.0.3-next.0
- @backstage/errors@1.1.2-next.0
1.3.1
Patch Changes
eadf56bbbf: Bumpgit-url-parseversion to^13.0.07d47def9c4: Removed dependency on@types/jest.667d917488: Updated dependencymswto^0.47.0.87ec2ba4d6: Updated dependencymswto^0.46.0.bf5e9030eb: Updated dependencymswto^0.45.0.42918e085c: Fixed bug in thebitbucketServerintegration where token did not take precedence over supplied username and password which is described in the documentation.f76f22c649: Improved caching around github app tokens. Tokens are now cached for 50 minutes, not 10. Calls to get app installations are also included in this cache. If you have more than one github app configured, consider addingallowedInstallationOwnersto your apps configuration to gain the most benefit from these performance changes.- Updated dependencies
- @backstage/config@1.0.2
- @backstage/errors@1.1.1
1.3.1-next.2
Patch Changes
7d47def9c4: Removed dependency on@types/jest.f76f22c649: Improved caching around github app tokens. Tokens are now cached for 50 minutes, not 10. Calls to get app installations are also included in this cache. If you have more than one github app configured, consider addingallowedInstallationOwnersto your apps configuration to gain the most benefit from these performance changes.- Updated dependencies
- @backstage/config@1.0.2-next.0
- @backstage/errors@1.1.1-next.0
1.3.1-next.1
Patch Changes
eadf56bbbf: Bumpgit-url-parseversion to^13.0.0667d917488: Updated dependencymswto^0.47.0.87ec2ba4d6: Updated dependencymswto^0.46.0.42918e085c: Fixed bug in thebitbucketServerintegration where token did not take precedence over supplied username and password which is described in the documentation.
1.3.1-next.0
Patch Changes
bf5e9030eb: Updated dependencymswto^0.45.0.
1.3.0
Minor Changes
593dea6710: Add support for Basic Auth for Bitbucket Server.ad35364e97: feat(techdocs): add edit button support for bitbucketServer
Patch Changes
163243a4d1: Handle incorrect return type from Octokit paginate plugin to resolve reading URLs from GitHubc4b460a47d: Avoid double encoding of the file path ingetBitbucketDownloadUrl29f782eb37: Updated dependency@types/luxonto^3.0.0.1f27d83933: Fixed bug in getGitLabFileFetchUrl where a target whose path did not contain the/-/scope would result in a fetch URL that did not support private-token-based authentication.
1.3.0-next.1
Minor Changes
ad35364e97: feat(techdocs): add edit button support for bitbucketServer
Patch Changes
1f27d83933: Fixed bug in getGitLabFileFetchUrl where a target whose path did not contain the/-/scope would result in a fetch URL that did not support private-token-based authentication.
1.3.0-next.0
Minor Changes
593dea6710: Add support for Basic Auth for Bitbucket Server.
Patch Changes
163243a4d1: Handle incorrect return type from Octokit paginate plugin to resolve reading URLs from GitHubc4b460a47d: Avoid double encoding of the file path ingetBitbucketDownloadUrl29f782eb37: Updated dependency@types/luxonto^3.0.0.
1.2.2
Patch Changes
-
9de15a41d7: Upgrade @octokit/rest to 19.0.3 -
a70869e775: Updated dependencymswto^0.43.0. -
4e9a90e307: Updated dependencyluxonto^3.0.0. -
8006d0f9bf: Updated dependencymswto^0.44.0. -
1f29047bad: Updated dependency@octokit/auth-appto^4.0.0. -
e2d7b76f43: Upgrade git-url-parse to 12.0.0.Motivation for upgrade is transitively upgrading parse-url which is vulnerable to several CVEs detected by Snyk.
- SNYK-JS-PARSEURL-2935944
- SNYK-JS-PARSEURL-2935947
- SNYK-JS-PARSEURL-2936249
-
8829e175f2: Allow frontend visibility forintegrationsitself. -
954a94f52f: Support self-hosted gitlab installations with relative URL. -
4df3390795: Avoid double encoding of the file path ingetBitbucketServerDownloadUrl -
Updated dependencies
- @backstage/errors@1.1.0
1.2.2-next.3
Patch Changes
a70869e775: Updated dependencymswto^0.43.0.4e9a90e307: Updated dependencyluxonto^3.0.0.1f29047bad: Updated dependency@octokit/auth-appto^4.0.0.4df3390795: Avoid double encoding of the file path ingetBitbucketServerDownloadUrl
1.2.2-next.2
Patch Changes
-
e2d7b76f43: Upgrade git-url-parse to 12.0.0.Motivation for upgrade is transitively upgrading parse-url which is vulnerable to several CVEs detected by Snyk.
- SNYK-JS-PARSEURL-2935944
- SNYK-JS-PARSEURL-2935947
- SNYK-JS-PARSEURL-2936249
1.2.2-next.1
Patch Changes
- Updated dependencies
- @backstage/errors@1.1.0-next.0
1.2.2-next.0
Patch Changes
8829e175f2: Allow frontend visibility forintegrationsitself.
1.2.1
Patch Changes
72dfcbc8bf: Gerrit Integration: Handle absolute paths inresolveUrlproperly.8f7b1835df: Updated dependencymswto^0.41.0.e37c71b5a4: Updated to support deployments of Azure DevOps Server under TFS or similar sub path
1.2.1-next.2
Patch Changes
e37c71b5a4: Updated to support deployments of Azure DevOps Server under TFS or similar sub path
1.2.1-next.1
Patch Changes
8f7b1835df: Updated dependencymswto^0.41.0.
1.2.1-next.0
Patch Changes
72dfcbc8bf: Gerrit Integration: Handle absolute paths inresolveUrlproperly.
1.2.0
Minor Changes
-
e295ce87de: added the possibility to handle raw Gitlab URLs with nested namespaces -
6673babab9: Gerrit UrlReader: ImplementedreadTree -
1b4e1e2306: Splitbitbucketintegration intobitbucketCloudandbitbucketServer(backwards compatible).In order to migrate to the new integration configs, move your configs from
integrations.bitbuckettointegrations.bitbucketCloudorintegrations.bitbucketServer.Migration example:
Before:
integrations: bitbucket: - host: bitbucket.org username: bitbucket_user appPassword: app-password - host: bitbucket-server.company.com token: my-tokenAfter:
integrations: bitbucketCloud: - username: bitbucket_user appPassword: app-password bitbucketServer: - host: bitbucket-server.company.com token: my-token -
566407bf8a: Gerrit Integration: Added thegetGerritProjectsApiUrlfunction
Patch Changes
- Updated dependencies
- @backstage/config@1.0.1
1.2.0-next.1
Patch Changes
- Updated dependencies
- @backstage/config@1.0.1-next.0
1.2.0-next.0
Minor Changes
-
6673babab9: Gerrit UrlReader: ImplementedreadTree -
1b4e1e2306: Splitbitbucketintegration intobitbucketCloudandbitbucketServer(backwards compatible).In order to migrate to the new integration configs, move your configs from
integrations.bitbuckettointegrations.bitbucketCloudorintegrations.bitbucketServer.Migration example:
Before:
integrations: bitbucket: - host: bitbucket.org username: bitbucket_user appPassword: app-password - host: bitbucket-server.company.com token: my-tokenAfter:
integrations: bitbucketCloud: - username: bitbucket_user appPassword: app-password bitbucketServer: - host: bitbucket-server.company.com token: my-token -
566407bf8a: Gerrit Integration: Added thegetGerritProjectsApiUrlfunction
1.1.0
Minor Changes
b7436743cb: Gerrit integration: Added an optional configuration to set the Gitiles base url.
Patch Changes
-
1691c6c5c2: Clarify that config locations that emit User and Group kinds now need to declare so in thecatalog.locations.[].rules -
3ef123bbf0: Support external ID when assuming roles in S3 integrationIn order to assume a role created by a 3rd party as external ID is needed. This change adds an optional field to the s3 integration configuration and consumes that in the AwsS3UrlReader.
-
d26e1b0146: ExportedreplaceGitLabUrlTypefrom package
1.1.0-next.2
Patch Changes
d26e1b0146: ExportedreplaceGitLabUrlTypefrom package
1.1.0-next.1
Minor Changes
b7436743cb: Gerrit integration: Added an optional configuration to set the Gitiles base url.
Patch Changes
1691c6c5c2: Clarify that config locations that emit User and Group kinds now need to declare so in thecatalog.locations.[].rules
1.0.1-next.0
Patch Changes
-
3ef123bbf0: Support external ID when assuming roles in S3 integrationIn order to assume a role created by a 3rd party as external ID is needed. This change adds an optional field to the s3 integration configuration and consumes that in the AwsS3UrlReader.
1.0.0
Major Changes
b58c70c223: This package has been promoted to v1.0! To understand how this change affects the package, please check out our versioning policy.
Patch Changes
403837cbac: Added an integration for Gerrit- Updated dependencies
- @backstage/config@1.0.0
0.8.0
Minor Changes
34af86517c: ensureapiBaseUrlbeing set for Bitbucket integrations, replace hardcoded defaults
Patch Changes
33d5e79822: Fix Bitbucket Cloud and Bitbucket Server line number reference.
0.7.5
Patch Changes
4e1384884f: Fixed bug in integration package where Self Hosted GitLab instances with custom ports weren't supported (because of the lack of an option to add the port in the integration configs. Now users can add the port directly in the host)
0.7.4
Patch Changes
- Fix for the previous release with missing type declarations.
- Updated dependencies
- @backstage/config@0.1.15
0.7.3
Patch Changes
1ed305728b: Bumpnode-fetchto version 2.6.7 andcross-fetchto version 3.1.5c77c5c7eb6: Addedbackstage.roletopackage.json- Updated dependencies
- @backstage/config@0.1.14
0.7.2
Patch Changes
f45e99e5da: Do not return a token rather than fail where the owner is not in the allowed installation owners for a GitHub app. This allows anonymous access to public files in the organisation.- Updated dependencies
- @backstage/config@0.1.13
0.7.2-next.0
Patch Changes
- Updated dependencies
- @backstage/config@0.1.13-next.0
0.7.1
Patch Changes
3b4d8caff6: Adds a new GitHub credentials provider (DefaultGithubCredentialsProvider). It handles multiple app configurations. It looks up the app configuration based on the url.5333451def: Cleaned up API exports- Updated dependencies
- @backstage/config@0.1.12
0.7.0
Minor Changes
-
7d4b4e937c: Create an interface for the GitHub credentials provider in order to support providing implementations.We have changed the name of the
GithubCredentialsProvidertoSingleInstanceGithubCredentialsProvider.GithubCredentialsProvideris now an interface that maybe implemented to provide a custom mechanism to retrieve GitHub credentials.In a later release we will support configuring URL readers, scaffolder tasks, and processors with customer GitHub credentials providers.
If you want to uptake this release, you will need to replace all references to
GithubCredentialsProvider.createwithSingleInstanceGithubCredentialsProvider.create.
Patch Changes
cf2e20a792: Addedendpointands3ForcePathStyleas optional configuration for AWS S3 integrations.
0.6.10
Patch Changes
47619da24c: Narrow the types returned by the request option functions, to only the specifics that they actually do return. The reason for this change is that a fullRequestInitis unfortunate to return because it's different betweencross-fetchandnode-fetch.
0.6.9
Patch Changes
a15d028517: More API fixes: mark things public, add docs, fix exports- Updated dependencies
- @backstage/config@0.1.11
0.6.8
Patch Changes
eab072161e: By replacing\nwith a newline for GitHub Apps private keys, this allows users to store the private key as an environment variable and reference it in the YAML.
0.6.7
Patch Changes
a31afc5b62: Replace slash stripping regexp with trimEnd to remove CodeQL warningca0559444c: Avoid usage of.to*Case(), preferring.toLocale*Case('en-US')instead.
0.6.6
Patch Changes
d1f2118389: Support selective GitHub app installation for GHE
0.6.5
Patch Changes
8113ba5ebb: Allow file extension.ymlto be ingested in GitLab processor- Updated dependencies
- @backstage/config@0.1.10
0.6.4
Patch Changes
-
f7ad3a8925: Fix Azure URL handling to properly support both repo shorthand (/owner/_git/project) and full URLs (/owner/project/_git/repo).Fix Azure DevOps Server URL handling by being able to parse URLs with hosts other than
dev.azure.com. Note that theapi-versionused for API requests is currently6.0, meaning you need to support at least this version in your Azure DevOps Server instance. -
96fef17a18: Upgrade git-parse-url to v11.6.0 -
cc5c8f4979: Handle pagination on return results when fetch GitHub API to list selected repos
0.6.3
Patch Changes
5dca42b17: Update to properly handle Azure DevOps Server download URL
0.6.2
Patch Changes
f0ba514f0: Take custom ports into account when matching integrations to URLs. It used to be the case that an integration with e.g.host: 'scm.mycompany.net:8080'would not be matched by thebyUrlmethod, while hosts without a custom port did match.90c68a2ca: ExportreplaceGitHubUrlType- Updated dependencies
- @backstage/config@0.1.8
0.6.1
Patch Changes
b8cb12009: Add AWS S3 URL Reader- Updated dependencies
- @backstage/config@0.1.7
0.6.0
Minor Changes
-
ce1958021:getGitHubFileFetchUrlandgetGitHubRequestOptionsnow require acredentialsargument. This is needed to address an issue where the raw route was chosen by theUrlReaderwhen using GitHub Apps based auth.Deprecated the
getGitHubRequestOptionsfunction, which is no longer used internally.
Patch Changes
8bedb75ae: Update Luxon dependency to 2.x68af4d556: Adds an allow list of GitHub installations5fd31c2f4: Remove repo restriction from GitHub credentials provider
0.5.9
Patch Changes
3c50ff562: Fixed bug for comparing Organization name inGithubCredentialsProvider- Updated dependencies
- @backstage/config@0.1.6
0.5.8
Patch Changes
43a4ef644: Do not throw inScmIntegrationbyUrlfor invalid URLs6841e0113: fix minor version of git-url-parse as 11.5.x introduced a bug for Bitbucket Serverb691a938e: Fix downloads from repositories located at bitbucket.org
0.5.7
Patch Changes
-
22a60518c: Support ingesting multiple GitHub organizations via a newGithubMultiOrgReaderProcessor.This new processor handles namespacing created groups according to the org of the associated GitHub team to prevent potential name clashes between organizations. Be aware that this processor is considered alpha and may not be compatible with future org structures in the catalog.
NOTE: This processor only fully supports auth via GitHub Apps
To install this processor, import and add it as follows:
// Typically in packages/backend/src/plugins/catalog.ts import { GithubMultiOrgReaderProcessor } from '@backstage/plugin-catalog-backend'; // ... export default async function createPlugin(env: PluginEnvironment) { const builder = new CatalogBuilder(env); builder.addProcessor( GithubMultiOrgReaderProcessor.fromConfig(env.config, { logger: env.logger, }), ); // ... }Configure in your
app-config.yamlby pointing to your GitHub instance and optionally list which GitHub organizations you wish to import. You can also configure what namespace you want to set for teams from each org. If unspecified, the org name will be used as the namespace. If no organizations are listed, by default this processor will import from all organizations accessible by all configured GitHub Apps:catalog: locations: - type: github-multi-org target: https://github.myorg.com rules: - allow: [User, Group] processors: githubMultiOrg: orgs: - name: fooOrg groupNamespace: foo - name: barOrg groupNamespace: bar - name: awesomeOrg - name: anotherOrg
0.5.6
Patch Changes
eda9dbd5f: Download archives as compressed tar files for Bitbucket to keep executable permissions.
0.5.5
Patch Changes
49d7ec169: GitHub App ID can be a string too for environment variables otherwise it will fail validation
0.5.4
Patch Changes
-
0fd4ea443: Updates theGithubCredentialsProviderto return the token type, it can either betokenorappdepending on the authentication method.Update the
GithubOrgReaderProcessorNOT to query for email addresses if GitHub Apps is used for authentication, this is due to inconsistencies in the GitHub API when using server to server communications and installation tokens. See this community discussion for more info.Removes deprecated GithubOrgReaderProcessor provider configuration(
catalog.processors.githubOrg). If you're using the deprecated config section make sure to migrate to integrations instead.
0.5.3
Patch Changes
65e6c4541: Remove circular dependencies
0.5.2
Patch Changes
38ca05168: The default@octokit/restdependency was bumped to"^18.5.3".- Updated dependencies [
d8b81fd28]- @backstage/config@0.1.5
0.5.1
Patch Changes
277644e09: Include missing fields in GitLab config schema. This sometimes prevented loading config on the frontend specifically, when using self-hosted GitLab.52f613030: Support GitHubtreeURLs ingetGitHubFileFetchUrl.905cbfc96: AddresolveEditUrlto integrations to resolve a URL that can be used to edit a file in the web interfaces of an SCM.d4e77ec5f: Add option toresolveUrlthat allows for linking to a specific line number when resolving a file URL.
0.5.0
Minor Changes
491f3a0ec: MakeScmIntegration.resolveUrlmandatory.
0.4.0
Minor Changes
-
ffffea8e6: Update theGitLabIntegrationConfigto require the fieldsapiBaseUrlandbaseUrl. ThereadGitLabIntegrationConfigfunction is now more strict and has better error reporting. This change mirrors actual reality in code more properly - the fields are actually necessary for many parts of code to actually function, so they should no longer be optional.Some checks that used to happen deep inside code that consumed config, now happen upfront at startup. This means that you may encounter new errors at backend startup, if you had actual mistakes in config but didn't happen to exercise the code paths that actually would break. But for most users, no change will be necessary.
An example minimal GitLab config block that just adds a token to public GitLab would look similar to this:
integrations: gitlab: - host: gitlab.com token: $env: GITLAB_TOKENA full fledged config that points to a locally hosted GitLab could look like this:
integrations: gitlab: - host: gitlab.my-company.com apiBaseUrl: https://gitlab.my-company.com/api/v4 baseUrl: https://gitlab.my-company.com token: $env: OUR_GITLAB_TOKENIn this case, the only optional field is
baseUrlwhich is formed from thehostif needed.
0.3.2
Patch Changes
-
c4abcdb60: Fix GitLab handling of paths with spaces -
064c513e1: Properly forward errors that occur when looking up GitLab project IDs. -
3149bfe63: Add aresolveUrlmethod to integrations, that works like the two-argument URL constructor. The reason for using this is that Azure have their paths in a query parameter, rather than the pathname of the URL.The implementation is optional (when not present, the URL constructor is used), so this does not imply a breaking change.
-
2e62aea6f: #4322 Bitbucket own hosted v5.11.1 branchUrl fix and enabled error tracing… #4347
0.3.1
Patch Changes
6800da78d: Fix default branch API url for custom hosted Bitbucket server9dd057662: Upgrade git-url-parse to v11.4.4 which fixes parsing an Azure DevOps branch ref.
0.3.0
Minor Changes
-
ed6baab66: - Deprecating thescaffolder.${provider}.tokenauth duplication and favoringintegrations.${provider}instead. If you receive deprecation warnings your config should change like the following:scaffolder: github: token: $env: GITHUB_TOKEN visibility: publicTo something that looks like this:
integration: github: - host: github.com token: $env: GITHUB_TOKEN scaffolder: github: visibility: publicYou can also configure multiple different hosts under the
integrationconfig like the following:integration: github: - host: github.com token: $env: GITHUB_TOKEN - host: ghe.mycompany.com token: $env: GITHUB_ENTERPRISE_TOKENThis of course is the case for all the providers respectively.
-
Adding support for cross provider scaffolding, you can now create repositories in for example Bitbucket using a template residing in GitHub.
-
Fix GitLab scaffolding so that it returns a
catalogInfoUrlwhich automatically imports the project into the catalog. -
The
Store Pathfield on thescaffolderfrontend has now changed so that you require the full URL to the desired destination repository.
backstage/new-repositorywould becomehttps://github.com/backstage/new-repositoryif provider was GitHub for example. -
Patch Changes
-
0b135e7e0: Add support for GitHub Apps authentication for backend plugins.GithubCredentialsProviderrequests and caches GitHub credentials based on a repository or organization url.The
GithubCredentialsProviderclass should be considered stateful since tokens will be cached internally. Consecutive calls to get credentials will return the same token, tokens older than 50 minutes will be considered expired and reissued.GithubCredentialsProviderwill default to the configured access token if no GitHub Apps are configured.More information on how to create and configure a GitHub App to use with backstage can be found in the documentation.
Usage:
const credentialsProvider = new GithubCredentialsProvider(config); const { token, headers } = await credentialsProvider.getCredentials({ url: 'https://github.com/', });Updates
GithubUrlReaderto use theGithubCredentialsProvider. -
fa8ba330a: Fix GitLab API base URL and add it by default to the gitlab.com host
0.2.0
Minor Changes
466354aaa: Build out theScmIntegrationsclass, as well as the individual*Integrationclasses
0.1.5
Patch Changes
036a84373: Provide support for on-prem azure devops
0.1.4
Patch Changes
1d1c2860f: Implement readTree on BitBucketUrlReader and getBitbucketDownloadUrl4eafdec4a: Introduce readTree method for GitLab URL Reader178e09323: Validate that integration config contains a valid host
0.1.3
Patch Changes
38e24db00: Move the core url and auth logic to integration for the four major providersb8ecf6f48: Add the basics of cross-integration concerns- Updated dependencies [
e3bd9fc2f] - Updated dependencies [
e3bd9fc2f]- @backstage/config@0.1.2
0.1.2
Patch Changes
b3d4e4e57: Move the frontend visibility declarations of integrations config from @backstage/backend-common to @backstage/integration
0.1.1
Patch Changes
7b37e6834: Added the integration package