Skip to content

Commit 2329b1e

Browse files
committed
Merge branch 'main' of https://github.com/SharePoint/sp-dev-docs into main
2 parents 7e8f065 + 8b952ba commit 2329b1e

File tree

2 files changed

+46
-24
lines changed

2 files changed

+46
-24
lines changed

docs/spfx/compatibility.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: SharePoint Framework development tools and libraries compatibility
33
description: Find which versions of the SharePoint Framework are compatible with each version of SharePoint, development tools and libraries.
4-
ms.date: 07/11/2022
4+
ms.date: 08/05/2022
55
ms.localizationpriority: high
66
---
77
# SharePoint Framework development tools and libraries compatibility
@@ -33,6 +33,7 @@ The following table lists SharePoint Framework and compatible versions of common
3333

3434
| SPFx | Node.js (LTS) | NPM | TypeScript | React |
3535
| ------------------------------- | --------------- | ----------------------------------------- | -------------- | ----------- |
36+
| [1.15.2](release-1.15.2.md) | v12, v14, v16 | v5, v6, v7, v8 | v4.5 | v16.13.1 |
3637
| [1.15.0](release-1.15.md) | v12, v14, v16 | v5, v6, v7, v8 | v4.5 | v16.13.1 |
3738
| [1.14.0](release-1.14.md) | v12, v14 | v5, v6 | v3.9 | v16.13.1 |
3839
| [1.13.1](release-1.13.1.md) | v12, v14 | v5, v6 | v3.9 | v16.13.1 |

docs/spfx/release-1.15.md

Lines changed: 44 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
---
22
title: SharePoint Framework v1.15 release notes
33
description: Release notes for the SharePoint Framework v1.15 release
4-
ms.date: 06/21/2022
4+
ms.date: 08/08/2022
55
ms.localizationpriority: high
66
---
77
# SharePoint Framework v1.15 release notes
88

9-
This release introduces updates across the features around Microsoft Viva, Microsoft Teams and SharePoint.
9+
This release introduces updates across the features around Microsoft Viva, Microsoft Teams, and SharePoint.
1010

1111
**Released:** June 21, 2022
1212

@@ -67,7 +67,7 @@ this.context.msGraphClientFactory.getClient('3');
6767

6868
### TypeScript v4 Support
6969

70-
SharePoint Framework solutions now support TypeScript v4.5
70+
SharePoint Framework solutions now support [TypeScript v4.5](https://www.typescriptlang.org/docs/handbook/release-notes/typescript-4-5.html).
7171

7272
### ESLint Support
7373

@@ -117,27 +117,36 @@ Show Location | Not Supported | Supported | Supported
117117

118118
The ___location actions can be configured as shown below:
119119

120-
```typescript
121-
actions: [
120+
```json
121+
"actions": [
122122
{
123-
type: 'VivaAction.GetLocation',
124-
id: 'Get Location',
125-
parameters: {chooseLocationOnMap: true}
126-
}
123+
"type": "VivaAction.GetLocation",
124+
"id": "Get Location",
125+
"title": "Where am I",
126+
"parameters": {
127+
"chooseLocationOnMap": true
128+
}
129+
},
127130
{
128-
type: 'VivaAction.ShowLocation',
129-
id: 'Show Location',
130-
parameters: parameters: {locationCoordinates: {latitude: 40, longitude: 40}}
131+
"type": "VivaAction.ShowLocation",
132+
"id": "Show Location",
133+
"title": "Continue",
134+
"parameters": {
135+
"locationCoordinates": {
136+
"latitude": 40,
137+
"longitude": 40
138+
}
139+
}
131140
}
132141
]
133142
```
134143

135-
The actions will be rendered as below
136-
137-
Location Action:
144+
The actions will be rendered as below:
138145

139146
![Screenshot of ___location action](../images/release-notes/114/___location-action.jpg)
140147

148+
__Location Action:__
149+
141150
The Location Action can be used to get your current ___location, show your current or a custom ___location on a map, and choose your current ___location from a map. In the browser it uses Bing Maps as the mapping interface:
142151

143152
![Screenshot of ___location panel](../images/release-notes/114/___location-panel.jpg)
@@ -159,6 +168,7 @@ interface ICacheSettings {
159168
* Whether cache is enabled. Default: true
160169
*/
161170
isEnabled: boolean;
171+
162172
/**
163173
* Expiry time in seconds. Default: 86400 seconds (24 hours)
164174
*/
@@ -170,6 +180,7 @@ interface ICacheSettings {
170180
*/
171181
cachedCardView?: () => BaseCardView;
172182
}
183+
173184
BaseAdaptiveCardExtension.getCacheSettings(): Partial<ICacheSettings>;
174185
```
175186

@@ -196,6 +207,7 @@ loaded from a cached card view, then `cachedLoadParameters` will be `undefined`.
196207
interface ICachedLoadParameters {
197208
state: TState;
198209
}
210+
199211
BaseAdaptiveCardExtension.onInit(cachedLoadParameters?: ICachedLoadParameters): Promise<void>;
200212
```
201213

@@ -206,7 +218,9 @@ State caching and the cache expiry time can be used to determine when expensive
206218
Caching can help significantly improve the perceived performance for your Adaptive Card Extension.
207219

208220

209-
### Error Handler Method. This method will be invoked when an Action throws an error
221+
### Error Handler Method
222+
223+
This method will be invoked when an Action throws an error.
210224

211225
```typescript
212226
BaseView.onActionError(error: IActionErrorArguments): void
@@ -226,15 +240,22 @@ Select Media | Supported | Supported | Supported
226240

227241
The SelectMedia can be configured as shown below:
228242

229-
```typescript
230-
actions: [
243+
```json
244+
"actions": [
231245
{
232-
type: 'VivaAction.SelectMedia',
233-
id: 'Select File',
234-
parameters: {mediaType: MediaType.Image, allowMultipleCapture: true, maxSizePerFile : 200000, supportedFileFormats: ['jpg']},
235-
title: 'Select File'
246+
"type": "VivaAction.SelectMedia",
247+
"id": "Select Files",
248+
"parameters": {
249+
"mediaType": "MediaType.Image",
250+
"allowMultipleCapture": true,
251+
"maxSizePerFile": 200000,
252+
"supportedFileFormats": [
253+
"jpg"
254+
]
255+
},
256+
"title": "Select Files"
236257
}
237-
]
258+
]
238259
```
239260

240261
Select Media Action rendering:

0 commit comments

Comments
 (0)