From 1b57bf0c9a2cf613d93b1947cbf48d34e0783754 Mon Sep 17 00:00:00 2001 From: Shinya Kumagai Date: Sat, 27 Jan 2024 23:32:23 +0900 Subject: [PATCH] Release `flutter_custom_tabs` v2.0.0 --- flutter_custom_tabs/CHANGELOG.md | 22 ++++++++++++++++++---- flutter_custom_tabs/README.md | 2 +- flutter_custom_tabs/pubspec.yaml | 12 ++++++------ 3 files changed, 25 insertions(+), 11 deletions(-) diff --git a/flutter_custom_tabs/CHANGELOG.md b/flutter_custom_tabs/CHANGELOG.md index c34951f..d783e2a 100644 --- a/flutter_custom_tabs/CHANGELOG.md +++ b/flutter_custom_tabs/CHANGELOG.md @@ -1,3 +1,18 @@ +## 2.0.0 + +Highlights of changes from v1.x: +- Refactors the signature for launching a URL in Custom Tabs. +- Refactors the signature for manually closing Custom Tabs. +- Supports the launch of a deep link URL. +- Supports the launch of Custom Tabs as a bottom sheet. +- Supports launching a URL in an external browser. +- Introduces a lightweight version of URL launching. +- Updates the minimum supported SDK version to Flutter 3.0.0/Dart 2.17. + +**NOTE:** +Version 2.0.0 includes many breaking changes from version 1.x. For more information, please refer to the [migration guide](https://github.com/droibit/flutter_custom_tabs/blob/main/flutter_custom_tabs/doc/migration-guides.md#migrate-flutter_custom_tabs-from-v1x-to-v200). + + ## 2.0.0-beta.2 - Supports launching a URL in an external browser ([#157](https://github.com/droibit/flutter_custom_tabs/pull/157)). @@ -12,8 +27,7 @@ - Updates the `flutter_custom_tabs_platform_ios` package to version 2.0.0-beta.1. - Updates the `flutter_custom_tabs_platform_web` package to version 2.0.0-beta.1. -For details on the changes, please refer to the [migration guide](https://github.com/droibit/flutter_custom_tabs/blob/flutter_custom_tabs_2.0/flutter_custom_tabs/doc/migration-guides.md). - +For details on the changes, please refer to the [migration guide](https://github.com/droibit/flutter_custom_tabs/blob/main/flutter_custom_tabs/doc/migration-guides.md#migrate-flutter_custom_tabs-from-v1x-to-v200). ## 2.0.0-beta.1 @@ -22,7 +36,7 @@ For details on the changes, please refer to the [migration guide](https://github - Updates the `flutter_custom_tabs_platform_android` package to version 2.0.0-beta.1. - Updates CocoaPods version to 1.14.2 in example app. -For details on the changes, please refer to the [migration guide](https://github.com/droibit/flutter_custom_tabs/blob/flutter_custom_tabs_2.0/flutter_custom_tabs/doc/migration-guides.md). +For details on the changes, please refer to the [migration guide](https://github.com/droibit/flutter_custom_tabs/blob/main/flutter_custom_tabs/doc/migration-guides.md#migrate-flutter_custom_tabs-from-v1x-to-v200). ## 2.0.0-beta @@ -37,7 +51,7 @@ For details on the changes, please refer to the [migration guide](https://github - Migrates iOS platform-specific implementations to the `flutter_custom_tabs_ios` package plugin. - Updates the minimum supported SDK version to Flutter 3.0.0/Dart 2.17. -For details on the changes, please refer to the [migration guide](https://github.com/droibit/flutter_custom_tabs/blob/flutter_custom_tabs_2.0/flutter_custom_tabs/doc/migration-guides.md). +For details on the changes, please refer to the [migration guide](https://github.com/droibit/flutter_custom_tabs/blob/main/flutter_custom_tabs/doc/migration-guides.md). ## 1.2.1 diff --git a/flutter_custom_tabs/README.md b/flutter_custom_tabs/README.md index 603500b..b184a4e 100644 --- a/flutter_custom_tabs/README.md +++ b/flutter_custom_tabs/README.md @@ -22,7 +22,7 @@ dependencies: ``` > [!IMPORTANT] -> v2.0.0 includes breaking changes from v1.x. Please refer to the [migration guide](https://github.com/droibit/flutter_custom_tabs/blob/flutter_custom_tabs_2.0/flutter_custom_tabs/doc/migration-guides.md) when updating the plugin. +> v2.0.0 includes breaking changes from v1.x. Please refer to the [migration guide](https://github.com/droibit/flutter_custom_tabs/blob/main/flutter_custom_tabs/doc/migration-guides.md) when updating the plugin. ### Requirements for Android - Android Gradle Plugin v7.4.0 and above. diff --git a/flutter_custom_tabs/pubspec.yaml b/flutter_custom_tabs/pubspec.yaml index 1bffc9b..bce2e84 100644 --- a/flutter_custom_tabs/pubspec.yaml +++ b/flutter_custom_tabs/pubspec.yaml @@ -1,7 +1,7 @@ name: flutter_custom_tabs description: A Flutter plugin for mobile apps to launch a URL in Custom Tabs/SFSafariViewController. -version: 2.0.0-beta.2 -repository: https://github.com/droibit/flutter_custom_tabs/tree/flutter_custom_tabs_2.0/flutter_custom_tabs +version: 2.0.0 +repository: https://github.com/droibit/flutter_custom_tabs/tree/main/flutter_custom_tabs environment: sdk: ">=2.17.0 <4.0.0" @@ -11,10 +11,10 @@ dependencies: flutter: sdk: flutter - flutter_custom_tabs_platform_interface: ^2.0.0-beta.2 - flutter_custom_tabs_android: ^2.0.0-beta.2 - flutter_custom_tabs_ios: ^2.0.0-beta.1 - flutter_custom_tabs_web: ^2.0.0-beta.1 + flutter_custom_tabs_platform_interface: ^2.0.0 + flutter_custom_tabs_android: ^2.0.0+1 + flutter_custom_tabs_ios: ^2.0.0 + flutter_custom_tabs_web: ^2.0.0 meta: ^1.9.1 dev_dependencies: