Skip to content

v3.2.0

Choose a tag to compare

@github-actions github-actions released this 05 Aug 18:18
· 20 commits to main since this release
ce91362

Minor Changes

  • 7307139: Finish the McuMtb rename in the value useMtb() returns: mcuConfig,
    setMcuConfig and getMcuColor are now mtbConfig, setMtbConfig and
    getMtbColor.

    The mcu* keys stay on the context value as deprecated aliases holding the very
    same references as their mtb* counterparts, so existing destructuring keeps
    working until the next major.

    - const { setMcuConfig, getMcuColor } = useMtb();
    + const { setMtbConfig, getMtbColor } = useMtb();

    The id of the injected <style> tag stays mcu-styles, since user CSS and
    scripts may target it.