@backstage/plugin-scaffolder 1.9.0-next.4 → 1.9.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,75 @@
1
1
  # @backstage/plugin-scaffolder
2
2
 
3
+ ## 1.9.1
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+ - @backstage/core-components@0.12.2
9
+ - @backstage/integration-react@1.1.8
10
+ - @backstage/plugin-catalog-react@1.2.3
11
+
12
+ ## 1.9.0
13
+
14
+ ### Minor Changes
15
+
16
+ - ddd1c3308d: Implement Custom Field Explorer to view and play around with available installed custom field extensions
17
+ - adb1b01e32: Adds the ability to supply a `transformErrors` function to the `Stepper` for `/next`
18
+ - 34a48cdc4f: The `RepoUrlPicker` field extension now has an `allowedProjects` option for narrowing the selection of Bitbucket URLs.
19
+
20
+ ### Patch Changes
21
+
22
+ - d4d07cf55e: Enabling the customization of the last step in the scaffolder template.
23
+
24
+ To override the content you have to do the next:
25
+
26
+ ```typescript jsx
27
+ <TemplatePage ReviewStepComponent={YourCustomComponent} />
28
+ ```
29
+
30
+ - ef803022f1: Initialize all `formData` in the `Stepper` in `/next`
31
+ - 9b1fadf6d8: Added `noHtml5Validate` prop to `FormProps` on `NextScaffolderPage`
32
+ - b05dcd5530: Move the `zod` dependency to a version that does not collide with other libraries
33
+ - 2e701b3796: Internal refactor to use `react-router-dom` rather than `react-router`.
34
+ - 9000952e87: Form data is now passed to validator functions in 'next' scaffolder, so it's now possible to perform validation for fields that depend on other field values. This is something that we discourage due to the coupling that it creates, but is sometimes still the most sensible solution.
35
+
36
+ ```typescript jsx
37
+ export const myCustomValidation = (
38
+ value: string,
39
+ validation: FieldValidation,
40
+ { apiHolder, formData }: { apiHolder: ApiHolder; formData: JsonObject },
41
+ ) => {
42
+ // validate
43
+ };
44
+ ```
45
+
46
+ - 5b10b2485a: Parse `formData` from `window.location.query` for `scaffolder/next`
47
+ - 57ad6553d0: Pass through `transformErrors` to `TemplateWizardPage`
48
+ - 3280711113: Updated dependency `msw` to `^0.49.0`.
49
+ - 19356df560: Updated dependency `zen-observable` to `^0.9.0`.
50
+ - c3fa90e184: Updated dependency `zen-observable` to `^0.10.0`.
51
+ - 5fb6d5e92e: Updated dependency `@react-hookz/web` to `^19.0.0`.
52
+ - 146378c146: Updated dependency `@react-hookz/web` to `^20.0.0`.
53
+ - 380f549b75: bump `@rjsf/*-v5` dependencies
54
+ - a63e2df559: fixed `headerOptions` not passed to `TemplatePage` component
55
+ - 9b606366bf: Bump `json-schema-library` to version `^7.3.9` which does not pull in the `gson-pointer` library
56
+ - db6310b6a0: Show input type array correctly on installed actions page.
57
+ - Updated dependencies
58
+ - @backstage/core-plugin-api@1.2.0
59
+ - @backstage/catalog-client@1.2.0
60
+ - @backstage/core-components@0.12.1
61
+ - @backstage/errors@1.1.4
62
+ - @backstage/plugin-catalog-react@1.2.2
63
+ - @backstage/plugin-permission-react@0.4.8
64
+ - @backstage/integration-react@1.1.7
65
+ - @backstage/integration@1.4.1
66
+ - @backstage/types@1.0.2
67
+ - @backstage/catalog-model@1.1.4
68
+ - @backstage/config@1.0.5
69
+ - @backstage/theme@0.2.16
70
+ - @backstage/plugin-catalog-common@1.0.9
71
+ - @backstage/plugin-scaffolder-common@1.2.3
72
+
3
73
  ## 1.9.0-next.4
4
74
 
5
75
  ### Minor Changes
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@backstage/plugin-scaffolder",
3
- "version": "1.9.0-next.4",
3
+ "version": "1.9.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-8d9b2b59.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-8dc22fc0.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-0d0eab8f.esm.js';
30
+ import { e as extractSchemaFromStep, D as DEFAULT_SCAFFOLDER_FIELD_EXTENSIONS } from './schema-1982362e.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';
@@ -2699,4 +2699,4 @@ const Router = (props) => {
2699
2699
  };
2700
2700
 
2701
2701
  export { Router };
2702
- //# sourceMappingURL=Router-ba37341f.esm.js.map
2702
+ //# sourceMappingURL=Router-f2355b86.esm.js.map