This is an automated email from the ASF dual-hosted git repository. steven pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/cordova-browser.git
commit b2d5d1535c6f2081e03f79e59a1f4b0ea068ce3e Author: Steve Gill <[email protected]> AuthorDate: Thu Aug 24 16:08:54 2017 -0700 CB-13214 Updated RELEASENOTES and Version for release 5.0.0 --- .ratignore | 2 ++ RELEASENOTES.md | 53 ++++++++++++++++++++++++++++-------------- bin/template/cordova/Api.js | 19 +++++++++++++++ bin/template/www/cordova-sw.js | 18 ++++++++++++++ package.json | 4 ++-- 5 files changed, 76 insertions(+), 20 deletions(-) diff --git a/.ratignore b/.ratignore index 0c2615b..2cc8d5f 100644 --- a/.ratignore +++ b/.ratignore @@ -1 +1,3 @@ manifest.webapp +jasmine.json +manifest.json diff --git a/RELEASENOTES.md b/RELEASENOTES.md index 18e60ab..701e9c1 100644 --- a/RELEASENOTES.md +++ b/RELEASENOTES.md @@ -20,30 +20,47 @@ --> ## Release Notes for Cordova Browser ## +### 5.0.0 (Aug 24, 2017) +* [CB-13214](https://issues.apache.org/jira/browse/CB-13214) Updated `cordova-serve` dependnecy to 2.0.0. `cordova serve` command now opens system default browser instead of a new instance of `chrome`. A specific target can still be passed in. +* [CB-13214](https://issues.apache.org/jira/browse/CB-13214) Updated checked-in `node_modules` +* [CB-13188](https://issues.apache.org/jira/browse/CB-13188) fixed issues with run and build scripts. +* [CB-12895](https://issues.apache.org/jira/browse/CB-12895): set up `eslint` and remove `jshint` +* [CB-11181](https://issues.apache.org/jira/browse/CB-11181) add default favicon +* [CB-11710](https://issues.apache.org/jira/browse/CB-11710) Add missing 'clean.bat' file +* remove old `xhr-activex` **Windows** code, update to use `pagevisibility` instead of `webkitpagevisibility` +* [CB-12804](https://issues.apache.org/jira/browse/CB-12804): `manifest.json` added to **Browser** during create. Adding basic PWA support +* [CB-12762](https://issues.apache.org/jira/browse/CB-12762) Point repo items to github mirrors +* Clean up PRs. Closes #2. Closes #25 +* [CB-12617](https://issues.apache.org/jira/browse/CB-12617) : removed node 0.x support and added engineStrict. This closes #27 +* [CB-12847](https://issues.apache.org/jira/browse/CB-12847) added `bugs` entry to `package.json`. +* [CB-12527](https://issues.apache.org/jira/browse/CB-12527) large refactor. Implemented `PlatformApi` +* [CB-12114](https://issues.apache.org/jira/browse/CB-12114) added travis and appveyor files +* Add github pull request template + ### 4.0.0 (Aug 13, 2015) * updated version in version script -* added .ratignore and added missing AL header to readme +* added `.ratignore` and added missing AL header to readme * removed other platform screens from template * updated to 4.0.0-dev -* CB-8965 Copy cordova-js-src directory to platform folder during create +* [CB-8965](https://issues.apache.org/jira/browse/CB-8965) Copy `cordova-js-src` directory to platform folder during create * Adds LICENSE and NOTICE files. -* CB-9350 'cordova run browser' throws an exception. +* [CB-9350](https://issues.apache.org/jira/browse/CB-9350) 'cordova run browser' throws an exception. * Update 'cordova run browser' command to use cordova-serve module. -* CB-8417 update platform specific js from cordovajs -* CB-8760 platform list shows wrong version for browser platform. -* CB-8182 port `cordova serve` to `cordova run browser` -* CB-8182 add dependency on `mime` library -* CB-8196 Browser platform `run` should default source file to index.html even if it's missing in the config.xml -* CB-8223 Expose config.xml in the Browser platform -* CB-8417 renamed platform_modules into cordova-js-src -* CB-8417 moved platform specific js into platform -* CB-8224 Add support to launch a specified browser using --target switch. Support for multiple browsers on Windows, Mac and Linux +* [CB-8417](https://issues.apache.org/jira/browse/CB-8417) update platform specific js from cordovajs +* [CB-8760](https://issues.apache.org/jira/browse/CB-8760) platform list shows wrong version for browser platform. +* [CB-8182](https://issues.apache.org/jira/browse/CB-8182) port `cordova serve` to `cordova run browser` +* [CB-8182](https://issues.apache.org/jira/browse/CB-8182) add dependency on `mime` library +* [CB-8196](https://issues.apache.org/jira/browse/CB-8196) Browser platform `run` should default source file to index.html even if it's missing in the config.xml +* [CB-8223](https://issues.apache.org/jira/browse/CB-8223) Expose config.xml in the Browser platform +* [CB-8417](https://issues.apache.org/jira/browse/CB-8417) renamed platform_modules into cordova-js-src +* [CB-8417](https://issues.apache.org/jira/browse/CB-8417) moved platform specific js into platform +* [CB-8224](https://issues.apache.org/jira/browse/CB-8224) Add support to launch a specified browser using --target switch. Support for multiple browsers on Windows, Mac and Linux * Add Windows specific shim wrappers for shjs - auto-generated by npm install -* CB-8206 Browser platform: Add support for update +* [CB-8206](https://issues.apache.org/jira/browse/CB-8206) Browser platform: Add support for update * --user-data-dir working on windows -* CB-7978 Cleaning code and creating temporary dir - Using path.resolve and path.join instead of concatenating paths - Fixing error when temporary dir already exists by using shelljs instead of fs -* CB-7978 Cleaning code and creating temporary dir - Cleaning code - Declaring variables only when needed - Creating chrome for Cordova temp dir prior using it by std and err -* CB-7978 Fixed launching chrome in Linux +* [CB-7978](https://issues.apache.org/jira/browse/CB-7978) Cleaning code and creating temporary dir - Using path.resolve and path.join instead of concatenating paths - Fixing error when temporary dir already exists by using shelljs instead of fs +* [CB-7978](https://issues.apache.org/jira/browse/CB-7978) Cleaning code and creating temporary dir - Cleaning code - Declaring variables only when needed - Creating chrome for Cordova temp dir prior using it by std and err +* [CB-7978](https://issues.apache.org/jira/browse/CB-7978) Fixed launching chrome in Linux ### 3.6.0 ### * Update JS snapshot to version 3.6.0 (via coho) @@ -56,5 +73,5 @@ * Fixed issue with npm cache when adding browser * Fixed directory structure * Creating browser project -* CB-6818 Add license for CONTRIBUTING.md -* CB-6491 add CONTRIBUTING.md +* [CB-6818](https://issues.apache.org/jira/browse/CB-6818) Add license for CONTRIBUTING.md +* [CB-6491](https://issues.apache.org/jira/browse/CB-6491) add CONTRIBUTING.md diff --git a/bin/template/cordova/Api.js b/bin/template/cordova/Api.js index 91624dd..f9f7b1a 100644 --- a/bin/template/cordova/Api.js +++ b/bin/template/cordova/Api.js @@ -1,3 +1,22 @@ +/** +Licensed to the Apache Software Foundation (ASF) under one +or more contributor license agreements. See the NOTICE file +distributed with this work for additional information +regarding copyright ownership. The ASF licenses this file +to you under the Apache License, Version 2.0 (the +'License'); you may not use this file except in compliance +with the License. You may obtain a copy of the License at + +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, +software distributed under the License is distributed on an +'AS IS' BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +KIND, either express or implied. See the License for the +specific language governing permissions and limitations +under the License. +*/ + /* this file is found by cordova-lib when you attempt to 'cordova platform add PATH' where path is this repo. diff --git a/bin/template/www/cordova-sw.js b/bin/template/www/cordova-sw.js index 15a96f3..9740fb1 100644 --- a/bin/template/www/cordova-sw.js +++ b/bin/template/www/cordova-sw.js @@ -1,3 +1,21 @@ +/** +Licensed to the Apache Software Foundation (ASF) under one +or more contributor license agreements. See the NOTICE file +distributed with this work for additional information +regarding copyright ownership. The ASF licenses this file +to you under the Apache License, Version 2.0 (the +'License'); you may not use this file except in compliance +with the License. You may obtain a copy of the License at + +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, +software distributed under the License is distributed on an +'AS IS' BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +KIND, either express or implied. See the License for the +specific language governing permissions and limitations +under the License. +*/ // Note, these will be updated automatically at build time var CACHE_VERSION = '%CACHE_VERSION%'; diff --git a/package.json b/package.json index 359154a..64e29e9 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "cordova-browser", - "version": "4.2.0-dev", + "version": "5.0.0", "description": "cordova-browser release", "main": "bin/template/cordova/Api.js", "bin": "bin/create", @@ -23,7 +23,7 @@ }, "dependencies": { "cordova-common": "^2.0.1", - "cordova-serve": "^1.0.0", + "cordova-serve": "^2.0.0", "nopt": "^3.0.6", "shelljs": "^0.5.3" }, -- To stop receiving notification emails like this one, please contact "[email protected]" <[email protected]>. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
