Skip to content

Commit 3319791

Browse files
authored
🔖 release chopper_generator v8.6.0 (#701)
1 parent 70b7107 commit 3319791

4 files changed

Lines changed: 12 additions & 8 deletions

File tree

.github/workflows/dart.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
runs-on: ubuntu-latest
2424
steps:
2525
- name: Cache Pub hosted dependencies
26-
uses: actions/cache@v4
26+
uses: actions/cache@v5
2727
with:
2828
path: "~/.pub-cache/hosted"
2929
key: "os:ubuntu-latest;pub-cache-hosted;sdk:stable"
@@ -46,7 +46,7 @@ jobs:
4646
runs-on: ubuntu-latest
4747
steps:
4848
- name: Cache Pub hosted dependencies
49-
uses: actions/cache@v4
49+
uses: actions/cache@v5
5050
with:
5151
path: "~/.pub-cache/hosted"
5252
key: "os:ubuntu-latest;pub-cache-hosted;sdk:stable;packages:chopper-chopper_built_value-chopper_generator;commands:format-analyze"
@@ -106,7 +106,7 @@ jobs:
106106
runs-on: ubuntu-latest
107107
steps:
108108
- name: Cache Pub hosted dependencies
109-
uses: actions/cache@v4
109+
uses: actions/cache@v5
110110
with:
111111
path: "~/.pub-cache/hosted"
112112
key: "os:ubuntu-latest;pub-cache-hosted;sdk:stable;packages:chopper-chopper_built_value-chopper_generator;commands:test_with_coverage"
@@ -177,7 +177,7 @@ jobs:
177177
runs-on: ubuntu-latest
178178
steps:
179179
- name: Cache Pub hosted dependencies
180-
uses: actions/cache@v4
180+
uses: actions/cache@v5
181181
with:
182182
path: "~/.pub-cache/hosted"
183183
key: "os:ubuntu-latest;pub-cache-hosted;sdk:stable;packages:chopper-chopper_built_value;commands:test"

chopper_generator/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Changelog
22

3+
## 8.6.0
4+
5+
- Allow `analyzer: ">=8.0.0 <11.0.0"` ([#699](https://github.com/lejard-h/chopper/pull/699))
6+
37
## 8.5.0
48

59
- Allow `analyzer: ">=8.0.0 <10.0.0"` ([#690](https://github.com/lejard-h/chopper/pull/690))

chopper_generator/lib/src/generator.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1142,15 +1142,15 @@ final class ChopperGenerator
11421142
},
11431143
if (useQueries) 'parameters': refer(Vars.parameters.toString()),
11441144
if (useHeaders) 'headers': refer(Vars.headers.toString()),
1145-
if (tagRefer != null) 'tag': tagRefer,
1145+
'tag': ?tagRefer,
11461146
if (listFormat != null)
11471147
'listFormat': refer('ListFormat').type.property(listFormat.name),
11481148
if (useBrackets != null) 'useBrackets': literalBool(useBrackets),
11491149
if (dateFormat != null)
11501150
'dateFormat': refer('DateFormat').type.property(dateFormat.name),
11511151
if (includeNullQueryVars != null)
11521152
'includeNullQueryVars': literalBool(includeNullQueryVars),
1153-
if (abortTriggerExpr != null) 'abortTrigger': abortTriggerExpr,
1153+
'abortTrigger': ?abortTriggerExpr,
11541154
},
11551155
);
11561156

chopper_generator/pubspec.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
name: chopper_generator
22
description: Chopper is an http client generator using source_gen, inspired by Retrofit
3-
version: 8.5.0
3+
version: 8.6.0
44
documentation: https://hadrien-lejard.gitbook.io/chopper
55
repository: https://github.com/lejard-h/chopper
66

77
environment:
88
sdk: ^3.9.0
99

1010
dependencies:
11-
analyzer: ">=8.0.0 <10.0.0"
11+
analyzer: ">=8.0.0 <11.0.0"
1212
build: ^4.0.3
1313
built_collection: ^5.1.1
1414
chopper: ^8.4.0

0 commit comments

Comments
 (0)