Skip to content

Commit

Permalink
4.0.1 fixes (lejard-h#264)
Browse files Browse the repository at this point in the history
  • Loading branch information
JEuler authored Jun 1, 2021
1 parent 3d47735 commit 8be965b
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 13 deletions.
15 changes: 9 additions & 6 deletions chopper/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# Changelog

## 4.0.1

- Fix for the null safety support
## 4.0.0

- **Null safety support**
Expand Down Expand Up @@ -52,7 +55,7 @@ New way to handle errors

## 2.4.2

- Fix on JsonConverter
- Fix on JsonConverter
If content type header overrided using @Post(headers: {'content-type': '...'})
The converter won't add json header and won't apply json.encode if content type is not JSON

Expand Down Expand Up @@ -101,10 +104,10 @@ New way to handle errors
## 2.2.0

- Fix converter issue on List
- ***Breaking Change***
on `Converter.convertResponse<ResultType>(response)`,
- ***Breaking Change***
on `Converter.convertResponse<ResultType>(response)`,
it take a new generic type => `Converter.convertResponse<ResultType, ItemType>(response)`

- deprecated `Chopper.service<Type>(Type)`, use `Chopper.getservice<Type>()` instead
thanks to @MichaelDark

Expand Down Expand Up @@ -139,12 +142,12 @@ thanks to @MichaelDark
- ***BreakingChange***
Removed `name` parameter on `ChopperApi`
New way to instanciate a service

@ChopperApi()
abstract class MyService extends ChopperService {
static MyService create([ChopperClient client]) => _$MyService(client);
}


## 1.0.0

Expand Down
2 changes: 1 addition & 1 deletion chopper/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: chopper
description: Chopper is an http client generator using source_gen, inspired by Retrofit
version: 4.0.0
version: 4.0.1
documentation: https://hadrien-lejard.gitbook.io/chopper
repository: https://github.com/lejard-h/chopper
author: Hadrien Lejard <[email protected]>
Expand Down
13 changes: 8 additions & 5 deletions chopper_generator/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# Changelog

## 4.0.1

- Fix for the null safety support
## 4.0.0

- **Null safety support**
Expand Down Expand Up @@ -39,7 +42,7 @@

## 2.4.2

- Fix on JsonConverter
- Fix on JsonConverter
If content type header overrided using @Post(headers: {'content-type': '...'})
The converter won't add json header and won't apply json.encode if content type is not JSON

Expand All @@ -59,7 +62,7 @@
## 2.3.4

fix trailing slash when empty path

## 2.3.3

- update analyzer to `0.35.0`
Expand Down Expand Up @@ -91,10 +94,10 @@
## 2.2.0

- Fix converter issue on List
- ***Breaking Change***
on `Converter.convertResponse<ResultType>(response)`,
- ***Breaking Change***
on `Converter.convertResponse<ResultType>(response)`,
it take a new generic type => `Converter.convertResponse<ResultType, ItemType>(response)`

- deprecated `Chopper.service<Type>(Type)`, use `Chopper.getservice<Type>()` instead
thanks to @MichaelDark

Expand Down
2 changes: 1 addition & 1 deletion chopper_generator/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: chopper_generator
description: Chopper is an http client generator using source_gen, inspired by Retrofit
version: 4.0.0
version: 4.0.1
documentation: https://hadrien-lejard.gitbook.io/chopper
repository: https://github.com/lejard-h/chopper
author: Hadrien Lejard <[email protected]>
Expand Down

0 comments on commit 8be965b

Please sign in to comment.