Closed (won't fix)
Project:
Drupal core
Version:
8.0.x-dev
Component:
javascript
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
29 Jun 2011 at 06:18 UTC
Updated:
29 Jul 2014 at 19:44 UTC
Jump to comment: Most recent file
Comments
Comment #1
keichee commentedComment #2
catchIt would be great to stay up to date with jQuery on a rolling basis in Drupal 8, but this is a task rather than a bug.
For Drupal 7, the jQuery version is frozen after release, http://drupal.org/project/jquery_update handles this for Drupal 7 and earlier.
Comment #3
keichee commentedthis is 8.x-dev as i pull from git. and why will i need some modules when i can get from core..
this is much simpler and time saving, because i wont need to install that module. what if i dont know that module in the first place..
Comment #4
droplet commented#1085590: Update to jQuery UI 1.9
Comment #5
klonosSubscribing here too ...in case it is decided that #1085590: Update to jQuery UI 1.9 will hold stable releases of jQuery and here's where one will find the latest "bleeding edge" versions.
Comment #6
lyricnz commentedAs discussed in #1085590: Update to jQuery UI 1.9, these are not duplicate issues. That issue aims to get Drupal 8 up to the latest released version of jQuery. This issue aims to closely track jQuery git. The two issues can be debated on their own merits.
Comment #7
lyricnz commentedComment #8
keichee commentedfresh compiled from git..
Comment #9
keichee commentedi love jquery minified their sources, they use node.js
jqueryui uses ant.. so yesterday.. but their builder zips their build. i mean, its much more features.
hopefully someday drupal makes their release cycles like chrome canary does..haha!
attached fresh from git, jquery ui js, css and images
Comment #10
klonos...just some 'minor' edits in the issue's title so that one knows at a glance what versions the latest patch includes.
@keichee: hope you don't mind the extra work of keeping the title up to date as well Lauro ;)
PS: can we hope for a D7 patch here along with the D8 (against latest 7.x-dev)?
Comment #11
keichee commentedim still new at the drupal boat, but many thanks, all will be noted.
Comment #12
catch@klonos: we can't upgrade the version of jQuery that D7 ships with because it would be a bc break in Drupal core itself. jQuery update module handles that for stable releases.
Comment #13
keichee commentedimho D6 D7 need a jquery / jquery ui upgrade..
its like a windows xp killswitch to force users to windows 7 :))
still jquery and ui upgrades wont affect old code functionality..
http://www.daniweb.com/web-development/javascript-dhtml-ajax/reviews/365863
and sometime soon, there will be simpletests in javascript for drupal.. wow..
http://drupal.org/node/1221442
imagine faster javascript, html5, css, new functionalities with bleeding edge without any worries.
Comment #14
droplet commentedsorry, offtopic,
old version of jQuery gives really bad imagine to developers.
eg.
http://erickennedy.org/Drupal-7-Reasons-to-Switch
Yes, it can use jQuery Update sometimes, sadly other modules won't support new version of jQuery, there is a big deal.
for now, clearly it can't add new version of jQuery into CORE. IMO, it can be move this issue to jQuery Update. That may help to speed up the releases. 1.6 is released about 2months but jQuery Update is delivery 1.5.x only.
Comment #15
keichee commentedjquery update to core? why not. but i guess because of drupal slow release cycles vs jquery almost instant release cycles, what can you expect?
that article is really true.. why do i need modules that only 1/4 is what i use?
i create modules in drupal on my own and copy some needed modules that i need to make things work without the whole modules installed. because i dont want to add more modules or i dont even know that module exist imho.
server processes are really slow, and jquery can hide that by making the processes client side.
fast sites ftw :))
Comment #16
catchUnit and functional testing of core's JavaScript would make it easier to consider jQuery updates in core.
However even with that droplet's point still stands - if modules are written to work with Drupal 7.0, they also need to work with Drupal 7.20 (except in rare cases where a critical bug forces an API change, but that's quite rare). The last time I looked at a jQuery changelog (which was quite some time ago), bug fixes, new features and bc breakage were all mixed in to a minor point release.
Since we can expect numerous minor and major releases to come out during the entire lifecycle of a core release (Drupal 6 will be supported for another couple of years), it's not just one bc change either (like a critical bug might be) - modules that have JavaScript might need to be upgraded several times. Not to mention custom JavaScript on sites which might break etc. etc.
Having said that, both Dries and webchick have said they're opening to considering some limited new features for Drupal 7 (now that we have automated testing for PHP this is easier). So if there was a more recent jQuery release which claimed to have no bc breakage, updating might not be out of the question - but in practice if previously working code breaks, this is very unlikely to happen.
It might worth opening another issue (I know I keep recommending splitting issue, but that's the easiest way to get things done in core - one thing at a time), to discuss reconsidering this for Drupal 8. For example moving some aspects of jQuery update or libraries module into core - although there may already be issues open for this. That might allow for example shipping both the 7.0 and latest stable jQuery and jQuery UI versions with core, defaulting to the new one for new installs, but leaving the old one in place on sites that are upgrading (who could change it manually when they wanted to).
Overall there are a lot of things to consider with changes like that - mainly contributed and custom modules - other than whether just core could keep up by itself.
Comment #17
klonosI don't know about jQuery update in core. It sounds good except the release cycle being slow and all. OTOH, if Libraries API was to get in core + let it handle jQuery, then we could a) allow end users to easily update jQuery independently from core - no patches involved b) allow them to revert to a previous known-to-be-working version in case of bc breakage c) perhaps find a way to let various modules use different versions of jQuery through Library API and some kind of magic.
Comment #18
keichee commentedif jquery update will be included to core, they must support compiling jquery/jqueryui from git.
i mean wow..
Comment #19
keichee commentedyou know what, admins wont get this thread notice if i dont change the priority, well commit it to the core now.. please..
Comment #20
lyricnz commentedIt's not critical, and I doubt git versions of jquery will ever get committed to core (too likely to cause breakage, too much ongoing effort for core committers, etc). #1085590: Update to jQuery UI 1.9 has much more chance of success.
Comment #21
marcingy commentedThis is really won't fix - core is never going to contain git based versions of jquery we need a version to develop against during a drupal cycle.
Comment #22
robloachjQuery UI 1.9 is right around the corner. We should update to the latest in git to help the jQuery UI team out with their upcoming release, and allow us to start using some of jQuery UI 1.9 in Drupal core.
Comment #23
robloachWhoops, wrong thread, meant to point people over to #1085590: Update to jQuery UI 1.9.