@backstage/plugin-scaffolder 1.4.0-next.0 → 1.4.0-next.3

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,12 +1,68 @@
1
1
  # @backstage/plugin-scaffolder
2
2
 
3
- ## 1.4.0-next.0
3
+ ## 1.4.0-next.3
4
+
5
+ ### Patch Changes
6
+
7
+ - b557e6c58d: Fixed that adding more than one `allowedOwner` or `allowedRepo` in the template config will now still set the first value as default in the initial form state of `RepoUrlPicker`.
8
+ - d600cb2ab6: contextMenu prop passed through to <ScaffolderPageContents /> from the <ScaffolderPage /> component
9
+ - a70869e775: Updated dependency `msw` to `^0.43.0`.
10
+ - 4e9a90e307: Updated dependency `luxon` to `^3.0.0`.
11
+ - 72622d9143: Updated dependency `yaml` to `^2.0.0`.
12
+ - 693990d4fe: Updated dependency `@react-hookz/web` to `^15.0.0`.
13
+ - Updated dependencies
14
+ - @backstage/core-plugin-api@1.0.4-next.0
15
+ - @backstage/core-components@0.10.0-next.3
16
+ - @backstage/catalog-client@1.0.4-next.2
17
+ - @backstage/integration-react@1.1.2-next.3
18
+ - @backstage/integration@1.2.2-next.3
19
+ - @backstage/catalog-model@1.1.0-next.3
20
+ - @backstage/plugin-catalog-react@1.1.2-next.3
21
+ - @backstage/plugin-permission-react@0.4.3-next.1
22
+
23
+ ## 1.4.0-next.2
4
24
 
5
25
  ### Minor Changes
6
26
 
