« Back

AlloyUI 2.5.0 Released

General Blogs April 16, 2014 By Zeno Rocha Staff

 
We are happy to announce the release of AlloyUI 2.5.0! This release can be found on the CDN and via a downloadable .zip archive.
<script src="http://cdn.alloyui.com/2.5.0/aui/aui-min.js"></script>
<link href="http://cdn.alloyui.com/2.5.0/aui-css/css/bootstrap.min.css" rel="stylesheet"></link>

Also the AlloyUI website has also been updated to reflect the changes in this release.

 

What's new?

It's been 6 months since 2.0.0 so, as you can imagine, lots of things changed since then.

About our dependencies, YUI has been updated from 3.11.0 to 3.16.0 (go to their releases page for changelog). I know you are all excited for Bootstrap 3.0.0, but I must say that we're still using Bootstrap 2.3.2 in this version. You'll need to await for AlloyUI 3 to use Bootstrap 3, but don't worry it will be available sooner than you think (go to master branch to see the work in progress). 

One of the things that we really improved in this release is the API Docs. Since last year we've been working hard to document all classes, attributes and methods. We're now really close from finishing this task (AUI-1048) and you can see the result online at alloyui.com/api.

Lastly, a big refactoring was also done in the entire code base regarding constants. Old browsers (IE) doesn't handle memory for strings in a good way, that's why we used constants for memory optimization which, nowadays, is not a big deal anymore (AUI-1163).

 

Button

  • We fixed a bug that duplicates icon due to labelHTML attribute added by YUI 3.15.0 (AUI-1211);
  • We fixed a bug in the Search Button Cancel when an input was removed from and placed back in DOM (AUI-1161).
 

Carousel

  • A new attribute was introduced to allow you pause the Carousel when mouse is over it (AUI-1192).
 

Collection

  • We fixed a bug where the map hashcode for object could conflict with string hashcode (AUI-1172).
 

Color Picker

  • We fixed a bug when adjusting the value via the slider. The newly selected color didn't get reflected in the results view. In addition, the background color of the slider was being set to colors with a value of less than 100 (AUI-1083);
  • We fixed a bug when user opens the palette for choosing custom color and types something in the HEX value text field, the view updates, but on closing the palette, the value was not being updated (AUI-1091).
 

DataTable

  • We fixed a bug when user edits a selectbox's data and creates an empty option or empty value, it couldn't be saved. Options with empty option-text or value were deleted (AUI-1194);
  • We fixed a bug when user edits a selectbox's data and try to add a new option, it failed. Nothing happened, just an error in the console (AUI-1195).
 

DataType

  • We fixed a bug when the mask which is triggered by an input text box contains "{{%b %e %m}}" and values below 10 were selected, the date which is output was incorrect (AUI-1027).
 

DatePicker

  • We fixed a bug when date disappears from input textbox when choosing the minimumDate (AUI-1177).
     

Diagram Builder

  • We fixed a bug when the browser window are scrollable and you drag a node to bottom of viewport and scroll in the same moment the node moved down to out of viewport (AUI-1203);
  • We fixed a bug when browser redirected page when trying to delete the selected connector (AUI-1191);
  • We fixed a bug where nodes couldn't be deleted (AUI-1111).
 

Event

  • We fixed a bug in the event-input condition for new loader (AUI-1217);
  • We fixed a bug where event-input could not support propertychange properly and cannot detect backspaces on IE9 (AUI-749).
 

Form Builder

  • We fixed a bug when a field defined with hidden attributes was cloned, the cloned field would show these hidden attributes (AUI-1208);
  • We fixed a bug when renaming a field label to contain an HTML tag caused the tag to be inserted in the DOM (AUI-1130);
  • We fixed a bug when correlating input sizes with similar inputs in other places (AUI-1124);
  • We fixed a bug when the option value of an element was changed and the predefined value refers to that value, the radio field would not have a value selected by default (AUI-1034).
 

Image Viewer

  • We fixed a bug when long file names extended beyond viewer (AUI-1175);
  • We fixed a bug when some elements were not visible when the user scrolls down on a page. The position of the elements were inconsistent, some are fixed, others are absolute (AUI-1106).
 

Modal

  • We fixed a bug when listeners after visibleChange were not executed with modal.destroyOnHide enabled (AUI-1107).
 

Pagination

  • We added an option to skip to first or last page (AUI-1264).
 

Palette

  • We fixed a bug when setting objects as items were not working properly (AUI-1033).
 

Popover

  • We decoupled animation logic from tooltip-base to a new widget called Widget Transition (AUI-1162);
  • We fixed a bug when popover would not center align after its first visible toggle (AUI-1096).
 

Rating

  • We fixed a bug when the rate average is a float number was not rounded (corresponding the rounding rules) just the decimal value would be removed (eg.: 1.5 -> 1). So the display of the rate was incorrect (AUI-1250);
  • We fixed a bug that was not allowing the user to navigate via the items using keyboard, nor to press Enter to vote (AUI-1132).
 

