- Thanks @tonnenpinguin for adding options to delete private images like:
Cloudex.delete(public_id, %{resource_type: "image", type: "private"})
- Thanks @davepersing to Allow S3 paths to be passed to Cloudinary when using a private bucket.
- Thanks @saicoder for bumping httpoison and timex
- Thanks again @abitdodgy for interexchanging the json library from Poison to Jason and making it configurable out of the box :)
- Thank you @abitdodgy for adding the ability to delete images by prefix
- Thank you @erikreedstrom for removing resource_type from signing
- Thank you @StareIntoTheBeard for adding the video codec option
- bumped deps
- Thank you @edouardmenayde for bumping timex from 3.3.0 which contained a serious bug
- Thank you @neenaoffline for bumping the version in the readme :)
- bumped deps
- Thank you @suranyami for adding video support by allowing passing in resource_type: "video".
- Thank you @cmtt for adding context support
- bumped deps
- Thanks @kuon for moving the http upload to https :D
- Added moderation to the UploadedImage struct as per request of @gccoding
- reformatted to elixir 1.6
- Thanks @angelikatyborska for adding Phash support to detect duplicate images
- Thanks @joshsmith for fixing some dialyzer errors and adding a proper type for Cloudex.UploadedImage
- Breaking change : When uploading a single file or url you will no
longer get a
[{:ok, %Cloudex.UploadedImage{}}]
but just a tuple like{:ok, %Cloudex.UploadedImage{}}
, uploading multiple files/urls will return a list of tuples just like it already did. - Increased test coverage
- bumped specs
- Enforced strict checking of dialyzer
- minor version bump
- Clean up and reformatting of code
- added specs and dialyzed
- Removed unnecessary complicated api split from live and test
- Its no longer needed to add
config :cloudex, :cloudinary_api, Cloudex.CloudinaryApi
in you config - Added VCR test actually test real responses from the live api
- Thanks @Tyler-pierce for adding support to rotate images
- Thanks @nbancajas for fixing signing bug when appending secret
- Thanks @dkln for added the g_face option
- You can add multiple effects using Cloudex.Url.for/2, an example would be adding an overlay to your image, using:
Cloudex.Url.for("a_public_id", [
%{border: "5px_solid_rgb:c22c33", radius: 5, crop: "fill", height: 246, width: 470, quality: 80},
%{overlay: "my_overlay", crop: "scale", gravity: "south_east", width: 128 ,x: 5, y: 15}
])
"//res.cloudinary.com/my_cloud_name/image/upload/bo_5px_solid_rgb:c22c33,c_fill,h_246,q_80,r_5,w_470/c_scale,g_south_east,l_my_overlay,w_128,x_5,y_15/a_public_id"
- Thanks to @sudostack for fixing a bug when not passing a transformation string and using signed_urls
- Bumped deps
- Thanks to @pauloancheta you can now also delete a list with
Cloudex.delete/1
- Thanks to @pauloancheta its now possible to also delete image given their public id using
Cloudex.delete/1
- bumped deps
- fixed deprecation warnings for elixir 1.4
- @remiq added support for tags. Quite appreciated :)
- @jprincipe added support for video urls. Thank you !
- Also bumped dependencies.
- @bgeihsgt (Thanks!) added the following changes :
- Whenever an HTTPoison call failed, it would fail with a match error. This uses with goodness to bubble up request or JSON parsing errors.
- I also increased the task timeout on upload to 60 seconds.
- Cloudex.Url.for now accepts a version as well, thank you @manukall
- bumped deps
- Removed the file and url extension check as requested. It is not the responsibility of this lib.
- The file extension regex is now case insensitive
- keys for upload opts (like "folder") need to be binaries. sorting however puts atoms before binaries, so signing did not work in such cases. Thank you @manukall!
- bumped deps
- updated timex dep
- allow uploading images from https urls, thank you @manukall !
- Bumped dependencies
- added timex to the applications list to allow for exrm releases (@manukall)
- You can now pass %{public_id: "my_public_id"} as options to the cloudinary upload, thanks @manukall !
- Added a url generator Cloudex.Url.for(public_id, options)
- Added example of a Phoenix Helper
- Initial commit