답변:
주요 버전
버전 1.0 : 첫 번째 안정적인 릴리스.
버전 2.0 : 성능 향상 및 파일 크기 감소를위한 IE 6–8 지원 중단
버전 3.0 : Deferreds 및 , HTML5 호환에 대한 Promises / A + 지원$.ajax$.when.data()
모든 버전
+----------------+--------------------+----------------------------+----------------+---------------------------------------------------------------------------------------+
| Version Number | Release Date | Latest Update | Size Prod (KB) | Additional Notes |
+----------------+--------------------+----------------------------+----------------+---------------------------------------------------------------------------------------+
| 1.0 | August 26, 2006 | | | First stable release |
| 1.1 | January 14, 2007 | | | |
| 1.2 | September 10, 2007 | 1.2.6 | 54 | |
| 1.3 | January 14, 2009 | 1.3.2 | 55.9 | Sizzle Selector Engine introduced into core |
| 1.4 | January 14, 2010 | 1.4.4 | 76 | |
| 1.5 | January 31, 2011 | 1.5.2 | 83 | Deferred callback management, ajax module rewrite |
| 1.6 | May 3, 2011 | 1.6.4 | 89 | Significant performance improvements to the attr() and val() functions |
| 1.7 | November 3, 2011 | 1.7.2 (March 21, 2012) | 92 | New Event APIs: .on() and .off(), while the old APIs are still supported. |
| 1.8 | August 9, 2012 | 1.8.3 (November 13, 2012) | 91.4 | Sizzle Selector Engine rewritten, improved animations and $(html, props) flexibility. |
| 1.9 | January 15, 2013 | 1.9.1 (February 4, 2013) | 90 | Removal of deprecated interfaces and code cleanup |
| 1.10 | May 24, 2013 | 1.10.2 (July 3, 2013) | 91 | Incorporated bug fixes and differences reported from both the 1.9 and 2.0 beta cycles |
| 1.11 | January 24, 2014 | 1.11.3 (April 28, 2015) | 95.9 | |
| 1.12 | January 8, 2016 | 1.12.4 (May 20, 2016) | 95 | |
| 2.0 | April 18, 2013 | 2.0.3 (July 3, 2013) | 81.1 | Dropped IE 6–8 support for performance improvements and reduction in filesize |
| 2.1 | January 24, 2014 | 2.1.4 (April 28, 2015) | 82.4 | |
| 2.2 | January 8, 2016 | 2.2.4 (May 20, 2016) | 85.6 | |
| 3.0 | June 9, 2016 | 3.0.0 (June 9, 2016) | 86.3 | Promises/A+ support for Deferreds, $.ajax and $.when, .data() HTML5-compatible |
| 3.1 | July 7, 2016 | 3.1.1 (September 23, 2016) | 86.3 | jQuery.readyException added, ready handler errors are now not silenced |
| 3.2 | March 16, 2017 | 3.2.1 (March 20, 2017) | 84.6 | Hotfixes for regressions that were introduced in the 3.2.0 |
| 3.3 | January 19, 2018 | 3.3.1 (January 20, 2018) | 84.8 | Deprecation of old function calls, functions that accept classes now support them |
| | | | | defined in an array |
| 3.4 | April 10, 2019 | 3.4.1 (May 1, 2019) | 86.1 | Performance improvements, nonce and nomodule support, fixes for radio elements, a |
| | | | | minor security fix |
| 3.5 | April 10, 2020 | 3.5.1 (May 4, 2020) | 87.4 | Security fixes, .even() & .odd() methods, jQuery.trim deprecated |
+----------------+--------------------+----------------------------+----------------+---------------------------------------------------------------------------------------+
참조 : https://en.wikipedia.org/wiki/JQuery#Release_history
주요 버전에 대한 자세한 설명
버전 1.0은 jQuery의 첫 번째 안정 릴리스였습니다. 이 릴리스는 해당 개발자가 더 이상 지원하지 않는 이전 웹 브라우저를 지원합니다. 오래된 웹 브라우저를 사용하는 방문자가 많을 것으로 예상되는 경우이 버전이 확실히 적합합니다.
버전 2.0은 Internet Explorer 6-8에 대한 지원을 중단하여 jQuery의 전체 성능을 높이고 라이브러리의 파일 크기를 줄였습니다. 간단히 말해서, 버전 2.0은 버전 1.0보다 파일 크기가 더 빠르고 작지만 더 이상 이전 웹 브라우저를 지원하지 않습니다. Microsoft는 Windows XP에 대한 지원을 중단했기 때문에 방문자가 버전 2.0과 호환되는 브라우저를 사용할 것이라고 가정하는 것이 합리적으로 안전합니다 (버전 1.0 참조).
버전 3.0이 출시됨에 따라 버전 1.11.1과 2.1.1은 모두 jQuery Compat 3.0 및 jQuery 3.0으로 업그레이드됩니다. jQuery Compat 3.0은 Internet Explorer 8과 같은 이전 브라우저를 계속 지원하지만 일반 버전 3.0은 상시 브라우저 (특정 브라우저의 현재 및 이전 버전) 만 지원합니다.
버전 3.0의 출시와 함께 버전 1.0 또는 2.0을 고수 할 이유가 없습니다. 공식 jQuery 블로그의 몇 가지 참고 사항 :
- IE8, Opera 12, Safari 5 등 다양한 브라우저에 대한 지원이 필요한 경우 jQuery-Compat 3.0.0 패키지를 사용하십시오. 모든 웹 사이트 방문자에게 최상의 호환성을 제공하므로 대부분의 웹 사이트에이 버전을 권장합니다.
- 웹 사이트가 항상 최신의 최신 브라우저 용으로 구축되었거나 사용중인 브라우저 엔진을 알고있는 웹보기 (예 : PhoneGap 또는 Cordova)에 포함 된 HTML 기반 앱인 경우 jQuery 3.0.0 패키지로 이동하십시오. .
- 달리 발표 할 때까지 두 패키지에는 해당 번호가 매겨진 주 버전과 부 버전에 동일한 공용 API가 포함됩니다. 이렇게하면 개발자가 둘 사이를 쉽게 전환 할 수 있고 타사 jQuery 플러그인과 최대한 호환됩니다.
참조 : https://blog.jquery.com/2014/10/29/jquery-3-0-the-next-generations/