extensions 0.3.16 copy "extensions: ^0.3.16" to clipboard
extensions: ^0.3.16 copied to clipboard

A set of APIs for commonly used programming patterns and utilities, such as dependency injection, logging, and configuration.

0.3.16 #

  • Major Feature Additions:

    • Added comprehensive Caching module with in-memory and distributed cache support
    • Added HTTP Client Logging with configurable formatters and redaction
    • Added high-performance LoggerMessage API for zero-allocation logging
    • Added Typed Logger support (Logger<T>)
    • Added advanced Console Formatters (Simple, JSON, Systemd)
    • Added File System Globbing with advanced pattern matching
    • Added Diagnostics module for activity tracking and metrics
  • Caching:

    • New MemoryCache with size limits, priorities, and eviction policies
    • DistributedCache abstraction with in-memory implementation
    • Post-eviction callbacks and cache statistics
    • Sliding and absolute expiration support
    • Examples: example_caching.dart
  • Logging:

    • High-performance LoggerMessage.define API for cached log delegates
    • BufferedLogRecord for structured logging scenarios
    • NullTypedLogger<T> for testing and no-op scenarios
    • Console formatters with customizable output (simple, JSON, systemd)
    • Color support and timestamp formatting
    • Examples: example_advanced_logging.dart, example_console_formatters.dart
  • HTTP:

    • HTTP client logging with request/response tracking
    • Header redaction for sensitive data
    • Configurable handler lifetime
    • Scoped logging integration
    • Example: example_http_client_logging.dart
  • File Providers:

    • Enhanced polling change tokens with debouncing
    • Physical file provider options
    • Improved file watching reliability
    • Example: example_file_providers.dart
  • File System Globbing:

    • Advanced pattern matching with multiple patterns
    • Exclusion support
    • Case-sensitive/insensitive matching
    • Example: example_file_system_globbing.dart
  • Diagnostics:

    • Activity tracking and propagation
    • Diagnostic listeners
    • Example: example_diagnostics.dart
  • Testing:

    • Added 1000+ new test cases across all modules
    • Comprehensive test coverage for caching, logging, and primitives
  • Code Quality:

    • Fixed all analyzer warnings and errors
    • Improved type inference in examples
    • Removed unused imports and variables
  • Breaking Changes:

    • None - all additions are backward compatible

0.3.15 #

  • Changed logging scope for lifetime messages and added additional tests.

0.3.14 #

  • Updates.

0.3.13 #

  • Bug fixes.

0.3.12 #

  • Updates.

0.3.11 #

  • Exported CancellationTokenRegistration.

0.3.10 #

  • Added const constructor to NullLoggerFactory.

0.3.9 #

  • Exported NullLogger, NullLoggerFactory, and CancellationTokenSource. Changed Logger.logError to not require and exception.

0.3.8 #

  • Bug fixes and updates.

0.3.7 #

  • Bug fixes and updates.

0.3.6 #

  • Downgrading async package.

0.3.5 #

  • Bug fixes and updates.

0.3.4 #

  • Bug fixes and updates.

0.3.3 #

  • Bug fixes and updates.

0.3.2 #

  • Bug fixes and updates.

0.3.1 #

  • Bug fixes and updates.

0.3.0 #

  • Initial version
1
likes
0
points
470
downloads

Publisher

verified publisherjamiewest.dev

Weekly Downloads

A set of APIs for commonly used programming patterns and utilities, such as dependency injection, logging, and configuration.

Repository
View/report issues

License

unknown (license)

Dependencies

async, characters, collection, cross_file, file, glob, http, path, uuid, watcher, xml

More

Packages that depend on extensions