Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
1e789c1d6b | ||
|
|
f38a4e7c7d |
@@ -7,6 +7,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||
|
||||
## [Unreleased]
|
||||
|
||||
## [1.7.1] - 2026-07-19
|
||||
|
||||
### Fixed
|
||||
|
||||
- Web build failure with dio >= 5.8: `DioExceptionType` switch is now
|
||||
exhaustive across dio versions (CI resolves dependencies fresh)
|
||||
|
||||
## [1.7.0] - 2026-07-19
|
||||
|
||||
### Changed
|
||||
|
||||
@@ -163,7 +163,10 @@ class ErrorInterceptor extends Interceptor {
|
||||
case DioExceptionType.badCertificate:
|
||||
return const NetworkException(message: 'Invalid SSL certificate');
|
||||
|
||||
case DioExceptionType.unknown:
|
||||
// default keeps this exhaustive across dio versions (CI resolves deps
|
||||
// fresh — pubspec.lock is gitignored — so DioExceptionType can gain
|
||||
// cases, e.g. transformTimeout in dio >= 5.8)
|
||||
default:
|
||||
return NetworkException(
|
||||
message: err.message ?? 'Unknown error',
|
||||
cause: err,
|
||||
|
||||
+1
-1
@@ -16,7 +16,7 @@ publish_to: 'none' # Remove this line if you wish to publish to pub.dev
|
||||
# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
|
||||
# In Windows, build-name is used as the major, minor, and patch parts
|
||||
# of the product and file versions while build-number is used as the build suffix.
|
||||
version: 1.7.0+1
|
||||
version: 1.7.1+1
|
||||
|
||||
environment:
|
||||
sdk: ^3.10.4
|
||||
|
||||
Reference in New Issue
Block a user