Enyo 2.7.0 Release Notes
Welcome to Enyo 2.7.0. The items listed below have changed since the 2.5.1 release. (Note that this list is not comprehensive; see the commit history in GitHub for a complete list of changes.)
Detailed Release Notes
The biggest change from 2.5.1 to 2.7.0 is the introduction of modules.
Before we could write code like this:
//Enyo 2.5
//Everything we want to use from enyo
//can be found inside the enyo object.
new enyo.Control({
components: [
{content: "Hello From Enyo"},
{kind: "Button", content: "Click me"}
]
}).renderInto(document.body);Starting in Enyo 2.7.0 we now write code like this.
//Enyo 2.7
//If we want to use an enyo module like control,
//we must require the module before we can use it.
var Control = require('enyo/Control'),
Button = require('enyo/Button');
new Control({
components: [
{content: 'Hello From Enyo'},
{kind: Button, content: "Click me"}
]
}).renderInto(document.body);In order to package apps using modules, you must use enyo-dev.
enyo
- Added new modules
enyo/AccessibilitySupportenyo/Historyenyo/NewDataListenyo/ViewManager(WIP)enyo/FluxStore(WIP)enhyo/FluxDispatcher(WIP)enyo/BackgroundTaskManager(WIP)enyo/ShowingTransitionSupport(WIP)- and more
- Deprecated Modules/Methods/Properties
enyo/animationcancelRequestAnimationFrame
enyo/ControlgetTag()setTag()getAttributes()setAttributes()getClasses()setClasses()getStyle()setStyle()getContent()setContent()getShowing()setShowing()getAllowHtml()setAllowHtml()getCanGenerate()setCanGenerate()getFit()setFit()getIsContainer()setIsContainer()isContainer
enyo/CoreObjectaddGetterSetter()
enyo/DataRepeatermultipleSelection
groupSelection
enyo/EventEmitteraddListener()removeListener()triggerEvent()
enyo/Hooksenyo/kind_kindCtorsThemeregisterTheme()
enyo/ObserverSupportaddObserver()
enyo/RichTextmodifySelection()moveCursor()moveCursorToEnd()moveCursorToStart()
enyo/ScrollablescrollToControl()
enyo/StorefindLocal()
In
enyo/Scroller, update default scrollStrategy for iOS devicesAdded
enyo/ShowingTransitionSupport, a mixin to make showing/hiding animations easier.Added support for Windows 10 apps
Removed IE8 support and took all non-evergreen desktop browsers off our supported platforms list
samplerwas replaced withenyo-strawmanVarious bug fixes and performance improvements
moonstone
- Added new modules
moonstone/AnimatedButtonmoonstone/ApplicationCloseButtonmoonstone/ClampedTextmoonstone/DayPickermoonstone/MoonAnimatormoonstone/NewDataListmoonstone/PlaylistSupportmoonstone/ScrollThumb
- Deprecated Modules/Methods/Properties
moonstone/Accordionmoonstone/ButtoncontentUpperCase
moonstone/Calendarmoonstone/ChannelInfochannelNoUpperCase
moonstone/clocklocale
moonstone/ContextualPopupButtonmoonstone/DateTimePickerBaselocale
moonstone/DialogtitleUpperCase
moonstone/DrawersetOpen()getOpen()setControlsOpen()setControlsOpen()
moonstone/HeadertitleUpperCase
moonstone/Historymoonstone/IconButtonnoBackground
moonstone/ImageadaptComponentsBlock
moonstone/InputHeadermoonstone/PanelsleftKeyToBreadcrumb
moonstone/ProgressBarpopupContentUpperCase
moonstone/SlidernoPopupChanged()tapAreaClassesnoPopup
moonstone/StyleAnimatormoonstone/ToggleTextmoonstone/TooltipcontentUpperCase
moonstone/VideoInfoHeadertitleUpperCase
Various bug fixes and performance improvements
Added new validator option for
moonstone/InputDecoratorusinginvalidandinvalidMessageproperties. Ifinvalid, theinvalidMessagewill show up as a ToolTip next to the input.Added sideways facing
moonstone/ToolTipand updated the look of the ToolTip tail. It is now possible to specify'left top','left bottom','right top'and,'right bottom'for thepositionof the ToolTip.Updated the neutral theme used by many Moonstone components to be lighter.
moonstone/Popupno longer remembers the last spotted control and an error accessinggetShowing()was corrected.Updated
moonstone/DialoglayoutChanged
moonstone/ListActionsto new design usingmoonstone/ContextualPopup.In
moonstone/ContextualPopupButton, changedefaultKindfrommoonstone/ContextualPopupButtontomoonstone/Button.Various bug fixes and performance improvements
layout
Support
swipeablein a pulldown listAllow for use of translation for panel transition on Android.
Various bug fixes and performance improvements
spotlight
Added support for
spotlightRememberFocusAdd
extraCandidatesoption togetNearestNeighbor.Improved Touch Support for Spotlight.
Removed 50 milliseconds time delay on DOM focus.
Various bug fixes and performance improvements
onyx
Created new locale-aware versions of
onyx/DatePickerandonyx/TimePickercalledonyx/i18n/DatePickerandonyx/i18n/TimePicker. These new versions requireenyo-ilib.Various bug fixes and performance improvements
enyo-ilib
Added check for
navigator.languagefor IE supportVarious bug fixes and performance improvements
enyo-webos
- Various bug fixes and performance improvements
svg
- A new library for using SVG components, the Enyo way
Known Issues
enyo
enyo/DataGridListmay not properly relayout after a rotate operation, causing a blank area to appearOn WebKit mobile browsers,
playbackRateis not supported so fast forward operations do not work forenyo/Audioandenyo/Video
moonstone
moonstone/ExpandableTextdoes not work on non-WebKit browsersmoonstone/Inputellipsis behavior is odd on Firefox. This is just how Firefox works.moonstone/Panelsbreadcrumb behavior is odd on first transition, but fine on successive
enyo-strawman
- In IE 11, the AudioSample will display NaN for the duration