Releases

This page summarizes the stable package release history for Cognito Dart Auth SDK and keeps the public docs aligned with the published SDK versions. '''

1. Release Sources

  • Pubspec: apps/sdks/cognito-dart-auth-sdk/cognito-dart-auth-sdk/pubspec.yaml

  • Changelog: apps/sdks/cognito-dart-auth-sdk/cognito-dart-auth-sdk/CHANGELOG.md

2. v0.0.4

2.1. Overview

This compatibility release aligns cognito_dart_auth_sdk with the Dart 3.12 release line and the current Flutter stable tooling where applicable.

2.2. Highlights

  • Dart SDK constraint updated to ^3.12.2

  • Package version bumped for the Dart 3.12.2 upgrade pass

  • Maintained examples refreshed for current Dart and Flutter dependency resolution

2.3. Notes

  • No API-breaking changes are intended in this release-prep update.

3. v0.0.3

3.1. Overview

This release tightens Cognito admin-flow validation, restores clean test discovery, and improves the package metadata and archive contents for publishing.

3.2. Highlights

  • Admin request validation corrected for device keys, admin auth flows, and short challenge-response session tokens.

  • Empty integration test files replaced with placeholder main() entries so dart test discovers the suite cleanly.

  • Published package metadata and archive contents cleaned up.

3.3. Fixes

  • Corrected device-key validation for Cognito admin device operations.

  • Updated supported admin authentication-flow validation.

  • Allowed short session tokens used by challenge-response flows.

  • Replaced empty integration test files that could interfere with test discovery.

3.4. Improvements

  • Moved ds_tools_testing to dev_dependencies.

  • Added an explicit package license for cleaner pub.dev metadata.

  • Added package/archive excludes for docs and generated example artifacts to reduce publish noise.

4. v0.0.2

4.1. Overview

This release prepares the stable Cognito package for the Dart 3.11.4 line while aligning the docs and CI surface with the current backend-first package direction.

4.2. Highlights

  • Added a clearer CognitoAuth public alias

  • Refreshed the direct dependency constraints to current supported releases

  • Updated docs and CI to match the maintained sample set

4.3. Improvements

  • Added CognitoAuth as a public-facing alias for the primary SDK client.

  • Updated the README, examples index, and install guidance to match the current package surface.

  • Aligned development and setup-validation CI with the Dart 3.11.4 baseline.

5. v0.0.1

5.1. Overview

This release establishes the first stable package version and focuses heavily on example app polish, readability, and consistency across authentication screens.

5.2. Highlights

  • First stable package release

  • Cleaner example app UI and navigation patterns

  • Better consistency across auth and MFA example flows

5.3. Improvements

  • Streamlined layout and widget construction across the example Flutter screens.

  • Standardized SnackBar, MaterialPageRoute, loading, and async result patterns.

  • Simplified auth-related UI flows for Apple, Google, email and password, MFA, popup, redirect, and OAuth examples.

  • Improved home and auth-state screen readability and provider-linking layout consistency.

5.4. Removed

  • Removed the legacy placeholder file from the example app.

6. Pre-release History

6.1. Overview

Earlier pre-stable package builds are part of the SDK history and remain documented in the changelog.

6.2. Included Pre-release Tags

  • 0.0.1-pre+1

  • 0.0.1-pre

6.3. Notes

  • 0.0.1-pre+1 added the initial local dev tools, CLI bootstrap, test layout, auth modules, and the major example app restructure.

  • Keep this page aligned with the version declared in pubspec.yaml.

  • Use CHANGELOG.md as the source of truth for exhaustive historical change notes.