Skip to content

PR: Sub Issue 3 - UpdateOptions config system + extension points#315

Merged
JusterZhu merged 1 commit into
masterfrom
feature/config-refactor
May 23, 2026
Merged

PR: Sub Issue 3 - UpdateOptions config system + extension points#315
JusterZhu merged 1 commit into
masterfrom
feature/config-refactor

Conversation

@JusterZhu
Copy link
Copy Markdown
Collaborator

Summary

Closes #314

Changes

  • \UpdateOptions\ static class: Convenience accessor wrapping all UpdateOption constants
  • New options added: \UpdateUrl, \AppSecretKey, \AppName, \MaxConcurrency, \RetryCount, \EnableResume, \VerifyChecksum, \ReportUrl, \PermissionScript, etc.
  • Constructor defaults: \PopulateDefaults()\ sets best-practice values at bootstrap creation
  • Extension point infrastructure: .Strategy<T>()\ generic registration + \ResolveExtension<T>()\
  • Fully backward-compatible: Existing \UpdateOption.X\ API unchanged

Build

✅ 0 errors

…constructor defaults

- Add UpdateOptions static class wrapping all UpdateOption constants
- Add new options: UpdateUrl, AppSecretKey, MaxConcurrency, RetryCount, etc.
- Add constructor defaults (PopulateDefaults) for best-practice values
- Add extension point infrastructure (.Strategy<T>, ResolveExtension<T>)
- Fully backward-compatible — existing UpdateOption API unchanged

Closes #314
Copilot AI review requested due to automatic review settings May 23, 2026 23:56
@JusterZhu JusterZhu merged commit 8903447 into master May 23, 2026
1 check failed
@JusterZhu JusterZhu deleted the feature/config-refactor branch May 23, 2026 23:57
@JusterZhu JusterZhu review requested due to automatic review settings May 24, 2026 00:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Sub Issue 3: UpdateOptions config system + extension point API refactor

1 participant