Skip to content

refactor(throttle): remove the deprecated Config type - #23

Merged
adamwoolhether merged 1 commit into
mainfrom
ship/drop-throttle-config
Oct 6, 2026
Merged

adamwoolhether merged 1 commit into
mainfrom
ship/drop-throttle-config

Conversation

@adamwoolhether

Copy link
Copy Markdown
Owner

This PR removes the deprecated throttle.Config type that #22 restored.

Changes

  • client/throttle no longer exports Config.
  • No exported API accepts Config, and nothing in the module reads it. In client/v0.0.7, only the unexported client options used it.
  • client/v0.1.0 ships Config as deprecated. The next client release removes it.
  • Breaking for code that names throttle.Config: that code no longer compiles. Such code could only build a Config value, because no function takes one.

- No exported API accepts throttle.Config, and nothing in the module reads it.
- client/v0.1.0 ships Config as deprecated. The next client release removes it.
@adamwoolhether adamwoolhether self-assigned this Oct 6, 2026
@adamwoolhether
adamwoolhether marked this pull request as ready for review October 6, 2026 06:13
@adamwoolhether
adamwoolhether merged commit 5d121c1 into main Oct 6, 2026
6 checks passed
@adamwoolhether
adamwoolhether deleted the ship/drop-throttle-config branch October 6, 2026 06:13
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.

1 participant