Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

4.0.1 fixes #264

Merged
merged 1 commit into from
Jun 1, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 <hadrien.lejard@gmail.com>
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 <hadrien.lejard@gmail.com>
Expand Down