fast_common_module 1.0.5 copy "fast_common_module: ^1.0.5" to clipboard
fast_common_module: ^1.0.5 copied to clipboard

A common Flutter module for role permission authentication, base services, and microservices architecture with multilingual support.

Changelog #

1.0.5 #

  • Web & WASM Compatibility: Added full web platform support and WASM compatibility.
  • Platform Support: Explicit platform declarations for Android, iOS, Windows, macOS, Linux, and Web.
  • Deprecated API Fix: Replaced deprecated withOpacity() with withValues() for better future compatibility.
  • Cache Service Optimization: Improved web compatibility by disabling disk cache operations on web platform.
  • Performance Improvements: Better platform-specific optimizations and reduced lint warnings.
  • Pub.dev Score Optimization: Enhanced package scoring with better platform support and code quality.

1.0.4 #

  • Enhanced README.md Features Section: Completely restructured main features section with organized categories and comprehensive feature list.
  • Advanced Localization Highlights: Added detailed coverage of runtime language switching, dynamic translation loading, user preference management, pluralization support, RTL support, fallback translations, and rich UI components.
  • High-Performance Caching Layer: Added comprehensive caching system with FastCacheService.
  • Memory & Disk Storage: Dual-layer caching for ultra-fast memory access and persistent disk storage.
  • Advanced Cache Features: TTL-based expiration, multiple eviction policies (LRU, LFU, FIFO, TTL, Random), automatic cleanup.
  • Cache Statistics & Monitoring: Detailed performance metrics with hit/miss ratios, memory/disk usage tracking.
  • Generic Type Support: Type-safe caching for any data type with FastCacheItem
  • Configurable Cache Policies: FastCacheConfig for memory/disk limits, cleanup intervals, and cache behavior.
  • Rate Limiting & Throttling System: Added comprehensive rate limiting with FastRateLimitService.
  • Multiple Rate Limiting Algorithms: Sliding window, fixed window, token bucket, and leaky bucket algorithms.
  • Brute-Force Protection: Progressive penalties, automatic blocking, and violation tracking.
  • Whitelist/Blacklist Support: Bypass or permanently block specific identifiers (IP, user ID, API key).
  • Rate Limiting Statistics: Detailed performance metrics, violation tracking, and security monitoring.
  • HTTP Standard Compliance: RFC-compliant rate limit headers for API responses.
  • Complete Middleware System: Added comprehensive middleware system for global error/response handling and request interception.
  • FastMiddlewareManager: Priority-based middleware chain execution with request, response, error, and finally hooks.
  • Enhanced FastApiClient: Integrated middleware support with automatic middleware chain execution for all HTTP operations.
  • ErrorHandlingMiddleware: Global error handling, logging, and response formatting with custom error transformation.
  • LoggingMiddleware: Configurable request/response logging with sensitivity controls and detailed debugging options.
  • RetryMiddleware: Automatic retry logic with exponential backoff, custom retry conditions, and configurable strategies.
  • TimeoutMiddleware: Request timeout handling with method/endpoint-specific configurations and proper error responses.
  • Custom Middleware Support: BaseMiddleware interface allows custom middleware implementation for specific domain needs.
  • Middleware Documentation: Comprehensive usage examples, API reference, and middleware creation guide in README.md.
  • Example Integration: Added complete middleware examples in fast_common_module_example.dart with real-world usage patterns.
  • Production-Ready: Error-safe middleware execution with proper exception handling, cleanup logic, and performance optimization.
  • Enhanced Documentation: Added comprehensive caching and rate limiting examples with API reference.
  • Updated Features Section: Added caching and rate limiting to main features and folder structure.
  • Improved Documentation Structure: Features now organized into Architecture & Structure, User & Access Management, Advanced Localization, API & Data Management, and Utilities & Services categories.
  • Updated Documentation Date: Refreshed last updated date to reflect current state of the module.
  • Enhanced Feature Visibility: Better presentation of enterprise-ready capabilities for pub.flutter-io.cn users.

1.0.3 #

  • Further lint and formatting fixes for full pub.flutter-io.cn score.
  • isTCIdentity function and all if blocks updated for Dart style compliance.
  • Minor documentation and code improvements.

1.0.2 #

  • Minor fixes and improvements for pub.flutter-io.cn compliance.
  • Formatting and lint issues resolved for maximum pub points.
  • Documentation and example updates.

1.0.1 #

  • Minor improvements and fixes for pub.flutter-io.cn score.
  • Updated dependencies and example file.
  • Added missing dartdoc comments and improved documentation coverage.
  • Versioning format updated to 1.0.1 style.

1.0.0 #

  • Initial stable release of FastCommonModule.
  • Modular structure, role/permission/tenant management, dynamic permissions, audit/logging, notification, file/media, session, settings/config services, and more.
2
likes
150
points
47
downloads

Publisher

verified publisheryazilimmotoru.com

Weekly Downloads

A common Flutter module for role permission authentication, base services, and microservices architecture with multilingual support.

Homepage
Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter, http, path

More

Packages that depend on fast_common_module