Skip to content

Commit

Permalink
chore(*): release 2.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
ckotzbauer committed Apr 4, 2018
1 parent ba1a487 commit 8ef9769
Show file tree
Hide file tree
Showing 9 changed files with 73 additions and 63 deletions.
2 changes: 1 addition & 1 deletion dist/amd/knockout-bindable.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ define(["require", "exports", "aurelia-binding", "aurelia-templating", "aurelia-
var isObservable = ko.isObservable(outerValue);
if (isObservable || !applyOnlyObservables) {
var observer_1 = _this.getObserver(target, key);
if (observer_1 && observer_1 instanceof aurelia_templating_1.BehaviorPropertyObserver) {
if (observer_1 && observer_1 instanceof aurelia_templating_1.BehaviorPropertyObserver) { // check if inner property is @bindable
observer_1.setValue(isObservable ? ko.unwrap(outerValue) : outerValue);
}
if (isObservable) {
Expand Down
2 changes: 1 addition & 1 deletion dist/commonjs/knockout-bindable.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ var KnockoutBindable = /** @class */ (function () {
var isObservable = ko.isObservable(outerValue);
if (isObservable || !applyOnlyObservables) {
var observer_1 = _this.getObserver(target, key);
if (observer_1 && observer_1 instanceof aurelia_templating_1.BehaviorPropertyObserver) {
if (observer_1 && observer_1 instanceof aurelia_templating_1.BehaviorPropertyObserver) { // check if inner property is @bindable
observer_1.setValue(isObservable ? ko.unwrap(outerValue) : outerValue);
}
if (isObservable) {
Expand Down
2 changes: 1 addition & 1 deletion dist/es2015/knockout-bindable.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ let KnockoutBindable = class KnockoutBindable {
const isObservable = ko.isObservable(outerValue);
if (isObservable || !applyOnlyObservables) {
const observer = this.getObserver(target, key);
if (observer && observer instanceof BehaviorPropertyObserver) {
if (observer && observer instanceof BehaviorPropertyObserver) { // check if inner property is @bindable
observer.setValue(isObservable ? ko.unwrap(outerValue) : outerValue);
}
if (isObservable) {
Expand Down
2 changes: 1 addition & 1 deletion dist/es2017/knockout-bindable.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ let KnockoutBindable = class KnockoutBindable {
const isObservable = ko.isObservable(outerValue);
if (isObservable || !applyOnlyObservables) {
const observer = this.getObserver(target, key);
if (observer && observer instanceof BehaviorPropertyObserver) {
if (observer && observer instanceof BehaviorPropertyObserver) { // check if inner property is @bindable
observer.setValue(isObservable ? ko.unwrap(outerValue) : outerValue);
}
if (isObservable) {
Expand Down
2 changes: 1 addition & 1 deletion dist/native-modules/knockout-bindable.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ var KnockoutBindable = /** @class */ (function () {
var isObservable = ko.isObservable(outerValue);
if (isObservable || !applyOnlyObservables) {
var observer_1 = _this.getObserver(target, key);
if (observer_1 && observer_1 instanceof BehaviorPropertyObserver) {
if (observer_1 && observer_1 instanceof BehaviorPropertyObserver) { // check if inner property is @bindable
observer_1.setValue(isObservable ? ko.unwrap(outerValue) : outerValue);
}
if (isObservable) {
Expand Down
2 changes: 1 addition & 1 deletion dist/system/knockout-bindable.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ System.register(["aurelia-binding", "aurelia-templating", "aurelia-dependency-in
var isObservable = ko.isObservable(outerValue);
if (isObservable || !applyOnlyObservables) {
var observer_1 = _this.getObserver(target, key);
if (observer_1 && observer_1 instanceof aurelia_templating_1.BehaviorPropertyObserver) {
if (observer_1 && observer_1 instanceof aurelia_templating_1.BehaviorPropertyObserver) { // check if inner property is @bindable
observer_1.setValue(isObservable ? ko.unwrap(outerValue) : outerValue);
}
if (isObservable) {
Expand Down
22 changes: 16 additions & 6 deletions doc/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,17 +1,27 @@
# Changelog

## Version 2.2.0

Released on April 04, 2018.

- Updated dependencies
- Refactored unit-tests to use ava and sinon instead of jasmine.
- Moved migration guide to docs folder from wiki.
- Moved repository to aurelia-contrib organization.


## Version 2.1.0

Released on December 17, 2017.

- Use "transient" lifetime for composed view-models. [#22](https://github.com/code-chris/aurelia-knockout/issues/22)
- Use "transient" lifetime for composed view-models. [#22](https://github.com/aurelia-contrib/aurelia-knockout/issues/22)


## Version 2.0.2

Released on October 26, 2017.

- Fixed wrong transpilations in `dist` folder [#20](https://github.com/code-chris/aurelia-knockout/issues/20)
- Fixed wrong transpilations in `dist` folder [#20](https://github.com/aurelia-contrib/aurelia-knockout/issues/20)


## Version 2.0.1
Expand Down Expand Up @@ -41,7 +51,7 @@ Released on September 08, 2016.

Released on June 21, 2016.

- Knockout Binding fails if views are nested recursive. Fixes [#5](https://github.com/code-chris/aurelia-knockout/issues/5)
- Knockout Binding fails if views are nested recursive. Fixes [#5](https://github.com/aurelia-contrib/aurelia-knockout/issues/5)


## Version 1.0.0
Expand All @@ -59,15 +69,15 @@ Released on June 19, 2016.

Released on June 15, 2016.

- Composition failed if backing view-model returns an instance instead of returning or exporting the constructor function. Fixes [#4](https://github.com/code-chris/aurelia-knockout/issues/4)
- Composition failed if backing view-model returns an instance instead of returning or exporting the constructor function. Fixes [#4](https://github.com/aurelia-contrib/aurelia-knockout/issues/4)
- Documentation fixes


## Version 0.2.1

Released on June 14, 2016.

- Added missing aurelia dependencies in ```package.json``` and ```config.json```. Fixes [#3](https://github.com/code-chris/aurelia-knockout/issues/3)
- Added missing aurelia dependencies in ```package.json``` and ```config.json```. Fixes [#3](https://github.com/aurelia-contrib/aurelia-knockout/issues/3)


## Version 0.2.0
Expand All @@ -82,7 +92,7 @@ Released on May 28, 2016.

Released on May 12, 2016.

- Added Usage documentation. Issue [#1](https://github.com/code-chris/aurelia-knockout/issues/1)
- Added Usage documentation. Issue [#1](https://github.com/aurelia-contrib/aurelia-knockout/issues/1)


## Version 0.1.1
Expand Down
92 changes: 46 additions & 46 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"name": "aurelia-knockout",
"version": "2.1.0",
"version": "2.2.0",
"main": "dist/commonjs/aurelia-knockout.js",
"author": "Christian Kotzbauer <[email protected]>",
"author": "Christian Kotzbauer <[email protected]> (Twitter: https://twitter.com/ckotzbauer1)",
"license": "MIT",
"typings": "dist/commonjs/aurelia-knockout.d.ts",
"description": "A Knockout plugin for Aurelia.",
Expand All @@ -17,13 +17,13 @@
"ci": "npm run build && npm run test",
"build": "aurelia-tools ts-build-all --continue-when-failed --clean-before"
},
"homepage": "https://github.com/code-chris/aurelia-knockout",
"homepage": "https://github.com/aurelia-contrib/aurelia-knockout",
"bugs": {
"url": "https://github.com/code-chris/aurelia-knockout/issues"
"url": "https://github.com/aurelia-contrib/aurelia-knockout/issues"
},
"repository": {
"type": "git",
"url": "http://github.com/code-chris/aurelia-knockout"
"url": "http://github.com/aurelia-contrib/aurelia-knockout"
},
"devDependencies": {
"@types/knockout": "~3.4.53",
Expand Down

0 comments on commit 8ef9769

Please sign in to comment.