Skip to content

Commit 45ad9ed

Browse files
committedJan 3, 2019
chore(release): 3.0.0 [skip ci]
# [3.0.0](ionic-team/cordova-plugin-ionic-webview@v2.3.1...v3.0.0) (2019-01-03) ### Bug Fixes * **iOS:** Remove unused code ([ionic-team#247](ionic-team#247)) ([bceb17a](ionic-team@bceb17a)) ### Features * Allows configuration of Mixed Content Mode ([ionic-team#240](ionic-team#240)) ([486d412](ionic-team@486d412)), closes [ionic-team#231](ionic-team#231) * **Android:** Implement ionic-file and ionic-content urls ([ionic-team#242](ionic-team#242)) ([8ef0c30](ionic-team@8ef0c30)), closes [ionic-team#204](ionic-team#204) [ionic-team#183](ionic-team#183) * **iOS:** Remove GCDWebServer ([ionic-team#244](ionic-team#244)) ([0dee0cf](ionic-team@0dee0cf)) * **WebViewLocalServer.java:** return 404 error code when a local file is not found ([ionic-team#217](ionic-team#217)) ([f7a551e](ionic-team@f7a551e)), closes [ionic-team#216](ionic-team#216) ### BREAKING CHANGES * **iOS:** Sets deployment-target to 11, so will only work on iOS 11+ * Address changes * changes the default from 1 (never) to 0 (always) * **WebViewLocalServer.java:** Until now, the Android part of the plugin was returning a 200 http code even though the requested file didn't exist. This behavior was inconsistent with the historical behavior of the iOS webView. This change makes them both work in the same manner but introduces a breaking change for the current Android users that are expecting a 200 http code no matter what and are testing the not found error just by checking if the body is null.
1 parent bceb17a commit 45ad9ed

File tree

3 files changed

+31
-3
lines changed

3 files changed

+31
-3
lines changed
 

‎CHANGELOG.md

+28
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,31 @@
1+
# [3.0.0](https://github.com/ionic-team/cordova-plugin-ionic-webview/compare/v2.3.1...v3.0.0) (2019-01-03)
2+
3+
4+
### Bug Fixes
5+
6+
* **iOS:** Remove unused code ([#247](https://github.com/ionic-team/cordova-plugin-ionic-webview/issues/247)) ([bceb17a](https://github.com/ionic-team/cordova-plugin-ionic-webview/commit/bceb17a))
7+
8+
9+
### Features
10+
11+
* Allows configuration of Mixed Content Mode ([#240](https://github.com/ionic-team/cordova-plugin-ionic-webview/issues/240)) ([486d412](https://github.com/ionic-team/cordova-plugin-ionic-webview/commit/486d412)), closes [#231](https://github.com/ionic-team/cordova-plugin-ionic-webview/issues/231)
12+
* **Android:** Implement ionic-file and ionic-content urls ([#242](https://github.com/ionic-team/cordova-plugin-ionic-webview/issues/242)) ([8ef0c30](https://github.com/ionic-team/cordova-plugin-ionic-webview/commit/8ef0c30)), closes [#204](https://github.com/ionic-team/cordova-plugin-ionic-webview/issues/204) [#183](https://github.com/ionic-team/cordova-plugin-ionic-webview/issues/183)
13+
* **iOS:** Remove GCDWebServer ([#244](https://github.com/ionic-team/cordova-plugin-ionic-webview/issues/244)) ([0dee0cf](https://github.com/ionic-team/cordova-plugin-ionic-webview/commit/0dee0cf))
14+
* **WebViewLocalServer.java:** return 404 error code when a local file is not found ([#217](https://github.com/ionic-team/cordova-plugin-ionic-webview/issues/217)) ([f7a551e](https://github.com/ionic-team/cordova-plugin-ionic-webview/commit/f7a551e)), closes [#216](https://github.com/ionic-team/cordova-plugin-ionic-webview/issues/216)
15+
16+
17+
### BREAKING CHANGES
18+
19+
* **iOS:** Sets deployment-target to 11, so will only work on iOS 11+
20+
21+
* Address changes
22+
* changes the default from 1 (never) to 0 (always)
23+
* **WebViewLocalServer.java:** Until now, the Android part of the plugin was returning a 200 http code even though
24+
the requested file didn't exist. This behavior was inconsistent with the historical behavior of the
25+
iOS webView. This change makes them both work in the same manner but introduces a breaking change
26+
for the current Android users that are expecting a 200 http code no matter what and are testing the
27+
not found error just by checking if the body is null.
28+
129
## [2.3.1](https://github.com/ionic-team/cordova-plugin-ionic-webview/compare/v2.3.0...v2.3.1) (2018-12-06)
230

331

‎package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "cordova-plugin-ionic-webview",
3-
"version": "2.3.1",
3+
"version": "3.0.0",
44
"description": "Ionic Web View Engine Plugin",
55
"scripts": {
66
"sync_plugin_xml": "sync-cordova-xml package.json plugin.xml --output=plugin.xml",

‎plugin.xml

+2-2
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
under the License.
2020
-->
2121

22-
<plugin xmlns="http://apache.org/cordova/ns/plugins/1.0" xmlns:rim="http://www.blackberry.com/ns/widgets" xmlns:android="http://schemas.android.com/apk/res/android" id="cordova-plugin-ionic-webview" version="2.3.1">
22+
<plugin xmlns="http://apache.org/cordova/ns/plugins/1.0" xmlns:rim="http://www.blackberry.com/ns/widgets" xmlns:android="http://schemas.android.com/apk/res/android" id="cordova-plugin-ionic-webview" version="3.0.0">
2323
<name>cordova-plugin-ionic-webview</name>
2424
<description>Ionic Web View Engine Plugin</description>
2525
<license>Apache-2.0</license>
@@ -61,7 +61,7 @@
6161

6262
<config-file target="config.xml" parent="/*">
6363
<allow-navigation href="ionic://*"/>
64-
<preference name="deployment-target" value="11.0" />
64+
<preference name="deployment-target" value="11.0"/>
6565
<feature name="IonicWebView">
6666
<param name="ios-package" value="CDVWKWebViewEngine"/>
6767
</feature>

0 commit comments

Comments
 (0)
Failed to load comments.