turbo_response 1.1.0
turbo_response: ^1.1.0 copied to clipboard
A type-safe response wrapper for handling success and failure states with pattern matching and utility methods.
Changelog #
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
1.1.0 - 2026-01-17 #
Changed #
- Converted package from Flutter to pure Dart
- Removed
flutter_testfrom dev_dependencies - Updated Makefile to use
dartcommands instead offluttercommands - Converted example application from Flutter app to pure Dart CLI script
- Removed all Flutter platform-specific files (android, ios, linux, macos, windows, web)
Platform #
- Package now requires only Dart SDK, no Flutter SDK needed
- All tooling updated to use pure Dart commands
0.2.6 - 2025-01-01 #
0.2.5 - 2025-01-01 #
0.2.4 - 2025-01-01 #
Changed #
- Moved Flutter to dev_dependencies - now works with pure Dart projects with zero Flutter dependencies
Documentation #
- Enhanced documentation to highlight Dart compatibility
Platform #
- Added platform-agnostic support with improved package structure
Chore #
- Updated package metadata and topics
0.2.3 - 2025-01-01 #
Added #
- Added static
throwFailmethod for creating and throwing failures in one step
0.2.1 - 2025-01-01 #
0.2.0 - 2025-01-01 #
0.1.0 - 2025-01-01 #
Added #
- Initial release with core functionality
- Added support for success and failure states
- Added pattern matching with
whenandmaybeWhen - Added transformation methods like
mapSuccess,mapFail, andandThen - Added utility methods like
unwrap,unwrapOr, andensure - Added static utility methods
traverseandsequence