diff --git a/.changeset/three-papayas-design.md b/.changeset/three-papayas-design.md deleted file mode 100644 index 73220b8..0000000 --- a/.changeset/three-papayas-design.md +++ /dev/null @@ -1,11 +0,0 @@ ---- -"react-native-youtube-bridge": minor ---- - -feat: add flexible source prop to support videoId and URL - -> [!note] -> ❗ BREAKING CHANGE: videoId prop replaced with source prop -> - source accepts string (videoId/URL) or object {videoId} | {url} -> - Add useYouTubeVideoId hook for internal parsing -> - Support multiple YouTube URL formats diff --git a/CHANGELOG.md b/CHANGELOG.md index f6fbb35..76e7ab6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,18 @@ # react-native-youtube-bridge +## 0.3.0 + +### Minor Changes + +- 4925df0: feat: add flexible source prop to support videoId and URL + + > [!note] + > ❗ BREAKING CHANGE: videoId prop replaced with source prop + > + > - source accepts string (videoId/URL) or object {videoId} | {url} + > - Add useYouTubeVideoId hook for internal parsing + > - Support multiple YouTube URL formats + ## 0.2.4 ### Patch Changes diff --git a/package.json b/package.json index 56e2407..65f8ce7 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "react-native-youtube-bridge", - "version": "0.2.4", + "version": "0.3.0", "description": "react-native-youtube", "main": "./lib/module/index.js", "types": "./lib/typescript/src/index.d.ts",