Scheduler

  • We updated the Scheduler View Table to show abbreviated weekday names (AUI-1085).
 

Toggler

  • We fixed a bug when absolutely positing elements that end up in an accordian would overflow from their container when sliding (AUI-1105).
 

Tooltip

  • We decoupled animation logic from tooltip-base to a new widget called Widget Transition (AUI-1162);
  • We updated tooltip to stay open when hovering over help box (AUI-1092).
 

Tree

  • We fixed a bug when TreeNode does not show "Load More Results" link (AUI-1156);
  • We fixed a bug when Tree hitarea icon were not changed when treeview was generated from markup (AUI-1141);
  • We fixed a bug when TreeNodeTask should have a state for when one of its children was unchecked (AUI-1138);
  • We fixed a bug when Treeview showed hit-place for dropping when dropping was forbidden (AUI-1114);
  • We added an option to prevent selecting all child nodes in radio and task (AUI-1044).
 

Widget

  • We enabled to use a function as value to widget position (AUI-1178);
  • We fixed a bug when the value of cssClass attribute always came from the config, ignoring the value assigned (AUI-1237);
  • We enabled to use a single value to set show and hide delay on transition (AUI-1179);
  • We decoupled animation logic from tooltip-base to a new widget called Widget Transition (AUI-1162);
 
 

Additional details

There were a total of 280 commits for this upcoming release by 21 contributors. You can check out all the details of this release candidate via the GitHub Comparison to 2.0.0.

Welcome our 6 new contributors: Bruno Coelho (@brunocoelho), István Tóbiás (@istvan-tobias)Maira Bello (@mairatma), Pablo Carvalho (@pablocp), Thiago Rocha (@thiago-rocha), and Travis Cory (@travisc5).

 

Threaded Replies Author Date
Great work on the release, Zeno and team :)... James Falkner April 17, 2014 1:04 PM
Thanks James. Starting from this release we're... Zeno Rocha April 17, 2014 1:15 PM
Thanks Zeno and friends, happy to see this... Marc Boscher April 17, 2014 4:35 PM
Hi Zeno, 6.2.x will (or can) support support it ? Denis Signoretto April 18, 2014 4:01 AM
Yes, Denis. Zeno Rocha April 23, 2014 7:23 AM
Why doesn't Carousel have actual transitions to... Bradley Wood April 20, 2014 10:12 PM
Hey Bradley, You can use Jira to suggest... Zeno Rocha April 23, 2014 7:23 AM
Hi Zeno, there is a way to use the CDN in a... Niccolò Pasquetto May 29, 2014 2:02 AM
Hi zeno Good to here that you fixed a bug... Mohammad Azharuddin June 12, 2014 11:51 AM
Hi Zeno thanks I can see the commits now Mohammad Azharuddin June 12, 2014 10:52 PM

Great work on the release, Zeno and team emoticon Nice to see new releases, and thanks for the detailed release notes emoticon
Posted on 4/17/14 1:04 PM.
Thanks James. Starting from this release we're going to put more effort in changelogs.

Every commit will have an entry on the HISTORY.md files: https://github.com/eduardolundgren/alloy-ui/pull/465
Posted on 4/17/14 1:15 PM in reply to James Falkner.
Thanks Zeno and friends, happy to see this release pop up! Now stop teasing us with bootstrap 3 and just give us an idea of what dates you are aiming for ;)
Posted on 4/17/14 4:35 PM.
Hi Zeno, 6.2.x will (or can) support support it ?
Posted on 4/18/14 4:01 AM.
Why doesn't Carousel have actual transitions to choose from like slide, like most carousel. instead of just changing the z-index and opacity of the image?
Posted on 4/20/14 10:12 PM.
Hey Bradley,

You can use Jira to suggest improvements or new features in AlloyUI's components.

https://issues.liferay.com/browse/AUI
Posted on 4/23/14 7:23 AM in reply to Bradley Wood.
Posted on 4/23/14 7:23 AM in reply to Denis Signoretto.
Hi Zeno, there is a way to use the CDN in a Liferay project?
Posted on 5/29/14 2:02 AM.
Hi zeno

Good to here that you fixed a bug when TreeNodeTask should have a state for when one of its children was unchecked (AUI-1138); But how to resolve this in liferay 6.2 version because it uses AUI 2.0 And if i add aui 2.5 version by including script below then all admin option will disapear....please help

<script src="http://cdn.alloyui.com/2.5.0/aui/aui-min.js"></script>
<link href="http://cdn.alloyui.com/2.5.0/aui-css/css/bootstrap.min.css" rel="stylesheet"></link>
Posted on 6/12/14 11:51 AM.
Hi Zeno thanks

I can see the commits now
Posted on 6/12/14 10:52 PM.