local_function_collections 0.0.12
local_function_collections: ^0.0.12 copied to clipboard
Local function that simplify navigation, dialog and secure storage for Flutter
0.0.12 - 2026-07-09 #
- Feature (Network/Security): Added
setupCertificatePinningmethod toLocalAPIsRequestclass, enabling robust SSL/TLS certificate pinning via SHA-256 fingerprints to mitigate Man-In-The-Middle (MITM) attacks. - Refactor (Network/Security): Enforced strict handshake validation by setting
withTrustedRoots: falseto bypass the OS trust store, ensuring absolute fingerprint matching. - Performance (Network): Optimized memory allocation within
setupCertificatePinningby isolating and pre-compiling string normalization patterns (cleanAllowedPins) outside the HTTP client stream loop. - Fix (Network/Web): Added
kIsWebguards insidesetupCertificatePinningto prevent compilation overhead and runtime failures related todart:ioon browser platforms. - Fix (Network/HTTP): Streamlined
RequestType.getprocessing by removing thedatabody parameter from the underlying Dio instance, ensuring strict compliance with standard HTTP GET specifications across different backend servers.
0.0.11- 2026-07-08 #
- Feature (Network/Interceptors): Added
addInterceptorsmethod toLocalAPIsRequestclass, allowing developers to inject custom interceptors (e.g., Auth, Logging, Performance) globally. - Refactor (Network/Timeout): Centralized default connection and receive timeouts inside
BaseOptions(default 30 seconds) instead of request-specificOptions.
0.0.10 - 2026-07-07 #
- Feature (Network/Security): Added
withCredentialsparameter toLocalAPIsRequest.submitRequestfor web security, enabling cross-site requests to securely include cookies and session headers.
0.0.9 - 2026-07-06 #
- Refactor (Network): Removed
onStartandonFinsihparameter fromLocalAPIsRequest.submitRequest. this service are now separated from UI state in order to maintain clean architecture.
0.0.8 - 2026-06-24 #
- Refactor (Network): Removed
usingloadingDialogparameter fromLocalAPIsRequest.submitRequestand replaced it with flexibleonStartandonFinishcallbacks. This decouples the UI layer from network data complexity for a cleaner architecture. - Fix (Network/UI): Handled
DioExceptionType.canceland optimizedonFinishexecution order to prevent unexpected page dismissal or frozen loading states during network errors.
0.0.7 - 2026-05-25 #
- Refactor: Optimized code imports and structure, leading to faster project compilation times.
0.0.6 - 2026-04-09 #
- Feature: Re-exported Dio components globally. You can now access Dio utilities without needing to import the package manually in your main project.
0.0.5 - 2026-01-22 #
- Feature: Added
filesparameter support inLocalAPIsRequest.submitRequestfor handling file uploads.
0.0.4 - 2025-11-14 #
- Feature: Added
usePreserveHeaderCaseoption inLocalAPIsRequest.submitRequest.
0.0.3 - 2025-11-03 #
- Refactor: Migrated
LocalRouteNavigatorto useWidgetinstead ofStatefulWidgetfor broader compatibility. - Feature: Re-exported
CancelTokenfrom Dio so it can be used directly without additional imports.
0.0.2 - 2025-09-18 #
- Feature: Introduced
LocalAPIsRequesthelper class to manage network requests (GET, POST, PUT, DELETE).
0.0.1 - 2024-11-20 #
- 🎉 Initial release of Local Function Collections.
📢 Community & Support #
Every critique and advice is welcome! Feel free to reach me on:
- Instagram: @raznovrnf
- LinkedIn: Razy Firdana
Thanks for all the support! 🚀