@backstage/plugin-scaffolder-backend 1.4.0-next.3 → 1.5.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,91 @@
1
1
  # @backstage/plugin-scaffolder-backend
2
2
 
3
+ ## 1.5.0-next.1
4
+
5
+ ### Minor Changes
6
+
7
+ - c4b452e16a: Starting the implementation of the Wizard page for the `next` scaffolder plugin
8
+
9
+ ### Patch Changes
10
+
11
+ - Updated dependencies
12
+ - @backstage/backend-common@0.15.0-next.1
13
+ - @backstage/integration@1.3.0-next.1
14
+ - @backstage/plugin-catalog-backend@1.3.1-next.1
15
+
16
+ ## 1.5.0-next.0
17
+
18
+ ### Minor Changes
19
+
20
+ - 593dea6710: Add support for Basic Auth for Bitbucket Server.
21
+ - 3b7930b3e5: Add support for Bearer Authorization header / token-based auth at Git commands.
22
+ - 3f1316f1c5: User Bearer Authorization header at Git commands with token-based auth at Bitbucket Server.
23
+ - eeff5046ae: Updated `publish:gitlab:merge-request` action to allow commit updates and deletes
24
+
25
+ ### Patch Changes
26
+
27
+ - fc8a5f797b: Add a `publish:gerrit:review` scaffolder action
28
+ - 014b3b7776: Add missing `res.end()` in scaffolder backend `EventStream` usage
29
+ - Updated dependencies
30
+ - @backstage/backend-common@0.15.0-next.0
31
+ - @backstage/integration@1.3.0-next.0
32
+ - @backstage/backend-plugin-api@0.1.1-next.0
33
+ - @backstage/plugin-catalog-backend@1.3.1-next.0
34
+ - @backstage/plugin-catalog-node@1.0.1-next.0
35
+
36
+ ## 1.4.0
37
+
38
+ ### Minor Changes
39
+
40
+ - e1a08d872c: Added optional assignee parameter for Gitlab Merge Request action
41
+ - dab9bcf2e7: Add `protectEnforceAdmins` as an option to GitHub publish actions
42
+ - 4baf8a4ece: Update GitLab Merge Request Action to allow source branch to be deleted
43
+ - 91c1d12123: Export experimental `scaffolderCatalogExtension` for the new backend system. This export is not considered stable and should not be used in production.
44
+ - d10ccc2ed1: Introduced audit log message when a new scaffolder task is created
45
+ - 2db07887cb: Added two new scaffolder actions: `github:repo:create` and `github:repo:push`
46
+
47
+ ### Patch Changes
48
+
49
+ - ff316b86d8: Add `copyWithoutTemplating` to the fetch template action input. `copyWithoutTemplating` also accepts an array of glob patterns. Contents of matched files or directories are copied without being processed, but paths are subject to rendering.
50
+
51
+ Deprecate `copyWithoutRender` in favor of `copyWithoutTemplating`.
52
+
53
+ - 801d606909: Improve error messaging when passing in malformed auth
54
+ - 089d846962: Fix issues with optional directories and files
55
+ - ea6dcb84a4: Don't resolve symlinks, treat them as binary files and copy them as-is
56
+ - af02f54483: new setUserAsOwner flag for publish:gitlab action
57
+
58
+ The field default is `false`. When true it will use the token configured in the gitlab integration for the matching host, to try and set the user logged in via `repoUrlPicker` `requestUserCredentials` OAuth flow as owner of the repository created in GitLab.
59
+
60
+ - a70869e775: Updated dependency `msw` to `^0.43.0`.
61
+ - 4e9a90e307: Updated dependency `luxon` to `^3.0.0`.
62
+ - 72622d9143: Updated dependency `yaml` to `^2.0.0`.
63
+ - 8006d0f9bf: Updated dependency `msw` to `^0.44.0`.
64
+ - 679b32172e: Updated dependency `knex` to `^2.0.0`.
65
+ - 511f49ee43: Updated dependency `octokit` to `^2.0.0`.
66
+ - 735853353b: Updated dependency `@octokit/webhooks` to `^10.0.0`.
67
+ - e2d7b76f43: Upgrade git-url-parse to 12.0.0.
68
+
69
+ Motivation for upgrade is transitively upgrading parse-url which is vulnerable
70
+ to several CVEs detected by Snyk.
71
+
72
+ - SNYK-JS-PARSEURL-2935944
73
+ - SNYK-JS-PARSEURL-2935947
74
+ - SNYK-JS-PARSEURL-2936249
75
+
76
+ - 945a27fa6a: Add sourcePath option to publish:gerrit action
77
+ - 1764296a68: Allow to create Gerrit project using default owner
78
+ - Updated dependencies
79
+ - @backstage/backend-plugin-api@0.1.0
80
+ - @backstage/plugin-catalog-backend@1.3.0
81
+ - @backstage/backend-common@0.14.1
82
+ - @backstage/catalog-model@1.1.0
83
+ - @backstage/plugin-catalog-node@1.0.0
84
+ - @backstage/integration@1.2.2
85
+ - @backstage/catalog-client@1.0.4
86
+ - @backstage/errors@1.1.0
87
+ - @backstage/plugin-scaffolder-common@1.1.2
88
+
3
89
  ## 1.4.0-next.3
4
90
 
5
91
  ### Minor Changes
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@backstage/plugin-scaffolder-backend",
3
- "version": "1.4.0-next.3",
3
+ "version": "1.5.0-next.1",
4
4
  "main": "../dist/index.cjs.js",
5
5
  "types": "../dist/index.alpha.d.ts"
6
6
  }
