diff --git a/CHANGELOG.md b/CHANGELOG.md index df83cdb..bd8d986 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,41 @@ +## 0.15.0 (2015-03-25) + + +#### Bug Fixes + +* **bower.json:** fixes naming ([210d4b8b](https://github.com/sofa/sofa-core/commit/210d4b8b207b104796aa65711942a506d2b93276)) + + +### 0.14.2 (2015-02-23) + + +#### Bug Fixes + +* **build:** fixed integration with new build process ([85435581](https://github.com/sofa/sofa-core/commit/854355818c93e683c97f89e124d9b245d506f7f8)) + + +#### Features + +* **configService:** add set method ([887641c0](https://github.com/sofa/sofa-core/commit/887641c0f1d5cb74b6c698f5e27dc6a56eb85617)) +* **sofa.ConfigService:** adds Angular configService to build ([e677627c](https://github.com/sofa/sofa-core/commit/e677627c36a201018f1f96238b1feb32cff9eb0c)) +* **sofa.core:** integrates new build task ([3860aef6](https://github.com/sofa/sofa-core/commit/3860aef6a26624922741cf12f06d920c7d906451)) + + +#### Breaking Changes + +* the new build task renames distribution files from dot-case to camel-case. + +Before: + +`dist/sofa.core.js` + +After: + +`dist/sofaCore.js` + + ([3860aef6](https://github.com/sofa/sofa-core/commit/3860aef6a26624922741cf12f06d920c7d906451)) + + ### 0.13.2 (2015-02-04) diff --git a/bower.json b/bower.json index e56bb05..dd9d119 100644 --- a/bower.json +++ b/bower.json @@ -1,12 +1,12 @@ { "name": "sofa-core", - "version": "0.14.2", + "version": "0.15.1", "homepage": "http://www.sofa.io", "authors": [ "Pascal Precht " ], "description": "Sofa Web SDK core components.", - "main": "dist/sofa.core.js", + "main": "dist/sofaCore.js", "devDependencies": { "sofa-testing": "0.1.x" }, diff --git a/dist/sofaCore.angular.js b/dist/sofaCore.angular.js index 714e38b..068c21a 100644 --- a/dist/sofaCore.angular.js +++ b/dist/sofaCore.angular.js @@ -1,5 +1,5 @@ /** - * sofa-core - v0.14.2 - Mon Feb 23 2015 11:58:34 GMT+0100 (CET) + * sofa-core - v0.15.0 - Wed Mar 25 2015 14:30:59 GMT+0100 (CET) * http://www.sofa.io * * Copyright (c) 2014 CouchCommerce GmbH (http://www.couchcommerce.com / http://www.sofa.io) and other contributors diff --git a/dist/sofaCore.angular.min.js b/dist/sofaCore.angular.min.js index 1bc5858..8bf549c 100644 --- a/dist/sofaCore.angular.min.js +++ b/dist/sofaCore.angular.min.js @@ -1,5 +1,5 @@ /** - * sofa-core - v0.14.2 - Mon Feb 23 2015 11:58:34 GMT+0100 (CET) + * sofa-core - v0.15.0 - Wed Mar 25 2015 14:30:59 GMT+0100 (CET) * http://www.sofa.io * * Copyright (c) 2014 CouchCommerce GmbH (http://www.couchcommerce.com / http://www.sofa.io) and other contributors diff --git a/dist/sofaCore.js b/dist/sofaCore.js index 4579c1c..8cfd135 100644 --- a/dist/sofaCore.js +++ b/dist/sofaCore.js @@ -170,6 +170,10 @@ sofa.define('sofa.ConfigService', function () { var self = {}; sofa.Config = sofa.Config || {}; + + if(document.location.host.indexOf('localhost') >= 0 || document.location.host.indexOf('testcenter') >= 0) { + sofa.Config = sofa.ConfigDev; + } /** * @sofadoc method diff --git a/package.json b/package.json index c502ca0..d92d7c9 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "sofa-core", - "version": "0.14.2", + "version": "0.15.1", "description": "Sofa Web SDK core components.", "main": "dist/sofa.core.js", "homepage": "http://www.sofa.io",