Skip to content

Commit

Permalink
7.0.0 release
Browse files Browse the repository at this point in the history
  • Loading branch information
karamem0 committed May 24, 2024
1 parent 2b7d673 commit 48ffa16
Show file tree
Hide file tree
Showing 1,439 changed files with 6,888 additions and 2,168 deletions.
26 changes: 13 additions & 13 deletions .github/workflows/main.yml → .github/workflows/workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,23 +7,23 @@ on:
- v*.*.*

env:
BUILD_VERSION: 5.4.0.${{github.run_number}}
BUILD_VERSION: '7.0.0'

jobs:
build:
runs-on: windows-latest
steps:
- name: Checkout repos
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Setup NuGet
uses: nuget/setup-nuget@v1
uses: nuget/setup-nuget@v2
with:
nuget-api-key: ${{secrets.NUGET_API_KEY}}
nuget-version: 5.x
- name: Setup .NET Core
uses: actions/setup-dotnet@v1
uses: actions/setup-dotnet@v4
with:
dotnet-version: 6.0.x
dotnet-version: 8.0.x
- name: Restore source
run: |
dotnet restore ${{env.TARGET_FILE}}
Expand All @@ -34,8 +34,8 @@ jobs:
dotnet publish ${{env.TARGET_FILE}} `
-c Release `
-p:PublishDir=build `
-p:Version=${{env.BUILD_VERSION}} `
-p:FileVersion=${{env.BUILD_VERSION}}
-p:Version=${{env.BUILD_VERSION}}.${{github.run_number}} `
-p:FileVersion=${{env.BUILD_VERSION}}.${{github.run_number}}
env:
TARGET_FILE: source/Karamem0.SPClientCore/Karamem0.SPClientCore.csproj
- name: Update .config.json file
Expand All @@ -50,19 +50,19 @@ jobs:
shell: pwsh
run: |
$xml = [xml](Get-Content -Path "${{env.TARGET_FILE}}")
$xml.package.metadata.version = "${{env.BUILD_VERSION}}"
$xml.package.metadata.version = "${{env.BUILD_VERSION}}.${{github.run_number}}"
$xml.Save("${{env.TARGET_FILE}}")
env:
TARGET_FILE: source/Karamem0.SPClientCore/build/SPClientCore.nuspec
- name: Update .psd1 file
shell: pwsh
run: |
Import-Module -Name (Resolve-Path -Path "${{env.TARGET_FILE}}")
Update-ModuleManifest -Path "${{env.TARGET_FILE}}" -ModuleVersion "${{env.BUILD_VERSION}}" -CmdletsToExport (Get-Command -Module SPClientCore | %{ $_.Name })
Update-ModuleManifest -Path "${{env.TARGET_FILE}}" -ModuleVersion "${{env.BUILD_VERSION}}.${{github.run_number}}" -CmdletsToExport (Get-Command -Module SPClientCore | %{ $_.Name })
env:
TARGET_FILE: source/Karamem0.SPClientCore/build/SPClientCore.psd1
- name: Upload artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: sp-client-core
path: source/Karamem0.SPClientCore/build
Expand All @@ -72,21 +72,21 @@ jobs:
runs-on: windows-latest
steps:
- name: Download artifact
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: sp-client-core
path: SPClientCore
- name: Archive artifact
shell: pwsh
run: |
Compress-Archive -Path SPClientCore/* -DestinationPath SPClientCore_${{env.BUILD_VERSION}}.zip
Compress-Archive -Path SPClientCore/* -DestinationPath SPClientCore_${{env.BUILD_VERSION}}.${{github.run_number}}.zip
- name: Create release
uses: softprops/action-gh-release@v1
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
with:
files: |
SPClientCore_${{env.BUILD_VERSION}}.zip
SPClientCore_${{env.BUILD_VERSION}}.${{github.run_number}}.zip
- name: Publish to PowerShell Gallery
shell: pwsh
run: |
Expand Down
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
The MIT License (MIT)

Copyright (c) 2023 karamem0
Copyright (c) 2018-2024 karamem0

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion README.ja-jp.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

PowerShell 向けの SharePoint サービス モジュール

[![.github/workflows/main.yml](https://github.com/karamem0/sp-client-core/actions/workflows/main.yml/badge.svg)](https://github.com/karamem0/sp-client-core/actions/workflows/main.yml)
[![.github/workflows/workflow.yml](https://github.com/karamem0/sp-client-core/actions/workflows/workflow.yml/badge.svg)](https://github.com/karamem0/sp-client-core/actions/workflows/workflow.yml)
[![License](https://img.shields.io/github/license/karamem0/sp-client-core.svg)](https://github.com/karamem0/sp-client-core/blob/main/LICENSE)

## インストール
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

SharePoint Service Module for PowerShell

[![.github/workflows/main.yml](https://github.com/karamem0/sp-client-core/actions/workflows/main.yml/badge.svg)](https://github.com/karamem0/sp-client-core/actions/workflows/main.yml)
[![.github/workflows/workflow.yml](https://github.com/karamem0/sp-client-core/actions/workflows/workflow.yml/badge.svg)](https://github.com/karamem0/sp-client-core/actions/workflows/workflow.yml)
[![License](https://img.shields.io/github/license/karamem0/sp-client-core.svg)](https://github.com/karamem0/sp-client-core/blob/main/LICENSE)

## Installation
Expand Down
18 changes: 17 additions & 1 deletion docs/Add-KshAlert.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ Add-KshAlert [-AlertFrequency <AlertFrequency>] [-AlertTemplateName <String>] [-
[-EventType <AlertEventType>] [-EventTypeBitmask <Int32>] [-Filter <String>] -List <List>
[-ListItem <ListItem>]
[-Properties <System.Collections.Generic.IReadOnlyDictionary`2[System.String,System.String]>]
[-Status <AlertStatus>] [-Title <String>] -User <User> [<CommonParameters>]
[-Status <AlertStatus>] [-Title <String>] -User <User> [-ProgressAction <ActionPreference>]
[<CommonParameters>]
```

## DESCRIPTION
Expand Down Expand Up @@ -265,6 +266,21 @@ Accept pipeline input: False
Accept wildcard characters: False
```

