Skip to content
This repository was archived by the owner on Jan 19, 2021. It is now read-only.

Commit 2d32061

Browse files
Merge pull request #1567 from erwinvanhunen/dev
May 2018 Intermediate Release 1
2 parents 2e7fb31 + 25099ae commit 2d32061

File tree

3 files changed

+17
-8
lines changed

3 files changed

+17
-8
lines changed

CHANGELOG.md

+11-5
Original file line numberDiff line numberDiff line change
@@ -5,19 +5,25 @@ All notable changes to this project will be documented in this file.
55

66
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/).
77

8-
## [2.27.1806.0] Unreleased
8+
## [2.27.1806.0]
99
### Added
1010

11-
- Added -CollapseSpecification option to Submit-PnPSearchQuery
12-
- Added -InSiteHierarchy to Get-PnPField to search for fields in the site collection
13-
1411
### Changed
15-
- Fix for issue where using Add-PnPFile and setting Created and Modified did not update values
1612

1713
### Deprecated
1814

1915
### Contributors
2016

17+
## [2.26.1805.1]
18+
### Added
19+
20+
- Added -Timeout option to Add-PnPApp
21+
- Added -CollapseSpecification option to Submit-PnPSearchQuery
22+
- Added -InSiteHierarchy to Get-PnPField to search for fields in the site collection
23+
24+
### Changed
25+
- Fix for issue where using Add-PnPFile and setting Created and Modified did not update values
26+
2127
## [2.26.1805.0]
2228
### Added
2329
- Added Enable-PnPPowerShellTelemetry, Disable-PnPPowerShellTelemetry, Get-PnPPowershellTelemetryEnabled

Commands/Apps/AddApp.cs

+4-1
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,9 @@ public class AddApp : PnPCmdlet
4141
[Parameter(Mandatory = false, HelpMessage = "Overwrites the existing app package if it already exists")]
4242
public SwitchParameter Overwrite;
4343

44+
[Parameter(Mandatory = false, HelpMessage = "Specifies the timeout in seconds. Defaults to 200.")]
45+
public int Timeout = 200;
46+
4447
protected override void ExecuteCmdlet()
4548
{
4649
if (!System.IO.Path.IsPathRooted(Path))
@@ -54,7 +57,7 @@ protected override void ExecuteCmdlet()
5457

5558
var manager = new AppManager(ClientContext);
5659

57-
var result = manager.Add(bytes, fileInfo.Name, Overwrite, Scope);
60+
var result = manager.Add(bytes, fileInfo.Name, Overwrite, Scope, timeoutSeconds: Timeout);
5861

5962
try
6063
{

Commands/Properties/AssemblyInfo.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,6 @@
4444
// You can specify all the values or you can default the Build and Revision Numbers
4545
// by using the '*' as shown below:
4646
// [assembly: AssemblyVersion("1.0.*")]
47-
[assembly: AssemblyVersion("2.27.1806.0")]
48-
[assembly: AssemblyFileVersion("2.27.1806.0")]
47+
[assembly: AssemblyVersion("2.26.1805.1")]
48+
[assembly: AssemblyFileVersion("2.26.1805.1")]
4949
[assembly: InternalsVisibleTo("SharePointPnP.PowerShell.Tests")]

0 commit comments

Comments
 (0)