Skip to content

Commit

Permalink
Merge pull request #115 from Windos/v0.8.1
Browse files Browse the repository at this point in the history
v0.8.1
  • Loading branch information
Windos authored Sep 17, 2020
2 parents 613c864 + ab02545 commit b03dd65
Show file tree
Hide file tree
Showing 10 changed files with 39 additions and 3 deletions.
10 changes: 8 additions & 2 deletions BurntToast/BurntToast.psd1
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
@{
RootModule = 'BurntToast.psm1'
ModuleVersion = '0.8.0'
ModuleVersion = '0.8.1'
# Can only use CompatiblePSEditions if PowerShellVersion is set to 5.1, not sure about limiting this to that version yet.
# CompatiblePSEditions = @('Desktop')
GUID = '751a2aeb-a68f-422e-a2ea-376bdd81612a'
Expand Down Expand Up @@ -41,7 +41,13 @@
LicenseUri = 'https://github.com/Windos/BurntToast/blob/main/LICENSE'
ProjectUri = 'https://github.com/Windos/BurntToast'
IconUri = 'https://raw.githubusercontent.com/Windos/BurntToast/main/Media/BurntToast-Logo.png'
ReleaseNotes = '# 0.8.0
ReleaseNotes = '# 0.8.1
* Fix: Toast alias removed in 0.8.0 has been restored
* Deprecation: Signalling removal of Shoulder Tap cmdlets in future version, v0.9.0
* Deprecation: Signalling removal of Path parameter from New-BTAudio in future version, v0.9.0. https://github.com/MicrosoftDocs/windows-uwp/issues/1593
# 0.8.0
* Fix: Images from UNC path failing (#111)
* Add: Ability to force a refresh of cached images via IgnoreCache switch on New-BTImage
Expand Down
1 change: 1 addition & 0 deletions BurntToast/Public/New-BTAudio.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@
[Parameter(Mandatory,
ParameterSetName = 'CustomSound')]
[ValidateScript({Test-BTAudioPath $_})]
[Obsolete('Unfortunately, custom sounds no longer work and this parameter will be removed in v0.9.0. See: https://github.com/MicrosoftDocs/windows-uwp/issues/1593')]
[string] $Path,

# Specifies that the slected sound should play multiple times if its duration is shorter than that of the toast it accompanies.
Expand Down
1 change: 1 addition & 0 deletions BurntToast/Public/New-BTShoulderTapBinding.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
https://github.com/Windos/BurntToast/blob/main/Help/New-BTShoulderTapBinding.md
#>

[Obsolete('This cmdlet is being deprecated, it will be removed in v0.9.0')]
[OutputType([Microsoft.Toolkit.Uwp.Notifications.ToastBindingShoulderTap])]
param (
# The image displayed in the Shoulder Tap notification, this object is created using the New-BTShoulderTapImage function.
Expand Down
1 change: 1 addition & 0 deletions BurntToast/Public/New-BTShoulderTapImage.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
https://github.com/Windos/BurntToast/blob/main/Help/New-BTShoulderTapImage.md
#>

[Obsolete('This cmdlet is being deprecated, it will be removed in v0.9.0')]
[CmdletBinding(DefaultParameterSetName = 'Image')]
[OutputType([Microsoft.Toolkit.Uwp.Notifications.ToastShoulderTapImage])]

Expand Down
1 change: 1 addition & 0 deletions BurntToast/Public/New-BTShoulderTapPeople.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
https://github.com/Windos/BurntToast/blob/main/Help/New-BTShoulderTapPeople.md
#>

[Obsolete('This cmdlet is being deprecated, it will be removed in v0.9.0')]
[CmdletBinding(DefaultParameterSetName = 'Email')]
[OutputType([Microsoft.Toolkit.Uwp.Notifications.ToastPeople])]

Expand Down
1 change: 1 addition & 0 deletions BurntToast/Public/New-BurntToastNotification.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@
https://github.com/Windos/BurntToast/blob/main/Help/New-BurntToastNotification.md
#>

[Alias('Toast')]
[CmdletBinding(DefaultParameterSetName = 'Sound',
SupportsShouldProcess = $true)]
param (
Expand Down
3 changes: 2 additions & 1 deletion BurntToast/Public/New-BurntToastShoulderTap.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,8 @@
https://github.com/Windos/BurntToast/blob/main/Help/New-BurntToastShoulderTap.md
#>

[alias('ShoulderTap')]
[Obsolete('This cmdlet is being deprecated, it will be removed in v0.9.0')]
[Alias('ShoulderTap')]
[CmdletBinding(SupportsShouldProcess = $true)]
param (
# The URI of the image. Can be a static image or animated GIF.
Expand Down
10 changes: 10 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
# Full Change Log

- [v0.8.1](https://github.com/Windos/BurntToast/releases/download/v0.8.1/BurntToast.zip)

- Fix: Toast alias removed in 0.8.0 has been restored

- Deprecation: Signalling removal of Shoulder Tap cmdlets in future version, v0.9.0

- Deprecation: Signalling removal of Path parameter from New-BTAudio in future version, v0.9.0.

- https://github.com/MicrosoftDocs/windows-uwp/issues/1593

- [v0.8.0](https://github.com/Windos/BurntToast/releases/download/v0.8.0/BurntToast.zip)

- Fix: Images from UNC path failing ([#111](https://github.com/Windos/BurntToast/issues/111))
Expand Down
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,16 @@ if you using Powershell 6 or later, extract into `$env:userprofile\Documents\Pow

- [Bleeding Edge](https://github.com/Windos/BurntToast/archive/v0.8.1.zip) (Development/Raw Repo)

- [v0.8.1](https://github.com/Windos/BurntToast/releases/download/v0.8.1/BurntToast.zip)

- Fix: Toast alias removed in 0.8.0 has been restored

- Deprecation: Signalling removal of Shoulder Tap cmdlets in future version, v0.9.0

- Deprecation: Signalling removal of Path parameter from New-BTAudio in future version, v0.9.0.

- https://github.com/MicrosoftDocs/windows-uwp/issues/1593

- [v0.8.0](https://github.com/Windos/BurntToast/releases/download/v0.8.0/BurntToast.zip)

- Fix: Images from UNC path failing ([#111](https://github.com/Windos/BurntToast/issues/111))
Expand Down
4 changes: 4 additions & 0 deletions Tests/BurntToast.Tests.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -653,6 +653,10 @@ Describe 'New-BTContent' {
Describe 'New-BurntToastNotification' {
$ImagePath = Resolve-Path -Path $PSScriptRoot\..\BurntToast\Images\BurntToast.png

Context 'has registered alias' {
$Aliases = Get-Alias -Name 'Toast' -ErrorAction SilentlyContinue
$Aliases.Count | Should -BeGreaterThan 0
}
Context 'running without arguments (default toast)' {
Start-Transcript tmp.log
try {
Expand Down

0 comments on commit b03dd65

Please sign in to comment.