A new era for file uploads in Discourse

itsgoneitsdone

With these two commits, jQuery file uploader and resumable.js are no longer part of Discourse core:

https://github.com/discourse/discourse/pull/15365

https://github.com/discourse/discourse/pull/15376

I’ve done my best to remove all references to this and our old UploadMixin in all of the plugins that we know about, but there may have been some I missed or am unaware of. Never fear, the migration process is easy. 99% of use cases can just use our new UppyUploadMixin as a drop-in replacement with very minimal changes needed. For an example take a look here:

For the other 1%, you can create an instance of Uppy and hook into the events directly. For an example take a look here:

I’ve also covered the plugin changes in the OP of this topic. We still have a few weeks until our next release, so if anyone has any issues please report them here. It’s been a wild ride! :roller_coaster:

14 Likes