Skip to content

Latest commit

 

History

History
445 lines (256 loc) · 25.8 KB

CHANGELOG.md

File metadata and controls

445 lines (256 loc) · 25.8 KB

Changelog

Unpublished

🛠 Breaking changes

🎉 New features

🐛 Bug fixes

💡 Others

13.10.0 — 2023-12-12

🐛 Bug fixes

💡 Others

  • Bump C++ compiler setting to C++20. (#25548 by @kudo)

13.9.0 — 2023-11-14

🛠 Breaking changes

🐛 Bug fixes

  • Fix audio recording resetting when receiving a phone call. (#25054 by @behenate)
  • Fix iOS naturalSize.orientation in prop onReadyForDisplay for hls stream (#25169 by @souzaluiz)

💡 Others

  • Use pointerEvent style instead of prop for video component on web. (#24931 by @EvanBacon)
  • Remove deprecated REACT_NATIVE_OVERRIDE_VERSION for React Native nightly testing. (#25151 by @kudo)
  • Removed backward compatible code for deprecated SDKs. (#25154 by @kudo)

13.8.0 — 2023-10-17

🛠 Breaking changes

🐛 Bug fixes

💡 Others

  • Ship untranspiled JSX to support custom handling of jsx and createElement. (#24889 by @EvanBacon)

13.7.0 — 2023-09-15

🐛 Bug fixes

  • [ios] Fixed the LOW_QUALITY preset producing large audio files. (#24323 by @behenate)

13.6.0 — 2023-09-04

🎉 New features

  • Added support for React Native 0.73. (#24018 by @kudo)

🐛 Bug fixes

  • Fixed recording status not being reset when recording is paused before being stopping. (#21747) (#23816 by @mojavad)
  • Prevent audio from other apps being stopped when users app is backgrounded. (#24198 by @alanhughes)

💡 Others

13.5.1 — 2023-08-02

This version does not introduce any user-facing changes.

13.5.0 — 2023-07-28

This version does not introduce any user-facing changes.

13.4.0 — 2023-06-21

🐛 Bug fixes

13.3.0 — 2023-05-08

This version does not introduce any user-facing changes.

13.2.1 — 2023-02-09

This version does not introduce any user-facing changes.

13.2.0 — 2023-02-03

🐛 Bug fixes

  • Fixed HTMLMediaElement.play and HTMLMediaElement.pause calls on the Web aren't properly awaited. (#20439) by @zhigang1992
  • Added support for React Native 0.71.x. (#20799 #20832 by @kudo)
  • Fixed JSI audio sampling buffer issues when using SimpleExoPlayer implementation on Android. (#21055 by @kudo)
  • Fixed compatibility with build-time React Native Web styling libraries. Removed StyleSheet.flatten. (#21236) by @intergalacticspacehighway

💡 Others

  • On Android bump compileSdkVersion and targetSdkVersion to 33. (#20721 by @lukmccall)

13.1.0 — 2022-12-30

🐛 Bug fixes

  • Fixed build errors when testing on React Native nightly builds. (#19805 by @kudo)
  • Fixed crashes when ProGuard or R8 is enabled on Android. (#20197 by @lukmccall)
  • Added React Native 0.71 support. (#20470 by @kudo)

13.0.2 - 2022-11-29

🐛 Bug fixes

  • Fixed error for duplicated META-INF files when building on Android. (#20251 by @kudo)

13.0.1 — 2022-10-30

🎉 New features

  • Added PosterComponent prop to Video component. (#19625 by @youedd

13.0.0 — 2022-10-25

This version does not introduce any user-facing changes.

13.0.0-beta.1 — 2022-10-06

🛠 Breaking changes

  • Bumped iOS deployment target to 13.0 and deprecated support for iOS 12. (#18873 by @tsapeta)

🎉 New features

  • Added support for audio panning on Android (MediaPlayer implementation only) via audioPan prop. (#15530 by @DominickVale)
  • Added videoStyle prop for Video component. (#18549 by @alantoa)
  • Native module for video view is now written in Swift using the new API. (#18633 by @tsapeta)

🐛 Bug fixes

  • Fixed promise rejection catching when Video is unmounted. (#18471 by @barthap)

💡 Others

  • [plugin] Migrate import from @expo/config-plugins to expo/config-plugins and @expo/config-types to expo/config. (#18855 by @brentvatne)
  • Drop @expo/config-plugins dependency in favor of peer dependency on expo. (#18595 by @EvanBacon)
  • Remove unnecessary CocoaPods dependency on ReactCommon and React-runtimeexecutor. (#19067 by @tsapeta)

📚 3rd party library updates

  • Upgraded ExoPlayer dependencies to 2.18.1 on Android. (#19332 by @kudo)

12.0.2 — 2022-07-18

🐛 Bug fixes

  • Fixed unhandled promise rejection when Video is unmounted. (#18281 by @barthap)

12.0.1 — 2022-07-16

🐛 Bug fixes

  • Automatically unload Video component before React Native initiates an unmount to prevent memory leak crashes. (#18173 by @hirbod and @Pickleboyonline)

12.0.0 — 2022-07-07

🛠 Breaking changes

  • Replace RecordingOptions related constants with enums. Check out the PR for the migration hints. (#17954 by @Simek)
  • Rename the RecordingOptions preset constant to RecordingOptionsPresets and edit export. Check out the PR for the migration hints. (#17954 by @Simek)

🐛 Bug fixes

  • On Android fix Video component crashes when activity loses focus due to accessing player from the wrong thread. (#17280 by @mnightingale)
  • Added support for React Native 0.69.x. (#18006 by @kudo)
  • On Android fix Audio.setAudioModeAsync and Audio.setIsEnabledAsync crashes due to accessing player from the wrong thread. (#17840 by @mnightingale)

💡 Others

  • Extract types defined in createAsync methods return to separate types: RecordingObject and SoundObject. (#17954 by @Simek)
  • Extract platform related nested object types from RecordingOptions to the separate types: RecordingOptionsAndroid, RecordingOptionsIOS and RecordingOptionsWeb. (#17954 by @Simek)

11.2.2 — 2022-04-27

🐛 Bug fixes

  • Fixed displaying warning about Sound.setOnAudioSampleReceived unavailable when debugging remotely. (#17210 by @barthap)
  • Fixed crash when remote debugging is enabled on Android. (#17212 by @barthap)

11.2.1 — 2022-04-20

🐛 Bug fixes

  • On iOS fix crash caused by updating AVPlaybackStatus from both <Video /> props and the Playback API at the same time. Also prevented a crash on iOS caused by removing the Video without unlisting its underlying native EXAVPlayerData as an observer. (#17036 by @Pickleboyonline)

11.2.0 — 2022-04-18

🎉 New features

  • Add new Sound.setOnAudioSampleReceived API to support streaming audio sample buffers in realtime. (#14904, #16075 by @barthap)

🐛 Bug fixes

  • On Android fix crashes caused by accessing player from the wrong thread (#16611 by @mnightingale)

💡 Others

  • Extract tolerances param type definition, used across the package methods, to the separate type AVPlaybackTolerance. (#16905 by @Simek)

⚠️ Notices

  • On Android bump compileSdkVersion to 31, targetSdkVersion to 31 and Java version to 11. (#16941 by @bbarthec)

11.1.0 — 2022-03-10

🐛 Bug fixes

  • On iOS fix pauseAsync causing framedrops and being delayed by not disabling AVAudioSession when there is no need for it (#15873 by @hirbod and @mnightingale)

11.0.1 — 2022-03-07

🐛 Bug fixes

11.0.0 — 2022-03-03

🛠 Breaking changes

  • Remove Video component's static constants FULLSCREEN_UPDATE_PLAYER_WILL_RESENT, FULLSCREEN_UPDATE_PLAYER_DID_RESENT, FULLSCREEN_UPDATE_PLAYER_WILL_DISMISS, FULLSCREEN_UPDATE_PLAYER_DID_DISMISS and replace them with new VideoFullscreenUpdate enum. (#16059 by @Simek)
  • Remove Video component's static constants RESIZE_MODE_CONTAIN, RESIZE_MODE_COVER, RESIZE_MODE_STRETCH. Use ResizeMode enum values instead. (#16059 by @Simek)
  • Remove deprecated presentIOSFullscreenPlayer and dismissIOSFullscreenPlayer method from Video component. (#16059 by @Simek)
  • Remove deprecated onIOSFullscreenUpdate prop from Video component. (#16059 by @Simek)
  • Remove unused presentFullscreenPlayerAsync method from Video component. (#16059 by @Simek)
  • Remove INTERRUPTION_MODE_* constants in favor of InterruptionModeAndroid and InterruptionModeIOS enums. (#16145 by @Simek)
  • On Android upgrade com.google.android.exoplayer:*:2.9.2 (available from jcenter()) to com.google.android.exoplayer:*:2.13.3 (available from google()). (#16123 by @bbarthec)

🎉 New features

💡 Others

10.2.1 - 2022-02-01

🐛 Bug fixes

  • Fix iOS build with Expo SDK 44 and React Native 0.65+. (#15661 by @schiller-manuel)
  • Fix Plugin with id 'maven' not found build error from Android Gradle 7. (#16080 by @kudo)

10.2.0 — 2021-12-03

This version does not introduce any user-facing changes.

10.1.3 — 2021-11-01

🐛 Bug fixes

  • On Web, do not try to attach fullscreen listener, when component ref is null. (#14713 by @Simek)

💡 Others

  • Update component types and event types. (#14713 by @Simek)
  • Mark status as an optional field in VideoFullscreenUpdateEvent and VideoReadyForDisplayEvent types, becouse Web implementation do not return status in those events. (#14713 by @Simek)

10.1.2 — 2021-10-21

🐛 Bug fixes

10.1.1 — 2021-10-15

This version does not introduce any user-facing changes.

10.1.0 — 2021-10-01

🐛 Bug fixes

  • Fixed JNI DETECTED ERROR IN APPLICATION: java_object == null in call to GetObjectClass from void versioned.host.exp.exponent.modules.api.reanimated.NativeProxy$EventHandler.receiveEvent on Android. (#14569 by @lukmccall)

10.0.0 — 2021-09-28

🛠 Breaking changes

  • Default audio recording settings on ios are now extension: '.m4a' and outputFormat: RECORDING_OPTION_IOS_OUTPUT_FORMAT_MPEG4AAC so as to ensure cross-platform compatibility. (#13492 by @actuallymentor)
  • Dropped support for iOS 11.0 (#14383 by @cruzach)

🎉 New features

🐛 Bug fixes

💡 Others

9.2.3 — 2021-06-30

🎉 New features

  • [plugin] Added Android android.permission.MODIFY_AUDIO_SETTINGS permission. (#13163 by @EvanBacon)
  • Remove lodash and nullthrows. (#12522 by @EvanBacon)
  • Add new Recording.createAsync API for faster recording on iOS. (#12294 by @IjzerenHein)
  • Add keepAudioActiveHint recording option to prevent deactivation of the Audio session when recording on iOS. (#12294 by @IjzerenHein)
  • Allow video audio to continue to play in the background on iOS. (#12950 by @matt-oakes)

🐛 Bug fixes

💡 Others

  • Migrated from unimodules-file-system-interface and unimodules-permissions-interface to expo-modules-core. (#12961 by @tsapeta)

9.1.2 — 2021-04-13

This version does not introduce any user-facing changes.

9.1.1 — 2021-03-31

This version does not introduce any user-facing changes.

9.1.0 — 2021-03-10

🎉 New features

  • Converted plugin to TypeScript. (#11715 by @EvanBacon)
  • Updated Android build configuration to target Android 11 (added support for Android SDK 30). (#11647 by @bbarthec)

🐛 Bug fixes

  • Remove peerDependencies and unimodulePeerDependencies from Expo modules. (#11980 by @brentvatne)

9.0.0 — 2021-01-14

⚠️ Notices

🛠 Breaking changes

🎉 New features

  • Created config plugins (#11538 by @EvanBacon)
  • Add optional sound level information in RecordingStatus object described with metering key. Add isMeteringEnabled flag in RecordingOptions to enable computing this information. The flag is set to true by default in RecordingOptions presets (RECORDING_OPTIONS_PRESET_HIGH_QUALITY, RECORDING_OPTIONS_PRESET_LOW_QUALITY). (#10759 by @danieloi)

🐛 Bug fixes

8.7.0 — 2020-11-17

🐛 Bug fixes

  • Fix orientation being returned incorrectly for videos in portrait mode in onReadyForDisplay on iOS. (#10449 by @lachenmayer)
  • Fix looping stops after 3 times on iOS. (#10602 by @IjzerenHein)
  • Fix Audio.stopAndUnloadAsync not handling no-data on Android. (#9877 by @IjzerenHein)

8.6.0 — 2020-08-18

This version does not introduce any user-facing changes.

8.5.0 — 2020-08-11

🐛 Bug fixes

8.4.1 — 2020-07-29

🐛 Bug fixes

  • Removed unused and potentionally unsafe call on iOS. (#9436 by @IjzerenHein)
  • Fix onReadyForDisplay not emitted for HLS streams/m3u8 files on iOS. (#9443 by @IjzerenHein)

8.4.0 — 2020-07-24

🐛 Bug fixes

8.3.0 — 2020-07-08

🎉 New features

  • [av] Delete prop-types in favor of TypeScript. (#8679 by @EvanBacon)
  • [av] Directly import createElement from react-native-web for RNW v12 support. (#8773 by @EvanBacon)

🐛 Bug fixes

  • Allow playing media files embedded as resources in an Android APK. (#8936 by @esamelson)

8.2.1 — 2020-05-29

This version does not introduce any user-facing changes.

8.2.0 — 2020-05-27

🐛 Bug fixes