twonly-app-dependencies/camera_avfoundation/CHANGELOG.md
2026-10-07 22:18:23 +02:00

446 lines
11 KiB
Markdown

## 0.10.3
* Updates pigeon dev_dependency to ^27.3.2 for analyzer 14 compatibility.
## 0.10.2
* Adds `setJpegImageQuality` for controlling JPEG compression quality.
* Updates minimum supported SDK version to Flutter 3.38/Dart 3.10.
## 0.10.1
* Fixes fatal crash on iPhone 17 when using `ResolutionPreset.max`.
## 0.10.0+3
* Switches to type-safe Pigeon code for image streaming.
## 0.10.0+2
* Updates example to demonstrate correct exception handling for async return statements, ensuring exceptions thrown during return within try blocks are properly caught as per [dart-lang/sdk#44395](https://github.com/dart-lang/sdk/issues/44395).
## 0.10.0+1
* Migrates to Swift-based pigeon interface.
## 0.10.0
* Adds video stabilization.
- Adds getSupportedVideoStabilizationModes method.
- Adds setVideoStabilizationMode method.
## 0.9.23+2
* Code refactor related to Swift pigeon's generated struct MediaSettings being immutable.
## 0.9.23+1
* Fixes error handling in `startWriting`.
## 0.9.23
* Changes the default storage path for camera pictures and videos on iOS from the application's Documents directory to the system's temporaryDirectory.
## 0.9.22+10
* Handles video and audio interruptions and errors by "pausing" and reporting errors.
* Uses a single time offset for both video and audio to avoid desync.
## 0.9.22+9
* Migrates `FLTSavePhotoDelegate`, `FLTWritableData`, and `FLTImageStreamHandler` classes to Swift.
* Migrates `CameraProperties` and `QueueUtils` helpers to Swift.
## 0.9.22+8
* Migrates `FLTPermissionServicing` and `FLTCameraPermissionManager` classes to Swift.
## 0.9.22+7
* Migrates `FLTCaptureConnection`, `FLTCaptureDeviceFormat` and `FLTAssetWriter` classes to Swift.
## 0.9.22+6
* Updates to Pigeon 26.
## 0.9.22+5
* Migrates `FLTCaptureDevice`, `FLTCaptureSession`, and `FLTFormatUtils` classes to Swift.
## 0.9.22+4
* Migrates `FLTCameraDeviceDiscovering` and `FLTDeviceOrientationProviding` classes to Swift.
## 0.9.22+3
* Updates examples to use the new RadioGroup API instead of deprecated Radio parameters.
## 0.9.22+2
* Migrates `FLTCamConfiguration`, `FLTCamMediaSettingsAVWrapper` classes to Swift.
* Migrates `FLTCaptureOutput`, `FLTCapturePhotoOutput`, `FLTCaptureVideoDataOutput` protocols to Swift.
## 0.9.22+1
* Fixes crash on iOS when `enableAudio` is false.
## 0.9.22
* Adds lensType in the PlatformCameraDescription
## 0.9.21+4
* Migrates `updateOrientation` and `setCaptureSessionPreset` methods to Swift.
* Removes `FLTCam` class.
## 0.9.21+3
* Removes code for versions of iOS older than 13.0.
* Updates minimum supported SDK version to Flutter 3.35.
## 0.9.21+2
* Migrates `DefaultCamera` initialization to Swift.
* Removes unused `textureId` field of `FLTCam` class.
* Updates minimum supported SDK version to Flutter 3.29/Dart 3.7.
## 0.9.21+1
* Migrates `startImageStream` and `setUpCaptureSessionForAudioIfNeeded` methods to Swift.
* Removes Objective-C implementation of `reportErrorMessage` method.
## 0.9.21
* Fixes crash when streaming is enabled during recording.
## 0.9.20+7
* Updates kotlin version to 2.2.0 to enable gradle 8.11 support.
## 0.9.20+6
* Migrates `captureToFile` and `getTemporaryFilePath` methods to Swift.
* Switches to Swift dispatch queue specific interface.
## 0.9.20+5
* Migrates `startVideoRecording`, `setUpVideoRecording`, and `setupWriter` methods to Swift.
## 0.9.20+4
* Migrates `setVideoFormat`,`stopVideoRecording`, and `stopImageStream` methods to Swift.
* Migrates stopping accelerometer updates to Swift.
* Migrates `setDescriptionWhileRecording` method to Swift.
* Adds `createConnection` method implementation to Swift.
## 0.9.20+3
* Migrates `setZoomLevel` and `setFlashMode` methods to Swift.
## 0.9.20+2
* Migrates exposure offset and zoom factor limit getters to Swift.
* Migrates `setImageFileFormat` method to Swift.
* Migrates pause and resume methods to Swift.
* Migrates capture orientation locking methods to Swift.
* Converts `setDeviceOrientation` method to property setter and migrated to Swift.
## 0.9.20+1
* Migrates lifecycle methods (`start`, `stop`, `close`) to Swift.
* Migrates exposure and focus related methods to Swift.
* Migrates `receivedImageStreamData` and `reportInitializationState` methods to Swift.
## 0.9.20
* Fixes incorrect types in image stream events.
## 0.9.19+3
* Fixes race condition when starting image stream.
## 0.9.19+2
* Adds the `Camera` Swift protocol.
* Adds `DefaultCamera`, a `FLTCam`-based implementation of the `Camera` protocol.
* Migrates sample buffer delegates and `FlutterTexture` protocol implementations to `DefaultCamera`.
## 0.9.19+1
* Adds `audioCaptureDeviceFactory` to `FLTCamConfiguration`.
* Renames the `lockCaptureOrientation` method of Objective-C type `FLTCam` when exported to Swift.
* Renames arguments of the `captureOutput` method of Objective-C type `FLTCam` when exported to Swift.
* Changes the `connection` argument type of the `captureOutput` method of the of `FLTCam` class to `AVCaptureConnection`.
* Makes `minimum/maximumAvailableZoomFactor` and `minimum/maximumExposureOffset` fields of `FLTCam` readonly.
* Updates minimum supported SDK version to Flutter 3.27/Dart 3.6.
## 0.9.19
* Migrates the CameraPlugin class to Swift.
* Fixes camera name being ignored in `setDescriptionWhileRecording`.
## 0.9.18+14
* Creates Swift Package Manager target for Swift implementation.
## 0.9.18+13
* Migrates test utils and mocks to Swift.
* Aligns `FLTCaptureDevice` more closely with the `AVCaptureDevice` interface.
## 0.9.18+12
* Migrates test utils and mocks to Swift.
* Renames the methods of Objective-C type `FLTCaptureSession` when exported to Swift.
## 0.9.18+11
* Backfills unit tests for the `FLTCam` class.
* Refactors implementation to allow mocking of `AVCaptureVideoDataOutput` in tests.
## 0.9.18+10
* Backfills unit tests for the `FLTCam` class.
* Makes `exposureMode`, `focusMode`, and `flashMode` properties of `FLTCam` private.
## 0.9.18+9
* Backfills unit tests for `CameraPlugin` class.
* Adds `minimumExposureOffset` and `maximumExposureOffset` methods to `FLTCam` class.
## 0.9.18+8
* Migrates unit tests to Swift.
## 0.9.18+7
* Fixes crash when setting `activeFormat` on `FLTCaptureDevice`.
## 0.9.18+6
* Refactors implementations to remove remaining usage of OCMock in internal testing.
## 0.9.18+5
* Migrates unit tests to Swift.
## 0.9.18+4
* Refactors implementations to reduce usage of OCMock in internal testing.
## 0.9.18+3
* Refactors implementations to reduce usage of OCMock in internal testing.
## 0.9.18+2
* Refactors implementations to reduce usage of OCMock in internal testing.
## 0.9.18+1
* Refactors implementations to reduce usage of OCMock in internal testing.
## 0.9.18
* Adds API support query for image streaming.
## 0.9.17+7
* Fixes changing global audio session category to be collision free across plugins.
## 0.9.17+6
* Updates minimum supported SDK version to Flutter 3.22/Dart 3.4.
* Removes OCMock usage from permission tests
## 0.9.17+5
* Adds ability to use any supported FPS and fixes crash when using unsupported FPS.
## 0.9.17+4
* Updates Pigeon for non-nullable collection type support.
* Updates minimum supported SDK version to Flutter 3.19/Dart 3.3.
## 0.9.17+3
* Fixes deallocation of camera on dispose.
## 0.9.17+2
* Fixes stopVideoRecording waiting indefinitely and lag at start of video.
## 0.9.17+1
* Fixes a crash due to appending sample buffers when readyForMoreMediaData is NO.
## 0.9.17
* Adds Swift Package Manager compatibility.
## 0.9.16+3
* Removes unused `maxVideoDuration` code.
## 0.9.16+2
* Fixes regression taking a picture in torch mode.
## 0.9.16+1
* Fixes sample times not being numeric after pause/resume.
## 0.9.16
* Converts Dart-to-host communcation to Pigeon.
* Fixes a race condition in camera disposal.
## 0.9.15+4
* Converts host-to-Dart communcation to Pigeon.
## 0.9.15+3
* Moves `pigeon` to `dev_dependencies`.
## 0.9.15+2
* Converts camera query to Pigeon.
## 0.9.15+1
* Simplifies internal handling of method channel responses.
## 0.9.15
* Adds support to control video FPS and bitrate. See `CameraController.withSettings`.
## 0.9.14+2
* Removes `_ambiguate` methods from example code.
## 0.9.14+1
* Fixes bug where max resolution preset does not produce highest available resolution on iOS.
## 0.9.14
* Adds support to HEIF format.
## 0.9.13+11
* Fixes a memory leak of sample buffer when pause and resume the video recording.
* Removes development team from example app.
* Updates minimum iOS version to 12.0 and minimum Flutter version to 3.16.6.
## 0.9.13+10
* Adds privacy manifest.
## 0.9.13+9
* Fixes new lint warnings.
## 0.9.13+8
* Updates example app to use non-deprecated video_player method.
* Updates minimum supported SDK version to Flutter 3.10/Dart 3.0.
## 0.9.13+7
* Fixes inverted orientation strings.
## 0.9.13+6
* Fixes incorrect use of `NSError` that could cause crashes on launch.
## 0.9.13+5
* Ignores audio samples until the first video sample arrives.
## 0.9.13+4
* Adds pub topics to package metadata.
* Updates minimum supported SDK version to Flutter 3.7/Dart 2.19.
## 0.9.13+3
* Migrates `styleFrom` usage in examples off of deprecated `primary` and `onPrimary` parameters.
* Fixes unawaited_futures violations.
## 0.9.13+2
* Removes obsolete null checks on non-nullable values.
* Updates minimum supported SDK version to Flutter 3.3/Dart 2.18.
## 0.9.13+1
* Clarifies explanation of endorsement in README.
## 0.9.13
* Allows camera to be switched while video recording.
* Aligns Dart and Flutter SDK constraints.
## 0.9.12
* Updates minimum Flutter version to 3.3 and iOS 11.
## 0.9.11+1
* Updates links for the merge of flutter/plugins into flutter/packages.
## 0.9.11
* Adds back use of Optional type.
* Updates minimum Flutter version to 3.0.
## 0.9.10+2
* Updates code for stricter lint checks.
## 0.9.10+1
* Updates code for stricter lint checks.
## 0.9.10
* Remove usage of deprecated quiver Optional type.
## 0.9.9
* Implements option to also stream when recording a video.
## 0.9.8+6
* Updates code for `no_leading_underscores_for_local_identifiers` lint.
* Updates minimum Flutter version to 2.10.
## 0.9.8+5
* Fixes a regression introduced in 0.9.8+4 where the stream handler is not set.
## 0.9.8+4
* Fixes a crash due to sending orientation change events when the engine is torn down.
## 0.9.8+3
* Fixes avoid_redundant_argument_values lint warnings and minor typos.
* Ignores missing return warnings in preparation for [upcoming analysis changes](https://github.com/flutter/flutter/issues/105750).
## 0.9.8+2
* Fixes exception in registerWith caused by the switch to an in-package method channel.
## 0.9.8+1
* Ignores deprecation warnings for upcoming styleFrom button API changes.
## 0.9.8
* Switches to internal method channel implementation.
## 0.9.7+1
* Splits from `camera` as a federated implementation.