@backstage/core-plugin-api 0.6.1 → 0.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @backstage/core-plugin-api
2
2
 
3
+ ## 0.7.0
4
+
5
+ ### Minor Changes
6
+
7
+ - 33cd215b11: **BREAKING**: Removed deprecated `AnyAnalyticsContext` type which is replaced by `AnalyticsContextValue`
8
+
3
9
  ## 0.6.1
4
10
 
5
11
  ### Patch Changes
package/dist/index.d.ts CHANGED
@@ -23,15 +23,6 @@ declare type CommonAnalyticsContext = {
23
23
  */
24
24
  extension: string;
25
25
  };
26
- /**
27
- * Allows arbitrary scalar values as context attributes too.
28
- *
29
- * @public
30
- * @deprecated Will be removed, use `AnalyticsContextValue` instead
31
- */
32
- declare type AnyAnalyticsContext = {
33
- [param in string]: string | boolean | number | undefined;
34
- };
35
26
  /**
36
27
  * Analytics context envelope.
37
28
  *
@@ -1792,4 +1783,4 @@ declare function useElementFilter<T>(node: ReactNode, filterFn: (arg: ElementCol
1792
1783
  */
1793
1784
  declare function createPlugin<Routes extends AnyRoutes = {}, ExternalRoutes extends AnyExternalRoutes = {}>(config: PluginConfig<Routes, ExternalRoutes>): BackstagePlugin<Routes, ExternalRoutes>;
1794
1785
 
1795
- export { AlertApi, AlertMessage, AnalyticsApi, AnalyticsContext, AnalyticsContextValue, AnalyticsEvent, AnalyticsEventAttributes, AnalyticsTracker, AnyAnalyticsContext, AnyApiFactory, AnyApiRef, AnyExternalRoutes, AnyParams, AnyRoutes, ApiFactory, ApiHolder, ApiRef, ApiRefConfig, AppComponents, AppContext, AppTheme, AppThemeApi, AuthProviderInfo, AuthRequestOptions, BackstageIdentityApi, BackstageIdentityResponse, BackstagePlugin, BackstageUserIdentity, BootErrorPageProps, CommonAnalyticsContext, ComponentLoader, ConfigApi, DiscoveryApi, ElementCollection, ErrorApi, ErrorApiError, ErrorApiErrorContext, ErrorBoundaryFallbackProps, Extension, ExternalRouteRef, FeatureFlag, FeatureFlagState, FeatureFlagsApi, FeatureFlagsHooks, FeatureFlagsSaveOptions, FetchApi, IconComponent, IdentityApi, MakeSubRouteRef, MergeParams, OAuthApi, OAuthRequestApi, OAuthRequester, OAuthRequesterOptions, OAuthScope, OpenIdConnectApi, OptionalParams, ParamKeys, ParamNames, ParamPart, PathParams, PendingOAuthRequest, PluginConfig, PluginFeatureFlagConfig, ProfileInfo, ProfileInfoApi, RouteFunc, RouteRef, SessionApi, SessionState, SignInPageProps, StorageApi, StorageValueChange, StorageValueSnapshot, SubRouteRef, TypesToApiRefs, alertApiRef, analyticsApiRef, appThemeApiRef, atlassianAuthApiRef, attachComponentData, auth0AuthApiRef, bitbucketAuthApiRef, configApiRef, createApiFactory, createApiRef, createComponentExtension, createExternalRouteRef, createPlugin, createReactExtension, createRoutableExtension, createRouteRef, createSubRouteRef, discoveryApiRef, errorApiRef, featureFlagsApiRef, fetchApiRef, getComponentData, githubAuthApiRef, gitlabAuthApiRef, googleAuthApiRef, identityApiRef, microsoftAuthApiRef, oauth2ApiRef, oauthRequestApiRef, oidcAuthApiRef, oktaAuthApiRef, oneloginAuthApiRef, samlAuthApiRef, storageApiRef, useAnalytics, useApi, useApiHolder, useApp, useElementFilter, useRouteRef, useRouteRefParams, withApis };
1786
+ export { AlertApi, AlertMessage, AnalyticsApi, AnalyticsContext, AnalyticsContextValue, AnalyticsEvent, AnalyticsEventAttributes, AnalyticsTracker, AnyApiFactory, AnyApiRef, AnyExternalRoutes, AnyParams, AnyRoutes, ApiFactory, ApiHolder, ApiRef, ApiRefConfig, AppComponents, AppContext, AppTheme, AppThemeApi, AuthProviderInfo, AuthRequestOptions, BackstageIdentityApi, BackstageIdentityResponse, BackstagePlugin, BackstageUserIdentity, BootErrorPageProps, CommonAnalyticsContext, ComponentLoader, ConfigApi, DiscoveryApi, ElementCollection, ErrorApi, ErrorApiError, ErrorApiErrorContext, ErrorBoundaryFallbackProps, Extension, ExternalRouteRef, FeatureFlag, FeatureFlagState, FeatureFlagsApi, FeatureFlagsHooks, FeatureFlagsSaveOptions, FetchApi, IconComponent, IdentityApi, MakeSubRouteRef, MergeParams, OAuthApi, OAuthRequestApi, OAuthRequester, OAuthRequesterOptions, OAuthScope, OpenIdConnectApi, OptionalParams, ParamKeys, ParamNames, ParamPart, PathParams, PendingOAuthRequest, PluginConfig, PluginFeatureFlagConfig, ProfileInfo, ProfileInfoApi, RouteFunc, RouteRef, SessionApi, SessionState, SignInPageProps, StorageApi, StorageValueChange, StorageValueSnapshot, SubRouteRef, TypesToApiRefs, alertApiRef, analyticsApiRef, appThemeApiRef, atlassianAuthApiRef, attachComponentData, auth0AuthApiRef, bitbucketAuthApiRef, configApiRef, createApiFactory, createApiRef, createComponentExtension, createExternalRouteRef, createPlugin, createReactExtension, createRoutableExtension, createRouteRef, createSubRouteRef, discoveryApiRef, errorApiRef, featureFlagsApiRef, fetchApiRef, getComponentData, githubAuthApiRef, gitlabAuthApiRef, googleAuthApiRef, identityApiRef, microsoftAuthApiRef, oauth2ApiRef, oauthRequestApiRef, oidcAuthApiRef, oktaAuthApiRef, oneloginAuthApiRef, samlAuthApiRef, storageApiRef, useAnalytics, useApi, useApiHolder, useApp, useElementFilter, useRouteRef, useRouteRefParams, withApis };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@backstage/core-plugin-api",
3
3
  "description": "Core API used by Backstage plugins",
