Updated range_header

This commit is contained in:
thomashii 2021-07-15 16:41:30 +08:00
parent a6f24189e4
commit d3f65b12fa
5 changed files with 28 additions and 15 deletions

View file

@ -47,7 +47,7 @@
* Migrated angel_auth_cache to 4.0.0 (7/7 tests passed)
* Migrated angel_auth_cors to 4.0.0 (15/15 tests passed)
* Migrated angel_oauth2 to 4.0.0 (17/25 tests passed)
* Migrated angel_proxy to 4.0.0 (5/7 tests passed)
* Migrated angel_proxy to 4.0.0 (6/7 tests passed)
* Migrated angel_file_service to 4.0.0 (6/6 tests passed)
* Migrated graphql_parser to 2.0.0 (55/55 tests passed)
* Migrated graphql_schema to 2.0.0 (34/35 tests passed)

View file

@ -4,7 +4,6 @@
* Migrate all modules to support NNBD
* Fix issues and failed unit test
* Websocket
* ORM
* OAuth2
* Proxy

View file

@ -1,18 +1,29 @@
# 3.0.1
# Change Log
## 3.0.2
* Updated README
## 3.0.1
* Resolve static analysis warnings
# 3.0.0
## 3.0.0
* Migrated to work with Dart SDK 2.12.x NNBD
# 2.0.2
## 2.0.2
* Fix bug in `toContentRange` that printed invalid indices.
* Fold header items by default.
# 2.0.1
## 2.0.1
* Adjust `RangeHeaderTransformer` to properly print the content range of each item,
when multiple are present.
# 2.0.0
## 2.0.0
* Dart 2 update.
* Add `RangeHeaderTransformer`.
* Overall restructuring/refactoring.
* Overall restructuring/refactoring.

View file

@ -1,13 +1,15 @@
# angel3_range_header
[![version](https://img.shields.io/badge/pub-v3.0.1-brightgreen)](https://pub.dartlang.org/packages/angel3_range_header)
# Angel3 Range Header
[![version](https://img.shields.io/badge/pub-v3.0.2-brightgreen)](https://pub.dartlang.org/packages/angel3_range_header)
[![Null Safety](https://img.shields.io/badge/null-safety-brightgreen)](https://dart.dev/null-safety)
[![Gitter](https://img.shields.io/gitter/room/angel_dart/discussion)](https://gitter.im/angel_dart/discussion)
[![License](https://img.shields.io/github/license/dukefirehawk/angel)](https://github.com/dukefirehawk/angel/tree/angel3/packages/range_header/LICENSE)
Range header parser for Dart.
Range header parser for Angel3. Can be used by any dart backend.
## Installation
# Installation
In your `pubspec.yaml`:
```yaml
@ -15,7 +17,7 @@ dependencies:
angel3_range_header: ^3.0.0
```
# Usage
## Usage
```dart
handleRequest(HttpRequest request) async {

View file

@ -1,7 +1,8 @@
name: angel3_range_header
version: 3.0.1
version: 3.0.2
description: Range header parser for Dart. Beyond parsing, a stream transformer is included.
homepage: https://github.com/dukefirehawk/angel/tree/angel3/packages/range_header
homepage: https://angel3-framework.web.app/
repository: https://github.com/dukefirehawk/angel/tree/angel3/packages/range_header
environment:
sdk: '>=2.12.0 <3.0.0'
dependencies: