Skip to content

chore(release): version packages - #80

Merged
saseungmin merged 1 commit into
mainfrom
changeset-release/main
Mar 13, 2026
Merged

chore(release): version packages#80
saseungmin merged 1 commit into
mainfrom
changeset-release/main

Conversation

@github-actions

@github-actions github-actions Bot commented Feb 16, 2026

Copy link
Copy Markdown
Contributor

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.

Releases

@react-native-youtube-bridge/core@2.2.0

Minor Changes

  • #85 65fa568 Thanks @saseungmin! - feat: add muteChange event with subscription-based muted state tracking

    • Add muteChange event for real-time muted state updates.
    • Forward muteChange through core/web/webview/react-native bridge layers.
    • Enable muted-state tracking only while muteChange is subscribed (performance optimization).
    • Keep replay mute-preservation behavior intact.
    • Update the example app to use useYouTubeEvent(player, 'muteChange', false) for muted state.
    • Update README docs (EN/KO, root + package) to document muteChange usage and tracking behavior.
    import {
      YoutubeView,
      useYouTubeEvent,
      useYouTubePlayer,
    } from "react-native-youtube-bridge";
    
    function App() {
      const player = useYouTubePlayer(videoIdOrUrl);
    
      // 1. State-based event listening
      const isMuted = useYouTubeEvent(player, "muteChange", false);
    
      // 2. Callback-based event listening
      useYouTubeEvent(player, "muteChange", (muted) => {
        console.log("Player is muted:", muted);
      });
    
      return <YoutubeView player={player} />;
    }

Patch Changes

  • #81 fd60a82 Thanks @saseungmin! - chore: update tsdown dependency

  • #79 4993ebb Thanks @saseungmin! - chore: reformat code with oxfmt

  • #83 3cad8a0 Thanks @saseungmin! - fix: preserve muted preference when replay starts after video end (#82)

    When a video is configured with muted=true, pressing the YouTube replay button after ENDED could resume playback with sound.
    This patch preserves mute intent across replay by tracking the desired muted state and reapplying mute on ENDED->PLAYING transitions in both inline WebView and core controller paths.
    It also synchronizes desired mute state when mute/unmute is explicitly toggled and updates iframe playerVars typing to include mute for consistency across web and native flows.

react-native-youtube-bridge@2.2.0

Minor Changes

  • #85 65fa568 Thanks @saseungmin! - feat: add muteChange event with subscription-based muted state tracking

    • Add muteChange event for real-time muted state updates.
    • Forward muteChange through core/web/webview/react-native bridge layers.
    • Enable muted-state tracking only while muteChange is subscribed (performance optimization).
    • Keep replay mute-preservation behavior intact.
    • Update the example app to use useYouTubeEvent(player, 'muteChange', false) for muted state.
    • Update README docs (EN/KO, root + package) to document muteChange usage and tracking behavior.
    import {
      YoutubeView,
      useYouTubeEvent,
      useYouTubePlayer,
    } from "react-native-youtube-bridge";
    
    function App() {
      const player = useYouTubePlayer(videoIdOrUrl);
    
      // 1. State-based event listening
      const isMuted = useYouTubeEvent(player, "muteChange", false);
    
      // 2. Callback-based event listening
      useYouTubeEvent(player, "muteChange", (muted) => {
        console.log("Player is muted:", muted);
      });
    
      return <YoutubeView player={player} />;
    }

Patch Changes

  • #79 4993ebb Thanks @saseungmin! - chore: reformat code with oxfmt

  • #83 3cad8a0 Thanks @saseungmin! - fix: preserve muted preference when replay starts after video end (#82)

    When a video is configured with muted=true, pressing the YouTube replay button after ENDED could resume playback with sound.
    This patch preserves mute intent across replay by tracking the desired muted state and reapplying mute on ENDED->PLAYING transitions in both inline WebView and core controller paths.
    It also synchronizes desired mute state when mute/unmute is explicitly toggled and updates iframe playerVars typing to include mute for consistency across web and native flows.

  • #84 a542bcc Thanks @saseungmin! - chore(deps): update dependencies

  • Updated dependencies [65fa568, fd60a82, 4993ebb, 3cad8a0, a542bcc]:

    • @react-native-youtube-bridge/core@2.2.0
    • @react-native-youtube-bridge/react@2.1.5