4
- "version": "0.6.1",
4
+ "version": "0.7.0",
5
5
  "private": false,
6
6
  "publishConfig": {
7
7
  "access": "public",
@@ -33,8 +33,8 @@
33
33
  "start": "backstage-cli package start"
34
34
  },
35
35
  "dependencies": {
36
- "@backstage/config": "^0.1.14",
37
- "@backstage/types": "^0.1.2",
36
+ "@backstage/config": "^0.1.15",
37
+ "@backstage/types": "^0.1.3",
38
38
  "@backstage/version-bridge": "^0.1.2",
39
39
  "history": "^5.0.0",
40
40
  "prop-types": "^15.7.2",
@@ -46,9 +46,9 @@
46
46
  "react": "^16.13.1 || ^17.0.0"
47
47
  },
48
48
  "devDependencies": {
49
- "@backstage/cli": "^0.14.0",
50
- "@backstage/core-app-api": "^0.5.3",
51
- "@backstage/test-utils": "^0.2.5",
49
+ "@backstage/cli": "^0.14.1",
50
+ "@backstage/core-app-api": "^0.5.4",
51
+ "@backstage/test-utils": "^0.2.6",
52
52
  "@testing-library/jest-dom": "^5.10.1",
53
53
  "@testing-library/react": "^11.2.5",
54
54
  "@testing-library/react-hooks": "^7.0.2",
@@ -63,5 +63,5 @@
63
63
  "files": [
64
64
  "dist"
65
65
  ],
66
- "gitHead": "4805c3d13ce9bfc369e53c271b1b95e722b3b4dc"
66
+ "gitHead": "a15da6ea1e3e8adc37be98be064071c8b5279b4a"
67
67
  }