From 20bceaa09e1a1ee1766c9b8ccc91042f6f03a4fb Mon Sep 17 00:00:00 2001 From: Carl Poole Date: Mon, 13 Jan 2025 16:23:23 -0600 Subject: [PATCH 01/11] project tentative version bumps --- lerna.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lerna.json b/lerna.json index 52a7ed78..bafc13aa 100644 --- a/lerna.json +++ b/lerna.json @@ -5,8 +5,8 @@ "rnMinVersion": "0.74.2", "androidLiveUpdatesVersion": "0.5.4", "rnVersion": "0.7.0", - "iosVersion": "0.11.0", - "androidVersion": "0.10.2", + "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 From f354136f733b66c43f75b4cce0f9be74a5b5c95e Mon Sep 17 00:00:00 2001 From: Carl Poole Date: Tue, 14 Jan 2025 15:54:37 -0600 Subject: [PATCH 02/11] Ran update script --- plugin/package.json | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/plugin/package.json b/plugin/package.json index 3921ab98..1fe13362 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-rc.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-rc.0" }, "prettier": "@ionic/prettier-config", "swiftlint": "@ionic/swiftlint-config", From 6cd6bcdd8c0923c93de3074814dc78ec074230c3 Mon Sep 17 00:00:00 2001 From: Carl Poole Date: Tue, 14 Jan 2025 16:24:22 -0600 Subject: [PATCH 03/11] Updated changelog --- scripts/package-lock.json | 1 + website/docs/for-android/changelog.json | 13 +++++++++++++ website/docs/for-ios/changelog.json | 13 +++++++++++++ 3 files changed, 27 insertions(+) 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..65d9cf4a 100644 --- a/website/docs/for-android/changelog.json +++ b/website/docs/for-android/changelog.json @@ -1,4 +1,17 @@ [ + { + "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
  • feat: Capacitor v6.* Update (#75)
  • \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-ios/changelog.json b/website/docs/for-ios/changelog.json index 856543fb..5b25d8d4 100644 --- a/website/docs/for-ios/changelog.json +++ b/website/docs/for-ios/changelog.json @@ -1,4 +1,17 @@ [ + { + "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
  • fix: webview was being added to the view hierarchy regardless of the result of the registration check
  • \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", From 05ddd57a683c274153ff8467fe1e02cedf884d46 Mon Sep 17 00:00:00 2001 From: Carl Poole Date: Tue, 14 Jan 2025 16:57:18 -0600 Subject: [PATCH 04/11] Updated upgrade guides for android and web, and version matrix --- website/docs/for-android/upgrade-guides.md | 14 ++++++++++++++ website/docs/for-android/version-matrix.md | 1 + website/docs/for-web/upgrade-guides.md | 16 ++++++++++++++++ 3 files changed, 31 insertions(+) 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-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`. From 157cf5505d9af6c02384c900f29a18fb68c79759 Mon Sep 17 00:00:00 2001 From: Trevor Lambert Date: Tue, 14 Jan 2025 16:58:33 -0600 Subject: [PATCH 05/11] docs(ios): ios upgrade guide for cap 7 --- website/docs/for-ios/upgrade-guides.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) 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`. From 0fb12b3c5aa86e27fb85b2ab2913e75dd2240a33 Mon Sep 17 00:00:00 2001 From: Carl Poole Date: Fri, 17 Jan 2025 14:24:13 -0600 Subject: [PATCH 06/11] React native docs --- lerna.json | 2 +- website/docs/for-react-native/upgrade-guides.md | 10 ++++++++++ 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/lerna.json b/lerna.json index 3f272b5e..0567834e 100644 --- a/lerna.json +++ b/lerna.json @@ -4,7 +4,7 @@ "androidMinSdk": "22", "rnMinVersion": "0.74.2", "androidLiveUpdatesVersion": "0.5.5", - "rnVersion": "0.7.0", + "rnVersion": "0.8.0", "iosVersion": "0.12.0", "androidVersion": "0.12.0", "cliVersion": "0.3.1", diff --git a/website/docs/for-react-native/upgrade-guides.md b/website/docs/for-react-native/upgrade-guides.md index 45aeb194..abe9d3a3 100644 --- a/website/docs/for-react-native/upgrade-guides.md +++ b/website/docs/for-react-native/upgrade-guides.md @@ -6,6 +6,16 @@ sidebar_label: Upgrade Guides import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; +## Portals for React Native 0.7.0 -> 0.8.0 + +Portals for React Native version `0.8.0` is compatible with Portals Web Plugin version `0.12.x`. + +:::caution +Portals 0.8.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) 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 React Native 0.6.0 -> 0.7.0 Portals for React Native version `0.7.0` is compatible with Portals Web Plugin version `0.10.x`. This release removes all of the functions that were deprecated in `0.6.0`. From 2d4470348cb04e0af03e3374573d58d4a4472440 Mon Sep 17 00:00:00 2001 From: Carl Poole Date: Mon, 20 Jan 2025 14:24:08 -0600 Subject: [PATCH 07/11] Updated version info --- lerna.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lerna.json b/lerna.json index 0567834e..c9ffb14c 100644 --- a/lerna.json +++ b/lerna.json @@ -1,7 +1,7 @@ { - "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.8.0", From 2cca1d040ae99c797aa46ea9f8157b73e38a109a Mon Sep 17 00:00:00 2001 From: Carl Poole Date: Mon, 20 Jan 2025 14:40:15 -0600 Subject: [PATCH 08/11] update to full release --- plugin/package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugin/package.json b/plugin/package.json index 1fe13362..8b2549fd 100644 --- a/plugin/package.json +++ b/plugin/package.json @@ -37,7 +37,7 @@ "prepublishOnly": "npm run build" }, "devDependencies": { - "@capacitor/core": "^7.0.0-rc.0", + "@capacitor/core": "^7.0.0", "@capacitor/docgen": "^0.0.10", "@ionic/eslint-config": "^0.4.0", "@ionic/prettier-config": "^1.0.1", @@ -52,7 +52,7 @@ "typescript": "~5.0.2" }, "peerDependencies": { - "@capacitor/core": ">=7.0.0-rc.0" + "@capacitor/core": ">=7.0.0" }, "prettier": "@ionic/prettier-config", "swiftlint": "@ionic/swiftlint-config", From 2068df9ebacad601ec7ed4a198a85a434ca7bbcc Mon Sep 17 00:00:00 2001 From: Carl Poole Date: Mon, 20 Jan 2025 14:42:36 -0600 Subject: [PATCH 09/11] changelogs --- website/docs/for-android/changelog.json | 13 +++++++++++++ website/docs/for-ios/changelog.json | 13 +++++++++++++ website/docs/for-react-native/changelog.json | 13 +++++++++++++ 3 files changed, 39 insertions(+) diff --git a/website/docs/for-android/changelog.json b/website/docs/for-android/changelog.json index 65d9cf4a..0b2400ff 100644 --- a/website/docs/for-android/changelog.json +++ b/website/docs/for-android/changelog.json @@ -1,4 +1,17 @@ [ + { + "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
  • feat!: Capacitor 7 Upgrade (#74)
  • \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", diff --git a/website/docs/for-ios/changelog.json b/website/docs/for-ios/changelog.json index 5b25d8d4..b59c90ee 100644 --- a/website/docs/for-ios/changelog.json +++ b/website/docs/for-ios/changelog.json @@ -1,4 +1,17 @@ [ + { + "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
  • feat!: BREAKING update to Capacitor 7 (#90)
  • \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", 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
  • fix(android): added override on receiveCommand that supports an ID of type Int (#58)
  • \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", From 20f80d402e1fcada74cbced41c7b48ce1cec2324 Mon Sep 17 00:00:00 2001 From: Carl Poole Date: Tue, 21 Jan 2025 10:48:19 -0600 Subject: [PATCH 10/11] React native version adj --- lerna.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lerna.json b/lerna.json index c9ffb14c..d184f961 100644 --- a/lerna.json +++ b/lerna.json @@ -4,7 +4,7 @@ "androidMinSdk": "23", "rnMinVersion": "0.74.2", "androidLiveUpdatesVersion": "0.5.5", - "rnVersion": "0.8.0", + "rnVersion": "0.7.1", "iosVersion": "0.12.0", "androidVersion": "0.12.0", "cliVersion": "0.3.1", From ce05522dc45e3892f3bebf97935a39b892ecb3f7 Mon Sep 17 00:00:00 2001 From: Carl Poole Date: Tue, 21 Jan 2025 10:50:05 -0600 Subject: [PATCH 11/11] removed RN capacitor 7 upgrade info for now --- website/docs/for-react-native/upgrade-guides.md | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/website/docs/for-react-native/upgrade-guides.md b/website/docs/for-react-native/upgrade-guides.md index abe9d3a3..45aeb194 100644 --- a/website/docs/for-react-native/upgrade-guides.md +++ b/website/docs/for-react-native/upgrade-guides.md @@ -6,16 +6,6 @@ sidebar_label: Upgrade Guides import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; -## Portals for React Native 0.7.0 -> 0.8.0 - -Portals for React Native version `0.8.0` is compatible with Portals Web Plugin version `0.12.x`. - -:::caution -Portals 0.8.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) 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 React Native 0.6.0 -> 0.7.0 Portals for React Native version `0.7.0` is compatible with Portals Web Plugin version `0.10.x`. This release removes all of the functions that were deprecated in `0.6.0`.