Skip to content

v2.0.0 - jQuery independent Core library

Compare
Choose a tag to compare
@cloudinary cloudinary released this 10 Nov 13:48
· 333 commits to master since this release

The version 2.0.0 release refactors the Cloudinary JavaScript library, and the biggest news is that the newly introduced Core Library is jQuery-independent. The source code has been converted into CoffeeScript and rearranged into classes, and a new build script based on Grunt has been added. The build process produces 3 artifacts:

  • A Core Library that is not dependent on jQuery
  • A jQuery plugin that includes the Core Library
  • A Blueimp plugin that includes the jQuery plugin and the Core Library

In order to publish these libraries in bower and NPM, 3 new Github repositories have been created:

+------------------------------------+-------------------------------+
| Repository                         | Package name                  |
+------------------------------------+-------------------------------+
|  pkg-cloudinary-core               | cloudinary-core               |
|  pkg-cloudinary-jquery             | cloudinary-jquery             |
|  pkg-cloudinary-jquery-file-upload | cloudinary-jquery-file-upload | 
+------------------------------------+-------------------------------+

The same package names are used in both bower and NPM.