Skip to content

Commit

Permalink
Null safety stable (#253)
Browse files Browse the repository at this point in the history
  • Loading branch information
lejard-h committed May 17, 2021
1 parent 79ac0e3 commit d5fa035
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 15 deletions.
7 changes: 2 additions & 5 deletions chopper/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,16 +1,13 @@
# Changelog

## 4.0.0-nullsafety.1
## 4.0.0

- **Null safety support**
- Fix infinite loop when using Authenticators
- Remove deprecated `FileField`, use `PartFile` instead
- Remove deprecated `Request.replace`, use `Request.copyWith` instead
- Remove deprecated `PartValue.replace`, use `PartValue.copyWith` instead
- Remove deprecated `Response.replace`, use `Response.copyWith` instead

## 4.0.0-nullsafety.0

- Null safety support
- Support for OPTIONS requests
- Support for passing data in the body of GET requests (anti-pattern, but requested)
- Support for OkHttp-like Authenticator implementation
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-nullsafety.1
version: 4.0.0
documentation: https://hadrien-lejard.gitbook.io/chopper
repository: https://github.com/lejard-h/chopper
author: Hadrien Lejard <hadrien.lejard@gmail.com>
Expand Down
2 changes: 1 addition & 1 deletion chopper_built_value/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Changelog

## 1.0.0-nullsafety.0
## 1.0.0

- Null safety support

Expand Down
4 changes: 2 additions & 2 deletions chopper_built_value/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: chopper_built_value
description: A built_value based Converter for Chopper.
version: 1.0.0-nullsafety.0
version: 1.0.0
documentation: https://hadrien-lejard.gitbook.io/chopper/converters/built-value-converter
repository: https://github.com/lejard-h/chopper
author: Hadrien Lejard <hadrien.lejard@gmail.com>
Expand All @@ -11,7 +11,7 @@ environment:
dependencies:
built_value: ^8.0.0
built_collection: ^5.0.0
chopper: ^4.0.0-nullsafety.1
chopper: ^4.0.0
http: ^0.13.0

dev_dependencies:
Expand Down
6 changes: 2 additions & 4 deletions chopper_generator/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
# Changelog

## 4.0.0-nullsafety.1
## 4.0.0

- **Null safety support**
- Fix `@Header` annotation not generating null safe code
- Respect `required` keyword in functions

## 4.0.0-nullsafety.0

- Null safety support

## 3.0.5

Expand Down
4 changes: 2 additions & 2 deletions 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-nullsafety.1
version: 4.0.0
documentation: https://hadrien-lejard.gitbook.io/chopper
repository: https://github.com/lejard-h/chopper
author: Hadrien Lejard <hadrien.lejard@gmail.com>
Expand All @@ -12,7 +12,7 @@ dependencies:
analyzer: ^1.2.0
build: ^2.0.0
built_collection: ^5.0.0
chopper: ^4.0.0-nullsafety.1
chopper: ^4.0.0
code_builder: ^4.0.0
dart_style: ^2.0.0
logging: ^1.0.0
Expand Down

0 comments on commit d5fa035

Please sign in to comment.