jQuery SDK 2.4.0: key fixes for better stability
Today, we are announcing the latest version of our jQuery SDK - version 2.4.0!
This release contains two important fixes and we encourage everyone to upgrade as soon as possible:
- This version fixes crashes that can occur on iOS when uploading large videos.
- This version prevents files from being sent to the final form submit destination in the latest Firefox version, causing 413 status headers in some Nginx configurations.
If you are using //assets.transloadit.com/js/jquery.transloadit2-latest.js
or
//assets.transloadit.com/js/jquery.transloadit2-v2-latest.js
, you will be upgraded automatically.
There also is a change in behavior that you should be aware of:
- The check whether the chosen file's extension matches the values in the file input's
accept
attribute has been removed. Comparing mime types to file extensions was a bad idea.
This means that you can no longer rely on the accept
attribute to prevent users from uploading
certain types of files. If this is problematic for you, please use the previous version which is
available at //assets.transloadit.com/js/jquery.transloadit2-v2.3.5.js
. Our our Robots
will already ignore any file types they don't understand, but if you want to make absolutely sure
that particular file types are rejected, we recommend using our
/file/filter Robot.
A big thanks goes to Christian Pekeler from DailyChildcareReport who helped us analyze these problems!