Skip to content

[MISC] Refactor cluster-client methods - #78

Merged
sinclert-canonical merged 3 commits into
mainfrom
sinclert/cluster-client-methods
Sep 4, 2026
Merged

[MISC] Refactor cluster-client methods#78
sinclert-canonical merged 3 commits into
mainfrom
sinclert/cluster-client-methods

Conversation

@sinclert-canonical

Copy link
Copy Markdown
Contributor

This PR proposes a refactor I wanted to done for a while.

It removes the from, into, within and before words from the cluster-client method names. These words were meant to signal when a cluster-client method could be called without failure, but they can fail for any other reason (i.e. lack of cluster quorum), and it is quite uncommon for public API methods to include time prepositions in their names.


This is a backwards incompatible change, we would need to bump the package version to 2.0.0 when releasing.

@sinclert-canonical sinclert-canonical added the not bug or enhancement PR is not 'bug' or 'enhancement'. For release notes label Sep 3, 2026
@sinclert-canonical
sinclert-canonical marked this pull request as ready for review September 3, 2026 09:34

@paulomach paulomach left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good move

@sinclert-canonical
sinclert-canonical merged commit 910affc into main Sep 4, 2026
10 of 13 checks passed
@sinclert-canonical
sinclert-canonical deleted the sinclert/cluster-client-methods branch September 4, 2026 06:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

not bug or enhancement PR is not 'bug' or 'enhancement'. For release notes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants