From d957177dbc2a24f71a9ec247a88b7c54f75815c9 Mon Sep 17 00:00:00 2001 From: Alex Li Date: Mon, 31 Jul 2023 19:38:24 +0800 Subject: [PATCH] Add topics to packages (#1910) Topics are supported on pub.dev. The PR add topics for all packages. ### New Pull Request Checklist - [x] I have read the [Documentation](https://pub.dev/documentation/dio/latest/) - [x] I have searched for a similar pull request in the [project](https://github.com/cfug/dio/pulls) and found none - [x] I have updated this branch with the latest `main` branch to avoid conflicts (via merge from master or rebase) - [ ] I have added the required tests to prove the fix/feature I'm adding - [ ] I have updated the documentation (if necessary) - [x] I have run the tests without failures - [x] I have updated the `CHANGELOG.md` in the corresponding package --------- Signed-off-by: Alex Li --- dio/pubspec.yaml | 8 +++++++- plugins/cookie_manager/README.md | 4 ++-- plugins/cookie_manager/pubspec.yaml | 9 ++++++++- plugins/http2_adapter/README.md | 2 +- plugins/http2_adapter/pubspec.yaml | 8 +++++++- plugins/native_dio_adapter/pubspec.yaml | 9 ++++++++- 6 files changed, 33 insertions(+), 7 deletions(-) diff --git a/dio/pubspec.yaml b/dio/pubspec.yaml index f89f6e4e2..9ed339e0f 100644 --- a/dio/pubspec.yaml +++ b/dio/pubspec.yaml @@ -1,14 +1,20 @@ name: dio +version: 5.3.0 description: | A powerful HTTP networking package, supports Interceptors, Aborting and canceling a request, Custom adapters, Transformers, etc. +topics: + - dio + - http + - network + - interceptor + - middleware homepage: https://github.com/cfug/dio repository: https://github.com/cfug/dio/blob/main/dio issue_tracker: https://github.com/cfug/dio/issues -version: 5.3.0 environment: sdk: '>=2.15.0 <3.0.0' diff --git a/plugins/cookie_manager/README.md b/plugins/cookie_manager/README.md index 0c121d68f..a4c156927 100644 --- a/plugins/cookie_manager/README.md +++ b/plugins/cookie_manager/README.md @@ -2,7 +2,7 @@ [![Pub](https://img.shields.io/pub/v/dio_cookie_manager.svg)](https://pub.dev/packages/dio_cookie_manager) -A cookie manager for [dio](https://github.com/cfug/dio). +A cookie manager combines cookie_jar and dio, based on the interceptor algorithm. ## Getting Started @@ -10,7 +10,7 @@ A cookie manager for [dio](https://github.com/cfug/dio). ```yaml dependencies: - dio_cookie_manager: ^2.0.0 # latest version + dio_cookie_manager: ^latest-version ``` ### Usage diff --git a/plugins/cookie_manager/pubspec.yaml b/plugins/cookie_manager/pubspec.yaml index 7f7d926cd..5642168b1 100644 --- a/plugins/cookie_manager/pubspec.yaml +++ b/plugins/cookie_manager/pubspec.yaml @@ -1,6 +1,13 @@ name: dio_cookie_manager -description: A cookie manager combines cookie_jar and dio, based on the interceptor algorithm. version: 3.1.0 + +description: A cookie manager combines cookie_jar and dio, based on the interceptor algorithm. +topics: + - dio + - cookie + - network + - storage + - persistence homepage: https://github.com/cfug/dio repository: https://github.com/cfug/dio/blob/main/plugins/cookie_manager issue_tracker: https://github.com/cfug/dio/issues diff --git a/plugins/http2_adapter/README.md b/plugins/http2_adapter/README.md index 5a4745ac9..65224b611 100644 --- a/plugins/http2_adapter/README.md +++ b/plugins/http2_adapter/README.md @@ -2,7 +2,7 @@ [![Pub](https://img.shields.io/pub/v/dio_http2_adapter.svg)](https://pub.dev/packages/dio_http2_adapter) -An HTTP/2 adapter for [dio](https://github.com/cfug/dio). +An adapter that combines HTTP/2 and dio. Supports reusing connections, header compression, etc. ## Getting Started diff --git a/plugins/http2_adapter/pubspec.yaml b/plugins/http2_adapter/pubspec.yaml index 801ea2688..34782f764 100644 --- a/plugins/http2_adapter/pubspec.yaml +++ b/plugins/http2_adapter/pubspec.yaml @@ -1,6 +1,12 @@ name: dio_http2_adapter -description: An adapter that combines HTTP/2 and dio. Supports reuse connections, header compression, etc. version: 2.3.1 + +description: An adapter that combines HTTP/2 and dio. Supports reusing connections, header compression, etc. +topics: + - dio + - http2 + - native + - network homepage: https://github.com/cfug/dio repository: https://github.com/cfug/dio/blob/main/plugins/http2_adapter issue_tracker: https://github.com/cfug/dio/issues diff --git a/plugins/native_dio_adapter/pubspec.yaml b/plugins/native_dio_adapter/pubspec.yaml index d5149d77a..29d76b2e1 100644 --- a/plugins/native_dio_adapter/pubspec.yaml +++ b/plugins/native_dio_adapter/pubspec.yaml @@ -1,6 +1,13 @@ name: native_dio_adapter -description: A client for dio which makes use of cupertino_http and cronet_http to delegate HTTP requests to the native platform. version: 1.0.0+1 + +description: A client for dio which makes use of cupertino_http and cronet_http to delegate HTTP requests to the native platform. +topics: + - dio + - http + - native + - network + - cronet homepage: https://github.com/cfug/dio repository: https://github.com/cfug/dio/blob/main/plugins/native_dio_adapter issue_tracker: https://github.com/cfug/dio/issues