@backstage/plugin-scaffolder 1.9.1 → 1.10.0-next.1

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,79 @@
1
1
  # @backstage/plugin-scaffolder
2
2
 
3
+ ## 1.10.0-next.1
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+ - @backstage/config@1.0.6-next.0
9
+ - @backstage/catalog-client@1.3.0-next.1
10
+ - @backstage/catalog-model@1.1.5-next.1
11
+ - @backstage/core-components@0.12.3-next.1
12
+ - @backstage/core-plugin-api@1.2.1-next.0
13
+ - @backstage/errors@1.1.4
14
+ - @backstage/integration@1.4.2-next.0
15
+ - @backstage/integration-react@1.1.9-next.1
16
+ - @backstage/theme@0.2.16
17
+ - @backstage/types@1.0.2
18
+ - @backstage/plugin-catalog-common@1.0.10-next.1
19
+ - @backstage/plugin-catalog-react@1.2.4-next.1
20
+ - @backstage/plugin-permission-react@0.4.9-next.0
21
+ - @backstage/plugin-scaffolder-common@1.2.4-next.1
22
+
23
+ ## 1.10.0-next.0
24
+
25
+ ### Minor Changes
26
+
27
+ - e4c0240445: Added `catalogFilter` field to OwnerPicker and EntityPicker components to support filtering options by any field(s) of an entity.
28
+
29
+ The `allowedKinds` field has been deprecated. Use `catalogFilter` instead. This field allows users to specify a filter on the shape of [EntityFilterQuery](https://github.com/backstage/backstage/blob/774c42003782121d3d6b2aa5f2865d53370c160e/packages/catalog-client/src/types/api.ts#L74), which can be passed into the CatalogClient. See examples below:
30
+
31
+ - Get all entities of kind `Group`
32
+
33
+ ```yaml
34
+ owner:
35
+ title: Owner
36
+ type: string
37
+ description: Owner of the component
38
+ ui:field: OwnerPicker
39
+ ui:options:
40
+ catalogFilter:
41
+ - kind: Group
42
+ ```
43
+
44
+ - Get entities of kind `Group` and spec.type `team`
45
+ ```yaml
46
+ owner:
47
+ title: Owner
48
+ type: string
49
+ description: Owner of the component
50
+ ui:field: OwnerPicker
51
+ ui:options:
52
+ catalogFilter:
53
+ - kind: Group
54
+ spec.type: team
55
+ ```
56
+
57
+ ### Patch Changes
58
+
59
+ - 3c112f6967: rollback `@rjsf/validator-ajv8` to `@rjsf/validator-v6`
60
+ - 223e2c5f03: add `onChange` handler to`Stepper` component
61
+ - Updated dependencies
62
+ - @backstage/catalog-model@1.1.5-next.0
63
+ - @backstage/plugin-scaffolder-common@1.2.4-next.0
64
+ - @backstage/catalog-client@1.3.0-next.0
65
+ - @backstage/plugin-catalog-react@1.2.4-next.0
66
+ - @backstage/core-components@0.12.3-next.0
67
+ - @backstage/config@1.0.5
68
+ - @backstage/core-plugin-api@1.2.0
69
+ - @backstage/errors@1.1.4
70
+ - @backstage/integration@1.4.1
71
+ - @backstage/integration-react@1.1.9-next.0
72
+ - @backstage/theme@0.2.16
73
+ - @backstage/types@1.0.2
74
+ - @backstage/plugin-catalog-common@1.0.10-next.0
75
+ - @backstage/plugin-permission-react@0.4.8
76
+
3
77
  ## 1.9.1
4
78
 
5
79
  ### Patch Changes
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@backstage/plugin-scaffolder",
3
- "version": "1.9.1",
3
+ "version": "1.10.0-next.1",
4
4
  "main": "../dist/index.esm.js",
5
5
  "types": "../dist/index.alpha.d.ts"
6
6
  }
@@ -3,7 +3,7 @@ import { useNavigate, Navigate, useOutlet, Routes, Route } from 'react-router-do
3
3
  import { ItemCardHeader, MarkdownContent, Button, Link, ContentHeader, Progress, WarningPanel, Content, ItemCardGrid, Page, Header, CreateButton, SupportButton, StructuredMetadataTable, InfoCard, ErrorPage, ErrorPanel, LogViewer, StatusError, StatusOK, StatusPending, Lifecycle, EmptyState, Table as Table$1 } from '@backstage/core-components';
