Skip to content
This repository was archived by the owner on Jan 8, 2026. It is now read-only.

Authrix v2.0.2

Choose a tag to compare

@Grenish Grenish released this 12 Aug 08:45
45c0271

What's Changed

  • New Features

    • Unified SSO URL generation across providers, plus helpers to fetch single or all auth URLs and handle callbacks.
    • Flexible Next.js auth helpers that work across App Router, Pages, and Middleware.
    • Added a universalAuth aggregator for framework-agnostic auth operations.
  • Refactor

    • Standardized cookie handling and token extraction; safer encoding/decoding.
    • Centralized React API calls with consistent error handling; clearer universal auth error messages.
  • Documentation

    • Added contributor instructions and best practices.
  • Chores

    • Introduced a post-build trim to reduce package size; version bumped to 2.0.2.
  • Package Size Optimization

    • Reduced the package size from 117.5 kB to 106.5 kB, achieving an approximate 9.36% decrease.
    • Reduced the unpacked size from 497.9 kB to 438.8 kB, resulting in an approximate 11.87% decrease.