keystonejs / keystone-storage-adapter-s3

⚠️ Archived - Legacy S3 Storage Adapter for KeystoneJS
MIT License
17 stars 55 forks source link

Compatibility with latest Keystone version #31

Closed mickaelchanrion closed 6 years ago

mickaelchanrion commented 6 years ago

Is this adapter compatible with the last version of keystone (beta) ?

cvn commented 6 years ago

Yes, it is. I've been using it with keystone 4.0.0-beta.8.

mickaelchanrion commented 6 years ago

Not working with the region 'eu-central-1' (due to knox which is not supporting the auth' mechanism, see this issue) So I used a fork of stevenkaspr. He implemented aws-sdk instead of knox. For anyone interested, the repo is here

mikehazell commented 6 years ago

v2.0.0 has been released today which resolves this issue.

This is a major version bump because the api around setting custom params on the uploaded objects has changed.

If you were using headers previously you will need to modify your code to use uploadParams. Check the read me for examples.