Skip to content

refactor(client): stop disabling Tinyman v1 and deprecate its options - #45

Merged
drichar merged 1 commit into
mainfrom
refactor/drop-tinyman-v1
Nov 11, 2026
Merged

drichar merged 1 commit into
mainfrom
refactor/drop-tinyman-v1

Conversation

@drichar

@drichar drichar commented Nov 11, 2026

Copy link
Copy Markdown
Contributor

The Haystack Router no longer supports Tinyman v1 (its swapper and pools were removed router-side). The router ignores protocol names it doesn't know in disabledProtocols, so the SDK's automatic exclusion of Tinyman already does nothing.

  • fetchQuote no longer adds Tinyman to disabledProtocols. By default the list is now empty.
  • addTransaction and addMethodCall no longer check for a Tinyman v1 route. No quote can contain one now.
  • _allowNonComposableSwaps is ignored and marked @deprecated. It no longer throws with optIn/autoOptIn or in newQuote().
  • DEPRECATED_PROTOCOLS is kept with the same value and marked @deprecated. It is unused.

Both deprecated names stay so this isn't a breaking change. They'll be removed in the next major version.

Also updates the gotcha in .claude/CLAUDE.md and a stale sample route in the node-cli README.

The router no longer supports Tinyman v1, and it ignores unknown names in
disabledProtocols. So fetchQuote() no longer adds Tinyman to that list, and
the composer's Tinyman v1 checks in addTransaction/addMethodCall are gone.

_allowNonComposableSwaps and DEPRECATED_PROTOCOLS are kept, marked
@deprecated, so this isn't a breaking change. The option is ignored and no
longer throws. Both will be removed in the next major version.
@drichar
drichar merged commit 7d4fc88 into main Nov 11, 2026
1 check passed
@drichar
drichar deleted the refactor/drop-tinyman-v1 branch November 11, 2026 18:26
@txnlab-release-bot

Copy link
Copy Markdown
Contributor

🎉 This PR is included in version 3.6.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant