This is an automated email from the ASF dual-hosted git repository. macdonst pushed a commit to tag 5.0.1 in repository https://gitbox.apache.org/repos/asf/cordova-plugin-media.git
commit e974e63dbc449edca885dc07472cb069ef8ffd3c Author: Simon MacDonald <simon.macdon...@gmail.com> AuthorDate: Wed Dec 27 19:13:36 2017 -0500 CB-13714 Updated version and RELEASENOTES.md for release 5.0.1 (via coho) --- RELEASENOTES.md | 251 +------------------------------------------------------ package.json | 2 +- plugin.xml | 2 +- tests/plugin.xml | 2 +- 4 files changed, 6 insertions(+), 251 deletions(-) diff --git a/RELEASENOTES.md b/RELEASENOTES.md index a0d554d..a1b4f19 100644 --- a/RELEASENOTES.md +++ b/RELEASENOTES.md @@ -1,249 +1,4 @@ -<!-- -# -# 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. -# ---> -# Release Notes +### 5.0.1 (Dec 27, 2017) +* [CB-13706](https://issues.apache.org/jira/browse/CB-13706) Fix to allow 5.0.0 version install (#160) +* Bump cordova-plugin-file dependency to 6.0.0 -### 5.0.0 (Dec 15, 2017) -* [CB-13678](https://issues.apache.org/jira/browse/CB-13678) Remove deprecated platforms - -### 4.0.0 (Nov 06, 2017) -* [CB-12264](https://issues.apache.org/jira/browse/CB-12264) (README): fix `media.getCurrentAmplitude` definition -* [CB-13265](https://issues.apache.org/jira/browse/CB-13265) Remove **iOS** usage description from media plugin -* [CB-13517](https://issues.apache.org/jira/browse/CB-13517) (all): Add 'protective' entry to `cordovaDependencies` -* [CB-13473](https://issues.apache.org/jira/browse/CB-13473) (CI) Removed **Browser** builds from AppVeyor -* [CB-13294](https://issues.apache.org/jira/browse/CB-13294) Remove `cordova-plugin-compat` -* [CB-13299](https://issues.apache.org/jira/browse/CB-13299) (CI) Fix **Android** builds -* [CB-13028](https://issues.apache.org/jira/browse/CB-13028) (CI) **Browser** builds on Travis and AppVeyor -* [CB-12671](https://issues.apache.org/jira/browse/CB-12671) **iOS**: Fix auto-test with stopping media that is in starting state -* [CB-12847](https://issues.apache.org/jira/browse/CB-12847) added `bugs` entry to `package.json`. - -### 3.0.1 (Apr 27, 2017) -* [CB-12542](https://issues.apache.org/jira/browse/CB-12542) (ios) Fix wav file recording, add m4a extension. make **iOS** status handling compatible with **Android**/Windows -* [CB-12622](https://issues.apache.org/jira/browse/CB-12622) Added **Android 6.0** build badges to `README` -* [CB-12685](https://issues.apache.org/jira/browse/CB-12685) added `package.json` to tests folder - -### 3.0.0 (Feb 28, 2017) -* **Android:** fix `NullPointerException` in `AudioPlayer.readyPlayer` -* **Android:** fix `java.lang.NullPointerException` on `resumeAllGainedFocus` -* [CB-12493](https://issues.apache.org/jira/browse/CB-12493) (Tests) Fixed spec.21 flakyness -* major version bump, added `cordovaDependencies` requirement for `cordova-android>=6.1.0` -* Add engine tag for checking `cordova-android` -* Make the output file of **Android** an `acc` file. -* [CB-12422](https://issues.apache.org/jira/browse/CB-12422) **iOS:** Fix readme issue on background needed plist modification -* [CB-12434](https://issues.apache.org/jira/browse/CB-12434) **Android:** fix Stoping a Paused Recording throws exception -* [CB-12411](https://issues.apache.org/jira/browse/CB-12411) Stoping a Paused Recording throws illegal state exception -* [CB-1187](https://issues.apache.org/jira/browse/CB-1187) **iOS:** Fix unused recording settings -* [CB-12353](https://issues.apache.org/jira/browse/CB-12353) Corrected merges usage in `plugin.xml` -* [CB-12369](https://issues.apache.org/jira/browse/CB-12369) Add plugin typings from DefinitelyTyped -* [CB-12363](https://issues.apache.org/jira/browse/CB-12363) Added build badges for **iOS 9.3** and **iOS 10.0** -* [CB-12230](https://issues.apache.org/jira/browse/CB-12230) Removed **Windows 8.1** build badges - -### 2.4.1 (Dec 07, 2016) -* [CB-12224](https://issues.apache.org/jira/browse/CB-12224) Updated version and RELEASENOTES.md for release 2.4.1 -* [CB-12034](https://issues.apache.org/jira/browse/CB-12034) (ios) Add mandatory iOS 10 privacy description -* [CB-11917](https://issues.apache.org/jira/browse/CB-11917) - Remove pull request template checklist item: "iCLA has been submitted…" -* [CB-11529](https://issues.apache.org/jira/browse/CB-11529) ios: Make available setting volume for player on ios device -* [CB-11832](https://issues.apache.org/jira/browse/CB-11832) Incremented plugin version. - -### 2.4.0 (Sep 08, 2016) -* [CB-11795](https://issues.apache.org/jira/browse/CB-11795) Add 'protective' entry to cordovaDependencies -* [CB-11793](https://issues.apache.org/jira/browse/CB-11793) fixed **android** build issue with last commit -* [CB-11085](https://issues.apache.org/jira/browse/CB-11085) Fix error output using `println` to `LOG.e` -* [CB-11757](https://issues.apache.org/jira/browse/CB-11757) (**ios**) Error out if trying to stop playback while in a wrong state -* [CB-11380](https://issues.apache.org/jira/browse/CB-11380) (**ios**) Overloaded `audioFileForResource` method instead of modifying its signature -* [CB-11380](https://issues.apache.org/jira/browse/CB-11380) (**ios**) Updated modified method signature in the .h file -* [CB-11380](https://issues.apache.org/jira/browse/CB-11380) (**ios**) Fixed an unexpected error callback when initializing Media with file that doesn't exist -* [CB-10849](https://issues.apache.org/jira/browse/CB-10849) (ios) Fixed a crash when playing soundfiles consecutively -* [CB-11754](https://issues.apache.org/jira/browse/CB-11754) (**Android**) Fixed the build error -* [CB-11086](https://issues.apache.org/jira/browse/CB-11086) (**Android**) Fixed a crash when `setVolume()` is called on unitialized audio This closes #93 -* Plugin uses `Android Log class` and not `Cordova LOG class` -* [CB-11655](https://issues.apache.org/jira/browse/CB-11655) (**Android**) Enabled asynchronous error handling -* [CB-11430](https://issues.apache.org/jira/browse/CB-11430) Report duration NaN value to JS properly -* [CB-11429](https://issues.apache.org/jira/browse/CB-11429) Update test stream URL -* [CB-11430](https://issues.apache.org/jira/browse/CB-11430) Skip audio playback tests on Saucelabs -* [CB-11458](https://issues.apache.org/jira/browse/CB-11458) - `media.spec.25` 'should be able to play an audio stream' fails on **iOS** platform -* Add badges for paramedic builds on Jenkins -* [CB-11313](https://issues.apache.org/jira/browse/CB-11313) Can't start media streaming on **Android 6.0** -* Add pull request template. -* Readme: Add fenced code blocks with langauage hints -* [CB-11165](https://issues.apache.org/jira/browse/CB-11165) removed peer dependency -* [CB-10776](https://issues.apache.org/jira/browse/CB-10776) Add the ability to pause and resume an audio recording (**Android**) -* [CB-10776](https://issues.apache.org/jira/browse/CB-10776) Add the ability to pause and resume an audio recording (**iOS**) -* [CB-9487](https://issues.apache.org/jira/browse/CB-9487) Don't update position when getting amplitude -* [CB-10996](https://issues.apache.org/jira/browse/CB-10996) Adding front matter to README.md - -### 2.3.0 (Apr 15, 2016) -* Request audio focus when playing; Pause audio when audio focus is lost; resume playing when audio focus is granted again. -* Replace `PermissionHelper.java` with `cordova-plugin-compat` -* [CB-10783](https://issues.apache.org/jira/browse/CB-10783) Modify expected position to be in a proper range. -* [CB-9487](https://issues.apache.org/jira/browse/CB-9487) Support getting amplitude for recording -* **iOS** audio should handle naked local file sources -* [CB-10720](https://issues.apache.org/jira/browse/CB-10720) Fixing README for display on Cordova website -* [CB-10636](https://issues.apache.org/jira/browse/CB-10636) Add `JSHint` for plugins -* [CB-10535](https://issues.apache.org/jira/browse/CB-10535) Fix CI crash caused by media plugin - -### 2.2.0 (Feb 09, 2016) -* [CB-10476](https://issues.apache.org/jira/browse/CB-10476) Fix problem where callbacks were not invoked on android due to messageChannel being overridden by callbackContext in every execute() call -* Edit package.json license to match SPDX id -* [CB-10455](https://issues.apache.org/jira/browse/CB-10455) android: Adding permission helper to remove cordova-android 5.0.0 constraint -* [CB-57](https://issues.apache.org/jira/browse/CB-57) Updated to use avplayer when url starts with http:// or https:// for full streaming support -* [CB-8222](https://issues.apache.org/jira/browse/CB-8222) Background thread on play to prevent locking during initial load of media - -### 2.1.0 (Jan 15, 2016) -* Fixed example referencing non-existent variable -* [CB-9452](https://issues.apache.org/jira/browse/CB-9452) Treat `RTSP streams` as `remote URLs` -* add JIRA issue tracker link -* fix [CB-9884](https://issues.apache.org/jira/browse/CB-9884) & [CB-9885](https://issues.apache.org/jira/browse/CB-9885) -* [CB-10100](https://issues.apache.org/jira/browse/CB-10100) updated file dependency to not grab new majors -* Fix block usage of self - -### 2.0.0 (Nov 18, 2015) -* [CB-10035](https://issues.apache.org/jira/browse/CB-10035) Updated `RELEASENOTES` to be newest to oldest -* Media now supports new permissions for **Android 6.0** aka **Marshmallow** -* Fixing contribute link. -* [CB-9619](https://issues.apache.org/jira/browse/CB-9619) Fixed tests waiting for precise position -* [CB-9606](https://issues.apache.org/jira/browse/CB-9606) Fixes arguments parsing in `seekAudio` -* [CB-9605](https://issues.apache.org/jira/browse/CB-9605) Fixes issue with playback resume after pause on **WP8** -* fix record and play `NullPointerException` -* [CB-9237](https://issues.apache.org/jira/browse/CB-9237) Add `cdvfile://` support to media plugin on **Windows** platform -* [CB-9238](https://issues.apache.org/jira/browse/CB-9238) Media plugin cannot record audio on **Windows** -* Added **iOS** platform `media.setRate` auto test -* Add **iOS** platform check in `Media.prototype.setRate` -* Add `Media.prototype.setRate` method (only for **iOS**) - -### 1.0.1 (Jun 17, 2015) -* [CB-9128](https://issues.apache.org/jira/browse/CB-9128) cordova-plugin-media documentation translation: cordova-plugin-media -* fix npm md issue -* [CB-9079](https://issues.apache.org/jira/browse/CB-9079) Increased timeout for playback tests -* [CB-8888](https://issues.apache.org/jira/browse/CB-8888) Makes media status reporting on windows more precise -* [CB-8793](https://issues.apache.org/jira/browse/CB-8793) Increased playback timeout in tests - -### 1.0.0 (Apr 15, 2015) -* [CB-8793](https://issues.apache.org/jira/browse/CB-8793) Fixed tests to pass on wp8 and windows -* [CB-8746](https://issues.apache.org/jira/browse/CB-8746) bumped version of file dependency -* [CB-8746](https://issues.apache.org/jira/browse/CB-8746) gave plugin major version bump -* [CB-8779](https://issues.apache.org/jira/browse/CB-8779) Fixed media status reporting on wp8 -* [CB-8747](https://issues.apache.org/jira/browse/CB-8747) added missing comma -* [CB-8747](https://issues.apache.org/jira/browse/CB-8747) updated dependency, added peer dependency -* [CB-8683](https://issues.apache.org/jira/browse/CB-8683) changed plugin-id to pacakge-name -* [CB-8653](https://issues.apache.org/jira/browse/CB-8653) properly updated translated docs to use new id -* [CB-8653](https://issues.apache.org/jira/browse/CB-8653) updated translated docs to use new id -* [CB-8541](https://issues.apache.org/jira/browse/CB-8541) Adds information about available recording formats on Windows -* Use TRAVIS_BUILD_DIR, install paramedic by npm -* [CB-8686](https://issues.apache.org/jira/browse/CB-8686) - remove musicLibrary capability -* [CB-7962](https://issues.apache.org/jira/browse/CB-7962) Adds browser platform support -* [CB-8653](https://issues.apache.org/jira/browse/CB-8653) Updated Readme -* [CB-8659](https://issues.apache.org/jira/browse/CB-8659): ios: 4.0.x Compatibility: Remove use of deprecated headers -* [CB-8572](https://issues.apache.org/jira/browse/CB-8572) Integrate TravisCI -* [CB-8438](https://issues.apache.org/jira/browse/CB-8438) cordova-plugin-media documentation translation: cordova-plugin-media -* [CB-8538](https://issues.apache.org/jira/browse/CB-8538) Added package.json file -* [CB-8428](https://issues.apache.org/jira/browse/CB-8428) Fix tests on Windows if no audio playback hardware is available -* [CB-8428](https://issues.apache.org/jira/browse/CB-8428) Fix multiple `done()` calls in media plugin test on devices where audio is not configured -* [CB-8426](https://issues.apache.org/jira/browse/CB-8426) Add Windows platform section to Media plugin -* [CB-8425](https://issues.apache.org/jira/browse/CB-8425) Media plugin .ctr: make src param required as per spec - -### 0.2.16 (Feb 04, 2015) -* [CB-8351](https://issues.apache.org/jira/browse/CB-8351) ios: Stop using (newly) deprecated CDVJSON.h -* [CB-8351](https://issues.apache.org/jira/browse/CB-8351) ios: Use argumentForIndex rather than NSArray extension -* [CB-8252](https://issues.apache.org/jira/browse/CB-8252) android: Fire audio events from native via message channel -* [CB-8152](https://issues.apache.org/jira/browse/CB-8152) ios: Remove deprecated methods in Media plugin (deprecated since 2.5) - -### 0.2.15 (Dec 02, 2014) -* [CB-6153](https://issues.apache.org/jira/browse/CB-6153) **Android**: Add docs for volume control behaviour, and fix controls not being reset on page navigation -* [CB-6153](https://issues.apache.org/jira/browse/CB-6153) **Android**: Make volume buttons control music stream while any audio players are created -* [CB-7977](https://issues.apache.org/jira/browse/CB-7977) Mention `deviceready` in plugin docs -* [CB-7945](https://issues.apache.org/jira/browse/CB-7945) Made media.spec.15 and media.spec.16 auto tests green -* [CB-7700](https://issues.apache.org/jira/browse/CB-7700) cordova-plugin-media documentation translation: cordova-plugin-media - -### 0.2.14 (Oct 03, 2014) -* Amazon Specific changes: Added READ_PHONE_STATE permission same as done in Android -* make possible plays wav file -* [CB-7638](https://issues.apache.org/jira/browse/CB-7638) Get audio duration properly on windows -* [CB-7454](https://issues.apache.org/jira/browse/CB-7454) Adds support for m4a audio format for Windows -* [CB-7547](https://issues.apache.org/jira/browse/CB-7547) Fixes audio recording on windows platform -* [CB-7531](https://issues.apache.org/jira/browse/CB-7531) Fixes play() failure after release() call - -### 0.2.13 (Sep 17, 2014) -* [CB-6963](https://issues.apache.org/jira/browse/CB-6963) renamed folder to tests + added nested plugin.xml -* added documentation for manual tests -* [CB-6963](https://issues.apache.org/jira/browse/CB-6963) Port Media manual & automated tests -* [CB-6963](https://issues.apache.org/jira/browse/CB-6963) Port media tests to plugin-test-framework - -### 0.2.12 (Aug 06, 2014) -* [CB-6127](https://issues.apache.org/jira/browse/CB-6127) Updated translations for docs -* ios: Make it easier to play media and record audio simultaneously -* code #s for MediaError - -### 0.2.11 (Jun 05, 2014) -* [CB-6127](https://issues.apache.org/jira/browse/CB-6127) Spanish and French Translations added. Github close #13 -* [CB-6807](https://issues.apache.org/jira/browse/CB-6807) Add license -* [CB-6706](https://issues.apache.org/jira/browse/CB-6706): Relax dependency on file plugin -* [CB-6478](https://issues.apache.org/jira/browse/CB-6478): Fix exception when try to record audio file on windows 8 -* [CB-6477](https://issues.apache.org/jira/browse/CB-6477): Add musicLibrary and microphone capabilities to windows 8 platform -* [CB-6491](https://issues.apache.org/jira/browse/CB-6491) add CONTRIBUTING.md - -### 0.2.10 (Apr 17, 2014) -* [CB-6422](https://issues.apache.org/jira/browse/CB-6422): [windows8] use cordova/exec/proxy -* [CB-6212](https://issues.apache.org/jira/browse/CB-6212): [iOS] fix warnings compiled under arm64 64-bit -* [CB-6225](https://issues.apache.org/jira/browse/CB-6225): Specify plugin dependency on File plugin 1.0.1 -* [CB-6460](https://issues.apache.org/jira/browse/CB-6460): Update license headers -* [CB-6465](https://issues.apache.org/jira/browse/CB-6465): Add license headers to Tizen code -* Add NOTICE file - -### 0.2.9 (Feb 26, 2014) -* [CB-6051](https://issues.apache.org/jira/browse/CB-6051) Update media plugin to work with new cdvfile:// urls -* [CB-5748](https://issues.apache.org/jira/browse/CB-5748) Make sure that Media.onStatus is called when recording is started. - -### 0.2.8 (Feb 05, 2014) -* Add preliminary support for Tizen. -* [CB-4755](https://issues.apache.org/jira/browse/CB-4755) Fix crash in Media.setVolume on iOS - -### 0.2.7 (Jan 02, 2014) -* [CB-5658](https://issues.apache.org/jira/browse/CB-5658) Add doc/index.md for Media plugin -* Adding READ_PHONE_STATE to the plugin permissions - -### 0.2.6 (Dec 4, 2013) -* [ubuntu] specify policy_group -* add ubuntu platform -* Added amazon-fireos platform. Change to use amazon-fireos as a platform if the user agent string contains 'cordova-amazon-fireos' - -### 0.2.5 (Oct 28, 2013) -* [CB-5128](https://issues.apache.org/jira/browse/CB-5128): add repo + issue tag to plugin.xml for media plugin -* [CB-5010](https://issues.apache.org/jira/browse/CB-5010) Incremented plugin version on dev branch. - -### 0.2.4 (Oct 9, 2013) -* [CB-4928](https://issues.apache.org/jira/browse/CB-4928) plugin-media doesn't load on windows8 -* [CB-4915](https://issues.apache.org/jira/browse/CB-4915) Incremented plugin version on dev branch. - -### 0.2.3 (Sept 25, 2013) -* [CB-4889](https://issues.apache.org/jira/browse/CB-4889) bumping&resetting version -* [windows8] commandProxy was moved -* [CB-4889](https://issues.apache.org/jira/browse/CB-4889) renaming references -* [CB-4889](https://issues.apache.org/jira/browse/CB-4889) renaming org.apache.cordova.core.media to org.apache.cordova.media -* [CB-4847](https://issues.apache.org/jira/browse/CB-4847) iOS 7 microphone access requires user permission - if denied, CDVCapture, CDVSound does not handle it properly -* Rename CHANGELOG.md -> RELEASENOTES.md -* [CB-4799](https://issues.apache.org/jira/browse/CB-4799) Fix incorrect JS references within native code on Android & iOS -* Fix compiler/lint warnings -* Rename plugin id from AudioHandler -> media -* [CB-4763](https://issues.apache.org/jira/browse/CB-4763) Remove reference to cordova-android's FileHelper. -* [CB-4752](https://issues.apache.org/jira/browse/CB-4752) Incremented plugin version on dev branch. - -### 0.2.1 (Sept 5, 2013) -* [CB-4432](https://issues.apache.org/jira/browse/CB-4432) copyright notice change diff --git a/package.json b/package.json index d4edc79..65222a2 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "cordova-plugin-media", - "version": "5.0.1-dev", + "version": "5.0.1", "description": "Cordova Media Plugin", "types": "./types/index.d.ts", "cordova": { diff --git a/plugin.xml b/plugin.xml index 863b005..a4f6502 100644 --- a/plugin.xml +++ b/plugin.xml @@ -21,7 +21,7 @@ <plugin xmlns="http://apache.org/cordova/ns/plugins/1.0" xmlns:android="http://schemas.android.com/apk/res/android" id="cordova-plugin-media" - version="5.0.1-dev"> + version="5.0.1"> <name>Media</name> <description>Cordova Media Plugin</description> diff --git a/tests/plugin.xml b/tests/plugin.xml index 9a471e5..43aa3ec 100644 --- a/tests/plugin.xml +++ b/tests/plugin.xml @@ -22,7 +22,7 @@ xmlns:rim="http://www.blackberry.com/ns/widgets" xmlns:android="http://schemas.android.com/apk/res/android" id="cordova-plugin-media-tests" - version="5.0.1-dev"> + version="5.0.1"> <name>Cordova Media Plugin Tests</name> <license>Apache 2.0</license> <js-module src="tests.js" name="tests"> -- To stop receiving notification emails like this one, please contact "commits@cordova.apache.org" <commits@cordova.apache.org>. --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@cordova.apache.org For additional commands, e-mail: commits-h...@cordova.apache.org