This is an automated email from the ASF dual-hosted git repository.
erisu pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/cordova-docs.git
The following commit(s) were added to refs/heads/master by this push:
new 6d2ac5ca48 blog: release announcements for cordova cli 12.0.0, android
12.0.0 & internal packages (#1307)
6d2ac5ca48 is described below
commit 6d2ac5ca484ca9c35897c435ba1fad379df1d6d1
Author: エリス <[email protected]>
AuthorDate: Wed May 24 00:48:02 2023 +0900
blog: release announcements for cordova cli 12.0.0, android 12.0.0 &
internal packages (#1307)
* blog: release announcements for cordova cli 12.0.0, android 12.0.0, and
internal packages
* blog: fix issue tracker links
* blog: improve CLI breaking changes
* blog: expand on sdk platform and sdk build tools
* blog: notice if manual changes were made
* chore: apply suggestions from code review
Co-authored-by: Norman Breau <[email protected]>
---
www/_posts/2023-05-22-cordova-android-12.0.0.md | 150 +++++++++++++++++++++
www/_posts/2023-05-22-cordova-cli-12.0.0.md | 113 ++++++++++++++++
.../2023/cordova-android-12-platform-sdk-33.png | Bin 0 -> 683722 bytes
.../cordova-android-12-sdk-build-tools-3302.png | Bin 0 -> 588155 bytes
4 files changed, 263 insertions(+)
diff --git a/www/_posts/2023-05-22-cordova-android-12.0.0.md
b/www/_posts/2023-05-22-cordova-android-12.0.0.md
new file mode 100644
index 0000000000..85ee590319
--- /dev/null
+++ b/www/_posts/2023-05-22-cordova-android-12.0.0.md
@@ -0,0 +1,150 @@
+---
+layout: post
+author:
+ name: Bryan Ellis
+title: "Cordova Android 12.0.0 Released!"
+categories: announcements
+tags: news releases
+---
+
+We are happy to announce that we have just released `Cordova Android 12.0.0`!
This is one of Cordova's supported platforms for building Android applications.
+
+* [[email protected]](https://www.npmjs.com/package/cordova-android)
+
+## Release Highlights
+
+**To upgrade:**
+
+```bash
+cordova platform remove android
+cordova platform add [email protected]
+```
+
+**To install:**
+
+```bash
+cordova platform add [email protected]
+```
+
+**BREAKING CHANGES:**
+
+* **Increased Minimum & Target SDK**
+
+ This release has increased the minimum supported SDK version to 24 which
is Android 7.0. It also has increased the target SDK to 33, Android 13.
+
+* **Build Tools**
+
+ To use `cordova-android@12`, SDK Platform `33` and SDK Build Tools
`33.0.2` must be installed. Older build tools version can be uninstalled if
older versions of cordova-android is no longer used in your projects.
+
+ To install SDK Platform 33:
+
+ 1. Open Android Studio's **SDK Manager**:
+ 2. Click on `SDK Platforms` tab
+ 3. Check `Android 13.0 (Tiramisu)` which has the `API Level` of `33`
+ 4. Click `Apply`
+
+ 
+
+ To install SDK Build Tools 33.0.2:
+
+ 1. Open Android Studio's **SDK Manager**:
+ 2. Click on `SDK Tools` tab
+ 3. Check `Show Package Details`
+ 4. Expand `Android SDK Build-Tools`
+ 5. Check `33.0.2`
+ 6. Click `Apply`
+
+ 
+
+* **Project Dependencies**
+
+ The following project dependencies were bumpped:
+
+ * Kotlin: `1.7.21`
+ * Gradle: `7.6`
+ * Android Gradle Plugin (AGP): `7.4.2`
+ * Google Services Gradle Plugin: `4.3.15`
+ * AndroidX App Compat Library: `1.6.1`
+ * AndroidX WebKit Library: `1.6.0`
+ * AndroidX SplashScreen Core Library: `1.0.0`
+
+ If you or a plugin has made changes to any of the following configuration
preferences, the build results might not match the expected outcomes with this
release:
+
+ * `android-minSdkVersion`
+ * `android-maxSdkVersion`
+ * `android-targetSdkVersion`
+ * `android-compileSdkVersion`
+ * `android-buildToolsVersion`
+ * `GradleVersion`
+ * `AndroidGradlePluginVersion`
+ * `GradlePluginKotlinVersion`
+ * `AndroidXAppCompatVersion`
+ * `AndroidXWebKitVersion`
+ * `GradlePluginGoogleServicesVersion`
+
+ Please take note of the versions that have been updated in this release.
If you have manually modified any of these values, it is recommended to review
and update the preference values accordingly.
+
+* **Node Support**
+
+ We have dropped support for Node 14.x and increase the minimum Node
requirement to greater than or equal to 16.13.0.
+
+**New Features:**
+
+* **Monochrome Support**
+
+ Android 13 has added Themed Icons support which is also known as
Monochrome. This release has introduced support for Themed icons.
+
+Please report any issues you find on our
[Cordova-Android](https://github.com/apache/cordova-android/issues) GitHub
issue tracker!
+
+<!--more-->
+# Changes include:
+
+**Breaking:**
+
+* [GH-1605](https://github.com/apache/cordova-android/pull/1605) fix!: Make
`CoreAndroid` plugin instantiate on load
+* [GH-1539](https://github.com/apache/cordova-android/pull/1539) feat!: bump
Gradle 7.6 & AGP 7.4.2
+* [GH-1571](https://github.com/apache/cordova-android/pull/1571) feat!: bump
min SDK to 24
+* [GH-1538](https://github.com/apache/cordova-android/pull/1538) feat!: bump
target sdk & build tools for SDK 33 support
+* [GH-1540](https://github.com/apache/cordova-android/pull/1540) feat!: bump
node engine requirement `>=16.13.0`
+* [GH-1597](https://github.com/apache/cordova-android/pull/1597) deprecate:
`CoreAndroid.getBuildConfigValue`
+* [GH-1541](https://github.com/apache/cordova-android/pull/1541) dep(npm)!:
bump acceptable modules w/ rebuilt `package-lock`
+* [GH-1566](https://github.com/apache/cordova-android/pull/1566) dep(npm)!:
bump `[email protected]`
+
+**Features:**
+
+* [GH-1602](https://github.com/apache/cordova-android/pull/1602) feat: add
`listTarget` api
+* [GH-1574](https://github.com/apache/cordova-android/pull/1574) feat: add
plugin hooks for `WebViewClient.onRenderProcessGone`
+* [GH-1594](https://github.com/apache/cordova-android/pull/1594) feat: bump
default `kotlin` to version 1.7.21
+* [GH-1550](https://github.com/apache/cordova-android/pull/1550) feat: add
`monochrome` app icon support
+* [GH-1589](https://github.com/apache/cordova-android/pull/1589) feat:
`InspectableWebview` preference
+* [GH-1568](https://github.com/apache/cordova-android/pull/1568) feat: bump
`androidx.appcompat.appcompat` 1.6.1
+* [GH-1567](https://github.com/apache/cordova-android/pull/1567) feat: bump
`androidx.webkit.webkit` 1.6.0
+* [GH-1547](https://github.com/apache/cordova-android/pull/1547) feat: bump
`com.google.gms.google-services` 4.3.15
+* [GH-1546](https://github.com/apache/cordova-android/pull/1546) feat: bump
`androidx.core.core-splashscreen` 1.0.0
+
+**Fixes:**
+
+* [GH-1606](https://github.com/apache/cordova-android/pull/1606) fix: Gradle
Args parsing
+* [GH-1575](https://github.com/apache/cordova-android/pull/1575)
fix(`BuildHelper`): get package name from `ApplicationInfo`
+* [GH-1595](https://github.com/apache/cordova-android/pull/1595) fix(test):
Native test namespace refactor
+* [GH-1471](https://github.com/apache/cordova-android/pull/1471) fix:
`ANDROID_HOME` is the new default, to check first and give advice
+* [GH-1573](https://github.com/apache/cordova-android/pull/1573) fix(GH-1432):
Default `content` `src` when content tag is missing
+* [GH-1506](https://github.com/apache/cordova-android/pull/1506) fix: only do
fadeout animation if `FadeSplashScreen` is true
+* [GH-1505](https://github.com/apache/cordova-android/pull/1505) fix:
correctly flag API dependency on `AppCompat` for Maven
+* [GH-1487](https://github.com/apache/cordova-android/pull/1487) fix: Add
**Android** prefix to `WindowSplashScreenBrandingImage`
+* [GH-1489](https://github.com/apache/cordova-android/pull/1489) fix: import
type definitions from obsolete `cordova-plugin-splashscreen`
+
+**Chores, Refactor, Dependencies & CI:**
+
+* [GH-1493](https://github.com/apache/cordova-android/pull/1493) chore: add
`lint:fix` script for fixing lint errors
+* [GH-1491](https://github.com/apache/cordova-android/pull/1491) chore: Use
gradle 7.4.2 distribution url
+* [GH-1588](https://github.com/apache/cordova-android/pull/1588) refactor:
Removed obsolete version code checks
+* [GH-1492](https://github.com/apache/cordova-android/pull/1492) refactor:
replace deprecated `Handler` constructor
+* [GH-1587](https://github.com/apache/cordova-android/pull/1587) dep: bump npm
dependencies
+ * `[email protected]`
+ * `[email protected]`
+ * `@cordova/[email protected]`
+ * `[email protected]`
+* [GH-1607](https://github.com/apache/cordova-android/pull/1607) ci: Added
NodeJS 20.x to the workflow matrix
+* [GH-1542](https://github.com/apache/cordova-android/pull/1542) ci(workflow):
update `codecov/codecov-action@v3`
+* [GH-1532](https://github.com/apache/cordova-android/pull/1532) ci: update
`codecov/codecov-action` reporting format
diff --git a/www/_posts/2023-05-22-cordova-cli-12.0.0.md
b/www/_posts/2023-05-22-cordova-cli-12.0.0.md
new file mode 100644
index 0000000000..60db762200
--- /dev/null
+++ b/www/_posts/2023-05-22-cordova-cli-12.0.0.md
@@ -0,0 +1,113 @@
+---
+layout: post
+author:
+ name: Bryan Ellis
+title: "Cordova CLI 12.0.0 & Internal Packages Released!"
+categories: news
+tags: news releases
+---
+
+We are happy to announce that we have just released a major update to our
Cordova CLI!
+
+* [[email protected]](https://www.npmjs.com/package/cordova)
+
+In this CLI release, it also includes the latest internal libraries:
+
+* [[email protected]](https://www.npmjs.com/package/cordova-lib)
+* [[email protected]](https://www.npmjs.com/package/cordova-create)
+* [[email protected]](https://www.npmjs.com/package/cordova-common)
+* [[email protected]](https://www.npmjs.com/package/cordova-fetch)
+* [[email protected]](https://www.npmjs.com/package/cordova-serve)
+
+## Release Highlights
+
+This release drops Nodejs 14 support. The minimum supported version that
Cordova requires is greater than or equal to 16.13.0.
+
+In all releases, we have updated all npm packages to the possible latest
release that Cordova can support.
+
+**BREAKING CHANGES:**
+
+We have removed the deprecated platforms **OSX** and **Windows** from the
platform listing. While you can still install these platforms, you will need to
use the full npm package names `cordova-osx` and `cordova-windows`. Please note
that these platforms are no longer actively maintained, and there is a
possibility that they may not function as expected and could break in the
future. As a result, they will not receive any further support.
+
+Additionally, we have removed all internal platform pinnings. When running the
`cordova platform add <PLATFORM>` command, it will always fetch the latest
available platform from the npm registry. This allows for immediate access to
newly released platforms. If you require the command to consistently fetch a
specific version, you will need to update your command to include the version
pinning, like this: `cordova platform add <PLATFORM>@<VERSION>`.
+
+Please report any issues you find on our GitHub issue tracker! Please select
below the appropriate repo when submitting.
+
+* [Cordova CLI - Issue Tracker](https://github.com/apache/cordova-cli/issues)
+* [Cordova Lib - Issue Tracker](https://github.com/apache/cordova-lib/issues)
+* [Cordova Create - Issue
Tracker](https://github.com/apache/cordova-create/issues)
+* [Cordova Fetch - Issue
Tracker](https://github.com/apache/cordova-fetch/issues)
+* [Cordova Serve - Issue
Tracker](https://github.com/apache/cordova-serve/issues)
+* [Cordova Common - Issue
Tracker](https://github.com/apache/cordova-common/issues)
+
+<!--more-->
+# Changes include:
+
+**Cordova CLI 12.0.0:**
+
+* [GH-611](https://github.com/apache/cordova-cli/pull/611) feat!(run): call
platform api to list targets
+* [GH-595](https://github.com/apache/cordova-cli/pull/595) feat!: remove
`update-notifier` support
+* [GH-615](https://github.com/apache/cordova-cli/pull/615) dep!: bump
`[email protected]` & `[email protected]`
+* [GH-613](https://github.com/apache/cordova-cli/pull/613) dep!: bump possible
dependencies & set bump node requirement `>=16.13.0`
+ * `@cordova/eslint-config@^5.0.0`
+ * `jasmine@^4.6.0`
+ * `rewire@^6.0.0`
+ * `[email protected]`
+ * `[email protected]`
+ * `[email protected]`
+ * `[email protected]`
+ * `[email protected]`
+
+**Cordova Lib 12.0.0 & 12.0.1:**
+
+* [GH-918](https://github.com/apache/cordova-lib/pull/918) fix: platform add
with tarball & directory
+* [GH-917](https://github.com/apache/cordova-lib/pull/917) feat!(`run`): call
platform api to list targets
+* [GH-894](https://github.com/apache/cordova-lib/pull/894) feat!: remove
platform pinning
+* [GH-896](https://github.com/apache/cordova-lib/pull/896) feat!: remove
**OSX** & **Windows** platform
+
+**Cordova Create 5.0.0:**
+
+* [GH-82](https://github.com/apache/cordova-create/pull/82) dep!: packages
upgrade & requirements
+ * Bumped Packages
+ * `@cordova/eslint-config@[email protected]`
+ * `[email protected]`
+ * `[email protected]`
+ * `[email protected]`
+ * `[email protected]`
+ * `[email protected]`
+ * `[email protected]`
+ * Rebuilt `package-lock.json`
+ * Bumped `node` engine requirement `>=16.13.0`
+
+**Cordova Fetch 4.0.0:**
+
+* [GH-108](https://github.com/apache/cordova-fetch/pull/108) dep!: bumped
`node` & `npm` engine requirment & dependencies w/ `package-lock` rebuild
+ * Engine Requirement Update
+ * Node: `>= 16.13.0`
+ * npm: `>= 8.1.0`
+ * Package Upgrade
+ * `@npmcli/[email protected]`
+ * `[email protected]`
+ * `[email protected]`
+ * `@cordova/[email protected]`
+ * `[email protected]`
+ * `[email protected]`
+ * `[email protected]`
+* [GH-109](https://github.com/apache/cordova-fetch/pull/109) dep!: bump
`[email protected]`
+* [GH-102](https://github.com/apache/cordova-fetch/pull/102) dep(npm): update
`[email protected]`
+* [GH-75](https://github.com/apache/cordova-fetch/pull/75) refactor: replace
`superspawn` with `execa`
+* [GH-110](https://github.com/apache/cordova-fetch/pull/110) test: remove
private internal method testing and `rewire`
+* [GH-111](https://github.com/apache/cordova-fetch/pull/111) ci: sync
`codecov-action` setup between other repos
+
+**Cordova Serve 4.0.1:**
+
+* [GH-49](https://github.com/apache/cordova-serve/pull/49),
[GH-51](https://github.com/apache/cordova-serve/pull/51),
[GH-53](https://github.com/apache/cordova-serve/pull/53) chore: rebuilt
package-lock.json
+* [GH-52](https://github.com/apache/cordova-serve/pull/52) ci: update github
action workflow
+* [GH-46](https://github.com/apache/cordova-serve/pull/46) fix(main.js): color
of 404 status in console logs
+* [GH-45](https://github.com/apache/cordova-serve/pull/45) fix(main.js):
resolve deprecation warning on Node.js 12
+* [GH-44](https://github.com/apache/cordova-serve/pull/44) fix: pass mandatory
args to platform API constructor
+* [GH-38](https://github.com/apache/cordova-serve/pull/38) ci: add node 14 to
workflow
+
+**Cordova Common 5.0.0:**
+
+See the [Cordova Common Release
5.0.0](2023-03-09-cordova-common-release-5.0.0.md) blog post.
diff --git a/www/static/img/blog/2023/cordova-android-12-platform-sdk-33.png
b/www/static/img/blog/2023/cordova-android-12-platform-sdk-33.png
new file mode 100644
index 0000000000..def9fefcf1
Binary files /dev/null and
b/www/static/img/blog/2023/cordova-android-12-platform-sdk-33.png differ
diff --git
a/www/static/img/blog/2023/cordova-android-12-sdk-build-tools-3302.png
b/www/static/img/blog/2023/cordova-android-12-sdk-build-tools-3302.png
new file mode 100644
index 0000000000..c5cc641af5
Binary files /dev/null and
b/www/static/img/blog/2023/cordova-android-12-sdk-build-tools-3302.png differ
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]