jQuery Core Team Meeting – Nov 17 2014

Attending: gibson0421, m_gol, timmywil

link Sizzle issues:

link Issues and PRs

link Shadow DOM support

jQuery Core Team Meeting – Nov 03 2014

Attending: DaveMethvin, markelog, timmywil

link Additional issue tracker things

  • wontfix? (done)
  • cantfix?
  • needs review (team needs to review the issue/PR) (done)
  • I don't think we want "fixed" or "notabug", too noisy and not particularly useful to search
  • "valid and fixed" issues should be assigned to a milestone, be sure they are when committing code that closes an issue
  • Always set a milestone when assigning an issue, and always assign the issue before closing with a fix/patch
  • Always create an issue for a PR, so the issues have a complete list of the problems solved

link Branch naming still needs to be done

link Issues and PRs in the 3.0 milestone

link $.xhr -- replaced by $.fetch

  • Let's do this as a plugin with its own schedule

link Issues and Pull Requests

  • Assign milestones to all issues

jQuery Core Team Meeting – Oct 27 2014

Attending: timmywil, DaveMethvin, gibson042, m_gol

link Trac issues migrated

link Branch naming

  • "compat-only" and "master-only" for issues applying to just one -- done
  • rename "1.x-master" to "compat"
  • also change name in package.json - “jquery-compat”
  • Both versions need package.json rename to 3.0.0-pre
  • land PRs before renaming

link Promises/A+ compat

link $.xhr -- replaced by $.fetch

  • Should this start as a plugin? Yes

link Publish 3.0 blogpost

  • Dave to do this week

link Browser support for 3.0.0

  • Drop official support for Opera 12 and Safari 5.1
  • Keep IE9 in the master branch
  • Support Android 2.x on both (dammit)

link Additional things to reconsider as of 3.0?

  • remove deprecated stuff like andSelf
  • fractional width/height?

link Testing

  • Continue to test Opera (latest, latest-1), but on the weekly job
  • We could test Yandex browser there if it's on browserstack
  • Let's switch to private browser sets (m_gol)
    • jquery and jquery-periodic
    • jquery-compat and jquery-compat-periodic

link Issues and Pull Requests

  • Assign milestones to all issues
  • https://github.com/jquery/jquery/issues/1784
  • Shadow DOM is a pain
    • Is this something jQuery should try to fix?
    • code size and performance implications could be big
    • dave to get some input from Polymer or web standards groups on whether this is reasonable to do, and if so what devs (and jQuery) should be doing to make this work without horrible perf

link Roadmap wiki page?

  • Collect all features/enhancements for feedback

jQuery Core Team Meeting – Oct 13 2014

Attending: DaveMethvin, jaubourg, markelog, gibson042, m_gol

link Trac

link Branch naming

  • Have a "compat-only" and "master-only" for issues applying to just one
  • rename "1.x-master" to "compat"
  • land PRs before renaming

link Promises/A+ compat

link $.xhr

link version 3.0

  • dmethvin making blog post, to be done this week for review

link Testing

  • Continue to test Opera, but on the weekly job
  • We could test Yandex browser there if it's on browserstack
  • Let's switch to private browser sets (m_gol)
    • jquery and jquery-weekly
    • jquery-compat and jquery-compat-weekly

jQuery Core Team Meeting – Oct 06 2014

Attending: DaveMethvin, markelog, m_gol

link Trac

link Promise Error telemetry

  • mikesherov will talk to Domenic

link Promises/A+ compat

link $.xhr

link versioning proposals (see last week for deeper discussion)

  • version- and API-synchronized
  • jquery 1.11.1 → jquery-compat 3.0.0
  • jquery 2.1.1 → jquery 3.0.0
  • methods & properties existing in both packages have identical signatures & structure for a given version
  • public API MUST NOT exist only in jquery-compat distribution
  • public API MAY exist only in jquery distribution
  • files on cdn are jquery-3.0.0.js and jquery-compat-3.0.0.js etc.
  • RESOLVED: we use the same version number for both branches
  • dmethvin to make a blog post

jQuery Core Team Meeting – Sep 29 2014

Attending: DaveMethvin, timmywil, jaubourg, gibson042

link Update on web site attacks

link Trac

  • Let's switch to Github issues
  • Infra team swamped with DDoS and hack attacks
  • Keeping Trac for old issues reference
    • turn off new account creation and anonymous add/comment (dave)
  • Trac 1.0 upgrade will happen when it happens
  • Migrate open issues to GH issues?
    • no, just close them via the current GH hook
  • Create new issues with GH issues
    • turn on gh issues (dave)
    • create tags/milestones

link Promise Error telemetry

  • mikesherov will talk to Domenic

link Promises/A+ compat

  • needs review
  • should this deliver to the .then? It doesn't currently because the .done throws
    • Deferred().done(f1).then(f2)
  • gibson042 proposing a change for that