### -ProgressAction
{{ Fill ProgressAction Description }}

```yaml
Type: ActionPreference
Parameter Sets: (All)
Aliases: proga

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).

Expand Down
20 changes: 18 additions & 2 deletions docs/Add-KshAnonymousLink.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,13 @@ Creates a new anonymous link.

### ParamSet1
```
Add-KshAnonymousLink -Url <Uri> -IsEditLink <Boolean> [<CommonParameters>]
Add-KshAnonymousLink -Url <Uri> -IsEditLink <Boolean> [-ProgressAction <ActionPreference>] [<CommonParameters>]
```

### ParamSet2
```
Add-KshAnonymousLink -Url <Uri> -IsEditLink <Boolean> -Expiration <DateTime> [<CommonParameters>]
Add-KshAnonymousLink -Url <Uri> -IsEditLink <Boolean> -Expiration <DateTime>
[-ProgressAction <ActionPreference>] [<CommonParameters>]
```

## DESCRIPTION
Expand Down Expand Up @@ -82,6 +83,21 @@ Accept pipeline input: False
Accept wildcard characters: False
```

### -ProgressAction
{{ Fill ProgressAction Description }}

```yaml
Type: ActionPreference
Parameter Sets: (All)
Aliases: proga

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).

Expand Down
23 changes: 20 additions & 3 deletions docs/Add-KshColumnBoolean.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ Add-KshColumnBoolean [-List] <List> [-ClientSideComponentId <String>] [-ClientSi
[-Direction <String>] [-Group <String>] [-Hidden <Boolean>] [-Id <Guid>] [-JSLink <String>] -Name <String>
[-NoCrawl <Boolean>] [-ReadOnly <Boolean>] [-Required <Boolean>] [-StaticName <String>] [-Title <String>]
[-AddToDefaultContentType] [-AddToNoContentType] [-AddToAllContentTypes] [-AddColumnInternalNameHint]
[-AddColumnToDefaultView] [-AddColumnCheckDisplayName] [-AddToDefaultView] [<CommonParameters>]
[-AddColumnToDefaultView] [-AddColumnCheckDisplayName] [-AddToDefaultView]
[-ProgressAction <ActionPreference>] [<CommonParameters>]
```

