AngularJS 1.3.0-RC.0 发布,代号:sonic-boltification,更新内容如下:
Bug 修复$animate: $browser: detect changes to the browser url that happened in sync
(3be00df4,#6976) $compile: use the correct namespace for transcluded svg elements
(cb73a37c,#8808, #8816) $location: always resolve relative links in html5mode to <base> url
(22948807,#8492, #8172) $parse: properly handle dots at the end of identifiers
(8ac90357,#4613, #4912, #8559) Angular: remove duplicate nodeName_ references
(a4520a74) currencyFilter: pass through null and undefined values
(c2aaddbe,#8605) docs: don't throw exception on the 404 page
(550ba01b,#8518) input: validate minlength/maxlength for non-string values
(77ce5b89,#7967, #8811) allow to use seconds in input[time] and input[datetime-local] (5f90340a) use year 1970 instead of 1900 for input[time] (29f0b568)
ngBindHtml: throw error if interpolation is used in expression
(cd21602d,#8824) ngEventDirs: execute blur and focus expression using scope.$evalAsync (719c747c,#4979, #5945, #8803, #6910, #5402) ngModel: always format the viewValue as a string for text, url and email types
(1eda1836) allow non-assignable binding when getterSetter is used
(ab878a6c,#8704) treat undefined parse responses as parse errors
(db044c40)
ngRepeat: improve errors for duplicate items
(0604bb7b) ngSwitch: avoid removing DOM nodes twice within watch operation
(c9b0bfec,#8662) numberFilter: pass through null and undefined values
(2ae10f67,#8605, #8842)
新特性core: $animate: $compile: $compile/ngBind: allow disabling binding info
(3660fd09) $http: implement mechanism for coalescing calls to $apply in $http
(ea6fc6e6,#8736, #7634, #5297) $rootScope: implement $applyAsync to support combining calls to $apply into a single digest.
(e94d454b) $templateRequest: introduce the $templateRequest service
(a70e2833) filter: allow to define the timezone for formatting dates
(4739b1d9) filterFilter: pass index to function predicate
(46343c60,#654) input: allow to define the timezone for parsing dates
(cc6fc199,#8447) minErr: allow specifying ErrorConstructor in minErr constructor
(a6bd4bc8) ngModel: provide validation API functions for sync and async validations
(2ae4f40b) ngRoute: alias string as redirectTo property in .otherwise()
(3b5d75c0,#7794) testability: add $$testability service
(85880a64)
性能提升$compile: add debug classes in compile phase
(e0489abd) only iterate over elements with link functions
(fdf9989f,#8741)
nodeName_: simplify the code and reduce the number of DOM calls
(5a1a0c96) select: execute render after $digest cycle
(6f7018d5,#8825)
Breaking Changes |