link $.xhr

jQuery Core Team Meeting – Sep 22 2014

Attending: DaveMethvin, markelog, jaubourg, gibson042, mikesherov

link Trac

  • just about at the end of the line if it doesn't get fixed soon
  • we will switch to gh issues next week if trac has no progress

link Promise Error telemetry

  • Domenic proposed unhandled rejected promises go thru window.onerror
  • he actually preferred a separate handler for it tho
  • which should we back?
  • mikesherov will talk to Domenic this week

link Promises/A+ compat

  • jaubourg is working on it

link $.xhr

  • markelog and gibson042 to create some examples based on typical ajax usage
  • emails going out to core mailing group, with gists of sample usage
  • jQuery.ajax docs have some good examples

link https://github.com/jquery/jquery/pull/1652#issuecomment-56127735

  • bring back clear/mergeAttributes, gibson042 is on it
  • doing some perf tests to see impact

jQuery Core Team Meeting – Sep 15 2014

Attending: DaveMethvin, gibson042, mikesherov

Note: Timmy on vacation Aug 31-Sept 21

link Trac

  • I will ping about that, i think they made progress last week

link Promises/A+ compat for jaubourg's pull request

  • m_gol got it mostly working
  • some fails related to invalid args
  • need a solution for dfd.done( fnThrows ).then( neverCalled )
    • keep a separate list of callbacks for .then() vs .done()?
  • need analog to Promise.unhandledRejection proposal from Domenic
  • see if jauborg and m_gol can finish this
  • Promises error telemetry - Mike to reach out to Domenic

link $.xhr

  • markelog and gibson042 to create some examples based on typical ajax usage
  • review at next meeting

jQuery Core Team Meeting – Sep 11 2014

Location: In person, Chicago jQCon

Attending: DaveMethvin, markelog, gibson042, m_gol

link Versioning

  • If we are going npm we should obey semantic versioning
  • The .then() change will be breaking
  • Might as well remove other things like .andSelf()
  • New versioning
    • 1.x now jquery-legacy-3.x
    • 2.x now jquery 3.x

link Deferred pull request for Promise/A compat on .then()

link xhr

  • Design goal: allow standalone usage
  • Simple xhr module in a wrapper
1
2
3
4
5
6
7
8
9
10
jQuery.xhr = require("jquery-xhr");
jQuery.xhr.Promise = window.Promise || function( executor ) {
var dfd = jQuery.Deferred();
try {
executor( dfd.resolve, dfd.reject );
} catch ( ex ) {
dfd.reject( ex );
}
return dfd.promise();
};
  • Simple case: jQuery.xhr( url, options ).then( handlerA ).then( handlerB )
  • beforeSend case:
1
2
3
4
5
xhr = jQuery.xhr( url, { autosend: false } ).set( … );
jQuery.xhr({ url: ... });
jQuery.xhr( url );
xhr.then( handlerA );
xhr.send( body ).then( handlerB )
  • Super-advanced case:
1
2
3
4
5
6
xhr = jQuery.xhr( url, { autosend: false } );
xhr.then( handlerA );
if ( badFeeling(xhr.getNative()) ) { xhr.abort(); }
xhr.send( body ).then( handlerB );
Promise.resolve( xhr ).then( … )
jQuery.xhr( url ).send({ ... }), jQuery.xhr( url )
  • Does an unsent Promise that has mutability violate the Promise/A+ spec? Or does the mutability only apply to the resolution? No. Does not appear to apply to the returned promise, which can be augmented, only to the resolved value of the promise
  • options necessary to functionality: method, user, pass, body, query (RFC), beforeSend
  • options nice to keep: cache, ifModified, headers
  • jxrPromise: .abort(), .xhr property
    • Rejects on: Exception, timeout, abort
  • what about 4xx/5xx? or a 0 (network error)
    • implied success: jQuery.xhr( url ).then( jQuery.xhr.rejectHTTPError )
    • implied failure: jQuery.xhr( url ).catch( jQuery.xhr.ifResponse )
  • Resolved value: raw native xhr
  • Rejected value: Error object, potentially with .xhr property, .options object

jQuery Core Team Meeting – Sep 01 2014

Attending: DaveMethvin, markelog, gibson042,

Note: Timmy on vacation Aug 31-Sept 21

link Trac

  • Volunteers are making progress on new setup
  • Had two new volunteers, including a Trac core contributor

link Promise/A+ compat

  • gibson042 proposal seems like it should work!
  • Checking with jaubourg on his availability, markelog and gibson042 are interested

link $.xhr

  • Build options object interface
  • Below it is a chaining interface?
    • exposes (not wraps) underlying xhr method
  • limited compat with old IE and ActiveX method?
    • (See discussion in IRC)

link Pull Requests

  • Please review and comment
  • markelog to land a few today
  • gibson042 and dmethvin to work on them tomorrow

link Tickets