Skip to content

Latest commit

 

History

History
52 lines (35 loc) · 2.79 KB

CHANGELOG.md

File metadata and controls

52 lines (35 loc) · 2.79 KB

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

Added

  • Add support for Node.js 26 (#10981)

Changed

  • Bump @metamask/base-controller from ^10.0.0 to ^10.1.0 (#10864)

Changed

  • BREAKING: Drop CommonJS support (#9536)
    • This package is now ESM-only, but can still be used in CommonJS projects via require(esm) in modern Node.js versions (22+), or dynamic imports in older Node.js versions.
  • BREAKING: Bump minimum Node.js version to 22 (#9976)
  • BREAKING: Bump TypeScript target to ES2022 (#10019)
    • This package now ships ES2022 code, requiring a compatible modern environment or bundler configuration to consume.
  • Bump @metamask/messenger from ^1.0.0 to ^3.0.0 (#8364, #8373, #8632, #9392, #10160)
  • Bump @metamask/base-controller from ^9.0.1 to ^10.0.0 (#8457, #10160)

Changed

  • Bump @metamask/base-controller from ^9.0.0 to ^9.0.1 (#8317)
  • Bump @metamask/messenger from ^0.3.0 to ^1.0.0 (#8317)

Added

  • Initial release of @metamask/client-controller (#7808)
    • ClientController for managing client (UI) open/closed state
    • ClientController:setUiOpen messenger action for platform code to call
    • ClientController:stateChange event for controllers to subscribe to lifecycle changes
    • isUiOpen state property (not persisted - always starts as false)
    • clientControllerSelectors.selectIsUiOpen selector for derived state access
    • Full TypeScript support with exported types