Skip to content

Commit

Permalink
Updates release notes
Browse files Browse the repository at this point in the history
  • Loading branch information
martinlingstuyl committed May 7, 2024
1 parent c50e1c9 commit a83837a
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
9 changes: 9 additions & 0 deletions docs/docs/about/release-notes.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ sidebar_position: 4

### New commands

**SharePoint:**

- [spo listitem batch remove](../cmd/spo/listitem/listitem-batch-remove.mdx) - removes items from a list in batch [#5688](https://github.com/pnp/cli-microsoft365/issues/5688)

### Changes

- refactored spo util codebase to async/await [#5079](https://github.com/pnp/cli-microsoft365/issues/5079)
Expand All @@ -20,6 +24,11 @@ sidebar_position: 4
- fixed [setup](../cmd/setup.mdx) command for setting wrong config key in interactive mode [#5951](https://github.com/pnp/cli-microsoft365/issues/5951)
- enhanced [entra m365group add](../cmd/entra/m365group/m365group-add.mdx) command by making option 'description' optional [#5930](https://github.com/pnp/cli-microsoft365/issues/5930)
- enhanced [outlook message list](../cmd/outlook/message/message-list.mdx) command extra options [#5872](https://github.com/pnp/cli-microsoft365/issues/5872)
- added more validation output with invalid arrays. [#5834](https://github.com/pnp/cli-microsoft365/issues/5834)
- modified help output in case of errors. [#5341](https://github.com/pnp/cli-microsoft365/issues/5341)
- added appName option to 'entra app permission add/list' commands. [#5786](https://github.com/pnp/cli-microsoft365/issues/5786)
- added interactivity for planner commands. [#5902](https://github.com/pnp/cli-microsoft365/issues/5902)
- removed trailing slashes from 'spo get'

## [v7.7.0](https://github.com/pnp/cli-microsoft365/releases/tag/v7.7.0)

Expand Down
3 changes: 2 additions & 1 deletion src/m365/spo/commands/spo-set.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import auth from '../../../Auth.js';
import { Logger } from '../../../cli/Logger.js';
import GlobalOptions from '../../../GlobalOptions.js';
import { urlUtil } from '../../../utils/urlUtil.js';
import { validation } from '../../../utils/validation.js';
import SpoCommand from '../../base/SpoCommand.js';
import commands from '../commands.js';
Expand Down Expand Up @@ -49,7 +50,7 @@ class SpoSetCommand extends SpoCommand {
}

public async commandAction(logger: Logger, args: CommandArgs): Promise<void> {
auth.connection.spoUrl = args.options.url.replace(/\/+$/, '');
auth.connection.spoUrl = urlUtil.removeTrailingSlashes(args.options.url);

try {
await auth.storeConnectionInfo();
Expand Down

0 comments on commit a83837a

Please sign in to comment.