7
- - 3500c13a33: A new template editor has been added which is accessible via the context menu on the top right hand corner of the Create page. It allows you to load a template from a local directory, edit it with a preview, execute it in dry-run mode, and view the results. Note that the [File System Access API](https://developer.mozilla.org/en-US/docs/Web/API/File_System_Access_API) must be supported by your browser for this to be available.
27
+ - d8eb82f447: Add `allowedRepos` `ui:option` to `RepoUrlPicker` component, and move `repoName` field to own component
8
28
 
9
- To support the new template editor the `ScaffolderApi` now has an optional `dryRun` method, which is implemented by the default `ScaffolderClient`.
29
+ ### Patch Changes
30
+
31
+ - e2d7b76f43: Upgrade git-url-parse to 12.0.0.
32
+
33
+ Motivation for upgrade is transitively upgrading parse-url which is vulnerable
34
+ to several CVEs detected by Snyk.
35
+
36
+ - SNYK-JS-PARSEURL-2935944
37
+ - SNYK-JS-PARSEURL-2935947
38
+ - SNYK-JS-PARSEURL-2936249
39
+
40
+ - 14146703e5: Add `allowArbitraryValues` to `ui:options` in `OwnedEntityPicker`, similar to `allowArbitraryValues` in `EntityPicker`
41
+ - Updated dependencies
42
+ - @backstage/core-components@0.10.0-next.2
43
+ - @backstage/catalog-model@1.1.0-next.2
44
+ - @backstage/theme@0.2.16-next.1
45
+ - @backstage/integration@1.2.2-next.2
46
+ - @backstage/plugin-catalog-react@1.1.2-next.2
47
+ - @backstage/integration-react@1.1.2-next.2
48
+
49
+ ## 1.4.0-next.1
50
+
51
+ ### Patch Changes
52
+
53
+ - Updated dependencies
54
+ - @backstage/core-components@0.9.6-next.1
55
+ - @backstage/catalog-model@1.1.0-next.1
56
+ - @backstage/errors@1.1.0-next.0
57
+ - @backstage/theme@0.2.16-next.0
58
+ - @backstage/catalog-client@1.0.4-next.1
59
+ - @backstage/integration@1.2.2-next.1
60
+ - @backstage/integration-react@1.1.2-next.1
61
+ - @backstage/plugin-catalog-common@1.0.4-next.0
62
+ - @backstage/plugin-catalog-react@1.1.2-next.1
63
+ - @backstage/plugin-permission-react@0.4.3-next.0
64
+
65
+ ## 1.4.0-next.0
10
66
 
11
67
  ### Patch Changes
12
68
 
@@ -50,6 +106,9 @@
50
106
 
51
107
  - 72dfcbc8bf: Gerrit Integration: Implemented a `RepoUrlPicker` for Gerrit.
52
108
  - f93af969cd: Added the ability to support running of templates that are not in the `default` namespace
109
+ - 3500c13a33: A new template editor has been added which is accessible via the context menu on the top right hand corner of the Create page. It allows you to load a template from a local directory, edit it with a preview, execute it in dry-run mode, and view the results. Note that the [File System Access API](https://developer.mozilla.org/en-US/docs/Web/API/File_System_Access_API) must be supported by your browser for this to be available.
110
+
111
+ To support the new template editor the `ScaffolderApi` now has an optional `dryRun` method, which is implemented by the default `ScaffolderClient`.
53
112
 
54
113
  ### Patch Changes
55
114
 
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@backstage/plugin-scaffolder",
3
- "version": "1.4.0-next.0",
3
+ "version": "1.4.0-next.3",
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, useParams as useParams
3
3
  import { ItemCardHeader, MarkdownContent, Button, ContentHeader, Progress, WarningPanel, Link as Link$1, 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 { useRouteRef, useApi, errorApiRef, featureFlagsApiRef, useApiHolder, 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, 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 legacySelectedTemplateRouteRef, j as SecretsContextProvider, k as TaskPage } from './index-470abc37.esm.js';
6
+ import { s as selectedTemplateRouteRef, 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 legacySelectedTemplateRouteRef, j as SecretsContextProvider, k as TaskPage } from './index-6000fac5.esm.js';
7
7
  import { RELATION_OWNED_BY, parseEntityRef, stringifyEntityRef } from '@backstage/catalog-model';
8
8
  import { makeStyles, useTheme, Card, CardMedia, CardContent, Box, Typography, Chip, CardActions, IconButton, Tooltip, Link, Stepper, Step, StepLabel, StepContent, Button as Button$1, Paper, LinearProgress, TableContainer, Table, TableHead, TableRow, TableCell, TableBody, Divider as Divider$1, FormControl, InputLabel, Select, MenuItem as MenuItem$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';
@@ -66,7 +66,7 @@ import SettingsIcon from '@material-ui/icons/Settings';
66
66
  import AllIcon from '@material-ui/icons/FontDownload';
67
67
  import { DateTime, Interval } from 'luxon';
68
68
  import humanizeDuration from 'humanize-duration';
69
- import { D as DEFAULT_SCAFFOLDER_FIELD_EXTENSIONS } from './default-a3df1f11.esm.js';
69
+ import { D as DEFAULT_SCAFFOLDER_FIELD_EXTENSIONS } from './default-e54e51de.esm.js';
70
70
  import '@backstage/errors';
71
71
  import 'zen-observable';
72
72
  import '@material-ui/core/FormControl';
@@ -359,10 +359,12 @@ const ScaffolderPageContents = ({
359
359
  };
360
360
  const ScaffolderPage = ({
361
361
  TemplateCardComponent,
362
- groups
362
+ groups,
363
+ contextMenu
363
364
  }) => /* @__PURE__ */ React.createElement(EntityListProvider, null, /* @__PURE__ */ React.createElement(ScaffolderPageContents, {
364
365
  TemplateCardComponent,
365
- groups
366
+ groups,
367
+ contextMenu
366
368
  }));
367
369
 
368
370
  function isObject$1(value) {
@@ -2394,4 +2396,4 @@ const Router = (props) => {
2394
2396
  };
2395
2397
 
2396
2398
  export { Router };
2397
- //# sourceMappingURL=Router-a85c58bd.esm.js.map
2399
+ //# sourceMappingURL=Router-02ff57b3.esm.js.map