From 8dd598bc8b9bfa474ec5312ab67841f462024b3d Mon Sep 17 00:00:00 2001 From: Simon Lightfoot Date: Thu, 28 Nov 2024 21:44:21 +0000 Subject: [PATCH] chore: release v0.0.4-dev #51 (#52) --- packages/clerk_auth/CHANGELOG.md | 7 +++++ packages/clerk_auth/README.md | 24 +++++++---------- packages/clerk_auth/pubspec.yaml | 4 +-- packages/clerk_flutter/CHANGELOG.md | 7 +++++ packages/clerk_flutter/README.md | 27 +++++++++---------- .../clerk_create_organization_widget.dart | 1 + .../clerk_organization_profile_widget.dart | 1 + .../clerk_organization_switcher_widget.dart | 1 + packages/clerk_flutter/pubspec.yaml | 4 +-- .../clerk_create_organization_widget.dart | 2 ++ .../clerk_organization_profile_widget.dart | 2 ++ .../clerk_organization_switcher_widget.dart | 2 ++ 12 files changed, 49 insertions(+), 33 deletions(-) diff --git a/packages/clerk_auth/CHANGELOG.md b/packages/clerk_auth/CHANGELOG.md index 5c4dcd7..9508550 100644 --- a/packages/clerk_auth/CHANGELOG.md +++ b/packages/clerk_auth/CHANGELOG.md @@ -1,3 +1,10 @@ +## 0.0.4-dev + +- Updated token expiration to use UTC #47 +- Added regular poll for session token (optional) #42 +- Added documentation #36 +- Improved formatting for pub score #34 #35 + ## 0.0.3-dev - Pre-release alpha. diff --git a/packages/clerk_auth/README.md b/packages/clerk_auth/README.md index babab9d..5424abd 100644 --- a/packages/clerk_auth/README.md +++ b/packages/clerk_auth/README.md @@ -1,19 +1,8 @@

- - - - - - -
+

- -# Clerk Auth / Pre-release Alpha - -The official [Clerk](https://clerk.com) Dart client library. - -Package that will allow you to authenticate your users and use Clerk services from your Dart code. +## Official [Clerk](https://clerk.com) Dart SDK (Pre-release Alpha) [![Pub Version](https://img.shields.io/pub/v/clerk_auth?color=blueviolet)](https://pub.dev/packages/clerk_auth) [![Pub Points](https://img.shields.io/pub/points/clerk_auth?label=pub%20points)](https://pub.dev/packages/clerk_auth/score) @@ -21,16 +10,21 @@ Package that will allow you to authenticate your users and use Clerk services fr [![documentation](https://img.shields.io/badge/documentation-clerk-green.svg)](https://clerk.com/docs) [![twitter](https://img.shields.io/twitter/follow/ClerkDev?style=social)](https://twitter.com/intent/follow?screen_name=ClerkDev) +> ### ⚠️ The Clerk Flutter SDK is in Alpha and not recommended for use in production. ⚠️ +> ❗️ Breaking changes should be expected until the first stable release (1.0.0) ❗️ + +**Clerk helps developers build user management. We provide streamlined user experiences +for your users to sign up, sign in, and manage their profile from your Dart code.** + ## Requirements * Dart >= 3.5.0 ## Example Usage -To use this package you will need to go to your [Clerk Dashboard](https://dashboard.clerk.com/) +To use this package you will need to go to your [Clerk Dashboard](https://dashboard.clerk.com/) create an application and copy the public and publishable API keys into your project. - ```dart import 'package:clerk_auth/clerk_auth.dart'; diff --git a/packages/clerk_auth/pubspec.yaml b/packages/clerk_auth/pubspec.yaml index 181287e..e669556 100644 --- a/packages/clerk_auth/pubspec.yaml +++ b/packages/clerk_auth/pubspec.yaml @@ -1,9 +1,9 @@ name: clerk_auth description: Package that will allow you to authenticate and use Clerk from Dart code. -version: 0.0.3-dev +version: 0.0.4-dev homepage: https://clerk.com/docs repository: https://github.com/clerk/clerk-sdk-flutter/tree/main/packages/clerk_auth -issue_tracker: https://github.com/clerk/clerk-sdk-flutter/labels/package%3A%20clerk_auth +issue_tracker: https://github.com/clerk/clerk-sdk-flutter/labels/clerk_auth topics: - authentication diff --git a/packages/clerk_flutter/CHANGELOG.md b/packages/clerk_flutter/CHANGELOG.md index 5c4dcd7..4163a45 100644 --- a/packages/clerk_flutter/CHANGELOG.md +++ b/packages/clerk_flutter/CHANGELOG.md @@ -1,3 +1,10 @@ +## 0.0.4-dev + +- Improved SSO popup user experience #33 +- Updated async initialisation and token refresh #42 +- Added documentation #36 +- Improved formatting for pub score #34 #35 + ## 0.0.3-dev - Pre-release alpha. diff --git a/packages/clerk_flutter/README.md b/packages/clerk_flutter/README.md index 144c03a..834abf4 100644 --- a/packages/clerk_flutter/README.md +++ b/packages/clerk_flutter/README.md @@ -1,19 +1,8 @@

