Commit Graph

516 Commits

Author SHA1 Message Date
DreamPiggy 4a7cd64f5b
feat(ios): allow for for per-image-request-headers (#691)
* Bump the dependency of SDWebImage into 5.8+ because of the SDWebImageDownloaderRequestModifier convenient API usage
* Fix the implementation on iOS for per-image-request-header-setup. Should not use `SDWebImageDownloader` which manage the global shared headers. Use the context option of request modifier.
* Add the support for data:image URL for WebP images
* Alaways bypass invalid SSL certificate error, same behavior like React-Native itself
* Fix the implementation of request modifier on SDWebImage, which have bugs on 5.8.0 (will fix in 5.8.1), revert the dependency bump
* Revert the changes to bypass SSL error
* Remove the unused Podfile.lock changes
2020-07-17 01:27:57 -04:00
semantic-release-bot 0e29d83b7d release(version): Release 8.2.2 [skip ci]
## [8.2.2](https://github.com/DylanVann/react-native-fast-image/compare/v8.2.1...v8.2.2) (2020-07-17)

### Bug Fixes

* accessibilityIgnoresInvertColors prop not recognised when using TypeScript ([#666](https://github.com/DylanVann/react-native-fast-image/issues/666)) ([22f89e4](22f89e43a4)), closes [/github.com/DylanVann/react-native-fast-image/blob/master/src/index.tsx#L150-L160](https://github.com//github.com/DylanVann/react-native-fast-image/blob/master/src/index.tsx/issues/L150-L160)
2020-07-17 05:17:27 +00:00
JP 22f89e43a4
fix: accessibilityIgnoresInvertColors prop not recognised when using TypeScript (#666)
- in testing [eslint-plugin-react-native-a11y](https://github.com/FormidableLabs/eslint-plugin-react-native-a11y) with `react-native-fast-image`, I noticed that a11y props such as `accessibilityIgnoresInvertColors` are missing from FastImage's TypeScript definitions
- in theory the "proper" fix for this would be to make `FastImageProps` extend `ImagePropsBase` from React Native, because ultimately FastImage [spreads Props down](https://github.com/DylanVann/react-native-fast-image/blob/master/src/index.tsx#L150-L160) to React Native's Image component (including a11y props)
- attempting this "proper" fix proved problematic in practice due to incompatibilities between the two interfaces
- instead rather than extending the entirety of `ImagePropsBase` (which itself extends `AccessibilityProps`) we can resolve this by simply also extending `AccessibilityProps`
2020-07-17 01:15:49 -04:00
semantic-release-bot 184eecb121 release(version): Release 8.2.1 [skip ci]
## [8.2.1](https://github.com/DylanVann/react-native-fast-image/compare/v8.2.0...v8.2.1) (2020-07-17)

### Bug Fixes

* remove cache property if using fallback ([ba0f238](ba0f238821))
2020-07-17 05:10:51 +00:00
Milan Susnjar ba0f238821 fix: remove cache property if using fallback
iOS image has its own properties for cache and if fallback
is true and regular image is being rendered we can't set
FastImage's cache value because it doesn't match.
2020-07-17 01:08:10 -04:00
semantic-release-bot 2eb3199143 release(version): Release 8.2.0 [skip ci]
# [8.2.0](https://github.com/DylanVann/react-native-fast-image/compare/v8.1.10...v8.2.0) (2020-07-17)

### Features

* export ResizeMode and Priority types ([#678](https://github.com/DylanVann/react-native-fast-image/issues/678)) ([e33664f](e33664fbcf))
2020-07-17 03:52:15 +00:00
Lucas Vieira e33664fbcf
feat: export ResizeMode and Priority types (#678) 2020-07-16 23:50:48 -04:00
semantic-release-bot 1fd53007ef release(version): Release 8.1.10 [skip ci]
## [8.1.10](https://github.com/DylanVann/react-native-fast-image/compare/v8.1.9...v8.1.10) (2020-07-17)

### Bug Fixes

* update SDWebImage and SDWebImageWebPCoder ([#689](https://github.com/DylanVann/react-native-fast-image/issues/689)) ([9646456](9646456675))
2020-07-17 03:50:19 +00:00
Lucas Barros 9646456675
fix: update SDWebImage and SDWebImageWebPCoder (#689) 2020-07-16 23:48:28 -04:00
semantic-release-bot 0fd9f773ee release(version): Release 8.1.9 [skip ci]
## [8.1.9](https://github.com/DylanVann/react-native-fast-image/compare/v8.1.8...v8.1.9) (2020-07-17)

### Bug Fixes

* wrong cache type ([#688](https://github.com/DylanVann/react-native-fast-image/issues/688)) [skip ci] ([94e2256](94e2256da2))
2020-07-17 02:28:10 +00:00
lgenzelis 94e2256da2 fix: wrong cache type (#688) [skip ci]
Co-authored-by: Lucas Genzelis <lucas@foxbox.com>
2020-07-16 22:24:51 -04:00
semantic-release-bot c23204f521 release(version): Release 8.1.8 [skip ci]
## [8.1.8](https://github.com/DylanVann/react-native-fast-image/compare/v8.1.7...v8.1.8) (2020-07-17)

### Bug Fixes

* peer dependency warning ([#653](https://github.com/DylanVann/react-native-fast-image/issues/653)) ([cd81b1b](cd81b1b66a))
2020-07-17 02:09:37 +00:00
Alejandro cd81b1b66a
fix: peer dependency warning (#653) 2020-07-16 22:08:12 -04:00
semantic-release-bot 6067b7dd3c release(version): Release 8.1.7 [skip ci]
## [8.1.7](https://github.com/DylanVann/react-native-fast-image/compare/v8.1.6...v8.1.7) (2020-07-17)
2020-07-17 01:35:49 +00:00
Dylan Vann 4ee0000048 docs: fix changelog 2020-07-16 21:34:10 -04:00
semantic-release-bot 8f14faffdb release(version): Release 8.1.6 [skip ci]
## [8.1.6](https://github.com/DylanVann/react-native-fast-image/compare/v8.1.5...v8.1.6) (2020-07-17)
2020-07-17 01:29:55 +00:00
Dylan Vann c279577f95
build: use dv-scripts (#707)
- Simplifying configuration for:
  - Building
  - Linting
  - Testing
  - Releasing

I'll fix code coverage in an upgrade.
2020-07-16 21:28:12 -04:00
Dylan Vann 0d34e62069 chore: deduplicate dependencies 2020-07-16 16:43:49 -04:00
semantic-release-bot cde7af5178 chore(release): 8.1.5 [skip ci]
## [8.1.5](https://github.com/DylanVann/react-native-fast-image/compare/v8.1.4...v8.1.5) (2020-03-14)

### Bug Fixes

* Updates SDWebImageWebPCoder. ([#628](https://github.com/DylanVann/react-native-fast-image/issues/628)) ([325d77f](325d77f4c2))
2020-03-14 03:15:44 +00:00
Alexandre Moureaux 325d77f4c2
fix: Updates SDWebImageWebPCoder. (#628)
This improves RAM usage for static webp assets see:
https://github.com/SDWebImage/SDWebImageWebPCoder/pull/30

Potentially related to https://github.com/DylanVann/react-native-fast-image/issues/622
2020-03-13 23:13:39 -04:00
semantic-release-bot af667d2f8a chore(release): 8.1.4 [skip ci]
## [8.1.4](https://github.com/DylanVann/react-native-fast-image/compare/v8.1.3...v8.1.4) (2020-03-12)

### Bug Fixes

* Bump Glide version number to v4.11.0. ([#649](https://github.com/DylanVann/react-native-fast-image/issues/649)) ([c4e4306](c4e4306c15)), closes [#536](https://github.com/DylanVann/react-native-fast-image/issues/536)
2020-03-12 22:50:41 +00:00
Rodrigo Troncoso c4e4306c15
fix: Bump Glide version number to v4.11.0. (#649)
Fixes #536
2020-03-12 18:48:09 -04:00
Dylan Vann bf55742e5f
chore: Convert example to TypeScript (#648) 2020-03-12 02:27:37 -04:00
semantic-release-bot dc3d66e1a0 chore(release): 8.1.3 [skip ci]
## [8.1.3](https://github.com/DylanVann/react-native-fast-image/compare/v8.1.2...v8.1.3) (2020-03-12)

### Bug Fixes

* Replace 'Component' with 'ComponentType' ([#647](https://github.com/DylanVann/react-native-fast-image/issues/647)) ([6abb273](6abb273ce5))
2020-03-12 04:58:26 +00:00
Jose G 6abb273ce5
fix: Replace 'Component' with 'ComponentType' (#647) 2020-03-12 00:56:12 -04:00
semantic-release-bot b4b1173dcc chore(release): 8.1.2 [skip ci]
## [8.1.2](https://github.com/DylanVann/react-native-fast-image/compare/v8.1.1...v8.1.2) (2020-03-09)

### Bug Fixes

* Fixes podspec syntax. ([b627646](b627646001))
2020-03-09 05:23:41 +00:00
Dylan Vann b627646001 fix: Fixes podspec syntax. 2020-03-09 01:21:01 -04:00
semantic-release-bot 5d4bd053c0 chore(release): 8.1.1 [skip ci]
## [8.1.1](https://github.com/DylanVann/react-native-fast-image/compare/v8.1.0...v8.1.1) (2020-03-09)

### Bug Fixes

* Add git tag to CocoaPods source property ([#601](https://github.com/DylanVann/react-native-fast-image/issues/601)) ([2d706ad](2d706ad7da))
2020-03-09 02:48:27 +00:00
Peter Lucak 2d706ad7da
fix: Add git tag to CocoaPods source property (#601)
This change will make the CocoaPods version which is installed match the NodeJS version used.  
Currently, CocoaPods will install the latest version on head which could not match the JavaScript version of the library.

Changes:

1. Use the version tag to match the version installed by CocoaPods to that coming the from the `package.json` file.
2020-03-08 22:46:36 -04:00
semantic-release-bot c345b6a97c chore(release): 8.1.0 [skip ci]
# [8.1.0](https://github.com/DylanVann/react-native-fast-image/compare/v8.0.0...v8.1.0) (2020-03-09)

### Features

* converts to TypeScript ([#642](https://github.com/DylanVann/react-native-fast-image/issues/642)) ([ac11706](ac117060eb))
2020-03-09 00:46:48 +00:00
Dylan Vann ac117060eb
feat: converts to TypeScript (#642)
This converts the codebase to TypeScript. Compilation and bundling is done with tsdx. This will
hopefully ensure our types are more accurate in the future.
2020-03-08 20:44:22 -04:00
Dylan Vann e24c931826
chore: Upgrade dependencies. (#641) 2020-03-01 16:56:35 -05:00
Dylan Vann 09d20edc1b
chore: Upgrade example dependencies. (#640) 2020-03-01 16:05:40 -05:00
Dylan Vann 6994606073
chore: Update example to React Native 0.61.5. (#639)
This also upgrades all the dependencies.
2020-03-01 15:58:28 -05:00
Dylan Vann e94e6fee66
chore: Update roadmap with notes on cache paths. (#589) 2019-10-21 02:19:59 -04:00
Dylan Vann ebe277c50b chore: Add docs for changing versions of things. 2019-10-20 16:09:03 -04:00
Dylan Vann 227d6e4e94 chore: Refactor Gradle variables. 2019-10-20 16:01:55 -04:00
semantic-release-bot 70d3a382ee chore(release): 8.0.0 [skip ci]
# [8.0.0](https://github.com/DylanVann/react-native-fast-image/compare/v7.0.2...v8.0.0) (2019-10-20)

### Features

* Add cookie support for iOS. ([#284](https://github.com/DylanVann/react-native-fast-image/issues/284)) ([ae47bff](https://github.com/DylanVann/react-native-fast-image/commit/ae47bff))

### BREAKING CHANGES

* This changes how network requests are handled on iOS. Make sure they still work for you.
2019-10-20 19:57:38 +00:00
fzyzcjy ae47bff4de feat: Add cookie support for iOS. (#284)
BREAKING CHANGE: This changes how network requests are handled on iOS. Make sure they still work for you.
2019-10-20 15:54:43 -04:00
Dylan Vann aa29ec8d01
chore: Add roadmap. (#587) 2019-10-20 15:44:29 -04:00
Dylan Vann 534d70d4a5
chore: Add yarn policy. (#577) 2019-10-13 13:23:10 -04:00
Pablo Espinosa 56c8eff5e9 chore: Document installing pods as troubleshooting method.
fix #534 
fix #257
2019-09-04 20:14:39 -07:00
Dylan Vann 7b8c0c841a
chore: Add note to readme. 2019-07-16 19:09:44 -04:00
semantic-release-bot f7dc6ebbef chore(release): 7.0.2 [skip ci]
## [7.0.2](https://github.com/DylanVann/react-native-fast-image/compare/v7.0.1...v7.0.2) (2019-07-05)

### Bug Fixes

* Fix peer dependency and remove prop-types. ([44a4c8b](https://github.com/DylanVann/react-native-fast-image/commit/44a4c8b))
2019-07-05 23:14:39 +00:00
Dylan Vann 44a4c8b340 fix: Fix peer dependency and remove prop-types. 2019-07-05 19:12:43 -04:00
semantic-release-bot 81ab7d5539 chore(release): 7.0.1 [skip ci]
## [7.0.1](https://github.com/DylanVann/react-native-fast-image/compare/v7.0.0...v7.0.1) (2019-07-05)

### Bug Fixes

* Fix IllegalArgumentException crash (Android). ([#511](https://github.com/DylanVann/react-native-fast-image/issues/511)) ([b6c4677](https://github.com/DylanVann/react-native-fast-image/commit/b6c4677))
2019-07-05 04:07:27 +00:00
Leandro Mazzuquini b6c467780b fix: Fix IllegalArgumentException crash (Android). (#511)
Fix IllegalArgumentException crash when context was instance of ContextWrapper and activity was destroyed.
2019-07-05 00:05:11 -04:00
Dylan Vann a5e3b9e64b docs: Remove duplication. 2019-07-05 00:02:54 -04:00
Dylan Vann 6d8c44442c docs: Make example not reference styles. 2019-07-05 00:00:47 -04:00
Dylan Vann 41de1fdc6d docs: Remove react-native link from instructions. 2019-07-04 23:59:56 -04:00