Skip to content

Commit 2a7c0ff

Browse files
committed
SPFx 1.18.1 GA
1 parent 7d63c11 commit 2a7c0ff

File tree

3 files changed

+13
-18
lines changed

3 files changed

+13
-18
lines changed

docs/spfx/release-1.18.1.md

Lines changed: 10 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,14 @@
11
---
2-
title: SharePoint Framework v1.18.1 preview release notes
3-
description: Release notes for the SharePoint Framework v1.18.1 preview release
4-
ms.date: 10/24/2023
2+
title: SharePoint Framework v1.18.1 release notes
3+
description: Release notes for the SharePoint Framework v1.18.1 release
4+
ms.date: 11/07/2023
55
ms.localizationpriority: high
66
---
7-
# SharePoint Framework v1.18.1 preview release notes
7+
# SharePoint Framework v1.18.1 release notes
88

9-
This is a _minor release_ that introduces a new property targeting Adaptive Card Extensions for a better mobile experience.
9+
This is a _minor release_ that introduces a new property targeting Adaptive Card Extensions for a better mobile experience with the Microsot Viva Connections.
1010

11-
[!INCLUDE [spfx-release-beta](../../includes/snippets/spfx-release-beta.md)]
12-
13-
- rc.0 **Released**: October 24, 2023
14-
- beta.0 **Released**: October 10, 2023
11+
**Released:** November 7, 2023
1512

1613
[!INCLUDE [spfx-release-notes-common](../../includes/snippets/spfx-release-notes-common.md)]
1714

@@ -20,7 +17,7 @@ This is a _minor release_ that introduces a new property targeting Adaptive Card
2017
Install the latest release of the SharePoint Framework (SPFx) by including the **@latest** tag:
2118

2219
```console
23-
npm install @microsoft/generator-sharepoint@next --global
20+
npm install @microsoft/generator-sharepoint@latest --global
2421
```
2522

2623
## Upgrading projects from v1.18 to v1.18.1
@@ -36,7 +33,7 @@ In the project's **package.json** file, identify all SPFx packages. For each SPF
3633
1. Install the new v1.18.1 package:
3734

3835
```console
39-
npm install @microsoft/{spfx-package-name}@next --save --save-exact
36+
npm install @microsoft/{spfx-package-name}@latest --save --save-exact
4037
```
4138

4239
[!INCLUDE [spfx-release-upgrade-tip](../../includes/snippets/spfx-release-upgrade-tip.md)]
@@ -45,7 +42,7 @@ In the project's **package.json** file, identify all SPFx packages. For each SPF
4542

4643
### Partial Support for Teams JS SDK in Adaptive Card Extensions (Mobile only)
4744

48-
Developers can access **partial** Teams JS SDK in Adaptive Card Extensions via ACE's context (in the same way as in web parts).
45+
Developers can access **partial** Teams JS SDK in Adaptive Card Extensions via ACE's context (in the same way as in web parts). This enables the Adaptive Card Extensions to reflect the user interface based on the Microsoft Teams mobile theme setting.
4946

5047
```typescript
5148
class AdaptiveCardExtensionContext {
@@ -73,4 +70,4 @@ See more details on the use cases with code samples from the following updated d
7370

7471
## Summary
7572

76-
Version 1.18.1 is expected to be a small release with limited new capabilities. If you find any issues or have other feedback on the provided capabilities, report them at the [SPFx issue list](https://aka.ms/spfx/issues). Thank you for your input advance.
73+
Version 1.18.1 is a small release with a limited new capabilities. If you find any issues or have other feedback on the provided capabilities, report them at the [SPFx issue list](https://aka.ms/spfx/issues). Thank you for your input advance.

docs/spfx/viva/get-started/making-quickview-compatable-darkmode-mobile.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,15 @@
11
---
22
title: Making Quick View compatible with dark mode in mobile devices
33
description: Making Adaptive Card Extension Quick View compatible for both dark and light mode by using different resources for both scenarios.
4-
ms.date: 09/12/2023
4+
ms.date: 11/07/2023
55
ms.localizationpriority: high
66
---
77
# Making Quick View compatible with dark mode in mobile devices
88

99
> [!IMPORTANT]
1010
> The following tutorial is targeted specifically for Quick View in Mobile for Viva Connections iOS and Android.
1111
12-
To adapt to the dark mode release in Viva Connections Mobile, which is scheduled for early Q4 of Calender Year 23, make sure that your card contents look compatible with both light and dark mode.
13-
14-
An API ([context.sdks.microsoftTeams.teamsJs.app.getContext()](/javascript/api/sp-adaptive-card-extension-base/ipartialsdks?view=sp-typescript-latest)) will be available in SPFx 1.18.1 package to get the information about the theme of the mobile app. This helps with using associated assets like images compliant to the theme. If you want to use two different sets of data while keeping the existing view style, follow these steps:
12+
An API ([context.sdks.microsoftTeams.teamsJs.app.getContext()](/javascript/api/sp-adaptive-card-extension-base/ipartialsdks?view=sp-typescript-latest)) is available staring with the SPFx 1.18.1 version, to get the information about the theme of the mobile app. This helps with using associated assets like images compliant to the theme. If you want to use two different sets of data while keeping the existing view style, follow these steps:
1513

1614
- Let’s create a basic card with an image in Quick View. Locate and open the following file: **./src/adaptiveCardExtensions/helloWorld/quickView/template/QuickViewTemplate.json**.
1715
- Replace the contents of this file with the following JSON:

docs/toc.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -466,7 +466,7 @@
466466
items:
467467
- name: Overview
468468
href: spfx/roadmap.md
469-
- name: SPFx v1.18.1 - October 10, 2023
469+
- name: SPFx v1.18.1 - November 7, 2023
470470
href: spfx/release-1.18.1.md
471471
- name: SPFx v1.18 - September 12, 2023
472472
href: spfx/release-1.18.md

0 commit comments

Comments
 (0)