Skip to content

Release 1228.0.0 - #10070

Merged
abretonc7s merged 4 commits into
mainfrom
release/1228.0.0
Sep 2, 2026
Merged

abretonc7s merged 4 commits into
mainfrom
release/1228.0.0

Conversation

@abretonc7s

@abretonc7s abretonc7s commented Sep 2, 2026

Copy link
Copy Markdown
Contributor

Explanation

Minor release of @metamask/perps-controller (15.0.015.1.0).

@metamask/perps-controller@15.1.0

Added

  • Provider-routed Scale price normalization through PerpsController:getScalePriceLadder, the optional PerpsProvider.getScalePriceLadder hook, and exported DirectProviderScalePriceLadderUnavailableReason / ScalePriceLadderUnavailableReason (#10021, #10065)
  • Optional batch-level error on ClosePositionsResult (#10037)
  • PerpsController.subscribeToTwapOrders and the optional PerpsProvider.subscribeToTwapOrders hook for HyperLiquid TWAP streaming (#10056)

Fixed

  • Prevent stale HyperLiquid positions from driving TP/SL, close, batch-close, margin-update, and HIP-3 margin calculations (#10037)
  • Floor TP/SL and reduce-only edit sizes to the venue size grid instead of rounding above the position (#10037)

No breaking changes. No other packages are version-bumped. main is merged in so #10065 is included.

References

Checklist


Note

Low Risk
Release metadata and version pins only; behavioral changes ship in the prior feature PRs referenced by the changelog, not in this diff.

Overview
Monorepo release 1228.0.0 that publishes @metamask/perps-controller@15.1.0 (from 15.0.0). The diff is version bumps plus changelog cutover only—no runtime code in this PR.

The new 15.1.0 changelog section documents already-merged work: Scale price ladder via getScalePriceLadder / provider hook and unavailable-reason types; optional batch error on ClosePositionsResult; TWAP order streaming via subscribeToTwapOrders (HyperLiquid); fixes for stale HyperLiquid position data on TP/SL, close, batch-close, and margin paths; and flooring TP/SL and reduce-only edit sizes to the venue size grid.

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

@abretonc7s
abretonc7s requested a review from a team as a code owner September 2, 2026 03:55
@abretonc7s abretonc7s added the release:keep-open Prevent auto-close of inactive release/* PRs (3h) label Sep 2, 2026
@abretonc7s
abretonc7s requested a review from a team as a code owner September 2, 2026 03:55
@abretonc7s abretonc7s added the release:keep-open Prevent auto-close of inactive release/* PRs (3h) label Sep 2, 2026
@metamask-ci

metamask-ci Bot commented Sep 2, 2026

Copy link
Copy Markdown

✅ No changelog changes needed.

@abretonc7s
abretonc7s enabled auto-merge September 2, 2026 03:58
@abretonc7s
abretonc7s added this pull request to the merge queue Sep 2, 2026
Merged via the queue into main with commit 482df43 Sep 2, 2026
55 checks passed
@abretonc7s
abretonc7s deleted the release/1228.0.0 branch September 2, 2026 05:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

release:keep-open Prevent auto-close of inactive release/* PRs (3h)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants