Skip to content

Commit 969c3c9

Browse files
authored
Allow usage of protobuf v4, drop protobuf v2 (#100)
1 parent d09071e commit 969c3c9

File tree

3 files changed

+10
-2
lines changed

3 files changed

+10
-2
lines changed

.github/workflows/ci.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ jobs:
1010
strategy:
1111
matrix:
1212
sdk: [3.4, stable, beta] # note, not testing on 3.3 due to build_runner CI dependency problem.
13+
protobuf: ["3.1.0", "4.0.0"] # make sure works with both protobuf versions.
1314
steps:
1415
- uses: actions/checkout@v4
1516

@@ -20,6 +21,9 @@ jobs:
2021
- name: Install dependencies
2122
run: dart pub get
2223

24+
- name: Override protobuf version
25+
run: dart pub add protobuf:${{ matrix.protobuf }}
26+
2327
- name: Install coveralls
2428
run: sudo gem install coveralls-lcov
2529

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## [0.16.0]
2+
3+
* Allow usage of protobuf v4 as dependency, drop protobuf v2
4+
15
## [0.15.1]
26

37
* Support Fossil delta compression, [#97](https://github.com/centrifugal/centrifuge-dart/pull/97)

pubspec.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: centrifuge
2-
version: 0.15.1
2+
version: 0.16.0
33

44
description: >
55
Dart client to communicate with Centrifuge and Centrifugo from Flutter and VM
@@ -13,7 +13,7 @@ environment:
1313
dependencies:
1414
fixnum: ^1.0.0
1515
meta: ^1.3.0
16-
protobuf: ">=2.0.0 <4.0.0"
16+
protobuf: ">=3.0.0 <5.0.0"
1717
web_socket_channel: ">=3.0.0 <4.0.0"
1818

1919
dev_dependencies:

0 commit comments

Comments
 (0)