Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Updates branch with master #11955

Merged
merged 23 commits into from
May 28, 2015
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
13e38db
docs(CHANGELOG): update to 1.4.0-rc.2
petebacondarwin May 12, 2015
64c66d0
fix(ngAnimate): ensure anchored animations remove the leave element a…
matsko May 11, 2015
9bb4d6c
fix(ngAnimate): throw an error if a callback is passed to animate met…
petebacondarwin May 11, 2015
9804867
docs(error//nocb): add error doc for invalid parameter
petebacondarwin May 12, 2015
f7a4b48
fix($http): do not modify the config object passed into $http short m…
maxthyen Apr 30, 2015
d9bf6e3
docs(migration): general style improvements
Narretz May 11, 2015
f26fc26
fix($animate): accept unwrapped DOM elements as inputs for enter + move
matsko May 18, 2015
5b18250
docs(select): provide more info and example about non-string options
petebacondarwin May 18, 2015
4090491
fix(select): prevent unknown option being added to select when bound …
divercraig May 14, 2015
1b0d0fd
feat(filterFilter): allow array like objects to be filtered
May 1, 2015
718ff84
fix(ngAnimate): ensure that cancelled class-based animations are prop…
matsko May 18, 2015
2327f5a
fix(ngAnimate): ensure that repeated structural calls during pre-dige…
matsko May 18, 2015
3a3db69
fix(ngAnimate): class-based animations must not set addClass/removeCl…
matsko May 7, 2015
3545abf
chore(test): update protractor to 2.1
juliemr May 20, 2015
213c2a7
fix(ngAnimate): ensure nested class-based animations are spaced out w…
matsko May 20, 2015
19ec993
docs(ngPattern): add note about using the `g` flag
gkalpak May 22, 2015
462f444
revert: fix(ngAnimate): throw an error if a callback is passed to ani…
matsko May 22, 2015
e0e1b52
fix($animateCss): ensure that custom durations do not confuse the gcs…
matsko May 11, 2015
0fc5851
test(matchers): fix "not" string for `toHaveClass` matcher
petebacondarwin May 23, 2015
72edd4d
fix($animate): ignore invalid option parameter values
matsko May 26, 2015
db246eb
fix(ngAnimate): close follow-up class-based animations when the same …
matsko Apr 29, 2015
291d7c4
docs(CHANGELOG): add changes for 1.4.0
matsko May 27, 2015
2618b7f
docs(app): merges master into materialize branch
jesselpalmer May 28, 2015
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
236 changes: 236 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,239 @@
<a name="1.4.0"></a>
# 1.4.0 jaracimrman-existence (2015-05-26)


## Bug Fixes

- **$animate:**
- ignore invalid option parameter values
([72edd4df](https://github.com/angular/angular.js/commit/72edd4dff931c644eecb8f0d1c878dc839c76947),
[#11826](https://github.com/angular/angular.js/issues/11826))
- accept unwrapped DOM elements as inputs for enter + move
([f26fc26f](https://github.com/angular/angular.js/commit/f26fc26f6ea283b2fc5ddb18627b13850de2663e),
[#11848](https://github.com/angular/angular.js/issues/11848))
- **$animateCss:** ensure that custom durations do not confuse the gcs cache
([e0e1b520](https://github.com/angular/angular.js/commit/e0e1b5208767dd62f5586fdc607cb2e31dac9516),
[#11723](https://github.com/angular/angular.js/issues/11723), [#11852](https://github.com/angular/angular.js/issues/11852))
- **$http:** do not modify the config object passed into $http short methods
([f7a4b481](https://github.com/angular/angular.js/commit/f7a4b48121ed2b04af89bd2b754f500d1872360d))
- **ngAnimate:**
- close follow-up class-based animations when the same class is added/removed when removed/added
([db246eb7](https://github.com/angular/angular.js/commit/db246eb701529b41049fc118908e528920f13b24),
[#11717](https://github.com/angular/angular.js/issues/11717))
- ensure nested class-based animations are spaced out with a RAF
([213c2a70](https://github.com/angular/angular.js/commit/213c2a703293ee0af8229dde2b608687cd77ccfa),
[#11812](https://github.com/angular/angular.js/issues/11812))
- class-based animations must not set addClass/removeClass CSS classes on the element
([3a3db690](https://github.com/angular/angular.js/commit/3a3db690a16e888aa7371e3b02e2954b9ec2d558),
[#11810](https://github.com/angular/angular.js/issues/11810))
- ensure that repeated structural calls during pre-digest function
([2327f5a0](https://github.com/angular/angular.js/commit/2327f5a0a7e018a9b03aefabe1fbd0c9330e2eeb),
[#11867](https://github.com/angular/angular.js/issues/11867))
- ensure that cancelled class-based animations are properly cleaned up
([718ff844](https://github.com/angular/angular.js/commit/718ff84405558ac64402e1fca5caefd7d307ea1e),
[#11652](https://github.com/angular/angular.js/issues/11652))
- throw an error if a callback is passed to animate methods
([9bb4d6cc](https://github.com/angular/angular.js/commit/9bb4d6ccbe80b7704c6b7f53317ca8146bc103ca),
[#11826](https://github.com/angular/angular.js/issues/11826), [#11713](https://github.com/angular/angular.js/issues/11713))
- ensure anchored animations remove the leave element at correct time
([64c66d0e](https://github.com/angular/angular.js/commit/64c66d0eea11b575d2a71d00c70cfc5be12cd450),
[#11850](https://github.com/angular/angular.js/issues/11850))
- **select:** prevent unknown option being added to select when bound to null property
([4090491c](https://github.com/angular/angular.js/commit/4090491c73910c169d4fba0494a4e26b45dca7ec),
[#11872](https://github.com/angular/angular.js/issues/11872), [#11875](https://github.com/angular/angular.js/issues/11875))


## Features

- **filterFilter:** allow array like objects to be filtered
([1b0d0fd8](https://github.com/angular/angular.js/commit/1b0d0fd8d00b42dffd798845fe0947d594372613),
[#11782](https://github.com/angular/angular.js/issues/11782), [#11787](https://github.com/angular/angular.js/issues/11787))



<a name="1.4.0-rc.2"></a>
# 1.4.0-rc.2 rocket-zambonimation (2015-05-12)


## Bug Fixes

- **$compile:** ensure directive names have no leading or trailing whitespace
([bab474aa](https://github.com/angular/angular.js/commit/bab474aa8b146f6732857c3af1a8b3b010fda8b0),
[#11397](https://github.com/angular/angular.js/issues/11397), [#11772](https://github.com/angular/angular.js/issues/11772))
- **$httpParamSerializerJQLike:** follow jQuery logic for nested params
([2420a0a7](https://github.com/angular/angular.js/commit/2420a0a77e27b530dbb8c41319b2995eccf76791),
[#11551](https://github.com/angular/angular.js/issues/11551), [#11635](https://github.com/angular/angular.js/issues/11635))
- **jqLite:** check for "length" in obj in isArrayLike to prevent iOS8 JIT bug from surfacing
([426a5ac0](https://github.com/angular/angular.js/commit/426a5ac0547109648e5c5e358f668c274a111ab2),
[#11508](https://github.com/angular/angular.js/issues/11508))
- **ngAnimate:**
- ensure that multiple requests to requestAnimationFrame are buffered
([db20b830](https://github.com/angular/angular.js/commit/db20b830fc6074a00dc11d3f47d665c55e8bb515),
[#11791](https://github.com/angular/angular.js/issues/11791))
- ensure that an object is always returned even when no animation is set to run
([d5683d21](https://github.com/angular/angular.js/commit/d5683d21165e725bc5a850e795f681b0a8a008f5))
- force use of `ng-anchor` instead of a suffixed `-anchor` CSS class when triggering anchor animations
([df24410c](https://github.com/angular/angular.js/commit/df24410c17d51a8d44929b9cffee2c91cedfed72))
- rename `ng-animate-anchor` to `ng-anchor`
([e6d053de](https://github.com/angular/angular.js/commit/e6d053de0993c0d38de46ad8a9c6760537316430))
- ensure that shared CSS classes between anchor nodes are retained
([e0014002](https://github.com/angular/angular.js/commit/e0014002370278778077d0612f9fab6beb80d07a),
[#11681](https://github.com/angular/angular.js/issues/11681))
- prohibit usage of the `ng-animate` class with classNameFilter
([1002b80a](https://github.com/angular/angular.js/commit/1002b80a6fb5d98c424a01330234276d65d93c0b),
[#11431](https://github.com/angular/angular.js/issues/11431), [#11807](https://github.com/angular/angular.js/issues/11807))
- ensure that the temporary CSS classes are applied before detection
([f7e9ff1a](https://github.com/angular/angular.js/commit/f7e9ff1aba9ed70835c084e6e154f6b0bf9c3a19),
[#11769](https://github.com/angular/angular.js/issues/11769), [#11804](https://github.com/angular/angular.js/issues/11804))
- ensure that all jqLite elements are deconstructed properly
([64d05180](https://github.com/angular/angular.js/commit/64d05180a667e586328fbdbd328889d3b003571d),
[#11658](https://github.com/angular/angular.js/issues/11658))
- ensure animations are not attempted on text nodes
([2aacc2d6](https://github.com/angular/angular.js/commit/2aacc2d622893e05eb94b3974d562e681cc3a17f),
[#11703](https://github.com/angular/angular.js/issues/11703))
- ensure JS animations recognize $animateCss directly
([0681a540](https://github.com/angular/angular.js/commit/0681a5400e4150a961f9c8651e55623ca23b0cc2))
- **ngClass:** add/remove classes which are properties of Object.prototype
([f7b99970](https://github.com/angular/angular.js/commit/f7b999703f4f3bdaea035ce692f1a656b0c1a933),
[#11813](https://github.com/angular/angular.js/issues/11813), [#11814](https://github.com/angular/angular.js/issues/11814))
- **ngOptions:**
- ensure that tracked properties are always watched
([b5a9053b](https://github.com/angular/angular.js/commit/b5a9053ba33d48db2482ca6736d1fcae8b33d0f8),
[#11784](https://github.com/angular/angular.js/issues/11784))
- ensure label is watched in all cases
([ae98dadf](https://github.com/angular/angular.js/commit/ae98dadf6dca3313746f42a441c7659654dd9d50),
[#11765](https://github.com/angular/angular.js/issues/11765))
- iterate over the options collection in the same way as `ngRepeat`
([dfa722a8](https://github.com/angular/angular.js/commit/dfa722a8a6864793fd9580d8ae704a06d10b5509),
[#11733](https://github.com/angular/angular.js/issues/11733))
- use watchCollection not deep watch of ngModel
([47f9fc3e](https://github.com/angular/angular.js/commit/47f9fc3e70bc361e8c11fe68dc3ec4489238efb3),
[#11372](https://github.com/angular/angular.js/issues/11372), [#11653](https://github.com/angular/angular.js/issues/11653), [#11743](https://github.com/angular/angular.js/issues/11743))
- **ngTouch:**
- check undefined tagName for SVG event target
([74eb17d7](https://github.com/angular/angular.js/commit/74eb17d7c8232f72f134bf2546f10fed7234d276))
- don't prevent click event after a touchmove
([95521876](https://github.com/angular/angular.js/commit/95521876eb9eb330548b0549f0cfe22a26d88f6e),
[#10985](https://github.com/angular/angular.js/issues/10985))


## Features

- **$resource:** include request context in error message
([266bc652](https://github.com/angular/angular.js/commit/266bc6520ba4d188dbc949643def102604f98905),
[#11363](https://github.com/angular/angular.js/issues/11363))


## Breaking Changes

### ngAnimate

- **$animateCss:** due to [d5683d21](https://github.com/angular/angular.js/commit/d5683d21165e725bc5a850e795f681b0a8a008f5),
The $animateCss service will now always return an
object even if the animation is not set to run. If your code is using
$animateCss then please consider the following code change:

```
// before
var animator = $animateCss(element, { ... });
if (!animator) {
continueApp();
return;
}
var runner = animator.start();
runner.done(continueApp);
runner.then(continueApp);

// now
var animator = $animateCss(element, { ... });
var runner = animator.start();
runner.done(continueApp);
runner.then(continueApp);
```

- due to [df24410c](https://github.com/angular/angular.js/commit/df24410c17d51a8d44929b9cffee2c91cedfed72),
Prior to this fix there were to ways to apply CSS
animation code to an anchor animation. With this fix, the suffixed
CSS -anchor classes are now not used anymore for CSS anchor animations.

Instead just use the `ng-anchor` CSS class like so:

```html
<div class="container-animation" ng-if="on">
<div ng-animate-ref="1" class="my-anchor-element"></div>
</div>

<div class="container-animation" ng-if="!on">
<div ng-animate-ref="1" class="my-anchor-element"></div>
</div>
```

**before**:
```css
/* before (notice the container-animation CSS class) */
.container-animation-anchor {
transition:0.5s linear all;
}
```

**now**:
```css
/* now (just use `ng-anchor` on a class that both the
elements that contain `ng-animate-ref` share) */
.my-anchor-element.ng-anchor {
transition:0.5s linear all;
}
```

- due to [e6d053de](https://github.com/angular/angular.js/commit/e6d053de0993c0d38de46ad8a9c6760537316430),
if your CSS code made use of the `ng-animate-anchor`
CSS class for referencing the anchored animation element then your
code must now use `ng-anchor` instead.

- due to [1002b80a](https://github.com/angular/angular.js/commit/1002b80a6fb5d98c424a01330234276d65d93c0b),
partially or fully using a regex value containing
`ng-animate` as a token is not allowed anymore. Doing so will trigger a
minErr exception to be thrown.

So don't do this:

```js
// only animate elements that contain the `ng-animate` CSS class
$animateProvider.classNameFilter(/ng-animate/);

// or partially contain it
$animateProvider.classNameFilter(/some-class ng-animate another-class/);
```

but this is OK:

```js
$animateProvider.classNameFilter(/ng-animate-special/);
```


### ngOptions

- ** due to [dfa722a8](https://github.com/angular/angular.js/commit/dfa722a8a6864793fd9580d8ae704a06d10b5509),


Although it is unlikely that anyone is using it in this way, this change does change the
behaviour of `ngOptions` in the following case:

* you are iterating over an array-like object, using the array form of the `ngOptions` syntax
(`item.label for item in items`) and that object contains non-numeric property keys.

In this case these properties with non-numeric keys will be ignored.

** Here array-like is defined by the result of a call to this internal function:
https://github.com/angular/angular.js/blob/v1.4.0-rc.1/src/Angular.js#L198-L211 **

To get the desired behaviour you need to iterate using the object form of the `ngOptions` syntax
(`value.label` for (key, value) in items)`).




<a name="v1.4.0-rc.1"></a>
# v1.4.0-rc.1 sartorial-chronography (2015-04-24)

Expand Down
1 change: 1 addition & 0 deletions angularFiles.js
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ var angularFiles = {
'angularModules': {
'ngAnimate': [
'src/ngAnimate/shared.js',
'src/ngAnimate/rafScheduler.js',
'src/ngAnimate/animateChildrenDirective.js',
'src/ngAnimate/animateCss.js',
'src/ngAnimate/animateCssDriver.js',
Expand Down
16 changes: 16 additions & 0 deletions docs/app/assets/css/angular_io.css

Large diffs are not rendered by default.

Loading