### ParamSet2
Expand All @@ -29,7 +30,8 @@ Add-KshColumnBoolean [-ClientSideComponentId <String>] [-ClientSideComponentProp
[-Direction <String>] [-Group <String>] [-Hidden <Boolean>] [-Id <Guid>] [-JSLink <String>] -Name <String>
[-NoCrawl <Boolean>] [-ReadOnly <Boolean>] [-Required <Boolean>] [-StaticName <String>] [-Title <String>]
[-AddToDefaultContentType] [-AddToNoContentType] [-AddToAllContentTypes] [-AddColumnInternalNameHint]
[-AddColumnToDefaultView] [-AddColumnCheckDisplayName] [-AddToDefaultView] [<CommonParameters>]
[-AddColumnToDefaultView] [-AddColumnCheckDisplayName] [-AddToDefaultView]
[-ProgressAction <ActionPreference>] [<CommonParameters>]
```

### ParamSet3
Expand All @@ -38,7 +40,7 @@ Add-KshColumnBoolean [-ClientSideComponentId <String>] [-ClientSideComponentProp
[-CustomFormatter <String>] [-DefaultFormula <String>] [-DefaultValue <String>] [-Description <String>]
[-Direction <String>] [-Group <String>] [-Hidden <Boolean>] [-Id <Guid>] [-JSLink <String>] -Name <String>
[-NoCrawl <Boolean>] [-ReadOnly <Boolean>] [-Required <Boolean>] [-StaticName <String>] [-Title <String>]
[-WhatIf] [<CommonParameters>]
[-WhatIf] [-ProgressAction <ActionPreference>] [<CommonParameters>]
```

## DESCRIPTION
Expand Down Expand Up @@ -445,6 +447,21 @@ Accept pipeline input: False
Accept wildcard characters: False
```

### -ProgressAction
{{ Fill ProgressAction Description }}

```yaml
Type: ActionPreference
Parameter Sets: (All)
Aliases: proga

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).

Expand Down
21 changes: 18 additions & 3 deletions docs/Add-KshColumnCalculated.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ Add-KshColumnCalculated [-List] <List> [-ClientSideComponentId <String>]
-Name <String> [-NoCrawl <Boolean>] [-NumberFormat <Int32>] -OutputType <ColumnType>
[-ShowAsPercentage <Boolean>] [-StaticName <String>] [-Title <String>] [-AddToDefaultContentType]
[-AddToNoContentType] [-AddToAllContentTypes] [-AddColumnInternalNameHint] [-AddColumnToDefaultView]
[-AddColumnCheckDisplayName] [-AddToDefaultView] [<CommonParameters>]
[-AddColumnCheckDisplayName] [-AddToDefaultView] [-ProgressAction <ActionPreference>] [<CommonParameters>]
```

### ParamSet2
Expand All @@ -33,7 +33,7 @@ Add-KshColumnCalculated [-ClientSideComponentId <String>] [-ClientSideComponentP
[-NumberFormat <Int32>] -OutputType <ColumnType> [-ShowAsPercentage <Boolean>] [-StaticName <String>]
[-Title <String>] [-AddToDefaultContentType] [-AddToNoContentType] [-AddToAllContentTypes]
[-AddColumnInternalNameHint] [-AddColumnToDefaultView] [-AddColumnCheckDisplayName] [-AddToDefaultView]
[<CommonParameters>]
[-ProgressAction <ActionPreference>] [<CommonParameters>]
```

