PackageTrack
Sign in Get early access

check_disposable_email

Using this Package developer can check whether the user provided Email address Domain name is valid or fake

0.2.1 6.9K downloads/mo #3437 most downloaded on pub.dev husen313/check_disposable_email

What this package is like to depend on

Last release 9 months ago

25 Nov 2025

Too new to tell

only 2 release windows

Most releases are documented

notes for 3 of 4 stable releases

Nothing withdrawn

no release was ever pulled

3 years old

4 releases · first in 2023

3 releases in the last 12 months

see the full history below

Release timeline

4 releases · Aug 2023 to Nov 2025
2024 2025 2026
Release Pre-release

Releases

latest 4
  1. 0.2.1 25 Nov 2025
    Release notes

    🔧 Code Quality Improvements

    • Code Formatting: Improved code formatting for better readability
      • Split long lines into multiple lines following Dart formatting conventions
      • Enhanced code consistency and maintainability
      • Better adherence to Dart style guidelines

    ⚠️ Breaking Changes

    • None - All changes are backward compatible and only affect code formatting.

    Open source →
  2. 0.2.0 24 Nov 2025

    Nothing published for this version

  3. 0.1.0 25 Nov 2025
    Release notes

    🚀 Major Enhancements

    Performance & Correctness Improvements

    • Performance Optimization: Converted domain list from List to Set for O(1) lookup performance (3000x+ faster)
    • Lazy Initialization: Domain set is now cached and initialized on first access
    • Case-Insensitive Matching: All domain checks are now case-insensitive (handles uppercase, lowercase, mixed case)
    • Email Format Validation: Added comprehensive RFC 5322 compliant email format validation
      • Validates email structure (local@domain format)
      • Checks email length limits (max 254 chars total, 64 for local part)
      • Validates domain format (no consecutive dots, no leading/ending dots/hyphens)
      • Automatic whitespace trimming
      • Special character validation

    Developer Experience Improvements

    • EmailValidationResult Class: New result class providing detailed validation information
      • isValid: Whether email is valid and non-disposable
      • isDisposable: Whether domain is disposable
      • isFormatValid: Whether email format is valid
      • domain: Extracted domain (lowercase)
      • errorMessage: Detailed error message if validation failed
    • validateEmail Method: New method returning EmailValidationResult with comprehensive validation details
    • extractDomain Method: New public utility method to extract domain from email addresses
    • Enhanced Null Handling: All methods now properly handle null inputs with clear error messages
    • Improved Error Messages: Specific, descriptive error messages for different validation failures

    ✨ New Features

    • Disposable.instance.validateEmail(String? email) - Returns detailed EmailValidationResult
    • Disposable.instance.extractDomain(String? email) - Extracts and normalizes domain from email
    • EmailValidationResult class with factory constructors (valid(), disposable(), invalidFormat())

    🔧 Improvements

    • Return type changed from bool? to bool for hasValidEmail() method (more explicit)
    • Better input sanitization (automatic trimming, null handling)
    • Improved documentation with examples

    🐛 Bug Fixes

    • Fixed case-sensitive domain matching issue
    • Fixed performance issue with O(n) list lookups
    • Improved handling of edge cases (null, empty, whitespace-only inputs)

    📝 Documentation

    • Added comprehensive API documentation
    • Added usage examples in method documentation
    • Improved code comments and explanations

    ⚠️ Breaking Changes

    • None - All changes are backward compatible. The existing hasValidEmail() method continues to work as before.

    Open source →
  4. 0.0.1 04 Aug 2023
    Release notes
    • TODO: initial release check Email Disposable
    Open source →

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive