External Libraries in 3.5
We work hard to keep our external libraries as up-to-date as possible with each major release. Here’s what you can find today in trunk, all of which are the latest version:
- TinyMCE 3.5.6
- jQuery 1.8.0
- jQuery UI 1.8.23
- jQuery Color 2.1.0
- Jcrop 0.9.10
Edit: jQuery 1.8.1 (due out this week) and jQuery UI 1.9 (due out next week) are now both in trunk.
And, Backbone.js 0.9.2 and Underscore.js 1.3.3 were both added to core last week.
If you’re a plugin developer using a bundled library, we strongly suggest you follow their development as well, to ensure code you write will be compatible in the future. The projects we have adopted have very similar backwards compatibility policies as ours (which would be strive to always be compatible), which make this pretty easy to do.
Additionally, Prototype and script.aculo.us have been removed from core. They are still registered; enqueueing them will pull from ajax.googleapis.com. This is only being done for backwards compatibility and doesn’t indicate a change in policy. It was just a lot of bloat to keep shipping when core hasn’t used either for four years. (Both were updated to the latest versions in the process, something we can/may continue to do.)
See also the conversion to .min.js from .dev.js.
Alex Mills (Viper007Bond) 11:14 pm on August 29, 2012 Permalink
Nice way to do backwards compatibility without having to ship the files. Well done.
Emil Uzelac 11:18 pm on August 29, 2012 Permalink
Very cool
Japh 12:31 am on August 30, 2012 Permalink
Great work! Nice to see us dropping scripts we’re no longer using and adding new ones.
I assume we’ll be going with Backbone 0.9.2 and Underscore 1.3.3 (really just adding here for future reference)
Andrew Nacin 2:36 am on August 30, 2012 Permalink
Yep. Thanks, updated it.
ckhicks 6:04 am on August 30, 2012 Permalink
I’m really excited about this. Excluding the older libraries is a big step, but I’m glad to see the weight lessened on that front. Keep up the great work!
Marcus 3:18 pm on August 30, 2012 Permalink
Good to hear!
And theme developers too! A scary number of plugins and themes alike are still bundling jQuery and the UI, or using outdated versions on the Google CDN.
Ironically Japh and i had a chat about this earlier