Skip to content

Commit 0acd2c3

Browse files
authored
All: Add missing jQuery versions to categories, update entries
jQuery 1.10/2.0 & 1.11/2.1 now have dedicated version categories; the same applies to 3.6. A few other version descriptions have been tweaked. The `.add( selection )` signature is now documented to have arrived in 1.1 instead of 1.3.2. Tests for this behavior got added in: jquery/jquery@a5f9108 A cetegory in one of `before` & `after` signatures was updated from `1.10` to `1.10-and-2.0`, fixing a broken category link. Closes gh-1225
1 parent 1d2d811 commit 0acd2c3

File tree

6 files changed

+41
-15
lines changed

6 files changed

+41
-15
lines changed

categories.xml

Lines changed: 30 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -439,54 +439,74 @@ var files = event.originalEvent.dataTransfer.files;
439439
<hr/>
440440
]]></desc>
441441
</category>
442+
<category name="Version 1.10 &amp; 2.0" slug="1.10-and-2.0">
443+
<desc><![CDATA[
444+
<p>Aspects of the API that were changed in the corresponding versions of jQuery. Changes in jQuery 1.10 and 2.0 include a new `wrap` module, relaxing HTML parsing, and aligning the 1.x &amp; 2.x lines.</p>
445+
<p>For more information, see the <a href="https://blog.jquery.com/2013/04/18/jquery-2-0-released/">2.0 Release Notes/Changelog</a> and <a href="https://blog.jquery.com/2013/05/24/jquery-1-10-0-and-2-0-1-released/">1.10.0/2.0.1 Release Notes/Changelog</a>.</p>
446+
<hr/>
447+
]]></desc>
448+
</category>
449+
<category name="Version 1.11 &amp; 2.1" slug="1.11-and-2.1">
450+
<desc><![CDATA[
451+
<p>Aspects of the API that were changed in the corresponding versions of jQuery. Changes in jQuery 1.11 and 2.1 include lower startup overhead &amp; fewer forced layouts; jQuery is now authored via AMD and published to npm &amp; bower under the name <code>jquery</code>.</p>
452+
<p>For more information, see the <a href="https://blog.jquery.com/2014/01/24/jquery-1-11-and-2-1-released/">Release Notes/Changelog</a>.</p>
453+
<hr/>
454+
]]></desc>
455+
</category>
442456
<category name="Version 1.12 &amp; 2.2" slug="1.12-and-2.2">
443457
<desc><![CDATA[
444-
<p>Aspects of the API that were changed in the corresponding versions of jQuery. Changes in jQuery 1.12 and 2.2 includes performance improvements of the selector engine, manipulation of class names for SVG elements, support for the Symbol type and iterators added in ES2015, and a new hook has been added for filtering HTML. A <a href="https://github.com/jquery/jquery-migrate">jQuery Migrate Plugin</a> was offered to help developers with a transitional upgrade path.
445-
</p>
446-
<p>For more information, see the <a href="https://blog.jquery.com/2016/01/08/jquery-2-2-and-1-12-released/">Release Notes/Changelog</a></p>
458+
<p>Aspects of the API that were changed in the corresponding versions of jQuery. Changes in jQuery 1.12 and 2.2 include performance improvements of the selector engine, manipulation of class names for SVG elements, support for the Symbol type and iterators added in ES2015, and a new hook has been added for filtering HTML.</p>
459+
<p>For more information, see the <a href="https://blog.jquery.com/2016/01/08/jquery-2-2-and-1-12-released/">Release Notes/Changelog</a>.</p>
447460
<hr/>
448461
]]></desc>
449462
</category>
450463
<category name="Version 3.0" slug="3.0">
451464
<desc><![CDATA[
452465
<p>Aspects of the API that were changed in the corresponding version of jQuery. Changes in jQuery 3.0 dealt primarily with deferreds, data, show/hide and removal of some deprecated APIs. A <a href="https://github.com/jquery/jquery-migrate">jQuery Migrate Plugin</a> was offered to help developers with a transitional upgrade path.
453466
</p>
454-
<p>For more information, see the <a href="https://jquery.com/upgrade-guide/3.0/">jQuery Core 3.0 Upgrade guide</a> and the <a href="https://blog.jquery.com/2016/06/09/jquery-3-0-final-released/">Release Notes/Changelog</a></p>
467+
<p>For more information, see the <a href="https://jquery.com/upgrade-guide/3.0/">jQuery Core 3.0 Upgrade guide</a> and the <a href="https://blog.jquery.com/2016/06/09/jquery-3-0-final-released/">Release Notes/Changelog</a>.</p>
455468
<hr/>
456469
]]></desc>
457470
</category>
458471
<category name="Version 3.1" slug="3.1">
459472
<desc><![CDATA[
460473
<p>Aspects of the API that were changed in the corresponding version of jQuery. Version 3.1 added the <a href="/jQuery.readyException">jQuery.readyException</a> API.</p>
461-
<p>For more information, see the <a href="https://blog.jquery.com/2016/07/07/jquery-3-1-0-released-no-more-silent-errors/">Release Notes/Changelog</a></p>
474+
<p>For more information, see the <a href="https://blog.jquery.com/2016/07/07/jquery-3-1-0-released-no-more-silent-errors/">Release Notes/Changelog</a>.</p>
462475
<hr/>
463476
]]></desc>
464477
</category>
465478
<category name="Version 3.2" slug="3.2">
466479
<desc><![CDATA[
467480
<p>Aspects of the API that were changed in the corresponding version of jQuery. Version 3.2 added support for custom CSS properties, made <code>.contents()</code> work on the <a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/template"><code>&lt;template&gt;</code> element</a> &amp; made <code>.width()</code> &amp; <code>.height()</code> ignore CSS transforms. A few APIs were deprecated. The deprecated module was added back to the slim build.</p>
468-
<p>For more information, see the <a href="https://blog.jquery.com/2017/03/16/jquery-3-2-0-is-out/">Release Notes/Changelog</a></p>
481+
<p>For more information, see the <a href="https://blog.jquery.com/2017/03/16/jquery-3-2-0-is-out/">Release Notes/Changelog</a>.</p>
469482
<hr/>
470483
]]></desc>
471484
</category>
472485
<category name="Version 3.3" slug="3.3">
473486
<desc><![CDATA[
474487
<p>Aspects of the API that were changed in the corresponding version of jQuery. <code>.addClass()</code>, <code>.removeClass()</code> &amp; <code>.toggleClass()</code> now work on arrays of classes; a few APIs were deprecated.</p>
475-
<p>For more information, see the <a href="https://blog.jquery.com/2018/01/19/jquery-3-3-0-a-fragrant-bouquet-of-deprecations-and-is-that-a-new-feature/">Release Notes/Changelog</a></p>
488+
<p>For more information, see the <a href="https://blog.jquery.com/2018/01/19/jquery-3-3-0-a-fragrant-bouquet-of-deprecations-and-is-that-a-new-feature/">Release Notes/Changelog</a>.</p>
476489
<hr/>
477490
]]></desc>
478491
</category>
479492
<category name="Version 3.4" slug="3.4">
480493
<desc><![CDATA[
481494
<p>Aspects of the API that were changed in the corresponding version of jQuery. <code>nonce</code> &amp; <code>nomodule</code> attributes are now preserved during script manipulation, layout thrashing was eliminated in some cases in <code>.width()</code> &amp; <code>.height()</code> APIs. Radio elements state is now updated before event handlers run. Passing data now works when triggering all events, including <code>focus</code>. A minor security fix is also included.</p>
482-
<p>For more information, see the <a href="https://blog.jquery.com/2019/04/10/jquery-3-4-0-released/">Release Notes/Changelog</a></p>
495+
<p>For more information, see the <a href="https://blog.jquery.com/2019/04/10/jquery-3-4-0-released/">Release Notes/Changelog</a>.</p>
483496
<hr/>
484497
]]></desc>
485498
</category>
486499
<category name="Version 3.5" slug="3.5">
487500
<desc><![CDATA[
488-
<p>Aspects of the API that were changed in the corresponding version of jQuery. Security fixes, new <code>.even()</code> &amp; <code>.odd()</code> methods; <code>jQuery.globalEval</code> now accepts context; unsuccessful HTTP script responses are no longer evaluated; performance improvements. <code>jQuery.trim</code> is now deprecated.</p>
489-
<p>For more information, see the <a href="https://jquery.com/upgrade-guide/3.5/">jQuery Core 3.5 Upgrade guide</a> and the <a href="https://blog.jquery.com/2020/04/10/jquery-3-5-0-released/">Release Notes/Changelog</a></p>
501+
<p>Aspects of the API that were changed in the corresponding version of jQuery. Security fixes, including a breaking change to <code>jQuery.htmlPrefilter</code>; new <code>.even()</code> &amp; <code>.odd()</code> methods; <code>jQuery.globalEval</code> now accepts context; unsuccessful HTTP script responses are no longer evaluated; performance improvements. <code>jQuery.trim</code> is now deprecated. A <a href="https://github.com/jquery/jquery-migrate">jQuery Migrate Plugin</a> was offered to help developers with a transitional upgrade path.</p>
502+
<p>For more information, see the <a href="https://jquery.com/upgrade-guide/3.5/">jQuery Core 3.5 Upgrade guide</a> and the <a href="https://blog.jquery.com/2020/04/10/jquery-3-5-0-released/">Release Notes/Changelog</a>.</p>
503+
<hr/>
504+
]]></desc>
505+
</category>
506+
<category name="Version 3.6" slug="3.6">
507+
<desc><![CDATA[
508+
<p>Aspects of the API that were changed in the corresponding version of jQuery. Returning JSON even for JSONP erroneous responses is working again, a few focus fixes.</p>
509+
<p>For more information, see the <a href="https://blog.jquery.com/2021/03/02/jquery-3-6-0-released/">Release Notes/Changelog</a>.</p>
490510
<hr/>
491511
]]></desc>
492512
</category>

