Skip to content

Commit

Permalink
updated changelog v0.1.12
Browse files Browse the repository at this point in the history
  • Loading branch information
PillowPillow committed Aug 20, 2015
1 parent 4986770 commit e0cf61d
Showing 1 changed file with 42 additions and 2 deletions.
44 changes: 42 additions & 2 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,51 @@
## 0.1.12 (2015-08-20)

Update:
* @filter

> the $stateful property is now deprecated
> use the stateful parameter instead
*before*

````javascript
import {filter, inject} from 'node_modules/ng-annotations';

@filter('statefulFilter')
@inject('someDependency')
class StatefulFilter {
$stateful = true;
$filter(input) {
return input; //do something with the dependency
}
}

````

*after*

````javascript
import {filter, inject} from 'node_modules/ng-annotations';

@filter({name: 'statefulFilter', stateful:true})
@inject('someDependency')
class StatefulFilter {
$filter(input) {
return input; //do something with the dependency
}
}

````


## 0.1.11 (2015-08-20)

Bugfix:
Feature:
* @filter

> now supports the stateful filters
````
````javascript
import {filter, inject} from 'node_modules/ng-annotations';

@filter('statefulFilter')
Expand Down

0 comments on commit e0cf61d

Please sign in to comment.