Skip to content

Commit

Permalink
!deploy v2.25.1 to resolve #166 and merge #165
Browse files Browse the repository at this point in the history
## 2.25.1

* [PR #165](#165) - _Thanks, [@scv-m](https://github.com/scv-m)!_
  * Updated: `Get-GSCourseParticipant` now supports pipeline input for CourseId to enable piping `Get-GSCourse` into it.
* [Issue #166](#162)
  * Fixed: `Update-GSUser` would fail to update user phones due to incorrect variable name in the Process block, effectively skipping it.
  • Loading branch information
scrthq authored Mar 26, 2019
2 parents 0553e1f + 24835c4 commit ee985f1
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 18 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# Changelog

* [Changelog](#changelog)
* [2.25.1](#2251)
* [2.25.0](#2250)
* [2.24.0](#2240)
* [2.23.2](#2232)
Expand Down Expand Up @@ -78,6 +79,13 @@

***

## 2.25.1

* [PR #165](https://github.com/scrthq/PSGSuite/pull/165) - _Thanks, [@scv-m](https://github.com/scv-m)!_
* Updated: `Get-GSCourseParticipant` now supports pipeline input for CourseId to enable piping `Get-GSCourse` into it.
* [Issue #166](https://github.com/scrthq/PSGSuite/issues/162)
* Fixed: `Update-GSUser` would fail to update user phones due to incorrect variable name in the Process block, effectively skipping it.

## 2.25.0

* [Issue #162](https://github.com/scrthq/PSGSuite/issues/162)
Expand Down
2 changes: 1 addition & 1 deletion PSGSuite/PSGSuite.psd1
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
RootModule = 'PSGSuite.psm1'

# Version number of this module.
ModuleVersion = '2.25.0'
ModuleVersion = '2.25.1'

# ID used to uniquely identify this module
GUID = '9d751152-e83e-40bb-a6db-4c329092aaec'
Expand Down
3 changes: 2 additions & 1 deletion PSGSuite/Public/Classroom/Get-GSCourseParticipant.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,9 @@ function Get-GSCourseParticipant {
[cmdletbinding(DefaultParameterSetName = "List")]
Param
(
[parameter(Mandatory = $true,Position = 0)]
[parameter(Mandatory = $true,Position = 0,ValueFromPipelineByPropertyName)]
[ValidateNotNullOrEmpty()]
[alias('Id')]
[String]
$CourseId,
[parameter(Mandatory = $false,ParameterSetName = "List")]
Expand Down
2 changes: 1 addition & 1 deletion PSGSuite/Public/Users/Update-GSUser.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,7 @@ function Update-GSUser {
}
}
Phones {
if ($null -ne $Relations) {
if ($null -ne $Phones) {
$phoneList = New-Object 'System.Collections.Generic.List`1[Google.Apis.Admin.Directory.directory_v1.Data.UserPhone]'
foreach ($phone in $Phones) {
$phoneList.Add($phone)
Expand Down
21 changes: 6 additions & 15 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -143,18 +143,9 @@ Update-GSSheetValue Export-GSSheet

[Full CHANGELOG here](https://github.com/scrthq/PSGSuite/blob/master/CHANGELOG.md)

#### 2.25.0

* [Issue #162](https://github.com/scrthq/PSGSuite/issues/162)
* Updated: `New-GoogleService` now caches Service objects created during the current session. This means that repeated calls will attempt to use an existing Service object from the cache if present, otherwise it will create the Service as usual.
* Updated: `New-GoogleService` Verbose output. To cut down on verbose noisiness, the following verbose output is set:
* New Service created = `Building ServiceAccountCredential from....`
* First use of existing Service = `Using matching cached service for user....`
* Re-use of existing Service = No verbose output (helps cut down on pipeline verbosity where service re-use is expected)
* Added: `Get-PSGSuiteServiceCache` to get the current Service Cache for inspection.
* [Issue #163](https://github.com/scrthq/PSGSuite/issues/163)
* Added: `Get-GSCalendar` to get the CalendarList of a user.
* Added: `Remove-GSCalendarAcl` to remove Access Control List rules from Google Calendars.
* Miscellaneous
* Improved pipeline support for Gmail `*Message` functions and Calendar functions.
* Added tab completion to `Switch-PSGSuiteConfig` for the ConfigName parameter.
## 2.25.1

* [PR #165](https://github.com/scrthq/PSGSuite/pull/165) - _Thanks, [@scv-m](https://github.com/scv-m)!_
* Updated: `Get-GSCourseParticipant` now supports pipeline input for CourseId to enable piping `Get-GSCourse` into it.
* [Issue #166](https://github.com/scrthq/PSGSuite/issues/162)
* Fixed: `Update-GSUser` would fail to update user phones due to incorrect variable name in the Process block, effectively skipping it.

0 comments on commit ee985f1

Please sign in to comment.