### ParamSet3
Expand All @@ -43,7 +43,7 @@ Add-KshColumnCalculated [-ClientSideComponentId <String>] [-ClientSideComponentP
[-DateFormat <ColumnDateTimeFormatType>] [-Description <String>] [-Direction <String>] -Formula <String>
[-Group <String>] [-Hidden <Boolean>] [-Id <Guid>] [-JSLink <String>] -Name <String> [-NoCrawl <Boolean>]
[-NumberFormat <Int32>] -OutputType <ColumnType> [-ShowAsPercentage <Boolean>] [-StaticName <String>]
[-Title <String>] [-WhatIf] [<CommonParameters>]
[-Title <String>] [-WhatIf] [-ProgressAction <ActionPreference>] [<CommonParameters>]
```

## DESCRIPTION
Expand Down Expand Up @@ -502,6 +502,21 @@ Accept pipeline input: False
Accept wildcard characters: False
```

### -ProgressAction
{{ Fill ProgressAction Description }}

```yaml
Type: ActionPreference
Parameter Sets: (All)
Aliases: proga

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).

Expand Down
21 changes: 18 additions & 3 deletions docs/Add-KshColumnChoice.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ Add-KshColumnChoice [-List] <List> [-ChoiceFormat <ChoiceFormatType>] [-Choices
[-Indexed <Boolean>] [-JSLink <String>] -Name <String> [-NoCrawl <Boolean>] [-ReadOnly <Boolean>]
[-Required <Boolean>] [-StaticName <String>] [-Title <String>] [-AddToDefaultContentType]
[-AddToNoContentType] [-AddToAllContentTypes] [-AddColumnInternalNameHint] [-AddColumnToDefaultView]
[-AddColumnCheckDisplayName] [-AddToDefaultView] [<CommonParameters>]
[-AddColumnCheckDisplayName] [-AddToDefaultView] [-ProgressAction <ActionPreference>] [<CommonParameters>]
```

### ParamSet2
Expand All @@ -33,7 +33,7 @@ Add-KshColumnChoice [-ChoiceFormat <ChoiceFormatType>] [-Choices <String[]>] [-C
[-JSLink <String>] -Name <String> [-NoCrawl <Boolean>] [-ReadOnly <Boolean>] [-Required <Boolean>]
[-StaticName <String>] [-Title <String>] [-AddToDefaultContentType] [-AddToNoContentType]
[-AddToAllContentTypes] [-AddColumnInternalNameHint] [-AddColumnToDefaultView] [-AddColumnCheckDisplayName]
[-AddToDefaultView] [<CommonParameters>]
[-AddToDefaultView] [-ProgressAction <ActionPreference>] [<CommonParameters>]
```

### ParamSet3
Expand All @@ -43,7 +43,7 @@ Add-KshColumnChoice [-ChoiceFormat <ChoiceFormatType>] [-Choices <String[]>] [-C
[-DefaultValue <String>] [-Description <String>] [-Direction <String>] [-EnforceUniqueValues <Boolean>]
[-FillInChoice <Boolean>] [-Group <String>] [-Hidden <Boolean>] [-Id <Guid>] [-Indexed <Boolean>]
[-JSLink <String>] -Name <String> [-NoCrawl <Boolean>] [-ReadOnly <Boolean>] [-Required <Boolean>]
[-StaticName <String>] [-Title <String>] [-WhatIf] [<CommonParameters>]
[-StaticName <String>] [-Title <String>] [-WhatIf] [-ProgressAction <ActionPreference>] [<CommonParameters>]
```

## DESCRIPTION
Expand Down Expand Up @@ -526,6 +526,21 @@ Accept pipeline input: False
Accept wildcard characters: False
```

### -ProgressAction
{{ Fill ProgressAction Description }}

```yaml
Type: ActionPreference
Parameter Sets: (All)
Aliases: proga

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).

Expand Down
23 changes: 20 additions & 3 deletions docs/Add-KshColumnCurrency.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@ Add-KshColumnCurrency [-List] <List> [-ClientSideComponentId <String>]
[-JSLink <String>] [-MaxValue <Double>] [-MinValue <Double>] -Name <String> [-NoCrawl <Boolean>]
[-NumberFormat <Int32>] [-ReadOnly <Boolean>] [-Required <Boolean>] [-StaticName <String>] [-Title <String>]
[-AddToDefaultContentType] [-AddToNoContentType] [-AddToAllContentTypes] [-AddColumnInternalNameHint]
[-AddColumnToDefaultView] [-AddColumnCheckDisplayName] [-AddToDefaultView] [<CommonParameters>]
[-AddColumnToDefaultView] [-AddColumnCheckDisplayName] [-AddToDefaultView]
[-ProgressAction <ActionPreference>] [<CommonParameters>]
```

### ParamSet2
Expand All @@ -33,7 +34,7 @@ Add-KshColumnCurrency [-ClientSideComponentId <String>] [-ClientSideComponentPro
[-MinValue <Double>] -Name <String> [-NoCrawl <Boolean>] [-NumberFormat <Int32>] [-ReadOnly <Boolean>]
[-Required <Boolean>] [-StaticName <String>] [-Title <String>] [-AddToDefaultContentType]
[-AddToNoContentType] [-AddToAllContentTypes] [-AddColumnInternalNameHint] [-AddColumnToDefaultView]
[-AddColumnCheckDisplayName] [-AddToDefaultView] [<CommonParameters>]
[-AddColumnCheckDisplayName] [-AddToDefaultView] [-ProgressAction <ActionPreference>] [<CommonParameters>]
```

### ParamSet3
Expand All @@ -43,7 +44,8 @@ Add-KshColumnCurrency [-ClientSideComponentId <String>] [-ClientSideComponentPro
[-Description <String>] [-Direction <String>] [-EnforceUniqueValues <Boolean>] [-Group <String>]
[-Hidden <Boolean>] [-Id <Guid>] [-Indexed <Boolean>] [-JSLink <String>] [-MaxValue <Double>]
[-MinValue <Double>] -Name <String> [-NoCrawl <Boolean>] [-NumberFormat <Int32>] [-ReadOnly <Boolean>]
[-Required <Boolean>] [-StaticName <String>] [-Title <String>] [-WhatIf] [<CommonParameters>]
[-Required <Boolean>] [-StaticName <String>] [-Title <String>] [-WhatIf] [-ProgressAction <ActionPreference>]
[<CommonParameters>]
```

## DESCRIPTION
Expand Down Expand Up @@ -541,6 +543,21 @@ Accept pipeline input: False
Accept wildcard characters: False
```

### -ProgressAction
{{ Fill ProgressAction Description }}

```yaml
Type: ActionPreference
Parameter Sets: (All)
Aliases: proga

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).

Expand Down
Loading

0 comments on commit 48ffa16

Please sign in to comment.