Vigia

Aggiornare expo-video da 57.x a 58.x

Confronto dell’API pubblica di expo-video 57.0.5 e 58.0.11, calcolato automaticamente dai tipi TypeScript. Una firma modificata è una possibile modifica incompatibile, non una certezza.

Riepilogo

Percorsi di import rimossi0
Export rimossi0
Firme modificate1
Membri di classi o interfacce rimossi0
Membri di classi o interfacce modificati0
Nuove deprecazioni0
Requisiti cambiati (engines, dipendenze peer)0
Nuovi export1

Export rimossi

Nessuna rilevata.

Firme modificate

exportPrimaDopo
expo-video · PlayerBuilderOptions{ seekBackwardIncrement?: number | undefined; seekForwardIncrement?: number | undefined; }{ seekBackwardIncrement?: number | undefined; seekForwardIncrement?: number | undefined; videoChangeFrameRateStrategy?: VideoChangeFrameRateStrategy | undefined; }

Membri di classi o interfacce rimossi

Nessuna rilevata.

Membri di classi o interfacce modificati

Nessuna rilevata.

Nuove deprecazioni

Nessuna rilevata.

Requisiti cambiati (engines, dipendenze peer)

Nessuna rilevata.

Nuovi export (1)
importexportkind
expo-videoVideoChangeFrameRateStrategytype

Changelog tra queste versioni

Testo pubblicato dagli autori del pacchetto, mostrato così com’è.

58.0.11
### Patch Changes