4
4
  import { useApp, useRouteRef, useApi, useRouteRefParams, useAnalytics, errorApiRef, featureFlagsApiRef, useApiHolder, AnalyticsContext, alertApiRef, useElementFilter } from '@backstage/core-plugin-api';
5
5
  import { getEntityRelations, getEntitySourceLocation, FavoriteEntity, EntityRefLinks, useEntityList, EntityListProvider, CatalogFilterLayout, EntitySearchBar, EntityKindPicker, UserListPicker, EntityTagPicker, catalogApiRef, humanizeEntityRef, EntityRefLink } from '@backstage/plugin-catalog-react';
6
- import { s as selectedTemplateRouteRef, v as viewTechDocRouteRef, e as editRouteRef, a as actionsRouteRef, b as scaffolderListTaskRouteRef, r as registerComponentRouteRef, T as TemplateTypePicker, S as SecretsContext, c as scaffolderApiRef, d as scaffolderTaskRouteRef, f as rootRouteRef, g as TaskStatusStepper, h as TaskPageLinks, F as FIELD_EXTENSION_WRAPPER_KEY, i as FIELD_EXTENSION_KEY, L as LAYOUTS_WRAPPER_KEY, j as LAYOUTS_KEY, l as legacySelectedTemplateRouteRef, k as SecretsContextProvider, m as TaskPage } from './index-8dc22fc0.esm.js';
6
+ import { s as selectedTemplateRouteRef, v as viewTechDocRouteRef, e as editRouteRef, a as actionsRouteRef, b as scaffolderListTaskRouteRef, r as registerComponentRouteRef, T as TemplateTypePicker, S as SecretsContext, c as scaffolderApiRef, d as scaffolderTaskRouteRef, f as rootRouteRef, g as TaskStatusStepper, h as TaskPageLinks, F as FIELD_EXTENSION_WRAPPER_KEY, i as FIELD_EXTENSION_KEY, L as LAYOUTS_WRAPPER_KEY, j as LAYOUTS_KEY, l as legacySelectedTemplateRouteRef, k as SecretsContextProvider, m as TaskPage } from './index-7e25101d.esm.js';
7
7
  import { RELATION_OWNED_BY, parseEntityRef, stringifyEntityRef, DEFAULT_NAMESPACE } from '@backstage/catalog-model';
8
8
  import { makeStyles, useTheme, Card, CardMedia, CardContent, Box, Typography, Chip, CardActions, Tooltip, IconButton, Paper, Button as Button$1, Stepper, Step, StepLabel, StepContent, LinearProgress, TableContainer, Table, TableHead, TableRow, TableCell, TableBody, FormControl, InputLabel, Select, MenuItem as MenuItem$1, CardHeader, Divider as Divider$1, List as List$2, ListItemIcon as ListItemIcon$1, ListItemText as ListItemText$1 } from '@material-ui/core';
9
9
  import { scmIntegrationsApiRef, ScmIntegrationIcon } from '@backstage/integration-react';
@@ -27,7 +27,7 @@ import useAsync from 'react-use/lib/useAsync';
27
27
  import { withTheme } from '@rjsf/core';
28
28
  import { Theme } from '@rjsf/material-ui';
29
29
  import cloneDeep from 'lodash/cloneDeep';
30
- import { e as extractSchemaFromStep, D as DEFAULT_SCAFFOLDER_FIELD_EXTENSIONS } from './schema-1982362e.esm.js';
30
+ import { e as extractSchemaFromStep, D as DEFAULT_SCAFFOLDER_FIELD_EXTENSIONS } from './schema-bfff60e2.esm.js';
31
31
  import classNames from 'classnames';
32
32
  import { StreamLanguage } from '@codemirror/language';
33
33
  import { yaml as yaml$1 } from '@codemirror/legacy-modes/mode/yaml';
@@ -2207,8 +2207,8 @@ parameters:
2207
2207
  description: Owner of the component
2208
2208
  ui:field: OwnerPicker
2209
2209
  ui:options:
2210
- allowedKinds:
2211
- - Group
2210
+ catalogFilter:
2211
+ kind: Group
2212
2212
  - title: Choose a location
2213
2213
  required:
2214
2214
  - repoUrl
@@ -2699,4 +2699,4 @@ const Router = (props) => {
2699
2699
  };
2700
2700
 
2701
2701
  export { Router };
2702
- //# sourceMappingURL=Router-f2355b86.esm.js.map
2702
+ //# sourceMappingURL=Router-416b874d.esm.js.map