Skip to content

Commit

Permalink
refactor: upgrade Dart SDK to v3 and upgrade dependencies
Browse files Browse the repository at this point in the history
When upgrading to dio 5.0.1 or higher, had to replace:

DioAdapter(dio: dio);

with

DioAdapter(dio: dio, matcher: const UrlRequestMatcher());
  • Loading branch information
michaelstepner committed Aug 9, 2024
1 parent a0a16df commit 2e0c3e8
Show file tree
Hide file tree
Showing 31 changed files with 2,815 additions and 2,656 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
# Install Dart
- uses: dart-lang/setup-dart@v1
with:
sdk: 2.19
sdk: 3.4

# Install dependencies
- name: Install dependencies
Expand Down
32 changes: 10 additions & 22 deletions pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,34 +4,22 @@ version: 0.0.1
homepage: https://github.com/linagora/jmap-dart-client.git

environment:
sdk: ">=2.19.2 <3.0.0"
sdk: ">=3.4.4 <4.0.0"

dependencies:

test: ^1.25.8

equatable: 2.0.5

build_runner: 2.4.11
built_collection: 5.1.1
dartz: 0.10.1

dio: 5.5.0+1
equatable: 2.0.5
http_parser: 4.1.0
json_annotation: 4.9.0
json_serializable: 6.8.0
quiver: 3.2.1

dio: 5.0.0

json_annotation: 4.8.0

build_runner: 2.3.3

json_serializable: 6.6.1

built_collection: 5.1.1

http_parser: 4.0.2
test: 1.25.8

dev_dependencies:

http_mock_adapter: 0.4.2
http_mock_adapter: 0.6.1

# For information on the generic Dart part of this file, see the
# following page: https://dart.dev/tools/pub/pubspec

1,064 changes: 528 additions & 536 deletions test/jmap/calendar/calendar_event_parse_method_test.dart

Large diffs are not rendered by default.

Loading

0 comments on commit 2e0c3e8

Please sign in to comment.