Skip to content

Version 2.0.0

Compare
Choose a tag to compare
@imagekitio imagekitio released this 03 Aug 07:37
· 156 commits to master since this release
bef98fe

To fix issues like imagekit-developer/imagekit-react#101, we needed to delegate the responsibility of generating a security parameter to the SDK consumer. This version introduces a breaking change.

Breaking changes

Authentication Process Update:

  • Previously, when using client side file upload, the SDK required the publicKey and authenticationEndpoint parameters during SDK initialization to fetch security parameters (signature, token, and expire).
  • In version 2.0.0, we've updated the authentication process for the SDK. As a user of the SDK, you are now responsible for generating the security parameters (signature, token, and expire) yourself. This means you no longer need to provide the authenticationEndpoint. When using the SDK's upload method, make sure to pass these security parameters explicitly along with other upload options. For guidance on generating these security parameters, please refer to the documentation available here.