Skip to content

Commit 45c5546

Browse files
committed
7.4.0 release
1 parent ea928ac commit 45c5546

File tree

376 files changed

+3431
-1384
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

376 files changed

+3431
-1384
lines changed

.github/workflows/build-source.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
name: Build Source
22

3-
on:
4-
workflow_call: {}
3+
on: workflow_call
54

65
permissions: {}
76

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: Deploy to GitHub Packages
2+
3+
on: workflow_call
4+
5+
permissions:
6+
packages: write
7+
8+
jobs:
9+
run:
10+
name: Run
11+
runs-on: ubuntu-latest
12+
steps:
13+
- name: Download artifacts
14+
uses: actions/download-artifact@v4
15+
with:
16+
name: build
17+
path: build/SPClientCore
18+
- name: Publish to GitHub Packages
19+
shell: pwsh
20+
run: |
21+
$username = "${{github.repository_owner}}"
22+
$password = ConvertTo-SecureString "${{secrets.GITHUB_TOKEN}}" -AsPlainText -Force
23+
$credential = New-Object System.Management.Automation.PSCredential -ArgumentList $username, $password
24+
Register-PSRepository `
25+
-Name GitHub `
26+
-SourceLocation "https://nuget.pkg.github.com/${{github.repository_owner}}/index.json" `
27+
-PublishLocation "https://nuget.pkg.github.com/${{github.repository_owner}}/index.json" `
28+
-Credential $credential
29+
Publish-Module `
30+
-Path "${{github.workspace}}/build/SPClientCore" `
31+
-Repository "GitHub" `
32+
-NugetApiKey "${{secrets.GITHUB_TOKEN}}"

.github/workflows/deploy-to-github-release.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
name: Deploy to GitHub Release
22

3-
on:
4-
workflow_call: {}
3+
on: workflow_call
54

65
permissions:
76
contents: write

.github/workflows/deploy-to-powershell-gallery.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
name: Deploy to PowerShell Gallery
22

3-
on:
4-
workflow_call: {}
3+
on: workflow_call
54

65
permissions: {}
76

.github/workflows/test-source.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
name: Test source
22

3-
on:
4-
workflow_call: {}
3+
on: workflow_call
54

65
permissions:
76
checks: write

.github/workflows/trigger-on-develop.yml

Lines changed: 0 additions & 20 deletions
This file was deleted.

.github/workflows/trigger-on-main.yml

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,22 @@ on:
55
branches:
66
- main
77

8-
permissions: {}
8+
permissions:
9+
checks: write
10+
packages: write
911

1012
jobs:
13+
test-source:
14+
name: Test source
15+
uses: ./.github/workflows/test-source.yml
16+
secrets: inherit
1117
build-source:
1218
name: Build source
19+
needs: test-source
1320
uses: ./.github/workflows/build-source.yml
1421
secrets: inherit
22+
deploy-to-github-packages:
23+
name: Deploy to GitHub Packages
24+
needs: build-source
25+
uses: ./.github/workflows/deploy-to-github-packages.yml
26+
secrets: inherit

README.ja-jp.md

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
PowerShell 向けの SharePoint サービス モジュール
66

77
[![.github/workflows/trigger-on-main.yml](https://github.com/karamem0/sp-client-core/actions/workflows/trigger-on-main.yml/badge.svg)](https://github.com/karamem0/sp-client-core/actions/workflows/trigger-on-main.yml)
8-
[![.github/workflows/trigger-on-develop.yml](https://github.com/karamem0/sp-client-core/actions/workflows/trigger-on-develop.yml/badge.svg)](https://github.com/karamem0/sp-client-core/actions/workflows/trigger-on-develop.yml)
8+
[![codecov](https://codecov.io/gh/karamem0/sp-client-core/graph/badge.svg?token=W4W9CALNPA)](https://codecov.io/gh/karamem0/sp-client-core)
99
[![License](https://img.shields.io/github/license/karamem0/sp-client-core.svg)](https://github.com/karamem0/sp-client-core/blob/main/LICENSE)
1010

1111
## インストール
@@ -34,21 +34,22 @@ SPClientCore は Microsoft Entra ID 2.0 認証をサポートします。
3434

3535
- デバイス コード認証
3636
- クライアント クレデンシャル認証
37-
- パスワード認証 (非推奨)
37+
- <s>パスワード認証</s> (廃止)
3838

3939
もしあなたが MFA を有効にしていても異なるデバイスの Web ブラウザーでログインすることができます。MFA を有効にしていないアカウントであれば、ユーザー名とパスワードを使ってログインできます (組織の承認が必要です)。資格情報はキャッシュされるので何度もログインする必要はありません。
4040

4141
## 依存関係
4242

43-
- [Microsoft.ApplicationInsights](https://www.nuget.org/packages/Microsoft.ApplicationInsights/2.21.0) (2.21.0)
44-
- [Microsoft.Extensions.Configuration.Json](https://www.nuget.org/packages/Microsoft.Extensions.Configuration.Json/8.0.0) (8.0.0)
43+
- [Microsoft.ApplicationInsights](https://www.nuget.org/packages/Microsoft.ApplicationInsights/2.22.0) (2.22.0)
44+
- [Microsoft.Extensions.Configuration.Json](https://www.nuget.org/packages/Microsoft.Extensions.Configuration.Json/8.0.1) (8.0.1)
4545
- [Microsoft.Extensions.Configuration.EnvironmentVariables](https://www.nuget.org/packages/Microsoft.Extensions.Configuration.EnvironmentVariables/8.0.0) (8.0.0)
46-
- [Microsoft.Extensions.DependencyInjection](https://www.nuget.org/packages/Microsoft.Extensions.DependencyInjection/8.0.0) (8.0.0)
47-
- [Microsoft.Extensions.DependencyInjection.Abstractions](https://www.nuget.org/packages/Microsoft.Extensions.DependencyInjection.Abstractions/8.0.1) (8.0.1)
46+
- [Microsoft.Extensions.DependencyInjection](https://www.nuget.org/packages/Microsoft.Extensions.DependencyInjection/8.0.1) (8.0.1)
47+
- [Microsoft.Extensions.DependencyInjection.Abstractions](https://www.nuget.org/packages/Microsoft.Extensions.DependencyInjection.Abstractions/8.0.2) (8.0.2)
4848
- [Microsoft.Extensions.Options.ConfigurationExtensions](https://www.nuget.org/packages/Microsoft.Extensions.Options.ConfigurationExtensions/8.0.0) (8.0.0)
49-
- [Microsoft.IdentityModel.JsonWebTokens](https://www.nuget.org/packages/Microsoft.IdentityModel.JsonWebTokens/7.5.0) (8.1.0)
49+
- [Microsoft.IdentityModel.JsonWebTokens](https://www.nuget.org/packages/Microsoft.IdentityModel.JsonWebTokens/8.13.0) (8.13.0)
5050
- [Newtonsoft.Json](https://www.nuget.org/packages/Newtonsoft.Json/13.0.3) (13.0.3)
5151
- [PowerShellStandard.Library](https://www.nuget.org/packages/PowerShellStandard.Library/5.1.1) (5.1.1)
52+
- [System.Memory.Data](https://www.nuget.org/packages/System.Memory.Data/8.0.1) (8.0.1)
5253

5354
## コマンドレット
5455

@@ -103,6 +104,7 @@ SPClientCore は Microsoft Entra ID 2.0 認証をサポートします。
103104
- Add-KshColumnGeolocation
104105
- Add-KshColumnGuid
105106
- Add-KshColumnImage
107+
- Add-KshColumnLocation
106108
- Add-KshColumnLookup
107109
- Add-KshColumnMultiChoice
108110
- Add-KshColumnMultiLineText
@@ -121,6 +123,7 @@ SPClientCore は Microsoft Entra ID 2.0 認証をサポートします。
121123
- Set-KshColumnGeolocation
122124
- Set-KshColumnGuid
123125
- Set-KshColumnImage
126+
- Set-KshColumnLocation
124127
- Set-KshColumnLookup
125128
- Set-KshColumnMultiChoice
126129
- Set-KshColumnMultiLineText
@@ -188,11 +191,13 @@ SPClientCore は Microsoft Entra ID 2.0 認証をサポートします。
188191
- Restore-KshFileVersion
189192
- フォルダー
190193
- Add-KshFolder
194+
- Add-KshFolderColoring
191195
- Copy-KshFolder
192196
- Get-KshFolder
193197
- Move-KshFolder
194198
- Remove-KshFolder
195199
- Set-KshFolder
200+
- Set-KshFolderColoring
196201
- グループ
197202
- Add-KshGroup
198203
- Add-KshGroupMember

README.md

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
SharePoint Service Module for PowerShell
66

77
[![.github/workflows/trigger-on-main.yml](https://github.com/karamem0/sp-client-core/actions/workflows/trigger-on-main.yml/badge.svg)](https://github.com/karamem0/sp-client-core/actions/workflows/trigger-on-main.yml)
8-
[![.github/workflows/trigger-on-develop.yml](https://github.com/karamem0/sp-client-core/actions/workflows/trigger-on-develop.yml/badge.svg)](https://github.com/karamem0/sp-client-core/actions/workflows/trigger-on-develop.yml)
8+
[![codecov](https://codecov.io/gh/karamem0/sp-client-core/graph/badge.svg?token=W4W9CALNPA)](https://codecov.io/gh/karamem0/sp-client-core)
99
[![License](https://img.shields.io/github/license/karamem0/sp-client-core.svg)](https://github.com/karamem0/sp-client-core/blob/main/LICENSE)
1010

1111
## Installation
@@ -34,21 +34,22 @@ SPClientCore supports Microsoft Entra ID 2.0 authentication.
3434

3535
- Device Code Grant
3636
- Client Credential Grant
37-
- Password Grant (NOT RECOMMENDED)
37+
- <s>Password Grant</s> (DEPRECATED)
3838

3939
If you enable MFA, you can log in with a web browser of another device. If you do not enable MFA, you can log in using your user name and password (admin consent is required). You don't need to log in each time because the credentials are cached.
4040

4141
## Dependencies
4242

43-
- [Microsoft.ApplicationInsights](https://www.nuget.org/packages/Microsoft.ApplicationInsights/2.21.0) (2.21.0)
44-
- [Microsoft.Extensions.Configuration.Json](https://www.nuget.org/packages/Microsoft.Extensions.Configuration.Json/8.0.0) (8.0.0)
43+
- [Microsoft.ApplicationInsights](https://www.nuget.org/packages/Microsoft.ApplicationInsights/2.22.0) (2.22.0)
44+
- [Microsoft.Extensions.Configuration.Json](https://www.nuget.org/packages/Microsoft.Extensions.Configuration.Json/8.0.1) (8.0.1)
4545
- [Microsoft.Extensions.Configuration.EnvironmentVariables](https://www.nuget.org/packages/Microsoft.Extensions.Configuration.EnvironmentVariables/8.0.0) (8.0.0)
46-
- [Microsoft.Extensions.DependencyInjection](https://www.nuget.org/packages/Microsoft.Extensions.DependencyInjection/8.0.0) (8.0.0)
47-
- [Microsoft.Extensions.DependencyInjection.Abstractions](https://www.nuget.org/packages/Microsoft.Extensions.DependencyInjection.Abstractions/8.0.1) (8.0.1)
46+
- [Microsoft.Extensions.DependencyInjection](https://www.nuget.org/packages/Microsoft.Extensions.DependencyInjection/8.0.1) (8.0.1)
47+
- [Microsoft.Extensions.DependencyInjection.Abstractions](https://www.nuget.org/packages/Microsoft.Extensions.DependencyInjection.Abstractions/8.0.2) (8.0.2)
4848
- [Microsoft.Extensions.Options.ConfigurationExtensions](https://www.nuget.org/packages/Microsoft.Extensions.Options.ConfigurationExtensions/8.0.0) (8.0.0)
49-
- [Microsoft.IdentityModel.JsonWebTokens](https://www.nuget.org/packages/Microsoft.IdentityModel.JsonWebTokens/7.5.0) (8.1.0)
49+
- [Microsoft.IdentityModel.JsonWebTokens](https://www.nuget.org/packages/Microsoft.IdentityModel.JsonWebTokens/8.13.0) (8.13.0)
5050
- [Newtonsoft.Json](https://www.nuget.org/packages/Newtonsoft.Json/13.0.3) (13.0.3)
5151
- [PowerShellStandard.Library](https://www.nuget.org/packages/PowerShellStandard.Library/5.1.1) (5.1.1)
52+
- [System.Memory.Data](https://www.nuget.org/packages/System.Memory.Data/8.0.1) (8.0.1)
5253

5354
## Cmdlets
5455

@@ -103,6 +104,7 @@ If you enable MFA, you can log in with a web browser of another device. If you d
103104
- Add-KshColumnGeolocation
104105
- Add-KshColumnGuid
105106
- Add-KshColumnImage
107+
- Add-KshColumnLocation
106108
- Add-KshColumnLookup
107109
- Add-KshColumnMultiChoice
108110
- Add-KshColumnMultiLineText
@@ -121,6 +123,7 @@ If you enable MFA, you can log in with a web browser of another device. If you d
121123
- Set-KshColumnGeolocation
122124
- Set-KshColumnGuid
123125
- Set-KshColumnImage
126+
- Set-KshColumnLocation
124127
- Set-KshColumnLookup
125128
- Set-KshColumnMultiChoice
126129
- Set-KshColumnMultiLineText
@@ -188,11 +191,13 @@ If you enable MFA, you can log in with a web browser of another device. If you d
188191
- Restore-KshFileVersion
189192
- Folders
190193
- Add-KshFolder
194+
- Add-KshFolderColoring
191195
- Copy-KshFolder
192196
- Get-KshFolder
193197
- Move-KshFolder
194198
- Remove-KshFolder
195199
- Set-KshFolder
200+
- Set-KshFolderColoring
196201
- Groups
197202
- Add-KshGroup
198203
- Add-KshGroupMember

source/.vscode/tasks.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,15 @@
3232
{
3333
"label": "format",
3434
"type": "shell",
35+
"command": "dotnet",
36+
"args": [
37+
"format"
38+
],
39+
"problemMatcher": []
40+
},
41+
{
42+
"label": "resharper",
43+
"type": "shell",
3544
"command": "jb",
3645
"args": [
3746
"cleanupcode",

0 commit comments

Comments
 (0)