Skip to content

Commit 0ef29dc

Browse files
committed
release: prepare v0.8.0
1 parent 90a48b6 commit 0ef29dc

14 files changed

Lines changed: 92 additions & 30 deletions

File tree

‎.github/workflows/deploy-appinstaller.yml‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ jobs:
4444
shell: pwsh
4545
run: |
4646
if ($env:RELEASE_TAG -notmatch '^v\d+\.\d+\.\d+$') {
47-
throw 'Release tag must look like v0.7.0.'
47+
throw 'Release tag must look like v0.8.0.'
4848
}
4949
$parts = $env:PACKAGE_VERSION.Split('.')
5050
if ($parts.Count -ne 4) {
@@ -83,8 +83,8 @@ jobs:
8383
-ExpectedProcessorArchitecture x64 `
8484
-ExpectedName N0ahTM.AudioPlaybackConnector2 `
8585
-ExpectedPublisher 'CN=AudioPlaybackConnector2' `
86-
-RequiredEntries AudioPlaybackConnector2.exe,AudioPlaybackConnector2.Control.exe `
87-
-UniqueEntries AudioPlaybackConnector2.exe,AudioPlaybackConnector2.Control.exe `
86+
-RequiredEntries AudioPlaybackConnector2.exe,AudioPlaybackConnector2.Control/AudioPlaybackConnector2.Control.exe `
87+
-UniqueEntries AudioPlaybackConnector2.exe,AudioPlaybackConnector2.Control/AudioPlaybackConnector2.Control.exe `
8888
-RequireSignature
8989
"PATH=$($packages[0].FullName)" >> $env:GITHUB_OUTPUT
9090
"NAME=$($packages[0].Name)" >> $env:GITHUB_OUTPUT

‎.github/workflows/release-dry-run.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -147,8 +147,8 @@ jobs:
147147
-ExpectedProcessorArchitecture x64
148148
-ExpectedName N0ahTM.AudioPlaybackConnector2
149149
-ExpectedPublisher 'CN=AudioPlaybackConnector2'
150-
-RequiredEntries AudioPlaybackConnector2.exe,AudioPlaybackConnector2.Control.exe
151-
-UniqueEntries AudioPlaybackConnector2.exe,AudioPlaybackConnector2.Control.exe
150+
-RequiredEntries AudioPlaybackConnector2.exe,AudioPlaybackConnector2.Control/AudioPlaybackConnector2.Control.exe
151+
-UniqueEntries AudioPlaybackConnector2.exe,AudioPlaybackConnector2.Control/AudioPlaybackConnector2.Control.exe
152152
-RequireSignature
153153
-WriteGitHubOutput
154154

‎.github/workflows/release.yml‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77
workflow_dispatch:
88
inputs:
99
tag:
10-
description: Existing release tag to publish, for example v0.7.0.
10+
description: Existing release tag to publish, for example v0.8.0.
1111
required: true
1212
type: string
1313

@@ -47,7 +47,7 @@ jobs:
4747
$env:REF_NAME
4848
}
4949
if ($tag -notmatch '^v\d+\.\d+\.\d+$') {
50-
throw "Release tag must look like v0.7.0."
50+
throw "Release tag must look like v0.8.0."
5151
}
5252
5353
$semver = $tag.TrimStart('v')
@@ -140,8 +140,8 @@ jobs:
140140
-ExpectedProcessorArchitecture x64
141141
-ExpectedName N0ahTM.AudioPlaybackConnector2
142142
-ExpectedPublisher 'CN=AudioPlaybackConnector2'
143-
-RequiredEntries AudioPlaybackConnector2.exe,AudioPlaybackConnector2.Control.exe
144-
-UniqueEntries AudioPlaybackConnector2.exe,AudioPlaybackConnector2.Control.exe
143+
-RequiredEntries AudioPlaybackConnector2.exe,AudioPlaybackConnector2.Control/AudioPlaybackConnector2.Control.exe
144+
-UniqueEntries AudioPlaybackConnector2.exe,AudioPlaybackConnector2.Control/AudioPlaybackConnector2.Control.exe
145145
-RequireSignature
146146
-WriteGitHubOutput
147147

‎AudioPlaybackConnector2 (Package)/Package.appxmanifest‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<Package xmlns="http://schemas.microsoft.com/appx/manifest/foundation/windows10" xmlns:uap="http://schemas.microsoft.com/appx/manifest/uap/windows10" xmlns:uap3="http://schemas.microsoft.com/appx/manifest/uap/windows10/3" xmlns:rescap="http://schemas.microsoft.com/appx/manifest/foundation/windows10/restrictedcapabilities" xmlns:desktop="http://schemas.microsoft.com/appx/manifest/desktop/windows10" xmlns:com="http://schemas.microsoft.com/appx/manifest/com/windows10" IgnorableNamespaces="uap uap3 rescap desktop com">
3-
<Identity Name="N0ahTM.AudioPlaybackConnector2" Publisher="CN=AudioPlaybackConnector2" Version="0.7.0.0" />
3+
<Identity Name="N0ahTM.AudioPlaybackConnector2" Publisher="CN=AudioPlaybackConnector2" Version="0.8.0.0" />
44
<Properties>
55
<DisplayName>AudioPlaybackConnector2</DisplayName>
66
<PublisherDisplayName>Noah Meyer</PublisherDisplayName>

‎AudioPlaybackConnector2.CoreTests/AudioPlaybackConnector2.CoreTests.vcxproj‎

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@
55
<Configuration>Debug</Configuration>
66
<Platform>x86</Platform>
77
</ProjectConfiguration>
8+
<ProjectConfiguration Include="Debug|Win32">
9+
<Configuration>Debug</Configuration>
10+
<Platform>Win32</Platform>
11+
</ProjectConfiguration>
812
<ProjectConfiguration Include="Debug|x64">
913
<Configuration>Debug</Configuration>
1014
<Platform>x64</Platform>
@@ -17,6 +21,10 @@
1721
<Configuration>Release</Configuration>
1822
<Platform>x86</Platform>
1923
</ProjectConfiguration>
24+
<ProjectConfiguration Include="Release|Win32">
25+
<Configuration>Release</Configuration>
26+
<Platform>Win32</Platform>
27+
</ProjectConfiguration>
2028
<ProjectConfiguration Include="Release|x64">
2129
<Configuration>Release</Configuration>
2230
<Platform>x64</Platform>

‎AudioPlaybackConnector2.CoreTests/src/UpdateCoordinatorTests.cpp‎

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
#include <barrier>
77
#include <condition_variable>
88
#include <iostream>
9+
#include <memory>
910
#include <mutex>
1011
#include <stdexcept>
1112
#include <string_view>
@@ -118,6 +119,10 @@ AwaitCheck(std::shared_ptr<UpdateCoordinator> coordinator, UpdateCheckReason rea
118119
result = co_await coordinator->CheckForUpdatesAsync(reason);
119120
}
120121

122+
winrt::Windows::Foundation::IAsyncAction AwaitCheckTask(UpdateCheckTask task, UpdateCheckResult& result) {
123+
result = co_await task;
124+
}
125+
121126
winrt::Windows::Foundation::IAsyncAction AwaitAutomaticWindow(std::shared_ptr<UpdateCoordinator> coordinator,
122127
bool& result) {
123128
result = co_await coordinator->WaitForAutomaticCheckWindowAsync(1h);
@@ -226,6 +231,25 @@ void TestShutdownWakesEveryAutomaticWindowWaiter() {
226231
"shutdown must wake and cancel every automatic-window waiter");
227232
}
228233

234+
void TestCheckRetainsCoordinatorUntilCompletion() {
235+
auto backend = std::make_shared<FakeUpdateBackend>();
236+
auto coordinator = MakeCoordinator(backend);
237+
std::weak_ptr<UpdateCoordinator> weakCoordinator = coordinator;
238+
UpdateCheckResult result;
239+
{
240+
auto action = AwaitCheckTask(coordinator->CheckForUpdatesAsync(UpdateCheckReason::Manual), result);
241+
Check(backend->WaitForCalls(1), "lifetime check must start its backend flight");
242+
243+
coordinator.reset();
244+
Check(!weakCoordinator.expired(), "an active update check must retain its coordinator");
245+
backend->Release(0);
246+
action.get();
247+
248+
Check(result.Status == UpdateCheckStatus::UpToDate, "the retained update check must complete normally");
249+
}
250+
Check(weakCoordinator.expired(), "the coordinator must be released after its final update check completes");
251+
}
252+
229253
void TestParallelSingleFlightStress() {
230254
constexpr size_t callerCount = 32;
231255
auto backend = std::make_shared<FakeUpdateBackend>();
@@ -277,6 +301,7 @@ int RunUpdateCoordinatorTests() {
277301
TestStableAutomaticWindowDeterministically();
278302
TestShutdownAndLateCompletion();
279303
TestShutdownWakesEveryAutomaticWindowWaiter();
304+
TestCheckRetainsCoordinatorUntilCompletion();
280305
TestParallelSingleFlightStress();
281306
winrt::uninit_apartment();
282307
return g_failures;

‎AudioPlaybackConnector2/res/AudioPlaybackConnector2.rc‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88
LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL
99

1010
VS_VERSION_INFO VERSIONINFO
11-
FILEVERSION 0,7,0,0
12-
PRODUCTVERSION 0,7,0,0
11+
FILEVERSION 0,8,0,0
12+
PRODUCTVERSION 0,8,0,0
1313
FILEFLAGSMASK 0x3fL
1414
#ifdef _DEBUG
1515
FILEFLAGS 0x1L
@@ -26,12 +26,12 @@ BEGIN
2626
BEGIN
2727
VALUE "CompanyName", "Noah Meyer"
2828
VALUE "FileDescription", "AudioPlaybackConnector2"
29-
VALUE "FileVersion", "0.7.0.0"
29+
VALUE "FileVersion", "0.8.0.0"
3030
VALUE "InternalName", "AudioPlaybackConnector2.exe"
3131
VALUE "LegalCopyright", "Copyright (C) 2026 Noah Meyer"
3232
VALUE "OriginalFilename", "AudioPlaybackConnector2.exe"
3333
VALUE "ProductName", "AudioPlaybackConnector2"
34-
VALUE "ProductVersion", "0.7.0.0"
34+
VALUE "ProductVersion", "0.8.0.0"
3535
END
3636
END
3737
BLOCK "VarFileInfo"

‎AudioPlaybackConnector2/src/core/DeviceManager.cpp‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -712,6 +712,9 @@ void DeviceManager::DisconnectAll() {
712712
{
713713
auto guard = m_lock.lock_exclusive();
714714
if (m_shutdownForProcessExit || m_powerTransitionSuspended) return;
715+
for (auto& id : m_reconnectController.PendingDeviceIds()) {
716+
affectedIds.insert(std::move(id));
717+
}
715718
m_reconnectController.CancelPendingReconnects();
716719
m_userActionCascadeIds.clear();
717720
for (auto const& operation : m_deviceOperations.Snapshot()) {

‎AudioPlaybackConnector2/src/services/UpdateCoordinator.cpp‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ UpdateCoordinator::~UpdateCoordinator() {
4949
}
5050

5151
UpdateCheckTask UpdateCoordinator::CheckForUpdatesAsync(UpdateCheckReason reason) {
52+
auto lifetime = shared_from_this();
5253
while (true) {
5354
std::shared_ptr<Flight> flight;
5455
std::optional<UpdateCheckResult> immediateResult;
@@ -184,9 +185,10 @@ void UpdateCoordinator::Shutdown() noexcept {
184185
}
185186

186187
winrt::fire_and_forget UpdateCoordinator::RunFlightAsync(std::shared_ptr<Flight> flight) {
188+
std::shared_ptr<UpdateCoordinator> lifetime;
187189
UpdateCheckResult result;
188190
try {
189-
auto lifetime = shared_from_this();
191+
lifetime = shared_from_this();
190192
result = co_await m_checkOperation(flight->StopSource.get_token());
191193
} catch (winrt::hresult_error const& ex) {
192194
try {

‎CHANGELOG.md‎

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,26 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
## [0.8.0] - 2026-08-16
11+
12+
### Added
13+
- Added support for phone-initiated A2DP playback connections.
14+
- Added adaptive Windows resource-pressure monitoring so picker residency, UI preloading, polling, and background work respond to memory, activity, and energy constraints.
15+
- Added a native core runtime boundary, broad regression coverage, and reproducible resource-usage and picker-latency benchmark tooling.
16+
17+
### Changed
18+
- Restored a hardened single-process architecture while keeping XAML dependencies out of the reusable core runtime.
19+
- Made the device picker and tray paths faster through cached native snapshots, coalesced refreshes, and reduced invisible or unchanged UI work.
20+
- Reduced background overhead by deferring settings persistence, diagnostics collection, and automatic update work, and by removing diagnostic-only connection heartbeats.
21+
- Hardened command IPC with authenticated same-user endpoints, bounded concurrency and request retention, strict payload validation, and deterministic shutdown.
22+
23+
### Fixed
24+
- Fixed connection, discovery, reconnect, suspend/resume, and shutdown races, including stale connection identities and failed coroutine launches.
25+
- Fixed settings-window, tray-menu, startup-task, notification, and update-check lifecycle failures during partial initialization or teardown.
26+
- Fixed an update-check coroutine lifetime issue that could access a destroyed coordinator, and bounded stale Stream Deck status and visual-generation state.
27+
- Fixed disconnect-all handling for devices with pending reconnects and improved reconnect-all failure reporting.
28+
- Hardened settings persistence, diagnostic retention, release packaging, signed payload verification, and App Installer feed publication.
29+
1030
## [0.7.0] - 2026-07-19
1131

1232
### Added

0 commit comments

Comments
 (0)