Skip to content

Commit 59c7b7c

Browse files
committed
Updating 1.14 release notes with beta5 details
1 parent aaff888 commit 59c7b7c

File tree

1 file changed

+157
-3
lines changed

1 file changed

+157
-3
lines changed

docs/spfx/release-1.14.md

Lines changed: 157 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,17 @@
11
---
22
title: SharePoint Framework v1.14 release notes
33
description: Release notes for the SharePoint Framework v1.14 release
4-
ms.date: 12/08/2021
4+
ms.date: 1/26/2021
55
ms.prod: sharepoint
66
ms.localizationpriority: high
77
---
88
# SharePoint Framework v1.14 release notes
99

10-
We will be releasing multiple public preview release using the **@next** tag in the [NPMJS.org](https://www.npmjs.org) registry before final release candidates and a final public release.
10+
There will be multiple public preview release using the **@next** tag in the [NPMJS.org](https://www.npmjs.org) registry before final release candidates and a final public release.
1111

1212
[!INCLUDE [spfx-release-beta](../../includes/snippets/spfx-release-beta.md)]
1313

14+
- beta.5 **Released:** January 26, 2022
1415
- beta.4 **Released:** December 8, 2021
1516

1617
[!INCLUDE [spfx-release-notes-common](../../includes/snippets/spfx-release-notes-common.md)]
@@ -133,13 +134,138 @@ The default value of `isGroupNameHidden` is false.
133134
- No Framework, and React templates are updated with new end-user friendly UI for SharePoint and Microsoft Teams with theme detection, section background color support and more.
134135
- New "Minimal" template is added: allows to start development with the minimal amount of code provisioned.
135136

137+
### Get Current ViewNavigator for Adaptive Card Extension
138+
139+
```typescript
140+
BaseAdaptiveCardExtension.navigator
141+
```
142+
143+
If the current `renderType` is `Card` then returns `BaseAdaptiveCardExtension.cardNavigator`. If the current `renderType` is `QuickView` then returns `BaseAdaptiveCardExtension.quickViewNavigator`.
144+
145+
#### Error Handler Method. This method will be invoked when an Action throws an error.
146+
147+
```typescript
148+
BaseView.onActionError(error: IActionErrorArguments): void
149+
```
150+
151+
Override this method to handle errors from Adaptive Card actions.
152+
153+
### New Action types for media and geolocation.
154+
155+
> [!NOTE]
156+
> These new actions are **only available in the browser** currently. Viva Connections desktop and Viva Connections mobile support will be enabled later.
157+
158+
```typescript
159+
ISPFxAdaptiveCard.actions?: (
160+
| ISubmitAction
161+
| IOpenUrlAction
162+
| IShowCardAction
163+
| ISelectMediaAction // Raise a file picker or native media picker
164+
| IGetLocationAction // Get a ___location
165+
| IShowLocationAction // Show a ___location on a map
166+
)[];
167+
```
168+
169+
The SelectMedia and Location action can be configured as shown below:
170+
171+
```typescript
172+
actions: [
173+
{
174+
type: 'VivaAction.SelectMedia',
175+
id: 'Select File',
176+
parameters: {mediaType: MediaType.Image, allowMultipleCapture: true, maxSizePerFile : 200000, supportedFileFormats: ['jpg']},
177+
title: 'Select File'
178+
},
179+
{
180+
type: 'VivaAction.GetLocation',
181+
id: 'Get Location',
182+
parameters: {chooseLocationOnMap: true}
183+
}
184+
]
185+
```
186+
187+
### List View Command Set Updates
188+
189+
> [NOTE!]
190+
> Although the APIs are added, the functionality may not be available on some tenants.
191+
192+
#### Inform ListView on Command Set Changes
193+
194+
```typescript
195+
BaseListViewCommandSet.raiseOnChange: () => void
196+
```
197+
198+
Use this method to fire `onChange` event and initialize a reflow of the ListView.
199+
200+
#### Expanded List View Accessor State
201+
202+
`ListViewAccessor` provides expanded state of the current list view. **New** state properties are listed below.
203+
204+
- `rows` - currently rendered rows in the list view.
205+
- `selectedRows` - selected rows in the list view.
206+
- `list` - basic information about the list rendered by the list view.
207+
- `view` - basic information about the view rendered by the list view.
208+
- `folderInfo` - folder information for the list view.
209+
- `appliedFilters` - filters applied to the list view.
210+
- `sortField` - sort field name.
211+
- `sortAscending` - specifies whether the list view is sorted ascending or descending.
212+
213+
#### List View State Changed Event
214+
215+
```typescript
216+
ListViewAccessor.listViewStateChangedEvent: SPEvent<ListViewStateChangedEventArgs>
217+
```
218+
219+
This event gets raised every time the list view state changes. The arguments contain type of occurred event (see `ListViewAccessorStateChanges`) and previous state of the list view (see `IListViewAccessorState`).
220+
221+
### Predefined Web Part Picker Group for Web Parts in Development
222+
223+
```typescript
224+
PredefinedGroup.Local = '8b7bf6f1-a56a-4aa3-8657-7eb6e7e6af61';
225+
```
226+
227+
The group displays locally debugged web parts.
228+
229+
### Call back to Clear DOM Element Before Loading Indicator or Error Element is Displayed
230+
231+
```typescript
232+
IClientSideWebPartStatusRenderer.displayLoadingIndicator(domElement: Element, loadingMessage: string, timeout?: number, clearDomElementCallback?: ClearDomElementCallback): void;
233+
IClientSideWebPartStatusRenderer.renderError(domElement: HTMLElement, error: Error | string, clearDomElementCallback?: ClearDomElementCallback);
234+
```
235+
236+
Use `clearDomElementCallback` to clear the DOM node.
237+
238+
### Changes to Scaffolding Options and Prompts
239+
240+
The next prompts were deprecated in favor to their defaults:
241+
242+
- Solution description
243+
- Environment (SharePoint) version
244+
- Tenant-wide deployment
245+
- Isolated permissions
246+
- Component description
247+
248+
### ipAddress Property in serve.json
249+
250+
New property `ipAddress` has been added to `serve.json` configuration. This parameter is helpful when using Docker containers. For example, to set the serve host as '0.0.0.0'.
251+
This property will be explicitly used to wind up the server, meaning all debug URLs and webpack configurations won't be affected.
252+
253+
136254
### Changes to Scaffolding Options and Prompts
137255

138256
- New prompt for solution description is added.
139257
- "Tenant-wide deployment" prompt is removed. The property is set to `true` by default and can be changed manually or using `skip-feature-deployment` argument.
258+
- The next prompts were deprecated in favor to their defaults:
259+
- Solution description
260+
- Environment (SharePoint) version
261+
- Tenant-wide deployment
262+
- Isolated permissions
263+
- Component description
140264

141265
## Deprecations and removed items in this release
142266

267+
- Deprecated APIs from `@microsoft/sp-listview-extensibility`:
268+
- `BaseListViewCommandSet.onListViewUpdated`
143269
- Deprecated APIs from `@microsoft/sp-core-library`
144270
- `EnvironmentType.Local`
145271
- Removed deprecated APIs from `@microsoft/sp-http`
@@ -151,4 +277,32 @@ The default value of `isGroupNameHidden` is false.
151277
- `IGraphHttpClientOptions`
152278
- Removed preview APIs from `@microsoft/sp-webpart-base`
153279
- `ISDKs.office`
154-
- `IOffice`
280+
- `IOffice`
281+
282+
## Fixed Issues
283+
284+
### November-December Timeframe
285+
286+
- [#5131](https://github.com/SharePoint/sp-dev-docs/issues/5131) - Theme tokens in SCSS files in SPFx 1.10.0 don't work anymore
287+
- [#4808](https://github.com/SharePoint/sp-dev-docs/issues/4808) - SPFX and react-dnd
288+
- [#4587](https://github.com/SharePoint/sp-dev-docs/issues/4587) - Will background sections be supported in ___domain isolated webparts (feature available for spfx 1.8.2 on wards)
289+
- [#4550](https://github.com/SharePoint/sp-dev-docs/issues/4550) - Single Part App Page doesn't prevent navigation when there are unsaved changes
290+
- [#5098](https://github.com/SharePoint/sp-dev-docs/issues/5098) - `this.context.propertyPane.open()` opens within iframe on isolated webparts
291+
- [#5227](https://github.com/SharePoint/sp-dev-docs/issues/5227) - QuickLaunch navigation (for SinglePageWebParts) fails
292+
- [#6779](https://github.com/SharePoint/sp-dev-docs/issues/6779) - Application customizers appear in "Lists" team tab after adding item to the list
293+
- [#5787](https://github.com/SharePoint/sp-dev-docs/issues/5787) - Check Fullmask Permission and the Bitwise JS Limit
294+
- [#872](https://github.com/SharePoint/sp-dev-docs/issues/872) - SPFx: Can't view Install Errors
295+
- [#6253](https://github.com/SharePoint/sp-dev-docs/issues/6253) - `pageContext` does not refresh in app customizers on inline navigation
296+
- [#6102](https://github.com/SharePoint/sp-dev-docs/issues/6102) - Full bleed web part section do not render icons
297+
- [#7536](https://github.com/SharePoint/sp-dev-docs/issues/7536) - ACE Teams Deep Link Not Navigating to Specific Tab
298+
- [#6343](https://github.com/SharePoint/sp-dev-docs/issues/6343) - Preview is not displayed for web part in a single page mode
299+
- [#7079](https://github.com/SharePoint/sp-dev-docs/issues/7079) - `Guid.tryParse()` not working
300+
- [#7558](https://github.com/SharePoint/sp-dev-docs/issues/7558) - Default SPFx v1.13.1 project recommends unnecessary & deprecated VSCode extension
301+
- [#6854](https://github.com/SharePoint/sp-dev-docs/issues/6854) - Calling `clearLoadingIndicator` removes entire WebPart
302+
- [#3219](https://github.com/SharePoint/sp-dev-docs/issues/3219) - Adding Application Customizer to existing Web Part Project causes web parts to not be deployed
303+
- [#3830](https://github.com/SharePoint/sp-dev-docs/issues/3830) - "Specified part does not exist in the package" when provisioning docx in `elementFiles`
304+
- [#3840](https://github.com/SharePoint/sp-dev-docs/issues/3840) - Sorry something went wrong while deploying assets from spfx
305+
- [#4294](https://github.com/SharePoint/sp-dev-docs/issues/4294) - `isGroupNameHidden` excluded from this release type
306+
- [#4680](https://github.com/SharePoint/sp-dev-docs/issues/4680) - SPFx 1.9.1, office-ui-fabric-react and sp-property-pane
307+
- [#6232](https://github.com/SharePoint/sp-dev-docs/issues/6232) - Getting errors about `<div>` cannot be nested in `<p>` when looking at web part data in workbench testing environment
308+
- [#7386](https://github.com/SharePoint/sp-dev-docs/issues/7386) - Build fails when setting `skipFeatureDeployment` to true

0 commit comments

Comments
 (0)