Skip to content

Release/1181.0.0 - #9795

Merged
Bigshmow merged 2 commits into
mainfrom
release/1181.0.0
Aug 5, 2026
Merged

Release/1181.0.0#9795
Bigshmow merged 2 commits into
mainfrom
release/1181.0.0

Conversation

@Bigshmow

@Bigshmow Bigshmow commented Aug 5, 2026

Copy link
Copy Markdown
Contributor

Explanation

Releases @metamask/perps-controller as version 11.0.0 (major bump). This release ships trigger placement order types (stop/take-profit market and limit), partial TP/SL support, several new PERPS_ERROR_CODES entries, and a number of fixes to order validation, position closing, and TP/SL management. The major bump is required because the release includes multiple breaking changes — notably the widened OrderType union, the expanded PerpsErrorCode union, and changes to placeOrder's handling of grouping/tpslLinkage.

References

Checklist

  • I've updated the test suite for new or updated code as appropriate
  • I've updated documentation (JSDoc, Markdown, etc.) for new or updated code as appropriate
  • I've communicated my changes to consumers by updating changelogs for packages I've changed
  • I've introduced breaking changes in this PR and have prepared draft pull requests for clients and consumer packages to resolve them

Note

Low Risk
This PR is version and changelog edits only; trading risk applies to consumers upgrading to perps-controller 11.0.0, not to merging this release metadata.

Overview
This release PR only updates version metadata: the root monorepo goes to 1181.0.0 and @metamask/perps-controller is published at 11.0.0 (major bump). The new [11.0.0] changelog section documents what that release contains—no implementation changes appear in this diff.

Consumers adopting 11.0.0 should treat it as a breaking upgrade: OrderType now includes stop/take-profit market and limit placement types (with triggerPrice and related validation), partial TP/SL sizes and Position.takeProfitOrders / stopLossOrders, provider-agnostic tpslLinkage, additional PERPS_ERROR_CODES (e.g. EXCHANGE_ACCOUNT_NOT_FOUND), and stricter placeOrder TP/SL grouping rules. Client code that narrows OrderType to 'market' | 'limit' or exhaustive-maps PerpsErrorCode must be updated when bumping the dependency.

Reviewed by Cursor Bugbot for commit b7890d2. Bugbot is set up for automated code reviews on this repo. Configure here.

@Bigshmow Bigshmow changed the title Update Release 1181.0.0 Release/1181.0.0 Aug 5, 2026
@Bigshmow
Bigshmow marked this pull request as ready for review August 5, 2026 18:00
@Bigshmow
Bigshmow requested review from a team as code owners August 5, 2026 18:00
@metamask-ci

metamask-ci Bot commented Aug 5, 2026

Copy link
Copy Markdown

✅ No changelog changes needed.

@geositta geositta 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.

Please remove the generated tsconfig.tsbuildinfo file. Otherwise the bump correctly reflects the documented OrderType, PerpsErrorCode, and order validation breaking changes, and the consumer facing changes since 10.0.0 are represented in the changelog.

Comment thread tsconfig.tsbuildinfo Outdated
@Bigshmow
Bigshmow enabled auto-merge August 5, 2026 18:58
@Bigshmow
Bigshmow added this pull request to the merge queue Aug 5, 2026
Merged via the queue into main with commit 665253b Aug 5, 2026
46 checks passed
@Bigshmow
Bigshmow deleted the release/1181.0.0 branch August 5, 2026 19:02
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