Removed redundant AuthModel parameter from sendHttpRequest and streamHttpRequest functions, now using authModel from HttpRequestModel directly. Updated all usages, tests, and related logic to reflect this change. Improved streaming response handling in CollectionStateNotifier and HttpResponseModel.
Updated response body widgets to handle SSE output as a list of strings instead of a single string. Adjusted view options for SSE-related media types and refactored SSEDisplay to be a stateless widget that accepts a list of SSE events. This improves clarity and consistency in handling and displaying SSE responses.
Updated the SSE display widget to use ListView with improved padding and card styling. Switched to consistent use of kCodeStyle and theme-based colors, and simplified font size and color handling for better dark/light mode support.
Moved dark mode color blending logic to a Color extension (toDark) in the design system. Updated usages in ui_utils.dart and related tests to use the new extension. Removed the old getDarkModeColor function for cleaner and more idiomatic code organization.
Introduces kLabelStop to consts.dart and updates SendButton to use the new constant when isStreaming is true, improving consistency in label management.
Changed test URLs from jsonplaceholder to api.apidash.dev and api.github.com. Updated test assertions to match new response formats and status codes. Added debug prints and improved cancellation test logic for streamHttpRequest. Enhanced overrideContentType tests for header validation.
Added more constants for streaming-related MIME subtypes and updated kStreamingResponseTypes to include additional formats. This improves support for various streaming response types in the networking package.
Removed emoji and improved markdown formatting for consistency. Updated maintainer section and changed license reference from MIT to Apache License 2.0.
Renamed respModel and historyM to httpResponseModel and historyModel for improved code readability and consistency within the CollectionStateNotifier class.
Introduces an optional AuthModel parameter to sendHttpRequest and streamHttpRequest, allowing authentication handling for HTTP requests. Updates all usages and tests to pass null for the new parameter where authentication is not required.
Improved readability by expanding null checks with braces in CollectionStateNotifier methods. Also added a non-null assertion for historyM when adding a history request.