From 9670148bf22400964f78ff63e306cb937e86aef8 Mon Sep 17 00:00:00 2001 From: pratikbaid3 Date: Wed, 28 Aug 2024 23:05:10 +0530 Subject: [PATCH] release: 2.0.3 --- CHANGELOG.md | 82 +++++++++++++++++++++++++++++++++------------------- pubspec.yaml | 2 +- 2 files changed, 54 insertions(+), 30 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 02cfbb4..1d1c7ee 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,52 +1,76 @@ -## [0.0.2] - Migrated to null safety. +## [2.0.3] - Fixed issue preventing multiple SSE stream listeners -* The package is now null safe -* Unused imports have been removed +* Fixed issue preventing multiple listeners to the stream -## [0.0.3] - Added example for consuming a event. +## [2.0.2] - Added retry mechanism and fixed bugs -* Added a example dart file for consuming the event -* Refactored the code to remove redundancy +* Added auto retry mechanism to connect on error or on backend downtime +* Fixed issue with backend returning 4xx +* Handled memory leak issue with the stream closing -## [0.0.4] - Refactored example +## [2.0.1] - Upgrading http version + +* Updated http version to be compatible with the latest http package + +## [2.0.0] - Ability to choose between GET and POST request and send a body with the request[BREAKING CHANGE] and some additional code refactoring and bug fixes + +* The request type can now be manually set +* Ability to pass the request body with the request +* Safe close of the sink added as well which was causing some minor crashes +* Stability changes in the model to handle null safety + +## [2.0.0-beta.1] - Ability to choose between GET and POST request and send a body with the request[BREAKING CHANGE] + +* The request type can now be manually set +* Ability to pass the request body with the request +* Safe close of the sink added as well which was causing some minor crashes + +## [1.0.0] - Custom header and error handling + +* Added ability to send custom headers +* Added error handling + +## [0.1.0] - Improved documentation + +* Added In-line documentation + +## [0.0.6] - Fixed Stackoverflow exception + +* Fixed issue causing stackoverflow while loading large chunk data stream ## [0.0.5] - Improved the stability +## [0.0.4] - Refactored example + +## [0.0.3] - Added example for consuming a event. + +* Added a example dart file for consuming the event +* Refactored the code to remove redundancy + * Fixed issue causing large responses to be split * Improved the way UTF8 Encoder was used -## [0.0.6] - Fixed Stackoverflow exception +## [0.0.2] - Migrated to null safety. + +* The package is now null safe +* Unused imports have been removed + + + + + + + -* Fixed issue causing stackoverflow while loading large chunk data stream -## [0.1.0] - Improved documentation -* Added In-line documentation -## [1.0.0] - Custom header and error handling -* Added ability to send custom headers -* Added error handling -## [2.0.0-beta.1] - Ability to choose between GET and POST request and send a body with the request[BREAKING CHANGE] -* The request type can now be manually set -* Ability to pass the request body with the request -* Safe close of the sink added as well which was causing some minor crashes -## [2.0.0] - Ability to choose between GET and POST request and send a body with the request[BREAKING CHANGE] and some additional code refactoring and bug fixes -* The request type can now be manually set -* Ability to pass the request body with the request -* Safe close of the sink added as well which was causing some minor crashes -* Stability changes in the model to handle null safety -## [2.0.1] - Upgrading http version -* Updated http version to be compatible with the latest http package -## [2.0.2] - Added retry mechanism and fixed bugs -* Added auto retry mechanism to connect on error or on backend downtime -* Fixed issue with backend returning 4xx -* Handled memory leak issue with the stream closing diff --git a/pubspec.yaml b/pubspec.yaml index aa13501..c7fd9bf 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,6 +1,6 @@ name: flutter_client_sse description: Dart package to help consume SSE API. It consumes server sent events by returning parsed model of the event, id, and the data -version: 2.0.2 +version: 2.0.3 homepage: https://github.com/pratikbaid3/flutter_client_sse environment: