-
Notifications
You must be signed in to change notification settings - Fork 1.3k
YUI 3.13.0 Change History Rollup
- Added
req.app
which is a reference to the app instance.
-
[!] A router's
root
path is now enforced as its mount point. Routers with a specifiedroot
will only consider paths as matching its route handles if that path is semantically within the router'sroot
path. For example:router.set('root', '/app/'); router.hasRoute('/app/'); // => true router.hasRoute('/app/foo'); // => true router.hasRoute('/bar/'); // => false
This fixed some issues with paths being erroneously considered matching even when they were not semantically within the router's
root
path. (#1083) -
[!] The
getPath()
method now returns the full current path, whereas before it returned the current path relative to the router'sroot
. This also affectsreq.path
which is now the full path as well. -
[!] Changed Router's dispatching process to take
req
andres
objects instead of creating them inside the_dispatch()
method. This refactor also removed the deprecated support for callingres()
as an alias fornext()
. -
Router now accepts route objects through its
route()
method. These route objects are the same as those specified in a router'sroutes
attribute and what Router uses for its internal storage of its routes. If these route objects contain a regular expression as theirpath
or they contain aregex
orregexp
property, then they are considered fully-processed. Route objects can also contain any arbitrary metadata which will be preserved. (#1067) -
Added
req.router
which is a reference to the router instance. -
Added
req.route
which is a reference to the current route object whose callbacks are being dispatched. -
Calling the
dispatch()
method will now setreq.src
to"dispatch"
.
- Added ModelSync.Local, an extension which provides a
sync()
implementation forlocalStorage
that can be mixed into your Models and ModelLists. Examples of it in use can be seen in the YUI TodoMVC example. (#1218)
- Added a
labelHTML
attribute toY.ButtonCore
for nested HTML label support - Due to a fix in
Y.Widget
(#1125),Y.Button
now correctly retains all node attributes upon render
- Fix a issue with cloudn't select a date when passing minimumDate. (#1030)
- Removed superfluous strings from Hungarian calendar translations. (#1054: @drjayvee)
-
Add highlight module [Pull Request #1196]
-
Document updates and variable changes to improve understanding of code [Pull Request #946] [Satyam]
-
Add Show All to language packs. [Pull Request #1173] [Issue #1167]
-
Added 'contentUpdate' after the DataTable has been updated when triggered from a
dataChange
event. [Pull Request #1072][Issue #1052] -
Fix issue where recursive nesting of objects was cloned infinitely [Pull Request #1008][Ticket #915]
-
Fix issue where Paginator count becomes out of sync with DataTable when DataTable data is modified (added or removed) [Pull Request #1011] [Issue #1010]
-
Add French language pack for DataTable's Paginator. (#1166 @Naouak)
-
Add in
getEditorOffset
to calculate distance from current selection to the beginning of the editor. [Pull Request #1232] -
Editor is able to work in two modes - as an Inline Editor or using an iframe. For that reason, some internal changes have been made:
Y.Frame is now a plugin and extends Y.Plugin.Base.
There is a new Plugin, called ContentEditable. This plugin allows editor to work without using an iframe, as an inline editor.
If a container is not specified, EditorBase creates and plugs an instance of Y.Frame. Otherwise, it uses the provided container (ContentEditable)
Added Y.InlineEditor which extends EditorBase and plugs ContentEditable during the initialization process.
[Ticket #1041] [ipeychev]
- Delegated focus and blur events now behave the same way other events do when
a delegate sub from a container closer to the target calls
e.stopPropagation()
. Delegate subs from containers higher in the parent axis are not notified. #1145
- Made
addTarget
andremoveTarget
chainable.
- Updated ValueChange to support
<select>
and[contenteditable="true"]
elements as well. (#1184)
- Added a check to make sure the XHR exists before aborting. (#1053 @JetFault)
- #1138 Address issues with orphan elements after destroy.
-
Fixed a possible exception in
HistoryHTML5._init()
in IE10. [Ariel Schiavoni] -
Added a workaround for a
replaceState
bug in Chrome/WebKit. (#1159: @roblund) -
Fixed issue with
parseHash
not parsing blank values in hash string. (#1116: @blzaugg)
- Fix issue causing
inDoc
to fail if Node wasn't bound to a node. [Pull Request #1169][Issue #1168]
- Fixed
getOffscreenNodes()
andgetOnscreenNodes()
even harder (they could still return incorrect information in certain cases). [Ryan Grove]
- Correct typo in NAME param for paginator.js
- Added optional flag to NodeList.transition which, if true, fires the callback only once at the end of the NodeList transitions. (#880 @Perturbatio)
- Fixed typo with event
uploadcancel
. (#1053 @JetFault)
- Removed widget-locale module.
- Improved support for single-box widgets (BB === CB) by defaulting boundingBox to srcNode if CONTENT_TEMPLATE is null.
- Added
Y.Lang.isRegExp()
method.
2