Skip to content

Deprecate storeOptionsAsProperties - #2561

Merged
shadowspawn merged 2 commits into
tj:developfrom
shadowspawn:deprecate-store-options-as-properties
Jul 27, 2026
Merged

Deprecate storeOptionsAsProperties#2561
shadowspawn merged 2 commits into
tj:developfrom
shadowspawn:deprecate-store-options-as-properties

Conversation

@shadowspawn

@shadowspawn shadowspawn commented Jul 26, 2026

Copy link
Copy Markdown
Collaborator

Prompted by suggestions from @43081j to (eventually) reduce size of Commander, I looked at .storeOptionsAsProperties().

Problem

This was added in Commander 7 to ease transition to the new version of Commander by reverting to the old behaviour to run legacy code. The new approach is working well. No need to keep it in main README. Eventually we might drop the behaviour.

Solution

  • Remove it from the README.
  • Document it as deprecated.
  • Flag as deprecated in the TypeScript.

ChangeLog

  • Deprecated: .storeOptionsAsProperties()

@shadowspawn
shadowspawn marked this pull request as ready for review July 26, 2026 23:17
@shadowspawn
shadowspawn merged commit 832e62a into tj:develop Jul 27, 2026
11 checks passed
@shadowspawn
shadowspawn deleted the deprecate-store-options-as-properties branch July 27, 2026 01:22
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.

2 participants