Upgrading http_parser 3 to 4
Breaking3.1.4 → 4.1.2Breaking1Platform1New1Changed3Fixed2Other2
BreakingUpgrade verdict
1 breaking change and a platform requirement change.
In plain terms
- The package now uses Dart's null safety feature, so code that uses it may need to be updated.
- You need Dart 3.4.0 or newer to use this version.
Must act 2 items need code or config changes
Dart SDK requirement changed in 4.1.0: >=2.3.0 <3.0.0 → ^3.4.0.
What you must change
Breaking1
Migrates the package to Dart null safety.
Platform1
Requires Dart
^3.4.0.API changes
Generated by DepDelta from published Dart source. Not mixed with prose notes.
- changed:
ctor MediaType(String type, String subtype, [Map<String, String> parameters]) → ctor MediaType(String type, String subtype, [Map<String, String>? parameters]) - changed:
method MediaType.change( {String type, String subtype, String mimeType, Map<String, String> parameters, bool clearParameters = …}): MediaType → method MediaType.change( {String? type, String? subtype, String? mimeType, Map<String, String>? parameters, bool clearParameters = …}): MediaType - added:
ctor CaseInsensitiveMap.fromEntries(Iterable<MapEntry<String, V>> entries)