From 16a43dc7af01e03ffe4a13565f33d1c29b6ec616 Mon Sep 17 00:00:00 2001 From: Olivier Bouillet <62574056+freeboub@users.noreply.github.com> Date: Fri, 27 Oct 2023 08:59:46 +0200 Subject: [PATCH] Chore/prepare alpha 9 release (#3320) * chore: add missing PR in changeLog * chore: add a link to previous documentation * fix: add prepare open to build the package prior to release * fix: do not include doc in generated package * chore: include lib in package * chore: fix tsc call which tries to parse docs folder --------- Co-authored-by: olivier --- CHANGELOG.md | 16 ++++++++++++++-- README.md | 3 ++- package.json | 3 ++- tsconfig.json | 2 +- 4 files changed, 19 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2e794cdf..913b866a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,12 +1,24 @@ ## Changelog ## Next -- iOS: Fix audio session category when not using the audioOutput prop + +### Version 6.0.0-alpha.9 - All: add built-in typescript support [#3266](https://github.com/react-native-video/react-native-video/pull/3266) +- All: update documentation generation [#3296](https://github.com/react-native-video/react-native-video/pull/3296) +- **BREAKING CHANGE**❗️Android: update isCodecSupported to return enum [#3254](https://github.com/react-native-video/react-native-video/pull/3254) +- Android: remove kotlin-android-extensions [#3299](https://github.com/react-native-video/react-native-video/pull/3299) +- Android: ensure audio volume is changed in UI thread [3292](https://github.com/react-native-video/react-native-video/pull/3292) +- Android: multiple internal refactor and switch to kotlin +- Android: refactor log management and add an option to increase log verbosity [#3277](https://github.com/react-native-video/react-native-video/pull/3277) +- iOS: Fix audio session category when not using the audioOutput prop +- iOS: implement onPlaybackStateChanged callback [#3307](https://github.com/react-native-video/react-native-video/pull/3307) +- iOS: remove false calls at onPlaybackRateChange [#3306](https://github.com/react-native-video/react-native-video/pull/3306) +- iOS: audio does not work with headphones [#3284](https://github.com/react-native-video/react-native-video/pull/3284) +- iOS: Resuming video ad after closing the in-app browser on iOS [#3275](https://github.com/react-native-video/react-native-video/pull/3275) - iOS, Android: expose playback functions to ref [#3245](https://github.com/react-native-video/react-native-video/pull/3245) +- tvOS: fix build: [#3276](https://github.com/react-native-video/react-native-video/pull/3276) - Windows: fix build error from over-specified SDK version [#3246](https://github.com/react-native-video/react-native-video/pull/3246) - Windows: fix `onError` not being raised [#3247](https://github.com/react-native-video/react-native-video/pull/3247) -- **BREAKING CHANGE**❗️Android: update isCodecSupported to return enum [#3254](https://github.com/react-native-video/react-native-video/pull/3254) ### Version 6.0.0-alpha.8 - All: Playing audio over earpiece [#2887](https://github.com/react-native-video/react-native-video/issues/2887) diff --git a/README.md b/README.md index c67e66b2..f81a2e16 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,8 @@ > **Note:** version 5.2.1 won't have any updates. We are currently working on making a alpha 6.0.0 stable ## Documentation -Documentation is available at [react-native-video.github.io/react-native-video](https://react-native-video.github.io/react-native-video/). +Old version of documentation can be found [here](https://github.com/react-native-video/react-native-video/tree/v6.0.0-alpha.8) +New documentation will be available soon at [react-native-video.github.io/react-native-video](https://react-native-video.github.io/react-native-video/), if you find some issue with new version, don't hesitate to open a ticket! ## Usage diff --git a/package.json b/package.json index 753f633e..394179e6 100644 --- a/package.json +++ b/package.json @@ -38,6 +38,7 @@ "scripts": { "lint": "yarn eslint .", "build": "yarn tsc", + "prepare": "yarn build", "xbasic": "yarn --cwd examples/basic", "docs": "yarn --cwd docs build", "test": "echo no test available" @@ -47,8 +48,8 @@ "ios", "windows", "src", + "lib", "react-native-video.podspec", - "docs", "!android/build", "!android/buildOutput_*", "!android/local.properties", diff --git a/tsconfig.json b/tsconfig.json index 01118ee5..14d2f82f 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -29,5 +29,5 @@ "target": "esnext", "verbatimModuleSyntax": true }, - "exclude": ["examples", "lib"] + "exclude": ["examples", "lib", "docs"] }