@ichicraft/widgets-widget-base 1.14.2 → 1.14.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/README.md CHANGED
@@ -9,9 +9,12 @@ All notable changes to this project will be documented here.
9
9
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
10
10
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
11
11
 
12
+ ## 1.14.3 - 2025-07-04
13
+ - Added `justification` string property to widget manifest to describe the reasoning behind the need for certain API permisisons
14
+
12
15
  ## 1.14.2 - 2025-07-02
13
16
  - Reverted `@microsoft/sp-http` dependency back to SPFx version `1.18.2` due to postponed upgrade
14
- - Added `isOptional` flag to be used in widget manifests to mark certain API permission requests optional and not have them enforced by Ichicraft Boards
17
+ - Added `isOptional` boolean to widget manifest to allow marking certain API permission requests as optional
15
18
 
16
19
  ## 1.14.1 - 2025-06-17
17
20
  - Reverted module type 'commonjs' for backwards compatibility
@@ -470,9 +470,15 @@ export interface WebApiPermissionRequest {
470
470
  */
471
471
  scope: string;
472
472
  /**
473
- * Optional permission requests will not be enforced by the widget board.
473
+ * This marks an optional API permission. If true, Boards will not throw an error upon
474
+ * rendering when the permission isn't granted.
474
475
  */
475
476
  isOptional?: boolean;
477
+ /**
478
+ * Optional justification for the API permission request. This is used to explain why the permission is needed.
479
+ * It can be used by administrators to understand the purpose of the permission.
480
+ */
481
+ justification?: string;
476
482
  }
477
483
  /**
478
484
  * The widget manifest contains meta information about the widget
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ichicraft/widgets-widget-base",
3
- "version": "1.14.2",
3
+ "version": "1.14.3",
4
4
  "description": "Part of the Widget Development Kit for building widgets for Ichicraft Boards",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",