Skip to content

Commit 0d38214

Browse files
chore(release): 8.1.0 [skip ci]
1 parent 402bba2 commit 0d38214

2 files changed

Lines changed: 27 additions & 4 deletions

File tree

CHANGELOG.md

Lines changed: 26 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,30 @@
1-
# Change Log
1+
## [8.1.0](https://github.com/ionic-team/capacitor-camera/compare/v8.0.2...v8.1.0) (2026-04-13)
2+
3+
This minor plugin version introduces significant API changes and deprecations. While backward compatibility is maintained, migration is strongly recommended. Please read the release notes in full, and refer to https://capacitorjs.com/docs/apis/camera for full documentation, including migration guides.
4+
5+
### Deprecations
6+
7+
- `getPhoto` method is deprecated. Use `takePhoto` for a camera photo, or `chooseFromGallery` to select from the gallery. For creating a prompt for the user to select which source, use `@capacitor/action-sheet` or any UI component of your choosing.
8+
- `pickImages` method is deprecated. Use `chooseFromGallery` instead. Refer to the Camera API documentation for more information on migrating.
9+
- `Photo`, `GalleryImageOptions`, and `CameraResultType` are deprecated, only use them if you are still using the deprecated `getPhoto` and/or `pickImages`.
10+
- These deprecated items will be removed in a future major version of the Camera Plugin, please consider migrating to the new ones.
11+
12+
### Features
13+
14+
- New `takePhoto` method added. It allows capturing a photo with the device's camera.
15+
- New `recordVideo` method added. It allows recording a video with the device's camera. Currently not available in Web. Addresses [capacitor-plugins#229](https://github.com/ionic-team/capacitor-plugins/issues/229).
16+
- New `playVideo` method added. It opens a native player to play the provided video. Currently not available in Web.
17+
- New `chooseFromGallery` method added. Use it to select photos and/or videos from the device.
18+
- New `MediaResult` and `MediaMetadata` interfaces, which are returned by `takePhoto`, `recordVideo` and `chooseFromGallery` (metadata only if input parameter `includeMetadata` is **true**). Besides providing most of the existing functionality from deprecated `getPhoto` / `pickImages`, it can include additional metadata like creation date, video duration, among others.
19+
- New `editPhoto` method added. Opens an in-app screen to edit a provided base64 encoded image. Supported editing features include image cropping and rotation. Currently not available in Web.
20+
- New `editURIPhoto` method added. Opens an in-app screen to edit a provided image from a URI. You may use the URIs returned by `takePhoto` and `chooseFromGallery` as input to `editURIPhoto`. Supported editing features include image cropping and rotation. Currently not available in Web.
21+
- New Error structure when promise is rejected in new methods: `code` in `OS-PLUG-CAMR-XXXX` format + `message`. Refer to plugin documentation for available errors. Existing methods from version 8.0.2 and older retain the same error structure as before for backwards-compatibility.
22+
- New methods implementation in new native libraries: https://github.com/ionic-team/ion-android-camera and https://github.com/ionic-team/ion-ios-camera.
23+
24+
### Bug Fixes
25+
26+
- **android:** Restrict `pickImages` **limit** to maximum number supported by the device (clone of [capacitor-plugins#2309](https://github.com/ionic-team/capacitor-plugins/pull/2309))
227

3-
All notable changes to this project will be documented in this file.
4-
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
528

629
## [8.0.2](https://github.com/ionic-team/capacitor-plugins/compare/@capacitor/camera@8.0.1...@capacitor/camera@8.0.2) (2026-03-06)
730

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@capacitor/camera",
3-
"version": "8.0.2",
3+
"version": "8.1.0",
44
"description": "The Camera API provides the ability to take a photo with the camera or choose an existing one from the photo album.",
55
"main": "dist/plugin.cjs.js",
66
"module": "dist/esm/index.js",

0 commit comments

Comments
 (0)