Overview

Para v2.0 Alpha represents a significant evolution in our SDK architecture and developer experience. This release introduces streamlined authentication flows, improved component structure, and enhanced wallet management while maintaining backward compatibility where possible.

New Features

Weโ€™ll keep adding features as they get rolled out into alpha, check back in here for the latest!

Key Improvements

Simplified Authentication

The v2.0 Alpha release dramatically simplifies authentication flows by consolidating multiple methods into single, intuitive interfaces:

  • Unified Entry Point: The new signUpOrLogIn method replaces separate user existence checks, login initiation, and user creation methods
  • Standardized Auth State System: A consistent state machine approach for tracking authentication progress
  • Enhanced OAuth Flow: Streamlined third-party authentication with platforms like Google, Apple, and Discord
  • Improved Social Login: Simplified Farcaster and Telegram login experiences

Enhanced React Integration

React developers will find substantial improvements to the integration experience:

  • Single Provider Pattern: The ParaProvider now handles all configuration needs
  • Built-in Modal: Modal functionality is now included within the provider by default
  • React Query Integration: Leverages the power of TanStack Query for predictable state management
  • Powerful Hooks: New purpose-built hooks that encapsulate common authentication and wallet operations

Streamlined Wallet Management

Wallet operations have been refined for better developer experience:

  • Simplified Pregen Wallet API: More intuitive API for creating and managing pre-generated wallets
  • Improved Wallet Type System: Better TypeScript support with string union types replacing enums
  • Consistent Identity Representation: New auth object pattern for representing user identities

Cancellable Operations

Long-running operations now support cancellation, improving the user experience:

  • Interactive Polling: Long-running operations support cancellation callbacks
  • Progress Events: Operations can emit progress events for better UI feedback
  • Error Recovery: Improved error handling for interrupted operations

Developer Experience Improvements

Beyond the technical enhancements, Para v2.0 Alpha brings significant developer experience improvements:

  • Object Parameter Pattern: All methods now use a consistent object parameter pattern, improving code readability and extensibility
  • Reduced Boilerplate: Common authentication flows require significantly less code
  • Better TypeScript Support: Enhanced type definitions and more precise typing
  • Simplified Configuration: External wallet configuration is now consolidated in one place

Looking Forward

Para v2.0 Alpha represents our commitment to continuously improving the developer experience. As we progress toward the stable 2.0 release, we welcome your feedback on these changes.

For detailed technical information on migrating your existing Para integration to v2.0 Alpha, please refer to our