diff --git a/lerna.json b/lerna.json index 774eac10..d184f961 100644 --- a/lerna.json +++ b/lerna.json @@ -1,12 +1,12 @@ { - "capacitorVersion": "6.0.0", + "capacitorVersion": "7.0.0", "iosMinVersion": "13.0", - "androidMinSdk": "22", + "androidMinSdk": "23", "rnMinVersion": "0.74.2", "androidLiveUpdatesVersion": "0.5.5", - "rnVersion": "0.7.0", - "iosVersion": "0.11.0", - "androidVersion": "0.10.3", + "rnVersion": "0.7.1", + "iosVersion": "0.12.0", + "androidVersion": "0.12.0", "cliVersion": "0.3.1", - "version": "0.10.0" + "version": "0.12.0" } \ No newline at end of file diff --git a/plugin/package.json b/plugin/package.json index 3921ab98..8b2549fd 100644 --- a/plugin/package.json +++ b/plugin/package.json @@ -37,22 +37,22 @@ "prepublishOnly": "npm run build" }, "devDependencies": { - "@capacitor/core": "^6.0.0", + "@capacitor/core": "^7.0.0", "@capacitor/docgen": "^0.0.10", - "@ionic/eslint-config": "^0.3.0", + "@ionic/eslint-config": "^0.4.0", "@ionic/prettier-config": "^1.0.1", - "@ionic/swiftlint-config": "^1.1.2", + "@ionic/swiftlint-config": "^2.0.0", "@rollup/plugin-node-resolve": "^13.0.4", - "eslint": "^7.11.0", + "eslint": "^8.57.0", "prettier": "~2.2.0", "prettier-plugin-java": "~1.0.0", - "rimraf": "^3.0.2", + "rimraf": "^6.0.1", "rollup": "^2.32.0", - "swiftlint": "^1.0.1", + "swiftlint": "^2.0.0", "typescript": "~5.0.2" }, "peerDependencies": { - "@capacitor/core": "^6.0.0" + "@capacitor/core": ">=7.0.0" }, "prettier": "@ionic/prettier-config", "swiftlint": "@ionic/swiftlint-config", diff --git a/scripts/package-lock.json b/scripts/package-lock.json index 9f16e578..ca2099b1 100644 --- a/scripts/package-lock.json +++ b/scripts/package-lock.json @@ -5,6 +5,7 @@ "requires": true, "packages": { "": { + "name": "scripts", "version": "1.0.0", "license": "ISC", "dependencies": { diff --git a/website/docs/for-android/changelog.json b/website/docs/for-android/changelog.json index 4fd686de..0b2400ff 100644 --- a/website/docs/for-android/changelog.json +++ b/website/docs/for-android/changelog.json @@ -1,4 +1,30 @@ [ + { + "productTitle": "Portals Android", + "pageUrl": "https://ionic.io/docs/portals/for-android/changelog", + "repo": "ionic-team/ionic-portals-android", + "mdBody": "### What's Changed\n* **feat!**: Capacitor 7 Upgrade ([#74](https://github.com/ionic-team/ionic-portals-android/pull/74))\n\n", + "body": "

What's Changed

\n\n", + "name": "0.12.0", + "raw_published_at": "2025-01-20T20:31:23Z", + "published_at": "January 20 2025", + "tag_name": "0.12.0", + "type": "minor", + "version": "0.12.0" + }, + { + "productTitle": "Portals Android", + "pageUrl": "https://ionic.io/docs/portals/for-android/changelog", + "repo": "ionic-team/ionic-portals-android", + "mdBody": "### What's Changed\n* **feat**: Capacitor v6.* Update ([#75](https://github.com/ionic-team/ionic-portals-android/pull/75))\n\n\n", + "body": "

What's Changed

\n\n", + "name": "0.10.3", + "raw_published_at": "2025-01-10T22:03:17Z", + "published_at": "January 10 2025", + "tag_name": "0.10.3", + "type": "patch", + "version": "0.10.3" + }, { "productTitle": "Portals Android", "pageUrl": "https://ionic.io/docs/portals/for-android/changelog", diff --git a/website/docs/for-android/upgrade-guides.md b/website/docs/for-android/upgrade-guides.md index c04fb4c9..68aedea3 100644 --- a/website/docs/for-android/upgrade-guides.md +++ b/website/docs/for-android/upgrade-guides.md @@ -9,6 +9,20 @@ import CodeBlock from '@theme/CodeBlock'; If you need help configuring specific versions of Portals with Capacitor or Capacitor Plugins, check out our [SDK Version Compatibility](./version-matrix.md) page. +## Portals for Android 0.10.0 → 0.12.0 + +- Portals for Android version `0.12.0` is compatible with Portals Web Plugin version `0.12.x`. + +:::note +Portals version 0.11.0 was skipped for Android in order to bring the release version numbers for Portals iOS, Android, and Web Plugin in alignment. +::: + +:::caution +Portals 0.12.0 is a notable update that upgrades the Capacitor dependency to version 7. Care should be taken to update dependencies across your web content and native apps to ensure compatibility. +::: + +First review the [Capacitor 7 Update Guide](https://capacitorjs.com/docs/updating/7-0#android) for an overview of necessary changes. Some will not be relevant for Portals apps, but this will be a useful reference in case you encounter issues with your upgrade. + ## Portals for Android 0.9.0 → 0.10.0 - Portals for Android version `0.10.0` is compatible with Portals Web Plugin version `0.10.x`. diff --git a/website/docs/for-android/version-matrix.md b/website/docs/for-android/version-matrix.md index f0b1bbdd..d15a454b 100644 --- a/website/docs/for-android/version-matrix.md +++ b/website/docs/for-android/version-matrix.md @@ -76,6 +76,7 @@ For more information refer to the Gradle documentation pages: | Android SDK | Web Plugin Version | Compiled Capacitor Version | Compatible Capacitor Versions | Compatible Live Updates Versions | Portals CLI | | :---------: | :----------------: | :------------------------: | :---------------------------: | :------------------------------: | :---------: | +| 0.12.0 | 0.12.0 | 7.0.+ | 7.0.+ | 0.5.+ | 0.3.+ | | 0.10.3 | 0.10.0 | 6.+ | 6.+ | 0.5.+ | 0.3.+ | | 0.10.2 | 0.10.0 | 6.0.+ | 6.0.+ | 0.5.+ | 0.3.+ | | 0.10.1 | 0.10.0 | 6.0.+ | 6.0.+ | 0.5.+ | 0.3.+ | diff --git a/website/docs/for-ios/changelog.json b/website/docs/for-ios/changelog.json index 856543fb..b59c90ee 100644 --- a/website/docs/for-ios/changelog.json +++ b/website/docs/for-ios/changelog.json @@ -1,4 +1,30 @@ [ + { + "productTitle": "Portals iOS", + "pageUrl": "https://ionic.io/docs/portals/for-ios/changelog", + "repo": "ionic-team/ionic-portals-ios", + "mdBody": "### What's Changed\n* **feat!**: BREAKING update to Capacitor 7 ([#90](https://github.com/ionic-team/ionic-portals-ios/pull/90))\n\n", + "body": "

What's Changed

\n\n", + "name": "0.12.0", + "raw_published_at": "2025-01-20T19:54:34Z", + "published_at": "January 20 2025", + "tag_name": "0.12.0", + "type": "minor", + "version": "0.12.0" + }, + { + "productTitle": "Portals iOS", + "pageUrl": "https://ionic.io/docs/portals/for-ios/changelog", + "repo": "ionic-team/ionic-portals-ios", + "mdBody": "### What's Changed\n* **fix**: webview was being added to the view hierarchy regardless of the result of the registration check\n\n", + "body": "

What's Changed

\n\n", + "name": "0.11.1", + "raw_published_at": "2024-12-06T18:18:32Z", + "published_at": "December 6 2024", + "tag_name": "0.11.1", + "type": "patch", + "version": "0.11.1" + }, { "productTitle": "Portals iOS", "pageUrl": "https://ionic.io/docs/portals/for-ios/changelog", diff --git a/website/docs/for-ios/upgrade-guides.md b/website/docs/for-ios/upgrade-guides.md index b5f6b606..66a2b520 100644 --- a/website/docs/for-ios/upgrade-guides.md +++ b/website/docs/for-ios/upgrade-guides.md @@ -6,6 +6,18 @@ sidebar_label: Upgrade Guides import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; +## Portals for iOS 0.11.x → 0.12.0 + +- Portals for iOS version `0.12.0` is compatible with Portals Web Plugin version `0.12.x`. + +:::caution +Portals 0.12.0 is a notable update that upgrades the Capacitor dependency to version 7. Care should be taken to update dependencies across your web content and native apps to ensure compatibility. +::: + +First review the [Capacitor 7 Update Guide](https://capacitorjs.com/docs/updating/7-0#ios) for an overview of necessary changes. Some will not be relevant for Portals apps, but this will be a useful reference in case you encounter issues with your upgrade. + +This release removes the `encodeJSObject` and `decodeJSObject` extension methods for `JSONEncoder` and `JSONDecoder`, which had previously been deprecated. Use `JSValueEncoder` and `JSValueDecoder` provided by Capacitor as their replacements. + ## Portals for iOS 0.10.x → 0.11.0 - Portals for iOS version `0.11.0` is compatible with Portals Web Plugin version `0.10.x`. diff --git a/website/docs/for-react-native/changelog.json b/website/docs/for-react-native/changelog.json index f54b33c4..34787e91 100644 --- a/website/docs/for-react-native/changelog.json +++ b/website/docs/for-react-native/changelog.json @@ -1,4 +1,17 @@ [ + { + "productTitle": "Portals React Native", + "pageUrl": "https://ionic.io/docs/portals/for-react-native/changelog", + "repo": "ionic-team/ionic-portals-react-native", + "mdBody": "### What's Changed\n* **fix(android)**: added override on receiveCommand that supports an ID of type Int ([#58](https://github.com/ionic-team/ionic-portals-react-native/pull/58))\n\n\n", + "body": "

What's Changed

\n\n", + "name": "0.7.1", + "raw_published_at": "2025-01-16T17:43:21Z", + "published_at": "January 16 2025", + "tag_name": "0.7.1", + "type": "patch", + "version": "0.7.1" + }, { "productTitle": "Portals React Native", "pageUrl": "https://ionic.io/docs/portals/for-react-native/changelog", diff --git a/website/docs/for-web/upgrade-guides.md b/website/docs/for-web/upgrade-guides.md index eebfb55d..22dfb023 100644 --- a/website/docs/for-web/upgrade-guides.md +++ b/website/docs/for-web/upgrade-guides.md @@ -6,6 +6,22 @@ sidebar_label: Upgrade Guides import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; +## Portals Web Plugin 0.10.x → 0.12.0 + +- Portals Web Plugin `0.12.0` is compatible with Portals for Android versions `0.12.x` and Portals for iOS versions `0.12.x`. + +:::note +Portals Web Plugin version 0.11.0 was skipped in order to bring the release version numbers for Portals iOS, Android, and Web Plugin in alignment. +::: + +:::caution +Portals Web Plugin `0.12.0` is a notable update that requires Capacitor 7. +Care should be taken to update dependencies across your web content and native apps to ensure compatibility. +::: + +First review the [Capacitor 7 Update Guide](https://capacitorjs.com/docs/updating/7-0) for an overview of necessary changes. +Some will not be relevant for Portals apps, but this will be a useful reference in case you encounter issues with your upgrade. + ## Portals Web Plugin 0.9.x → 0.10.0 - Portals Web Plugin `0.10.0` is compatible with Portals for Android versions `0.10.x` and Portals for iOS versions `0.11.x`.