Skip to content

Commit

Permalink
Release flutter_custom_tabs v2.2.0-dev.1
Browse files Browse the repository at this point in the history
  • Loading branch information
droibit committed Nov 27, 2024
1 parent c708504 commit dcb4729
Show file tree
Hide file tree
Showing 3 changed files with 43 additions and 46 deletions.
68 changes: 37 additions & 31 deletions flutter_custom_tabs/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,16 @@
## 2.2.0-dev.1

- Addes `warmupCustomTabs`, `mayLaunchUrl(s)`, and `invalidateSession` functions for performance optimization.
- Updates minimum supported SDK version to Flutter 3.16.0/Dart 3.2.
- Updates minimum required `flutter_custom_tabs_ios/web` version to 2.2.0-dev.1.
- Updates minimum required `flutter_custom_tabs_android` version to 2.2.0-dev.3.

## 2.1.0

- Updates minimum supported SDK version to Flutter 3.10/Dart 3 ([#189](https://github.com/droibit/flutter_custom_tabs/pull/189)).
- Updates minimum supported SDK version to Flutter 3.10/Dart 3.
- Updates minimum required `flutter_custom_tabs_android/ios/web` version to 2.1.0.
- Update navigationBarColor in `CustomTabsOptions` to use surface instead of deprecated background ([#194](https://github.com/droibit/flutter_custom_tabs/pull/191)).
- Adds instructions for manually closing Custom Tabs to the README ([#194](https://github.com/droibit/flutter_custom_tabs/pull/191)).
- Updates navigationBarColor in `CustomTabsOptions` to use surface instead of deprecated background.
- Adds instructions for manually closing Custom Tabs to the README .

## 2.0.0+1

Expand All @@ -26,13 +33,13 @@ Version 2.0.0 includes many breaking changes from version 1.x. For more informat

## 2.0.0-beta.2

- Supports launching a URL in an external browser ([#157](https://github.com/droibit/flutter_custom_tabs/pull/157)).
- Makes `LaunchOptions` class immutable ([#158](https://github.com/droibit/flutter_custom_tabs/pull/158)).
- Renames `appBarFixed` property to `barFixingEnabled` in `LaunchOptions` class ([#152](https://github.com/droibit/flutter_custom_tabs/pull/152)).
- Supports launching a URL in an external browser.
- Makes `LaunchOptions` class immutable.
- Renames `appBarFixed` property to `barFixingEnabled` in `LaunchOptions` class.
- Renames `CustomTabsCloseButtonIcon` class to `CustomTabsCloseButtonIcons`.
- Makes `SystemNavigationBarParams` class constructor a constant constructor ([#156](https://github.com/droibit/flutter_custom_tabs/pull/156))
- Fixes a bug where the share action is not added when using the lightweight version on Android ([#155](https://github.com/droibit/flutter_custom_tabs/pull/155)).
- The lightweight version of `flutter_custom_tabs` prioritizes launching the default browser that supports Custom Tabs over Chrome ([#153](https://github.com/droibit/flutter_custom_tabs/pull/153)).
- Makes `SystemNavigationBarParams` class constructor a constant constructor.
- Fixes a bug where the share action is not added when using the lightweight version on Android.
- The lightweight version of `flutter_custom_tabs` prioritizes launching the default browser that supports Custom Tabs over Chrome.
- Updates the `flutter_custom_tabs_platform_interface` package to version 2.0.0-beta.2.
- Updates the `flutter_custom_tabs_platform_android` package to version 2.0.0-beta.2.
- Updates the `flutter_custom_tabs_platform_ios` package to version 2.0.0-beta.1.
Expand All @@ -42,7 +49,7 @@ For details on the changes, please refer to the [migration guide](https://github

## 2.0.0-beta.1

- Adds support for prioritizing the default browser over Chrome on Android([#143](https://github.com/droibit/flutter_custom_tabs/issues/143), [#145](https://github.com/droibit/flutter_custom_tabs/pull/145)).
- Adds support for prioritizing the default browser over Chrome on Androids.
- Updates the `flutter_custom_tabs_platform_interface` package to version 2.0.0-beta.1.
- 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.
Expand All @@ -66,13 +73,13 @@ For details on the changes, please refer to the [migration guide](https://github

## 1.2.1

- Fix the build error when depending on v1.2.0 plugin in some iOS projects([#101](https://github.com/droibit/flutter_custom_tabs/pull/101)).
- Fix the build error when depending on v1.2.0 plugin in some iOS projects.

## 1.2.0

- Supports presentation style customization for SFSafariViewController([#85](https://github.com/droibit/flutter_custom_tabs/pull/85)).
- Make `closeAllIfPossible` work on Android 6.0 and above([#86](https://github.com/droibit/flutter_custom_tabs/pull/86)).
- Update dependency CustomTabLauncher to [v1.7.1](https://github.com/droibit/CustomTabsLauncher/releases/tag/1.7.1)([#82](https://github.com/droibit/flutter_custom_tabs/pull/82)).
- Supports presentation style customization for SFSafariViewController.
- Make `closeAllIfPossible` work on Android 6.0 and above.
- Update dependency CustomTabLauncher to [v1.7.1](https://github.com/droibit/CustomTabsLauncher/releases/tag/1.7.1).
- Depends on CocoaPods v1.12.1.
- Corrects the URLs in the README.

Expand All @@ -82,23 +89,23 @@ For details on the changes, please refer to the [migration guide](https://github

## 1.1.0

- Added a manual close feature for SFSafariViewController on iOS([#67](https://github.com/droibit/flutter_custom_tabs/pull/67)).
- Update dependency CustomTabLauncher to [v1.7.0](https://github.com/droibit/CustomTabsLauncher/releases/tag/1.7.0)([#74](https://github.com/droibit/flutter_custom_tabs/pull/74)).
- Update Android Gradle Plugin to v7.4.0([#75](https://github.com/droibit/flutter_custom_tabs/pull/75)).
- Update the minimum supported OS to iOS11([#75](https://github.com/droibit/flutter_custom_tabs/pull/75)).
- Added a manual close feature for SFSafariViewController on iOS.
- Update dependency CustomTabLauncher to [v1.7.0](https://github.com/droibit/CustomTabsLauncher/releases/tag/1.7.0).
- Update Android Gradle Plugin to v7.4.0.
- Update the minimum supported OS to iOS11.

## 1.0.4

- Update to Android CustomTabsLauncher 1.0.6([#62](https://github.com/droibit/flutter_custom_tabs/pull/62)).
- Update to Android CustomTabsLauncher 1.0.6.

## 1.0.3

- Migrate from deprecated gradle getGenerateBuildConfig to buildFeatures([#49](https://github.com/droibit/flutter_custom_tabs/pull/49)).
- Avoiding app crashes caused by URLs containing whitespaces([#50](https://github.com/droibit/flutter_custom_tabs/issues/50), [#52](https://github.com/droibit/flutter_custom_tabs/pull/52)).
- Migrate from deprecated gradle getGenerateBuildConfig to buildFeatures.
- Avoiding app crashes caused by URLs containing whitespaces.

## 1.0.2

- Fix NullPointerException when calling launch without setting the value of enableUrlBarHiding([#47](https://github.com/droibit/flutter_custom_tabs/pull/47)).
- Fix NullPointerException when calling launch without setting the value of enableUrlBarHiding.

## 1.0.1

Expand All @@ -109,36 +116,35 @@ For details on the changes, please refer to the [migration guide](https://github
**NOTE:**
The first major release include some breaking changes, see the [migration guide](https://github.com/droibit/flutter_custom_tabs/blob/1.0.0/flutter_custom_tabs/doc/migration-guides.md#migrate-flutter_custom_tabs-to-v100) for details.

- Migrate to federated plugins([#41](https://github.com/droibit/flutter_custom_tabs/pull/41)).
- Web support([#42](https://github.com/droibit/flutter_custom_tabs/pull/42)).
- Improved customization on iOS([#39](https://github.com/droibit/flutter_custom_tabs/pull/39), [#43](https://github.com/droibit/flutter_custom_tabs/pull/43)).
- Migrate to federated plugins.
- Improved customization on iOS.

## 0.7.0

- Migrated to Null Safety([#36](https://github.com/droibit/flutter_custom_tabs/pull/36)).
- Bug Fix : shows black screen while launching in release mode([#37](https://github.com/droibit/flutter_custom_tabs/pull/36)).
- Migrated to Null Safety.
- Bug Fix : shows black screen while launching in release mode.
- Support Android11.
- Update the dependent `url_launcher` to v6.0.3.

## 0.6.0

- Added HTTP headers option([#13](https://github.com/droibit/flutter_custom_tabs/pull/13))
- Added HTTP headers option.

## 0.5.0

**NOTE:**
This package only support CustomTabs for **androidx** from v0.5.0.
If you migrate existing project to androidx see the [official docs](https://developer.android.com/jetpack/androidx/migrate).

- AndroidX support([#11](https://github.com/droibit/flutter_custom_tabs/pull/11))
- AndroidX support.

## 0.4.0

- Fix: Only works with Chrome([#2](https://github.com/droibit/flutter_custom_tabs/issues/2)).
- Fix: Only works with Chrome.

## 0.3.0

- Migrate to dart 2.0 release([#1](https://github.com/droibit/flutter_custom_tabs/pull/1)).
- Migrate to dart 2.0 release.

## 0.2.0

Expand Down
2 changes: 1 addition & 1 deletion flutter_custom_tabs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ Add `flutter_custom_tabs` to the dependencies of your `pubspec.yaml`.

``` yaml
dependencies:
flutter_custom_tabs: ^2.1.0
flutter_custom_tabs: ^2.2.0-dev.1
```
> [!IMPORTANT]
Expand Down
19 changes: 5 additions & 14 deletions flutter_custom_tabs/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
name: flutter_custom_tabs
description: A Flutter plugin for mobile apps to launch a URL in Custom Tabs/SFSafariViewController.
version: 2.1.0
version: 2.2.0-dev.1
repository: https://github.com/droibit/flutter_custom_tabs/tree/main/flutter_custom_tabs
publish_to: 'none'

environment:
sdk: ^3.2.0
Expand All @@ -12,18 +11,10 @@ dependencies:
flutter:
sdk: flutter

# flutter_custom_tabs_platform_interface: ^2.1.0
flutter_custom_tabs_platform_interface:
path: ../flutter_custom_tabs_platform_interface
# flutter_custom_tabs_android: ^2.1.0
flutter_custom_tabs_android:
path: ../flutter_custom_tabs_android
# flutter_custom_tabs_ios: ^2.1.0
flutter_custom_tabs_ios:
path: ../flutter_custom_tabs_ios
# flutter_custom_tabs_web: ^2.1.0
flutter_custom_tabs_web:
path: ../flutter_custom_tabs_web
flutter_custom_tabs_platform_interface: ^2.2.0-dev.1
flutter_custom_tabs_android: ^2.2.0-dev.3
flutter_custom_tabs_ios: ^2.2.0-dev.1
flutter_custom_tabs_web: ^2.2.0-dev.1
meta: ^1.10.0

dev_dependencies:
Expand Down

0 comments on commit dcb4729

Please sign in to comment.