- Use `AssetRegistry` from public API instead of Metro entry point. ([#51302](https://github.com/expo/expo/pull/51302) by [@byCedric](https://github.com/byCedric))
58.0.10
### Patch Changes

- [Internal] Bump precompiled artifacts due to ABI breakage in expo-modules-jsi, which makes `JavaScriptValue` a non-copyable struct. ([#51368](https://github.com/expo/expo/pull/51368) by [@tsapeta](https://github.com/tsapeta))
- [iOS] Don't change the audio session category if compatible with the current intention - for example changing from `playAndRecord` to `playback`. Improves inter-package compatibility. ([#51408](https://github.com/expo/expo/pull/51408) by [@behenate](https://github.com/behenate))
58.0.9
### Patch Changes

- [iOS] Fix native controls never appearing on iOS 27 when a `VideoView` enters the window during a screen transition. ([#50486](https://github.com/expo/expo/pull/50486) by [@wwisheess](https://github.com/wwisheess))
- [Android] Fall back to another HLS rendition when a request can't reach the network while `useCaching` is enabled, so cached videos play offline. ([#50480](https://github.com/expo/expo/pull/50480) by [@Glenn444](https://github.com/Glenn444))
58.0.8
### Patch Changes

- [Internal] Use `Image.resolveAssetSource` from `react-native` instead of the `Libraries/Image/resolveAssetSource` deep import. ([#51092](https://github.com/expo/expo/pull/51092) by [@huntie](https://github.com/huntie))
58.0.7
### Patch Changes

- Bump precompiled artifacts due to ABI breakage in expo-modules-core@58.0.13. ([#51138](https://github.com/expo/expo/pull/51138) by [@alanjhughes](https://github.com/alanjhughes))
58.0.6
### Patch Changes

- Bump precompiled artifacts due to ABI breakage in expo-modules-jsi@58.0.6. ([#50881](https://github.com/expo/expo/pull/50881) by [@kitten](https://github.com/kitten))
58.0.5
### Patch Changes

- Force-bump all packages, due to migration to changesets. ([#50762](https://github.com/expo/expo/pull/50762) by [@kitten](https://github.com/kitten))
58.0.4
_This version does not introduce any user-facing changes._
58.0.3
### 🐛 Bug fixes

- Wait for pending source replacements before releasing players created by `useVideoPlayer`. ([#49981](https://github.com/expo/expo/pull/49981) by [@behenate](https://github.com/behenate))
58.0.2
_This version does not introduce any user-facing changes._
58.0.1
_This version does not introduce any user-facing changes._
58.0.0
### 🎉 New features

- [Android] Added the `controllerAutoShow` prop to `VideoView` to control whether the native controls auto-show on play. ([#46665](https://github.com/expo/expo/pull/46665) by [@stevesouth](https://github.com/stevesouth))
- [Android][iOS] Add `maxResolution` player option to cap adaptive video track selection. ([#46992](https://github.com/expo/expo/pull/46992) by [@vargajacint](https://github.com/vargajacint))
- [Android] Added the `videoChangeFrameRateStrategy` player builder option to control whether ExoPlayer may change the display refresh rate to match the video frame rate. On adaptive refresh rate displays (Pixel 9/10) the default matching can cap the entire app UI at 30Hz while a 30 fps video is visible. ([#47873](https://github.com/expo/expo/pull/47873) by [@invivek26](https://github.com/invivek26))

### 🐛 Bug fixes

- [Android] Fixed pipHelperFragment memory leak in PictureInPictureManager ([#49222](https://github.com/expo/expo/pull/49222) by [@minhuwv](https://github.com/minhuwv))
- [Android] Fix `VideoPlayer` constructor throwing `MissingActivity` when the player is created while the `Activity` is briefly unavailable. ([#48914](https://github.com/expo/expo/pull/48914) by [@huextrat](https://github.com/huextrat))
- [iOS] Fixed a data race on the video cache's open-file registry, which could crash the app while the cache was being trimmed. ([#49286](https://github.com/expo/expo/pull/49286) by [@huextrat](https://github.com/huextrat))
- [iOS] Fixed a crash when the device runs out of storage while writing to the video cache. `FileHandle.writeData:` raises an uncatchable Objective-C `NSFileHandleOperationException` on `ENOSPC`; the throwing Swift APIs are now used so the error is caught and logged instead. ([#49284](https://github.com/expo/expo/pull/49284) by [@huextrat](https://github.com/huextrat))
- [Android] Guard `PictureInPictureParams.Builder.setAutoEnterEnabled` against `NoSuchMethodError` on stock OEM firmwares that report API 31+ without shipping the method, which crashed the app from `VideoView.onLayout` even when Picture in Picture was disabled. ([#48957](https://github.com/expo/expo/pull/48957) by [@onlyshyun](https://github.com/onlyshyun))
- Fix `TypeError: Cannot read properties of undefined (reading 'prototype')` when a Jest test imports `expo-video` under the `jest-expo` preset, by adding a hand-written mock for the `ExpoVideo` native module. ([#48880](https://github.com/expo/expo/pull/48880) by [@giaBaoJS](https://github.com/giaBaoJS))
- [iOS] Fix races between overlapping source loads and player release. ([#47967](https://github.com/expo/expo/pull/47967) by [@behenate](https://github.com/behenate))
- [iOS] Set the default `audioMixingMode` to `auto`, [as documented](https://docs.expo.dev/versions/latest/sdk/video/#audiomixingmode); was `doNotMix`. ([#47363](https://github.com/expo/expo/issues/47363) by [@andymatuschak](https://github.com/andymatuschak))
- When caching take into account Authorization /

Dai questi dati al tuo agente IA

Vigia è un server MCP gratuito: il tuo agente di programmazione verifica versioni, modifiche incompatibili e vulnerabilità prima di scrivere codice. Senza registrazione né chiave API.

claude mcp add --transport http vigia https://vigia.coredls.cloud/mcp

Aggiungi a CursorAggiungi a VS Code★ Stella su GitHub

Qualsiasi altro client MCP
{ "mcpServers": { "vigia": { "url": "https://vigia.coredls.cloud/mcp" } } }

Skill per agenti (SKILL.md): dice all'agente quando usare Vigia · GitHub Action per le pull request

Domande frequenti

Quali sono le modifiche incompatibili aggiornando expo-video da 57 a 58?

Tra expo-video 57.0.5 e 58.0.11, Vigia ha trovato 0 export rimossi, 1 firme modificate e 0 membri di classi o interfacce rimossi o modificati.

Cosa è stato deprecato in expo-video 58?

0 export o membri risultano ora deprecati in expo-video 58.0.11.

Per gli agenti

GET https://vigia.coredls.cloud/v1/packages/npm/expo-video/upgrade?from=57.0.5&to=58.0.11