YUI 3.5.0 正式版发布
openkk 13年前
<p><strong>Yahoo! UI Library</strong> (<strong>YUI</strong>) 是一个开放源代码的 JavaScript 函数库,为了能建立一个高互动的网页,它采用了AJAX, DHTML 和 DOM 等程式码技术。它也包含了许多 CSS 资源。使用授权为 <span class="mw-redirect">BSD许可证</span></p> <p><span class="mw-redirect"><img style="width:555px;height:253px;" alt="YUI 3.5.0 正式版发布" src="https://simg.open-open.com/show/648fb9f8b76dfd27d459fdbd69498890.png" /></span></p> <p>YUI 包含完整的说明文件。它包含了两种元件: 工具与控件,和一些 CSS 资源。</p> <p>YUI 3.5.0 正式版发布了,可通过 CDN <a href="/misc/goto?guid=4958336395825886957">http://yui.yahooapis.com/3.5.0/build/yui/yui-min.js</a> 或者 <a href="/misc/goto?guid=4958336396637744678">download</a> 获取.</p> <p>该版本值得关注的改进包括:</p> <ul> <li>Availability of YUI in Node.js as an NPM module</li> <li>Formal introduction of <a href="/misc/goto?guid=4958336397431683146">“night”</a>, our second skin offering</li> <li>Introduction of <a href="/misc/goto?guid=4958336398225739060">App</a>, <a href="/misc/goto?guid=4958336399027243318">Button</a>, <a href="/misc/goto?guid=4958336399813986091">CSSButton</a>, <a href="/misc/goto?guid=4958336400615942068">Handlebars</a>, <a href="/misc/goto?guid=4958336401418746622">Pjax</a>, <a href="/misc/goto?guid=4958336402210528458">TestConsole</a> components</li> <li>Refactoring of <a href="/misc/goto?guid=4958336403011185644">CSS Grids</a> to be even more lightweight and versatile</li> <li>Refactoring of the <a href="/misc/goto?guid=4958336403804635849">Get</a> utility for additional feature support and performance enhancements</li> <li>Refactoring of <a href="/misc/goto?guid=4958336404590932794">Loader</a> to implement Get’s asynchronous functionality</li> <li>The <a href="/misc/goto?guid=4958336405390447833">Uploader</a> component received an HTML5 implementation which includes drag-and-drop functionality, plus a much improved progressive enhancement scenario, granular queue management and accessibility.</li> <li>Keyboard navigation add to the <a href="/misc/goto?guid=4958185243517800013">Calendar</a> component</li> <li>Enhancements to <a href="/misc/goto?guid=4958185242783237488">App</a>, <a href="/misc/goto?guid=4958336407635743304">Charts</a>, and <a href="/misc/goto?guid=4958191860100648940">DataTable</a> components</li> <li><a href="/misc/goto?guid=4958336409175788425">Numerous bug fixes</a></li> </ul> <p>API 上需要注意的改动和废弃的方法:</p> <ul> <li>The App Framework family of modules, including Model, Controller/Router, and View have received significant enhancements. An overview of the changes was covered in <a href="/misc/goto?guid=4958336409959601487">an earlier blog post</a>, and a detailed list of changes can be found in the <a href="/misc/goto?guid=4958336410755229989">history</a> file. </li> <li>We introduced asynchronous loading in Loader by default. This means that any script <code>Loader</code> injects into the page will be loaded asynchronously. This will decrease load time and improve performance by allowing the browser to fetch as many scripts at once as it can. If your custom modules are properly wrapped in a <code>YUI.add</code> callback, you will see no difference at all. However, if you are loading custom modules that require ordered script loading (depends on another dynamic, unwrapped module), you will need to change your module config to tell <code>Loader</code> to not load these modules with the <code>async</code> flag. You can do this by adding an <code>async: false</code> config to its module definition and <code>Y.Get.script</code> will not load it asynchronously.</li> <li>Uploader was refactored in order to support HTML5 functionality when available. The 3.4.1 version was deprecated and made available as uploader-deprecated. A migration guide is available at <a href="/misc/goto?guid=4958336411554300437">http://yuilibrary.com/yui/docs/uploader/migration.html</a>.</li> <li>An update to Charts custom formatting may cause backward compatibility issues when upgrading under certain circumstances. Please see the <a href="/misc/goto?guid=4958336412342059205">Known Issues</a> section for more detail.</li> <li>DataTable was refactored in order to leverage Model, ModelList, and View. The 3.4.1 version was deprecated and made available as datatable-deprecated, datatable-base-deprecated, datatable-sort-deprecated, etc. A migration guide is available at <a href="/misc/goto?guid=4958336413150407875">http://yuilibrary.com/yui/docs/datatable/migration.html</a>.</li> <li>A small number of methods, properties, and config options were deprecated in Get, but are still supported for backcompat. They’ll be removed in a future release. Full details are available in Get’s <a href="/misc/goto?guid=4958336413945832415">history</a> file. </li> </ul> <p>详细列表请看 <a href="/misc/goto?guid=4958336414735375299">rollup of 3.5.0 changes</a></p> <p>我们将很快发布 YUI 3.6 的路线图</p>