@react-native-youtube-bridge/web@2.2.0

Minor Changes

  • #85 65fa568 Thanks @saseungmin! - feat: add muteChange event with subscription-based muted state tracking

    • Add muteChange event for real-time muted state updates.
    • Forward muteChange through core/web/webview/react-native bridge layers.
    • Enable muted-state tracking only while muteChange is subscribed (performance optimization).
    • Keep replay mute-preservation behavior intact.
    • Update the example app to use useYouTubeEvent(player, 'muteChange', false) for muted state.
    • Update README docs (EN/KO, root + package) to document muteChange usage and tracking behavior.
    import {
      YoutubeView,
      useYouTubeEvent,
      useYouTubePlayer,
    } from "react-native-youtube-bridge";
    
    function App() {
      const player = useYouTubePlayer(videoIdOrUrl);
    
      // 1. State-based event listening
      const isMuted = useYouTubeEvent(player, "muteChange", false);
    
      // 2. Callback-based event listening
      useYouTubeEvent(player, "muteChange", (muted) => {
        console.log("Player is muted:", muted);
      });
    
      return <YoutubeView player={player} />;
    }

Patch Changes

  • #81 fd60a82 Thanks @saseungmin! - chore: update dependencies, including React, Vite

  • #79 4993ebb Thanks @saseungmin! - chore: reformat code with oxfmt

  • #83 3cad8a0 Thanks @saseungmin! - fix: preserve muted preference when replay starts after video end (#82)

    When a video is configured with muted=true, pressing the YouTube replay button after ENDED could resume playback with sound.
    This patch preserves mute intent across replay by tracking the desired muted state and reapplying mute on ENDED->PLAYING transitions in both inline WebView and core controller paths.
    It also synchronizes desired mute state when mute/unmute is explicitly toggled and updates iframe playerVars typing to include mute for consistency across web and native flows.

  • #84 a542bcc Thanks @saseungmin! - chore(deps): update dependencies

  • Updated dependencies [65fa568, fd60a82, 4993ebb, 3cad8a0, a542bcc]:

    • @react-native-youtube-bridge/core@2.2.0
    • @react-native-youtube-bridge/react@2.1.5

@react-native-youtube-bridge/react@2.1.5

Patch Changes

  • #81 fd60a82 Thanks @saseungmin! - chore: update tsdown dependency

  • #79 4993ebb Thanks @saseungmin! - chore: reformat code with oxfmt

  • #83 3cad8a0 Thanks @saseungmin! - fix: preserve muted preference when replay starts after video end (#82)

    When a video is configured with muted=true, pressing the YouTube replay button after ENDED could resume playback with sound.
    This patch preserves mute intent across replay by tracking the desired muted state and reapplying mute on ENDED->PLAYING transitions in both inline WebView and core controller paths.
    It also synchronizes desired mute state when mute/unmute is explicitly toggled and updates iframe playerVars typing to include mute for consistency across web and native flows.

  • #84 a542bcc Thanks @saseungmin! - chore(deps): update dependencies

  • Updated dependencies [65fa568, fd60a82, 4993ebb, 3cad8a0]:

    • @react-native-youtube-bridge/core@2.2.0

@auto-assign
auto-assign Bot requested a review from saseungmin February 16, 2026 10:46
@github-actions
github-actions Bot force-pushed the changeset-release/main branch from b475173 to 5435857 Compare February 16, 2026 11:12
@github-actions
github-actions Bot force-pushed the changeset-release/main branch 3 times, most recently from 30ed0b5 to 8589cef Compare March 13, 2026 10:35
@github-actions
github-actions Bot force-pushed the changeset-release/main branch from 8589cef to 7071003 Compare March 13, 2026 11:20
@saseungmin
saseungmin merged commit a597528 into main Mar 13, 2026
@saseungmin
saseungmin deleted the changeset-release/main branch March 13, 2026 11:30
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.

1 participant