@@ -161,7 +161,11 @@ url: string;
161
161
  targetPath?: string | undefined;
162
162
  values: any;
163
163
  templateFileExtension?: string | boolean | undefined;
164
+ /**
165
+ * @deprecated This field is deprecated in favor of copyWithoutTemplating.
166
+ */
164
167
  copyWithoutRender?: string[] | undefined;
168
+ copyWithoutTemplating?: string[] | undefined;
165
169
  cookiecutterCompat?: boolean | undefined;
166
170
  }>;
167
171
 
@@ -299,6 +303,7 @@ repoUrl: string;
299
303
  description?: string | undefined;
300
304
  defaultBranch?: string | undefined;
301
305
  protectDefaultBranch?: boolean | undefined;
306
+ protectEnforceAdmins?: boolean | undefined;
302
307
  gitCommitMessage?: string | undefined;
303
308
  gitAuthorName?: string | undefined;
304
309
  gitAuthorEmail?: string | undefined;
@@ -433,6 +438,23 @@ defaultBranch?: string | undefined;
433
438
  gitCommitMessage?: string | undefined;
434
439
  gitAuthorName?: string | undefined;
435
440
  gitAuthorEmail?: string | undefined;
441
+ sourcePath?: string | undefined;
442
+ }>;
443
+
444
+ /**
445
+ * Creates a new action that creates a Gerrit review
446
+ * @public
447
+ */
448
+ export declare function createPublishGerritReviewAction(options: {
449
+ integrations: ScmIntegrationRegistry;
450
+ config: Config;
451
+ }): TemplateAction< {
452
+ repoUrl: string;
453
+ branch?: string | undefined;
454
+ sourcePath?: string | undefined;
455
+ gitCommitMessage?: string | undefined;
456
+ gitAuthorName?: string | undefined;
457
+ gitAuthorEmail?: string | undefined;
436
458
  }>;
437
459
 
438
460
  /**
@@ -451,6 +473,7 @@ description?: string | undefined;
451
473
  access?: string | undefined;
452
474
  defaultBranch?: string | undefined;
453
475
  protectDefaultBranch?: boolean | undefined;
476
+ protectEnforceAdmins?: boolean | undefined;
454
477
  deleteBranchOnMerge?: boolean | undefined;
455
478
  gitCommitMessage?: string | undefined;
456
479
  gitAuthorName?: string | undefined;
@@ -527,9 +550,11 @@ description: string;
527
550
  branchName: string;
528
551
  targetPath: string;
529
552
  token?: string | undefined;
553
+ commitAction?: "update" | "create" | "delete" | undefined;
530
554
  /** @deprecated Use projectPath instead */
531
555
  projectid?: string | undefined;
532
556
  removeSourceBranch?: boolean | undefined;
557
+ assignee?: string | undefined;
533
558
  }>;
534
559
 
535
560
  /**
@@ -161,7 +161,11 @@ url: string;
161
161
  targetPath?: string | undefined;
162
162
  values: any;
163
163
  templateFileExtension?: string | boolean | undefined;
164
+ /**
165
+ * @deprecated This field is deprecated in favor of copyWithoutTemplating.
166
+ */
164
167
  copyWithoutRender?: string[] | undefined;
168
+ copyWithoutTemplating?: string[] | undefined;
165
169
  cookiecutterCompat?: boolean | undefined;
166
170
  }>;
167
171
 
@@ -299,6 +303,7 @@ repoUrl: string;
299
303
  description?: string | undefined;
300
304
  defaultBranch?: string | undefined;
301
305
  protectDefaultBranch?: boolean | undefined;
306
+ protectEnforceAdmins?: boolean | undefined;
302
307
  gitCommitMessage?: string | undefined;
303
308
  gitAuthorName?: string | undefined;
304
309
  gitAuthorEmail?: string | undefined;
@@ -433,6 +438,23 @@ defaultBranch?: string | undefined;
433
438
  gitCommitMessage?: string | undefined;
434
439
  gitAuthorName?: string | undefined;
435
440
  gitAuthorEmail?: string | undefined;
441
+ sourcePath?: string | undefined;
442
+ }>;
443
+
444
+ /**
445
+ * Creates a new action that creates a Gerrit review
446
+ * @public
447
+ */
448
+ export declare function createPublishGerritReviewAction(options: {
449
+ integrations: ScmIntegrationRegistry;
450
+ config: Config;
451
+ }): TemplateAction< {
452
+ repoUrl: string;
453
+ branch?: string | undefined;
454
+ sourcePath?: string | undefined;
455
+ gitCommitMessage?: string | undefined;
456
+ gitAuthorName?: string | undefined;
457
+ gitAuthorEmail?: string | undefined;
436
458
  }>;
437
459
 
438
460
  /**
@@ -451,6 +473,7 @@ description?: string | undefined;
451
473
  access?: string | undefined;
452
474
  defaultBranch?: string | undefined;
453
475
  protectDefaultBranch?: boolean | undefined;
476
+ protectEnforceAdmins?: boolean | undefined;
454
477
  deleteBranchOnMerge?: boolean | undefined;
455
478
  gitCommitMessage?: string | undefined;
456
479
  gitAuthorName?: string | undefined;
@@ -527,9 +550,11 @@ description: string;
527
550
  branchName: string;
528
551
  targetPath: string;
529
552
  token?: string | undefined;
553
+ commitAction?: "update" | "create" | "delete" | undefined;
530
554
  /** @deprecated Use projectPath instead */
531
555
  projectid?: string | undefined;
532
556
  removeSourceBranch?: boolean | undefined;
557
+ assignee?: string | undefined;
533
558
  }>;
534
559
 
535
560
  /**