Skip to content

chore(deps): bump @capacitor/camera from 8.0.2 to 8.1.0#2

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/capacitor/camera-8.1.0
Open

chore(deps): bump @capacitor/camera from 8.0.2 to 8.1.0#2
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/capacitor/camera-8.1.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Apr 19, 2026

Copy link
Copy Markdown

Bumps @capacitor/camera from 8.0.2 to 8.1.0.

Release notes

Sourced from @​capacitor/camera's releases.

v8.1.0

8.1.0 (2026-04-13)

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.

Deprecations

  • 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.
  • pickImages method is deprecated. Use chooseFromGallery instead. Refer to the Camera API documentation for more information on migrating.
  • Photo, GalleryImageOptions, and CameraResultType are deprecated, only use them if you are still using the deprecated getPhoto and/or pickImages.
  • These deprecated items will be removed in a future major version of the Camera Plugin, please consider migrating to the new ones.

Features

  • New takePhoto method added. It allows capturing a photo with the device's camera.
  • New recordVideo method added. It allows recording a video with the device's camera. Currently not available in Web. Addresses capacitor-plugins#229.
  • New playVideo method added. It opens a native player to play the provided video. Currently not available in Web.
  • New chooseFromGallery method added. Use it to select photos and/or videos from the device.
  • 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.
  • 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.
  • 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.
  • 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.
  • New methods implementation in new native libraries: https://github.com/ionic-team/ion-android-camera and https://github.com/ionic-team/ion-ios-camera.

Bug Fixes

  • android: Restrict pickImages limit to maximum number supported by the device (clone of capacitor-plugins#2309)
Changelog

Sourced from @​capacitor/camera's changelog.

8.1.0 (2026-04-13)

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.

Deprecations

  • 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.
  • pickImages method is deprecated. Use chooseFromGallery instead. Refer to the Camera API documentation for more information on migrating.
  • Photo, GalleryImageOptions, and CameraResultType are deprecated, only use them if you are still using the deprecated getPhoto and/or pickImages.
  • These deprecated items will be removed in a future major version of the Camera Plugin, please consider migrating to the new ones.

Features

  • New takePhoto method added. It allows capturing a photo with the device's camera.
  • New recordVideo method added. It allows recording a video with the device's camera. Currently not available in Web. Addresses capacitor-plugins#229.
  • New playVideo method added. It opens a native player to play the provided video. Currently not available in Web.
  • New chooseFromGallery method added. Use it to select photos and/or videos from the device.
  • 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.
  • 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.
  • 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.
  • 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.
  • New methods implementation in new native libraries: https://github.com/ionic-team/ion-android-camera and https://github.com/ionic-team/ion-ios-camera.

Bug Fixes

  • android: Restrict pickImages limit to maximum number supported by the device (clone of capacitor-plugins#2309)
Commits
  • 0d38214 chore(release): 8.1.0 [skip ci]
  • 402bba2 chore(ci): add release workflows (#32)
  • 5d6d881 Merge pull request #31 from ionic-team/feat/RMET-4099/camera-unification
  • 9810dbe chore: Update native Android and iOS dependencies (#30)
  • 537cee8 ci: Use Xcode 26 and Build example app (#4)
  • 6ccb0b0 chore(android): mark old methods as deprecated (#29)
  • 3febe68 docs: add migration guide from 8.0 to 8.1.0 and other docs (#28)
  • c35eb13 docs: Clarify about format
  • 3c456f3 fix(ios): Remove temporary branch from Package.swift
  • 75d4239 chore: update dependency to iOS library
  • Additional commits viewable in compare view
Maintainer changes

This version was pushed to npm by os-pedrobilro, a new releaser for @​capacitor/camera since your current version.

Attestation changes

This version has no provenance attestation, while the previous version (8.0.2) was attested. Review the package versions before updating.


@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Apr 19, 2026
@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/capacitor/camera-8.1.0 branch from 55f2627 to c52b77d Compare April 23, 2026 23:01
Bumps [@capacitor/camera](https://github.com/ionic-team/capacitor-camera) from 8.0.2 to 8.1.0.
- [Release notes](https://github.com/ionic-team/capacitor-camera/releases)
- [Changelog](https://github.com/ionic-team/capacitor-camera/blob/main/CHANGELOG.md)
- [Commits](ionic-team/capacitor-camera@v8.0.2...v8.1.0)

---
updated-dependencies:
- dependency-name: "@capacitor/camera"
  dependency-version: 8.1.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/capacitor/camera-8.1.0 branch from c52b77d to 9d19b99 Compare April 24, 2026 00:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants