Skip to content

Commit a72aed4

Browse files
committed
add upgrade section
1 parent fe986ce commit a72aed4

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

README.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ Table of contents -
2020
* [File Management](#File-Management)
2121
* [Utility Functions](#Utility-functions)
2222
* [Sample applications](#Sample-Application)
23+
* [Upgrade to 2.0.0](#Upgrade)
2324
* [Support](#Support)
2425
* [Links](#Links)
2526

@@ -652,6 +653,16 @@ There are two sample apps:
652653

653654
Please see the sample applications in [here](https://github.com/imagekit-samples/quickstart).
654655

656+
## Upgrade to 2.0.0
657+
658+
Application using variants of version 1.0 needs following changes in order to use version 2.0.0:
659+
660+
- Remove config from environment file to initializer file as described [here](#Initialization).
661+
- Include `ImageKitIo::CarrierWave` in uploader class(for Carrierwave).
662+
- Remove `storage :imagekit_store` config from uploader.
663+
- Rename class `ImageKit::ImageKitClient` to `ImageKitIo::Client`
664+
- Rename class `ImageKitIo::ImageKitRequest` to `ImageKitIo::Request`
665+
655666
## Support
656667
For any feedback or to report any issues or general implementation support, please reach out to [[email protected]](mailto:[email protected])
657668

0 commit comments

Comments
 (0)