From 15167293dc17e8f8163721b40417292343c1e8cd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adam=20W=C3=B3jcik?= Date: Sun, 1 Sep 2024 02:53:52 +0200 Subject: [PATCH] Updates version to v9.0.0 --- docs/docs/about/release-notes.mdx | 4 ++-- docs/docs/v9-upgrade-guidance.mdx | 13 +++++++++++++ docs/src/config/sidebars.ts | 1 + npm-shrinkwrap.json | 4 ++-- package.json | 2 +- 5 files changed, 19 insertions(+), 5 deletions(-) create mode 100644 docs/docs/v9-upgrade-guidance.mdx diff --git a/docs/docs/about/release-notes.mdx b/docs/docs/about/release-notes.mdx index b16d8310c1f..aafad41b7a0 100644 --- a/docs/docs/about/release-notes.mdx +++ b/docs/docs/about/release-notes.mdx @@ -4,7 +4,7 @@ sidebar_position: 3 # Release notes -## v8.1.0 (beta) +## v9.0.0 (beta) ### New commands @@ -48,7 +48,7 @@ sidebar_position: 3 - fixed bug when parsing number arguments [#6211](https://github.com/pnp/cli-microsoft365/issues/6211) - fixed command [teams meeting list](../cmd/teams/meeting/meeting-list.mdx) [#5968](https://github.com/pnp/cli-microsoft365/issues/5968) - fixed prompting for missing required options in ZOD commands [#6219](https://github.com/pnp/cli-microsoft365/issues/6219) -- extends setup with a custom Entra app +- extended setup with a custom Entra app ## [v8.0.0](https://github.com/pnp/cli-microsoft365/releases/tag/v8.0.0) diff --git a/docs/docs/v9-upgrade-guidance.mdx b/docs/docs/v9-upgrade-guidance.mdx new file mode 100644 index 00000000000..fed8aae99b5 --- /dev/null +++ b/docs/docs/v9-upgrade-guidance.mdx @@ -0,0 +1,13 @@ +# v9 Upgrade Guidance + +The v9 of CLI for Microsoft 365 introduces breaking change in default login method. To help you upgrade to the latest version of CLI for Microsoft 365, we've listed this change along with any actions you may need to take. + +## CLI + +### Updated login command default behavior + +When running `m365 login` CLI will now first check if you defined the `appId` which is now required to your own single tenant Entra app registration. + +#### What action do I need to take? + +`appId` may be defined in several ways: as an option passed to the `login` command, as a `clientId` CLI setting, or as an environment variable. If you have not defined the `appId` in any of these ways, you will need to do so to continue using the CLI in your scripts. diff --git a/docs/src/config/sidebars.ts b/docs/src/config/sidebars.ts index e0b1e70e70e..21f3abd27dd 100644 --- a/docs/src/config/sidebars.ts +++ b/docs/src/config/sidebars.ts @@ -3,6 +3,7 @@ import type { SidebarsConfig } from '@docusaurus/plugin-content-docs'; const sidebars: SidebarsConfig = { home: [ 'index', + 'v9-upgrade-guidance', 'v8-upgrade-guidance', 'v7-upgrade-guidance', 'v6-upgrade-guidance', diff --git a/npm-shrinkwrap.json b/npm-shrinkwrap.json index 132da7c9b4f..a86107a1330 100644 --- a/npm-shrinkwrap.json +++ b/npm-shrinkwrap.json @@ -1,12 +1,12 @@ { "name": "@pnp/cli-microsoft365", - "version": "8.1.0", + "version": "9.0.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@pnp/cli-microsoft365", - "version": "8.1.0", + "version": "9.0.0", "license": "MIT", "dependencies": { "@azure/msal-common": "^14.14.0", diff --git a/package.json b/package.json index 7f28a89ce63..74b1c1e1763 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@pnp/cli-microsoft365", - "version": "8.1.0", + "version": "9.0.0", "description": "Manage Microsoft 365 and SharePoint Framework projects on any platform", "license": "MIT", "main": "./dist/api.js",