We're happy to tell you that we have now upgraded our jQuery SDK from version 2.8 to 3.0, and it supports tus-powered resumable uploads by default.
It might be a bit more work to port your jQuery integration over to Uppy than it would be to just upgrade it to v3, but we think you'll find it's worth the trouble!
That being said, our jQuery SDK still has a considerable user-base, and we felt those users deserve reliable file uploading as much as the rest of us. Thus, we have decided to release one last major upgrade.
Besides having support for resumable file uploads, the new jQuery SDK also comes with the following changes:
- Increased performance across the board
- Added support for Drag and Drop
- Added support for file preview lists
- Removed all options related to polling
- Reduced the amount of network traffic for Assembly Status updates
- Added the
requireUploadMetaDataparameter with a default to
false, so we do not wait for file upload metadata anymore, which results in a big speed improvement. This change was also back-ported to the last version in the 2.x series
- Added the
maxNumberOfUploadedFilesparameter, with which you can set a limit to the maximum allowed number of files to be uploaded
- Added two new callbacks:
Version 3.0 of the SDK is now officially out of beta and we recommended you start using this version at your earliest convenience. It is available at
Accordingly, version 2 of the SDK is now deprecated and starting from January 1, 2018, it will only receive security updates.
We have also decided that in the future, we would like to remove our
jquery.transloadit2-latest.js version. This has always been the latest of major versions, but we no longer want to automatically upgrade users between major versions since it inevitably leads to backward compatibility issues. Not having people on this magic version allows us to make backward compatibility-breaking changes without worrying about the fallout. In short: On January 1, 2018, the version at
https://assets.transloadit.com/js/jquery.transloadit2-latest.js will be marked as "End of Life" and will go completely out of maintenance.
There is only a handful of BC-breaking changes between both major versions. Chances are that you can just change the URL to the new major version and everything will continue to work. That said, make sure to test this! For your convenience, these are the BC-breaking issues to watch out for:
onExecuting()callback does not have the array of uploads anymore. Please use the onUpload callback to track received uploads
onResult()callbacks no longer receive the Assembly object as a parameter
formDataparameter has been removed, because all uploads use XHR now. This will only break BC for you if you used
formData: <customFormDataObj>. In that case, you should now add the contents of your custom form data as hidden input fields to the form
- Several new sentences have been added for which you would need to add new translations if you had a custom locale. Please check "How to add your own localization / other language strings" at the bottom of this page for details
- There is now a new
translationsparameter that must be used to get your custom locale working
As always, feedback is very much welcome! Enjoy!
Share your Transloadit project to earn $300
We love seeing how our community uses Transloadit. Tweet @transloadit to get your proposal approved, share what you’ve built in the form of a blog post or a tutorial on your website, and earn a $300 Gift certificate of your choice as well as a full year of the Startup Plan, at no cost after you publish.
Follow us on Twitter:Follow @transloadit
We're SO STOKED to announce the Transloadit Community Plan! 🎉🎉🎉 Unlimited uploading, importing and exporting, 5GB of encoding/month, and access to 50 different file conversion features for all.— 🤖 Transloadit (@transloadit) July 2, 2020
Best part? It's free. Forever. 🤑 Find out more https://t.co/zXWLi3Xa0G pic.twitter.com/DlY5xz1mPG