entries/add.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
</argument>
2121
</signature>
2222
<signature>
23-
<added>1.3.2</added>
23+
<added>1.1</added>
2424
<argument name="selection" type="jQuery">
2525
<desc>An existing jQuery object to add to the set of matched elements.</desc>
2626
</argument>

entries/after.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
</argument>
3535
</signature>
3636
<signature>
37-
<added>1.10</added>
37+
<added>1.10-and-2.0</added>
3838
<argument name="function-html" type="Function">
3939
<desc>A function that returns an HTML string, DOM element(s), text node(s), or jQuery object to insert after each element in the set of matched elements. Receives the index position of the element in the set and the old HTML value of the element as arguments. Within the function, <code>this</code> refers to the current element in the set.</desc>
4040
<argument name="index" type="Integer" />

entries/before.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
</argument>
3636
</signature>
3737
<signature>
38-
<added>1.10</added>
38+
<added>1.10-and-2.0</added>
3939
<argument name="function-html" type="Function">
4040
<argument name="index" type="Integer" />
4141
<argument name="html" type="String" />

entries/jQuery.ajax.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ $.ajax({
114114
<argument name="jqXHR" type="jqXHR"/>
115115
<argument name="textStatus" type="String"/>
116116
<argument name="errorThrown" type="String"/>
117-
<desc>A function to be called if the request fails. The function receives three arguments: The jqXHR (in jQuery 1.4.x, XMLHttpRequest) object, a string describing the type of error that occurred and an optional exception object, if one occurred. Possible values for the second argument (besides <code>null</code>) are <code>"timeout"</code>, <code>"error"</code>, <code>"abort"</code>, and <code>"parsererror"</code>. When an HTTP error occurs, <code>errorThrown</code> receives the textual portion of the HTTP status, such as "Not Found" or "Internal Server Error." (in HTTP/2 it may instead be an empty string) <strong>As of jQuery 1.5</strong>, the <code>error</code> setting can accept an array of functions. Each function will be called in turn. <strong>Note:</strong> <em>This handler is not called for cross-domain script and cross-domain JSONP requests.</em> This is an <a href="/Ajax_Events/">Ajax Event</a>.</desc>
117+
<desc>A function to be called if the request fails. The function receives three arguments: The jqXHR (in jQuery 1.4.x, XMLHttpRequest) object, a string describing the type of error that occurred and an optional exception object, if one occurred. Possible values for the second argument (besides <code>null</code>) are <code>"timeout"</code>, <code>"error"</code>, <code>"abort"</code>, and <code>"parsererror"</code>. When an HTTP error occurs, <code>errorThrown</code> receives the textual portion of the HTTP status, such as "Not Found" or "Internal Server Error." (in HTTP/2 it may instead be an empty string) <strong>As of jQuery 1.5</strong>, the <code>error</code> setting can accept an array of functions. Each function will be called in turn. <strong>Note:</strong> <em>This handler is not called for cross-domain scripts and cross-domain JSONP requests.</em> This is an <a href="/Ajax_Events/">Ajax Event</a>.</desc>
118118
</property>
119119
<property default="true" name="global" type="Boolean">
120120
<desc>Whether to trigger global Ajax event handlers for this request. The default is <code>true</code>. Set to <code>false</code> to prevent the global handlers like <code>ajaxStart</code> or <code>ajaxStop</code> from being triggered. This can be used to control various <a href="/Ajax_Events/">Ajax Events</a>.</desc>
@@ -463,4 +463,5 @@ $.ajax({
463463
<category slug="version/1.5"/>
464464
<category slug="version/1.5.1"/>
465465
<category slug="version/3.5"/>
466+
<category slug="version/3.6"/>
466467
</entry>

entries/jQuery.support.xml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,15 @@
44
<signature>
55
<added>1.3</added>
66
</signature>
7-
<desc>A collection of properties that represent the presence of different browser features or bugs. Intended for jQuery's internal use; specific properties may be removed when they are no longer needed internally to improve page startup performance. For your own project's feature-detection needs, we strongly recommend the use of an external library such as <a href="https://modernizr.com">Modernizr</a> instead of dependency on properties in <code>jQuery.support</code>.</desc>
7+
<desc>A collection of properties that represent the presence of different browser features or bugs; intended for jQuery's internal use.</desc>
8+
<longdesc>
9+
<p>A collection of properties that represent the presence of different browser features or bugs. Intended for jQuery's internal use; specific properties may be removed when they are no longer needed internally to improve page startup performance. For your own project's feature-detection needs, we strongly recommend the use of an external library such as <a href="https://modernizr.com">Modernizr</a> instead of dependency on properties in <code>jQuery.support</code>.</p>
10+
<p>As of jQuery 1.11 or 1.12, <code>jQuery.support</code> is no longer JSON-serializable; some properties point to functions that return the support test result when called. This was necessary to support lazy execution of support tests.</p>
11+
</longdesc>
812
<category slug="properties/global-jquery-object-properties"/>
913
<category slug="utilities"/>
1014
<category slug="version/1.3"/>
1115
<category slug="version/1.5.1"/>
16+
<category slug="version/1.11-and-2.1"/>
1217
<category slug="deprecated/deprecated-1.9"/>
1318
</entry>

0 commit comments

Comments
 (0)