- - - - - - -
+

- -# Clerk Flutter / Pre-release Alpha - -The official [Clerk](https://clerk.com) Flutter client library. - -This package will allow you to authenticate your users and use Clerk services from your Flutter code. +## Official [Clerk](https://clerk.com) Flutter SDK (Pre-release Alpha) [![Pub Version](https://img.shields.io/pub/v/clerk_flutter?color=blueviolet)](https://pub.dev/packages/clerk_flutter) [![Pub Points](https://img.shields.io/pub/points/clerk_flutter?label=pub%20points)](https://pub.dev/packages/clerk_flutter/score) @@ -21,15 +10,24 @@ This package will allow you to authenticate your users and use Clerk services f [![documentation](https://img.shields.io/badge/documentation-clerk-green.svg)](https://clerk.com/docs) [![twitter](https://img.shields.io/twitter/follow/ClerkDev?style=social)](https://twitter.com/intent/follow?screen_name=ClerkDev) +> ### ⚠️ The Clerk Flutter SDK is in Alpha and not recommended for use in production. ⚠️ +> ❗️ Breaking changes should be expected until the first stable release (1.0.0) ❗️ + +**Clerk helps developers build user management. We provide streamlined user experiences +for your users to sign up, sign in, and manage their profile from your Flutter code.** + ## Requirements * Flutter >= 3.24.0 * Dart >= 3.5.0 +## In Development + +* Organization support ## Example Usage -To use this package you will need to go to your [Clerk Dashboard](https://dashboard.clerk.com/) +To use this package you will need to go to your [Clerk Dashboard](https://dashboard.clerk.com/) create an application and copy the public and publishable API keys into your project. ```dart @@ -74,6 +72,7 @@ class _MainAppState extends State { } } ``` + ## License This SDK is licensed under the MIT license found in the [LICENSE](./LICENSE) file. diff --git a/packages/clerk_flutter/lib/src/widgets/organization/clerk_create_organization_widget.dart b/packages/clerk_flutter/lib/src/widgets/organization/clerk_create_organization_widget.dart index 6af7e18..c6a9d55 100644 --- a/packages/clerk_flutter/lib/src/widgets/organization/clerk_create_organization_widget.dart +++ b/packages/clerk_flutter/lib/src/widgets/organization/clerk_create_organization_widget.dart @@ -11,6 +11,7 @@ import 'package:flutter_svg/svg.dart'; ///The [ClerkCreateOrganizationWidget] component is used to render an organization creation /// UI that allows users to create brand new organizations within your application. /// +@Deprecated('Not ready for use') @immutable class ClerkCreateOrganizationWidget extends StatelessWidget { /// Constructs a const [ClerkCreateOrganizationWidget]. diff --git a/packages/clerk_flutter/lib/src/widgets/organization/clerk_organization_profile_widget.dart b/packages/clerk_flutter/lib/src/widgets/organization/clerk_organization_profile_widget.dart index e19591b..52063a7 100644 --- a/packages/clerk_flutter/lib/src/widgets/organization/clerk_organization_profile_widget.dart +++ b/packages/clerk_flutter/lib/src/widgets/organization/clerk_organization_profile_widget.dart @@ -11,6 +11,7 @@ import 'package:flutter/material.dart'; /// organization management UI that allows users to manage their organization profile and /// security settings. /// +@Deprecated('Not ready for use') @immutable class ClerkOrganizationProfileWidget extends StatelessWidget { /// Constructs a const [ClerkOrganizationProfileWidget]. diff --git a/packages/clerk_flutter/lib/src/widgets/organization/clerk_organization_switcher_widget.dart b/packages/clerk_flutter/lib/src/widgets/organization/clerk_organization_switcher_widget.dart index ccaa248..625b22e 100644 --- a/packages/clerk_flutter/lib/src/widgets/organization/clerk_organization_switcher_widget.dart +++ b/packages/clerk_flutter/lib/src/widgets/organization/clerk_organization_switcher_widget.dart @@ -15,6 +15,7 @@ import 'package:flutter_svg/flutter_svg.dart'; /// is useful for applications that have a multi-tenant architecture, where users can be /// part of multiple organizations. /// +@Deprecated('Not ready for use') @immutable class ClerkOrganizationSwitcherWidget extends StatelessWidget { /// Constructs a const [ClerkOrganizationSwitcherWidget]. diff --git a/packages/clerk_flutter/pubspec.yaml b/packages/clerk_flutter/pubspec.yaml index f7b05b1..5b55279 100644 --- a/packages/clerk_flutter/pubspec.yaml +++ b/packages/clerk_flutter/pubspec.yaml @@ -1,9 +1,9 @@ name: clerk_flutter description: Package that will allow you to authenticate and use Clerk from Flutter code. -version: 0.0.3-dev +version: 0.0.4-dev homepage: https://clerk.com/docs repository: https://github.com/clerk/clerk-sdk-flutter/tree/main/packages/clerk_flutter -issue_tracker: https://github.com/clerk/clerk-sdk-flutter/labels/package%3A%20clerk_flutter +issue_tracker: https://github.com/clerk/clerk-sdk-flutter/labels/clerk_flutter topics: - authentication diff --git a/packages/clerk_widgetbook/lib/widgets/organization/clerk_create_organization_widget.dart b/packages/clerk_widgetbook/lib/widgets/organization/clerk_create_organization_widget.dart index 77bb614..e2bf3c8 100644 --- a/packages/clerk_widgetbook/lib/widgets/organization/clerk_create_organization_widget.dart +++ b/packages/clerk_widgetbook/lib/widgets/organization/clerk_create_organization_widget.dart @@ -1,3 +1,5 @@ +// ignore_for_file: deprecated_member_use + import 'package:clerk_flutter/clerk_flutter.dart'; import 'package:flutter/material.dart'; import 'package:widgetbook_annotation/widgetbook_annotation.dart' as widgetbook; diff --git a/packages/clerk_widgetbook/lib/widgets/organization/clerk_organization_profile_widget.dart b/packages/clerk_widgetbook/lib/widgets/organization/clerk_organization_profile_widget.dart index fdf34a4..c56fa32 100644 --- a/packages/clerk_widgetbook/lib/widgets/organization/clerk_organization_profile_widget.dart +++ b/packages/clerk_widgetbook/lib/widgets/organization/clerk_organization_profile_widget.dart @@ -1,3 +1,5 @@ +// ignore_for_file: deprecated_member_use + import 'package:clerk_flutter/clerk_flutter.dart'; import 'package:flutter/material.dart'; import 'package:widgetbook_annotation/widgetbook_annotation.dart' as widgetbook; diff --git a/packages/clerk_widgetbook/lib/widgets/organization/clerk_organization_switcher_widget.dart b/packages/clerk_widgetbook/lib/widgets/organization/clerk_organization_switcher_widget.dart index 578b85a..c2b32ce 100644 --- a/packages/clerk_widgetbook/lib/widgets/organization/clerk_organization_switcher_widget.dart +++ b/packages/clerk_widgetbook/lib/widgets/organization/clerk_organization_switcher_widget.dart @@ -1,3 +1,5 @@ +// ignore_for_file: deprecated_member_use + import 'package:clerk_flutter/clerk_flutter.dart'; import 'package:flutter/material.dart'; import 'package:widgetbook_annotation/widgetbook_annotation.dart' as widgetbook;