Episode Notes: The Art of Declining a Feature Request

Another set of written notes in a talk-it-through format, with no recording and no invited speakers. Today: the request that is reasonable, politely written, maybe even popular, and still wrong for your package. Every accepted feature becomes public API you must document, test and keep working across releases, so "no" is often the responsible answer. The craft is in how you say it.

Why the default should lean towards no

Think about the long tail. A new option added in a minor release is cheap today. Removing it later is a breaking change under semver, which means a major version, a deprecation period and a migration note. Multiply that by every flag users have asked for and you get a library whose configuration object is larger than its core logic. Small, focused packages tend to age better precisely because their maintainers turned things down.

Write the scope down before you need it

Declining is far easier when you can point to something written in advance. A short "Goals and non-goals" section in the README does a lot of work:

## Non-goals
- Parsing formats other than TOML 1.0
- Writing files to disk (return strings; callers decide where they go)
- Supporting runtimes that have reached end of life

Now a request for YAML support is not a judgment about the requester; it is a reference to a decision made earlier, which feels very different to both sides.

Alternatives to a flat no

Wording that keeps goodwill

We keep returning to a simple structure: thank them, restate the request so they know you understood it, give the reason, offer an alternative, and close the issue. Something like this, as an illustrative example:

Thanks for writing this up so clearly. You'd like the parser to accept YAML too. That's outside what this library aims to do (see Non-goals in the README), mainly because it would roughly double what we maintain. The parse() function accepts a pre-parsed object, so a small wrapper using a YAML library would get you there. Closing for now, but feel free to share a wrapper if you write one.

Notice what is absent: no apology for having limits, no vague "maybe someday" that leaves the issue open for years.

When the pull request already exists

The hardest case is a finished, tested contribution for something you would not have accepted as an idea. Be quick, because every week of silence makes it harder. Acknowledge the effort, explain the scope reason, and suggest the companion-package route if it fits. Then point future contributors to the "ask first" advice in our contribution etiquette guide so fewer people spend time on changes that cannot land.