flutter_fixtures_dio 0.2.0
flutter_fixtures_dio: ^0.2.0 copied to clipboard
Dio implementation for Flutter Fixtures
Changelog #
0.2.0 #
- BREAKING: a selected fixture whose description does not start with a 3-digit status code now rejects with a clear error instead of throwing
FormatException. DioDataQueryaccepts anassetLoader, makingfindtestable without a Flutter asset bundle; fixture IO is delegated to core'sFixtureSource.- A matched fixture file with malformed JSON now reports the parse error instead of "no fixture found".
- Query-parameter candidate priority (exact → values →
*→{{key}}) is now documented.
0.1.3 #
- Support JSON arrays as response data in
DataQuery.
0.1.2 Response Delay #
- Add
dataSelectorDelayparameter toFixturesInterceptorto simulate response delays.
0.1.1 Mustache matching refinements #
- Remove hardcoded mustache placeholder generation; placeholders now only match actual request query parameter keys (alphabetically sorted) when building candidates.
- Keep candidate order: exact > value-appended > star-by-count > mustache-by-keys.
- Update tests accordingly and minor internal cleanups.
0.1.0 First Minor Release #
- Updated all packages to version 0.1.0
- Renamed
Fixturemixin toFixtureSelectorfor better clarity - Improved documentation across all packages
- Added comprehensive CONTRIBUTING.md guide
- Added MIT License
- Updated GitHub repository references to brotoo25/flutter_fixtures
0.0.1 Initial Release #
- Initial release of Flutter Fixtures
- Restructured as a workspace with multiple packages:
- flutter_fixtures_core: Core interfaces and domain models
- flutter_fixtures_dio: Dio implementation
- flutter_fixtures_ui: UI components
- flutter_fixtures: Meta-package that depends on all the above
- Support for Dio HTTP client
- Three fixture selection modes: Random, Default, and Pick
- Dialog-based UI for user selection
- Example app demonstrating basic and advanced usage