97 Commits
Author SHA1 Message Date
Ibrkhalil 174f8c6ad8 Finalize 2023-10-17 22:28:16 +03:00
semantic-release-bot 073d173ee4 chore(release): 5.10.0 [skip ci]
# [5.10.0](https://github.com/react-native-cameraroll/react-native-cameraroll/compare/v5.9.0...v5.10.0) (2023-09-29)

### Features

* **iOS:** added getPhotoThumbnail ([#536](https://github.com/react-native-cameraroll/react-native-cameraroll/issues/536)) ([93b1be8](https://github.com/react-native-cameraroll/react-native-cameraroll/commit/93b1be8))
2023-09-29 08:57:15 +00:00
semantic-release-bot cc78f4b403 chore(release): 5.9.0 [skip ci]
# [5.9.0](https://github.com/react-native-cameraroll/react-native-cameraroll/compare/v5.8.0...v5.9.0) (2023-09-08)

### Features

* **iOS:** Include assets originating from an iCloud Shared Album. ([#525](https://github.com/react-native-cameraroll/react-native-cameraroll/issues/525)) ([053dd8c](https://github.com/react-native-cameraroll/react-native-cameraroll/commit/053dd8c))
2023-09-08 09:31:26 +00:00
semantic-release-bot cb6e61e231 chore(release): 5.8.0 [skip ci]
# [5.8.0](https://github.com/react-native-cameraroll/react-native-cameraroll/compare/v5.7.2...v5.8.0) (2023-09-01)

### Features

* **iOS:** Include subtype in get albums. ([#526](https://github.com/react-native-cameraroll/react-native-cameraroll/issues/526)) ([07fef8f](https://github.com/react-native-cameraroll/react-native-cameraroll/commit/07fef8f))
2023-09-01 14:22:17 +00:00
semantic-release-bot d793542229 chore(release): 5.7.2 [skip ci]
## [5.7.2](https://github.com/react-native-cameraroll/react-native-cameraroll/compare/v5.7.1...v5.7.2) (2023-07-04)

### Bug Fixes

* **all:** Fixed Native Arch codgen issue ([4dd2c66](https://github.com/react-native-cameraroll/react-native-cameraroll/commit/4dd2c66))
2023-07-04 08:26:08 +00:00
semantic-release-bot b47a25d4c0 chore(release): 5.7.1 [skip ci]
## [5.7.1](https://github.com/react-native-cameraroll/react-native-cameraroll/compare/v5.7.0...v5.7.1) (2023-06-26)

### Bug Fixes

* **android:** Android build error webview namespace ([#507](https://github.com/react-native-cameraroll/react-native-cameraroll/issues/507)) ([365d208](https://github.com/react-native-cameraroll/react-native-cameraroll/commit/365d208))
2023-06-26 21:26:00 +00:00
semantic-release-bot 561841bd8d chore(release): 5.7.0 [skip ci]
# [5.7.0](https://github.com/react-native-cameraroll/react-native-cameraroll/compare/v5.6.1...v5.7.0) (2023-06-26)

### Features

* **android:** Add support for upcoming React Native 0.73 ([#505](https://github.com/react-native-cameraroll/react-native-cameraroll/issues/505)) ([2e4851e](https://github.com/react-native-cameraroll/react-native-cameraroll/commit/2e4851e))
2023-06-26 09:33:27 +00:00
semantic-release-bot 3178b9dedc chore(release): 5.6.1 [skip ci]
## [5.6.1](https://github.com/react-native-cameraroll/react-native-cameraroll/compare/v5.6.0...v5.6.1) (2023-06-23)

### Bug Fixes

* **ios:** iosGetImageDataById for videos ([#500](https://github.com/react-native-cameraroll/react-native-cameraroll/issues/500)) ([ab3be84](https://github.com/react-native-cameraroll/react-native-cameraroll/commit/ab3be84))
2023-06-23 09:15:50 +00:00
semantic-release-bot 8e26ceffa0 chore(release): 5.6.0 [skip ci]
# [5.6.0](https://github.com/react-native-cameraroll/react-native-cameraroll/compare/v5.5.0...v5.6.0) (2023-05-31)

### Features

* **iOS:** Add subTypes field ([#495](https://github.com/react-native-cameraroll/react-native-cameraroll/issues/495)) ([1f6499b](https://github.com/react-native-cameraroll/react-native-cameraroll/commit/1f6499b))
2023-05-31 07:40:24 +00:00
semantic-release-bot 08ba91db78 chore(release): 5.5.0 [skip ci]
# [5.5.0](https://github.com/react-native-cameraroll/react-native-cameraroll/compare/v5.4.0...v5.5.0) (2023-05-22)

### Bug Fixes

* make useCameraRoll functions to be shallow equal ([#492](https://github.com/react-native-cameraroll/react-native-cameraroll/issues/492)) ([905dd24](https://github.com/react-native-cameraroll/react-native-cameraroll/commit/905dd24))

### Features

* **all:** Add modificationTimestamp field ([#493](https://github.com/react-native-cameraroll/react-native-cameraroll/issues/493)) ([a419ccc](https://github.com/react-native-cameraroll/react-native-cameraroll/commit/a419ccc))
2023-05-22 13:09:27 +00:00
semantic-release-bot 004033c510 chore(release): 5.4.0 [skip ci]
# [5.4.0](https://github.com/react-native-cameraroll/react-native-cameraroll/compare/v5.3.1...v5.4.0) (2023-04-28)

### Bug Fixes

* **android:** search for node_modules in a wider scope ([#488](https://github.com/react-native-cameraroll/react-native-cameraroll/issues/488)) ([5805999](https://github.com/react-native-cameraroll/react-native-cameraroll/commit/5805999))

### Features

* **ios:** Added support for WEBP saving to camera roll ([#489](https://github.com/react-native-cameraroll/react-native-cameraroll/issues/489)) ([b722910](https://github.com/react-native-cameraroll/react-native-cameraroll/commit/b722910))
2023-04-28 13:07:43 +00:00
semantic-release-bot d12368ba73 chore(release): 5.3.1 [skip ci]
## [5.3.1](https://github.com/react-native-cameraroll/react-native-cameraroll/compare/v5.3.0...v5.3.1) (2023-03-13)

### Bug Fixes

* **android:** NullPointerException when inserting of ContentResolver ([#469](https://github.com/react-native-cameraroll/react-native-cameraroll/issues/469)) ([5ca38a8](https://github.com/react-native-cameraroll/react-native-cameraroll/commit/5ca38a8))
2023-03-13 10:31:34 +00:00
semantic-release-bot 193d5a6dde chore(release): 5.3.0 [skip ci]
# [5.3.0](https://github.com/react-native-cameraroll/react-native-cameraroll/compare/v5.2.4...v5.3.0) (2023-03-09)

### Features

* Add support for new architecture (Fabric) ([#460](https://github.com/react-native-cameraroll/react-native-cameraroll/issues/460)) ([2b595e5](https://github.com/react-native-cameraroll/react-native-cameraroll/commit/2b595e5))
2023-03-09 14:05:27 +00:00
Wojciech Lewicki 2b595e5266 feat: Add support for new architecture (Fabric) (#460) 2023-03-09 14:47:47 +01:00
semantic-release-bot 4b99a6a9f3 chore(release): 5.2.4 [skip ci]
## [5.2.4](https://github.com/react-native-cameraroll/react-native-cameraroll/compare/v5.2.3...v5.2.4) (2023-02-21)

### Bug Fixes

* **android:** save video error ([#465](https://github.com/react-native-cameraroll/react-native-cameraroll/issues/465)) ([65f20b0](https://github.com/react-native-cameraroll/react-native-cameraroll/commit/65f20b0))
2023-02-21 06:43:17 +00:00
semantic-release-bot bb60f015e1 chore(release): 5.2.3 [skip ci]
## [5.2.3](https://github.com/react-native-cameraroll/react-native-cameraroll/compare/v5.2.2...v5.2.3) (2023-01-24)

### Bug Fixes

* **android:** Handle Null case when reading orientation ([#456](https://github.com/react-native-cameraroll/react-native-cameraroll/issues/456)) ([59a50b5](https://github.com/react-native-cameraroll/react-native-cameraroll/commit/59a50b5))
2023-01-24 15:00:17 +00:00
semantic-release-bot 7292ba0fa7 chore(release): 5.2.2 [skip ci]
## [5.2.2](https://github.com/react-native-cameraroll/react-native-cameraroll/compare/v5.2.1...v5.2.2) (2023-01-23)

### Bug Fixes

* **all:** add `filepath` to type definition ([#452](https://github.com/react-native-cameraroll/react-native-cameraroll/issues/452)) ([f082b3b](https://github.com/react-native-cameraroll/react-native-cameraroll/commit/f082b3b))
* **android:** include orientation option ([#454](https://github.com/react-native-cameraroll/react-native-cameraroll/issues/454)) ([872105f](https://github.com/react-native-cameraroll/react-native-cameraroll/commit/872105f))
2023-01-23 14:12:42 +00:00
semantic-release-bot 321ec5637f chore(release): 5.2.1 [skip ci]
## [5.2.1](https://github.com/react-native-cameraroll/react-native-cameraroll/compare/v5.2.0...v5.2.1) (2023-01-05)

### Bug Fixes

* **android:** Fixed always getting null location of video file. ([#450](https://github.com/react-native-cameraroll/react-native-cameraroll/issues/450)) ([a2c649a](https://github.com/react-native-cameraroll/react-native-cameraroll/commit/a2c649a))
2023-01-05 09:26:21 +00:00
semantic-release-bot 705bf5e37a chore(release): 5.2.0 [skip ci]
# [5.2.0](https://github.com/react-native-cameraroll/react-native-cameraroll/compare/v5.1.1...v5.2.0) (2022-12-08)

### Features

* **all:** file extension support (for CameraRoll.getPhotos ) ([#440](https://github.com/react-native-cameraroll/react-native-cameraroll/issues/440)) ([d515b12](https://github.com/react-native-cameraroll/react-native-cameraroll/commit/d515b12))
2022-12-08 08:29:24 +00:00
semantic-release-bot bf03ab5a63 chore(release): 5.1.1 [skip ci]
## [5.1.1](https://github.com/react-native-cameraroll/react-native-cameraroll/compare/v5.1.0...v5.1.1) (2022-12-07)

### Bug Fixes

* **all:** add lowercase to auto type ([#444](https://github.com/react-native-cameraroll/react-native-cameraroll/issues/444)) ([0d395f5](https://github.com/react-native-cameraroll/react-native-cameraroll/commit/0d395f5))
2022-12-07 07:37:28 +00:00
semantic-release-bot 1a5b75d220 chore(release): 5.1.0 [skip ci]
# [5.1.0](https://github.com/react-native-cameraroll/react-native-cameraroll/compare/v5.0.4...v5.1.0) (2022-11-11)

### Features

* **all:** Add `useCameraRoll()` hook ([#354](https://github.com/react-native-cameraroll/react-native-cameraroll/issues/354)) ([b9e52a1](https://github.com/react-native-cameraroll/react-native-cameraroll/commit/b9e52a1))
2022-11-11 07:39:55 +00:00
David Narbutovich b9e52a1b36 feat(all): Add useCameraRoll() hook (#354)
* Add `useCameraRoll()` hook

* Bump React Native patch ver. to fix Android build
2022-11-11 08:32:28 +01:00
semantic-release-bot 1d4185fe9e chore(release): 5.0.4 [skip ci]
## [5.0.4](https://github.com/react-native-cameraroll/react-native-cameraroll/compare/v5.0.3...v5.0.4) (2022-10-10)

### Bug Fixes

* **android:** filter by timestamp ([ae3f55d](https://github.com/react-native-cameraroll/react-native-cameraroll/commit/ae3f55d))
2022-10-10 07:12:19 +00:00
semantic-release-bot 0828bc1e3b chore(release): 5.0.3 [skip ci]
## [5.0.3](https://github.com/react-native-cameraroll/react-native-cameraroll/compare/v5.0.2...v5.0.3) (2022-09-30)

### Bug Fixes

* **all:** call getParamsWithDefaults static method ([#420](https://github.com/react-native-cameraroll/react-native-cameraroll/issues/420)) ([cd6d3fc](https://github.com/react-native-cameraroll/react-native-cameraroll/commit/cd6d3fc))
* **android:** Save gif ([#428](https://github.com/react-native-cameraroll/react-native-cameraroll/issues/428)) ([3d3fe6f](https://github.com/react-native-cameraroll/react-native-cameraroll/commit/3d3fe6f))
* **android:** Save video on Android ([#430](https://github.com/react-native-cameraroll/react-native-cameraroll/issues/430)) ([e0aa3bc](https://github.com/react-native-cameraroll/react-native-cameraroll/commit/e0aa3bc))
2022-09-30 12:56:00 +00:00
semantic-release-bot c113c04d9e chore(release): 5.0.2 [skip ci]
## [5.0.2](https://github.com/react-native-cameraroll/react-native-cameraroll/compare/v5.0.1...v5.0.2) (2022-09-06)

### Bug Fixes

* **android:** retriever.release fix ([#425](https://github.com/react-native-cameraroll/react-native-cameraroll/issues/425)) ([f23434d](https://github.com/react-native-cameraroll/react-native-cameraroll/commit/f23434d))
2022-09-06 08:39:37 +00:00
semantic-release-bot bba9156bae chore(release): 5.0.1 [skip ci]
## [5.0.1](https://github.com/react-native-cameraroll/react-native-cameraroll/compare/v5.0.0...v5.0.1) (2022-09-01)

### Bug Fixes

* **android:** compile error when compileSdkVersion is set to 33 ([#419](https://github.com/react-native-cameraroll/react-native-cameraroll/issues/419)) ([a0abf74](https://github.com/react-native-cameraroll/react-native-cameraroll/commit/a0abf74))
2022-09-01 11:44:37 +00:00
semantic-release-botandidrissakhi 92580713fd chore(release): 5.0.0 [skip ci]
# [5.0.0](https://github.com/react-native-cameraroll/react-native-cameraroll/compare/v4.1.2...v5.0.0) (2022-08-23)

### Bug Fixes

* Remove fbjs in favor of `invariant` lib ([#367](https://github.com/react-native-cameraroll/react-native-cameraroll/issues/367)) ([a62a717](https://github.com/react-native-cameraroll/react-native-cameraroll/commit/a62a717))
* update package.json React 18 ([06970d6](https://github.com/react-native-cameraroll/react-native-cameraroll/commit/06970d6))

### chore

* **npm:** migrate package to new @react-native-camera-roll/camera-roll namespace ([#416](https://github.com/react-native-cameraroll/react-native-cameraroll/issues/416)) ([6afa303](https://github.com/react-native-cameraroll/react-native-cameraroll/commit/6afa303))

### Features

* **all:** fix various issues and big maintenance update of the library ([#404](https://github.com/react-native-cameraroll/react-native-cameraroll/issues/404)) ([#411](https://github.com/react-native-cameraroll/react-native-cameraroll/issues/411)) BREAKING ([c230dd0](https://github.com/react-native-cameraroll/react-native-cameraroll/commit/c230dd0)), closes [#322](https://github.com/react-native-cameraroll/react-native-cameraroll/issues/322) [#244](https://github.com/react-native-cameraroll/react-native-cameraroll/issues/244) [#248](https://github.com/react-native-cameraroll/react-native-cameraroll/issues/248) [#254](https://github.com/react-native-cameraroll/react-native-cameraroll/issues/254) [#340](https://github.com/react-native-cameraroll/react-native-cameraroll/issues/340) [#401](https://github.com/react-native-cameraroll/react-native-cameraroll/issues/401) [#276](https://github.com/react-native-cameraroll/react-native-cameraroll/issues/276) [#135](https://github.com/react-native-cameraroll/react-native-cameraroll/issues/135) [#393](https://github.com/react-native-cameraroll/react-native-cameraroll/issues/393) [#322](https://github.com/react-native-cameraroll/react-native-cameraroll/issues/322) [#244](https://github.com/react-native-cameraroll/react-native-cameraroll/issues/244) [#248](https://github.com/react-native-cameraroll/react-native-cameraroll/issues/248) [#254](https://github.com/react-native-cameraroll/react-native-cameraroll/issues/254) [#340](https://github.com/react-native-cameraroll/react-native-cameraroll/issues/340) [#401](https://github.com/react-native-cameraroll/react-native-cameraroll/issues/401) [#276](https://github.com/react-native-cameraroll/react-native-cameraroll/issues/276) [#135](https://github.com/react-native-cameraroll/react-native-cameraroll/issues/135) [#393](https://github.com/react-native-cameraroll/react-native-cameraroll/issues/393)

### BREAKING CHANGES

* **npm:** new package namespace!
* **all:** root import changed!
```
import { CameraRoll } from @react-native-community/cameraroll
instead of
import CameraRoll from @react-native-community/cameraroll
```

Co-authored-by: idrissakhi <85105624+idrissakhi@users.noreply.github.com>
2022-08-23 08:36:21 +00:00
Bartol Karuza 6afa303eb2 chore(npm): migrate package to new @react-native-camera-roll/camera-roll namespace (#416)
BREAKING CHANGE: new package namespace!
2022-08-23 08:30:32 +00:00
Bartol Karuzaandidrissakhi c230dd0074 feat(all): fix various issues and big maintenance update of the library (#404) (#411) BREAKING
Fixes
fix(ci): fixed android release build as a CI test step

fix(android): Fix MediaStore issues and support scopped storage #322 #244

fix(android): Fix saveImageToCameraRoll #248 #254

fix(android): remove JCenter #340 #401

fix(ios): Fix performance issues #276

fix(ios): add method to get file Path from internal PH ID #135

fix(react-native): Bump used dependencies #393 ...

Fixes #322
Fixes #244
Fixes #248
Fixes #254
Fixes #340
Fixes #401
Fixes #276
Fixes #135
Fixes #393

new Features

feat(ios): now it's possible to listen to library selection changes
`useEffect(() => {
let subscription: EmitterSubscription;
if (isAboveIOS14) {
subscription = cameraRollEventEmitter.addListener('onLibrarySelectionChange', (_event) => {
getUnloadedPictures();
});
}

return () => {
if (isAboveIOS14 && subscription) {
subscription.remove();
}
};`

feat(ios): possibility to open native modal to update selection when authorization is limited
iosRefreshGallerySelection()
feat(ios): Convert HEIC images on demand to upload to server
BREAKING CHANGE: root import changed!
```
import { CameraRoll } from @react-native-community/cameraroll
instead of
import CameraRoll from @react-native-community/cameraroll
```

Co-authored-by: idrissakhi <85105624+idrissakhi@users.noreply.github.com>
2022-08-23 08:13:10 +00:00
vladimirevstratov 06970d69c5 fix: update package.json React 18 2022-08-16 11:22:20 +00:00
Marc Rousavy a62a7177cc fix: Remove fbjs in favor of invariant lib (#367) 2022-08-08 12:54:30 +02:00
semantic-release-bot 80a521ccdc chore(release): 4.1.2 [skip ci]
## [4.1.2](https://github.com/react-native-community/react-native-cameraroll/compare/v4.1.1...v4.1.2) (2021-10-12)

### Bug Fixes

* **iOS:** prevent crash for fileSize fetching ([#330](https://github.com/react-native-community/react-native-cameraroll/issues/330)) ([07dc818](https://github.com/react-native-community/react-native-cameraroll/commit/07dc818))
2021-10-12 08:58:14 +00:00
semantic-release-bot bb9a31b1e5 chore(release): 4.1.1 [skip ci]
## [4.1.1](https://github.com/react-native-community/react-native-cameraroll/compare/v4.1.0...v4.1.1) (2021-10-10)

### Bug Fixes

* **orientation:** fix width/height info using EXIF data ([#343](https://github.com/react-native-community/react-native-cameraroll/issues/343)) ([60e0e8e](https://github.com/react-native-community/react-native-cameraroll/commit/60e0e8e))
2021-10-10 04:02:19 +00:00
semantic-release-bot af97725ea6 chore(release): 4.1.0 [skip ci]
# [4.1.0](https://github.com/react-native-community/react-native-cameraroll/compare/v4.0.4...v4.1.0) (2021-10-10)

### Features

* **iOS14:** Support for the new auth status `PHAuthorizationStatusLimited` from iOS 14 ([#326](https://github.com/react-native-community/react-native-cameraroll/issues/326)) ([3ade8c0](https://github.com/react-native-community/react-native-cameraroll/commit/3ade8c0))
2021-10-10 03:45:31 +00:00
semantic-release-bot 1421c1d7e4 chore(release): 4.0.4 [skip ci]
## [4.0.4](https://github.com/react-native-community/react-native-cameraroll/compare/v4.0.3...v4.0.4) (2021-03-23)

### Bug Fixes

* peerDependency version ([#296](https://github.com/react-native-community/react-native-cameraroll/issues/296)) ([50e68a5](https://github.com/react-native-community/react-native-cameraroll/commit/50e68a5))
2021-03-23 08:17:04 +00:00
Jesse Katsumata 50e68a58b4 fix: peerDependency version (#296) 2021-03-23 17:07:11 +09:00
Chris BobbeandJesse Katsumata daa6a9faeb chore: Support React Native v0.63. (#264)
Co-authored-by: Jesse Katsumata <niconico.clarinet@gmail.com>
2021-03-21 12:55:20 +09:00
semantic-release-bot 5fe8de181d chore(release): 4.0.3 [skip ci]
## [4.0.3](https://github.com/react-native-community/react-native-cameraroll/compare/v4.0.2...v4.0.3) (2021-03-21)

### Bug Fixes

* (Android) Fixed issue where timestamp was "0" ([#277](https://github.com/react-native-community/react-native-cameraroll/issues/277)) ([a5befe3](https://github.com/react-native-community/react-native-cameraroll/commit/a5befe3))
2021-03-21 03:43:46 +00:00
semantic-release-bot 7fa9b7c062 chore(release): 4.0.2 [skip ci]
## [4.0.2](https://github.com/react-native-community/react-native-cameraroll/compare/v4.0.1...v4.0.2) (2021-01-27)

### Bug Fixes

* RuntimeException on faulty video files ([#241](https://github.com/react-native-community/react-native-cameraroll/issues/241)) ([a83ad4c](https://github.com/react-native-community/react-native-cameraroll/commit/a83ad4c)), closes [#239](https://github.com/react-native-community/react-native-cameraroll/issues/239)
* updated react dependency in podspec to enable build in Xcode 12 (for iOS >= 12) ([#260](https://github.com/react-native-community/react-native-cameraroll/issues/260)) ([4f16a5a](https://github.com/react-native-community/react-native-cameraroll/commit/4f16a5a))
2021-01-27 03:11:28 +00:00
Alexis Bronchart 4f16a5a9c4 fix: updated react dependency in podspec to enable build in Xcode 12 (for iOS >= 12) (#260) 2021-01-16 14:21:14 +09:00
semantic-release-bot 39cc3b0fbc chore(release): 4.0.1 [skip ci]
## [4.0.1](https://github.com/react-native-community/react-native-cameraroll/compare/v4.0.0...v4.0.1) (2020-09-29)

### Bug Fixes

* fix for crash on putImageSize due to photoDescriptor being null. ([#240](https://github.com/react-native-community/react-native-cameraroll/issues/240)) ([b6038a7](https://github.com/react-native-community/react-native-cameraroll/commit/b6038a7)), closes [#226](https://github.com/react-native-community/react-native-cameraroll/issues/226) [#239](https://github.com/react-native-community/react-native-cameraroll/issues/239)
* Xcode 12 compatibility ([#234](https://github.com/react-native-community/react-native-cameraroll/issues/234)) ([24fa8aa](https://github.com/react-native-community/react-native-cameraroll/commit/24fa8aa))
2020-09-29 12:06:44 +00:00
semantic-release-bot cd22a36dd5 chore(release): 4.0.0 [skip ci]
# [4.0.0](https://github.com/react-native-community/react-native-cameraroll/compare/v3.0.1...v4.0.0) (2020-06-24)

### Bug Fixes

* Revert "Convert PHAsset to JPEG for uploading" ([#207](https://github.com/react-native-community/react-native-cameraroll/issues/207)) ([a09af08](https://github.com/react-native-community/react-native-cameraroll/commit/a09af08)), closes [#193](https://github.com/react-native-community/react-native-cameraroll/issues/193)

### BREAKING CHANGES

* this reverts forcing all mime types to jpeg on upload, which is the cause of lost GIF data
2020-06-24 08:25:56 +00:00
semantic-release-bot 9d6aab1aa0 chore(release): 3.0.1 [skip ci]
## [3.0.1](https://github.com/react-native-community/react-native-cameraroll/compare/v3.0.0...v3.0.1) (2020-06-23)

### Bug Fixes

* error during pod install. Tags have v prefix. ([#205](https://github.com/react-native-community/react-native-cameraroll/issues/205)) ([a0a48b6](https://github.com/react-native-community/react-native-cameraroll/commit/a0a48b6))
2020-06-23 05:55:04 +00:00
semantic-release-bot 4cb20cc8d3 chore(release): 3.0.0 [skip ci]
# [3.0.0](https://github.com/react-native-community/react-native-cameraroll/compare/v2.0.0...v3.0.0) (2020-06-23)

### Features

* Added imageSize and playableDuration to `include` param, deletes isStored ([#187](https://github.com/react-native-community/react-native-cameraroll/issues/187)) ([ec33d32](https://github.com/react-native-community/react-native-cameraroll/commit/ec33d32))

### BREAKING CHANGES

* imageSize and playableDuration are no longer included by default to improve performance
2020-06-23 05:47:49 +00:00
semantic-release-botandHarry Yu f8b2860a74 chore(release): 2.0.0 [skip ci]
# [2.0.0](https://github.com/react-native-community/react-native-cameraroll/compare/v1.8.1...v2.0.0) (2020-06-16)

### Features

* Added `include` parameter to getPhotos to let users tradeoff performance by omitting metadata ([#178](https://github.com/react-native-community/react-native-cameraroll/issues/178)) ([#200](https://github.com/react-native-community/react-native-cameraroll/issues/200)) ([4da8310](https://github.com/react-native-community/react-native-cameraroll/commit/4da8310))

### BREAKING CHANGES

* meta data is no longer added as default. This applies to `fileName`, `fileSize` and `location`. If you need this metadata use the new `include` parameter. Adding this metadata will slow down the `getPhotos` function, so consider only retrieving this meta data for smaller sets of images as needed, instead of for all images.

* Created getPhotosFast function, fixed inconsistent getPhotos toDate logic

* Fixed wrong param name, added better typechecking

* Added example, renamed allowEmptyFilenames to skipGettingFilenames

* Removed `after` from getPhotosFast docs

* Redid implementation based on a new `include` param

* Updated API to use include parameter

* Fixed flow checking by converting index.ts to Typescript

* Unformatted README.md

* Unformatted README.md

* Unformatted README.md

* Added .prettierignore and ignored README.md for now

* Made example/index.js not checked by Flow

* Updated README.md to include notes in the outputs too

* Made inclusion of fields consistent, addressed other feedback

* Renamed GetPhotosFastParams back to GetPhotosParams

* Updated documentation to reflect nullable types

* Updated typings and documentation for fromTime, toTime

* Updated to fix `hasNextPage` being incorrectly false in some cases

Co-authored-by: Harry Yu <hy.harry.yu@gmail.com>
2020-06-16 10:24:15 +00:00
Bartol KaruzaandHarry Yu 4da8310892 feat: Added include parameter to getPhotos to let users tradeoff performance by omitting metadata (#178) (#200)
BREAKING CHANGE: meta data is no longer added as default. This applies to `fileName`, `fileSize` and `location`. If you need this metadata use the new `include` parameter. Adding this metadata will slow down the `getPhotos` function, so consider only retrieving this meta data for smaller sets of images as needed, instead of for all images.

* Created getPhotosFast function, fixed inconsistent getPhotos toDate logic

* Fixed wrong param name, added better typechecking

* Added example, renamed allowEmptyFilenames to skipGettingFilenames

* Removed `after` from getPhotosFast docs

* Redid implementation based on a new `include` param

* Updated API to use include parameter

* Fixed flow checking by converting index.ts to Typescript

* Unformatted README.md

* Unformatted README.md

* Unformatted README.md

* Added .prettierignore and ignored README.md for now

* Made example/index.js not checked by Flow

* Updated README.md to include notes in the outputs too

* Made inclusion of fields consistent, addressed other feedback

* Renamed GetPhotosFastParams back to GetPhotosParams

* Updated documentation to reflect nullable types

* Updated typings and documentation for fromTime, toTime

* Updated to fix `hasNextPage` being incorrectly false in some cases

Co-authored-by: Harry Yu <hy.harry.yu@gmail.com>
2020-06-16 13:20:51 +03:00
semantic-release-bot 27f277169e chore(release): 1.8.1 [skip ci]
## [1.8.1](https://github.com/react-native-community/react-native-cameraroll/compare/v1.8.0...v1.8.1) (2020-06-16)

### Bug Fixes

* Revert "feat: Added `include` parameter to getPhotos to let users tradeoff performance by omitting metadata ([#178](https://github.com/react-native-community/react-native-cameraroll/issues/178))" ([#199](https://github.com/react-native-community/react-native-cameraroll/issues/199)) ([e65e1f2](https://github.com/react-native-community/react-native-cameraroll/commit/e65e1f2))
2020-06-16 10:08:14 +00:00
Bartol Karuza e65e1f208b fix: Revert "feat: Added include parameter to getPhotos to let users tradeoff performance by omitting metadata (#178)" (#199) 2020-06-16 13:05:12 +03:00
semantic-release-bot c5ea581d22 chore(release): 1.8.0 [skip ci]
# [1.8.0](https://github.com/react-native-community/react-native-cameraroll/compare/v1.7.2...v1.8.0) (2020-06-16)

### Features

* Added `include` parameter to getPhotos to let users tradeoff performance by omitting metadata ([#178](https://github.com/react-native-community/react-native-cameraroll/issues/178)) ([e54a6af](https://github.com/react-native-community/react-native-cameraroll/commit/e54a6af))
2020-06-16 09:12:10 +00:00
Harry Yu e54a6afa8b feat: Added include parameter to getPhotos to let users tradeoff performance by omitting metadata (#178)
* Created getPhotosFast function, fixed inconsistent getPhotos toDate logic

* Fixed wrong param name, added better typechecking

* Added example, renamed allowEmptyFilenames to skipGettingFilenames

* Removed `after` from getPhotosFast docs

* Redid implementation based on a new `include` param

* Updated API to use include parameter

* Fixed flow checking by converting index.ts to Typescript

* Unformatted README.md

* Unformatted README.md

* Unformatted README.md

* Added .prettierignore and ignored README.md for now

* Made example/index.js not checked by Flow

* Updated README.md to include notes in the outputs too

* Made inclusion of fields consistent, addressed other feedback

* Renamed GetPhotosFastParams back to GetPhotosParams

* Updated documentation to reflect nullable types

* Updated typings and documentation for fromTime, toTime

* Updated to fix `hasNextPage` being incorrectly false in some cases
2020-06-16 12:07:25 +03:00