diff --git a/CHANGELOG.md b/CHANGELOG.md index 58b79b3..e942e6a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,5 @@ +## v0.28.0 +- refactor(get.dart): comment out unused adapter instances and change the declaration of adapter to be late-initialized ## v0.27.0 - Many fixes ## v0.26.0 diff --git a/lib/commands/devs/get.dart b/lib/commands/devs/get.dart index 1b5c222..bebebe0 100644 --- a/lib/commands/devs/get.dart +++ b/lib/commands/devs/get.dart @@ -60,9 +60,9 @@ class GetCommand extends Command { final String url = argResults!.rest[0]; - final Aria2Adapter aria2Adapter = Aria2Adapter(); - final CurlAdapter curlAdapter = CurlAdapter(); - final WgetAdapter wgetAdapter = WgetAdapter(); + // final Aria2Adapter aria2Adapter = Aria2Adapter(); + // final CurlAdapter curlAdapter = CurlAdapter(); + // final WgetAdapter wgetAdapter = WgetAdapter(); final DioAdapter dioAdapter = DioAdapter(); late final DloaderAdapter adapter; diff --git a/lib/pubspec.dart b/lib/pubspec.dart index ef93297..76707ef 100644 --- a/lib/pubspec.dart +++ b/lib/pubspec.dart @@ -2,7 +2,7 @@ const name = 'xpm'; const description = 'Universal package manager for any unix-like distro including macOS. Also experimental Windows support.'; -const version = '0.27.0'; +const version = '0.28.0'; const homepage = 'https://xpm.link'; const repository = 'https://github.com/verseles/xpm'; const executables = '{xpm: null}'; diff --git a/pubspec.yaml b/pubspec.yaml index 0408ff0..6fa4a8b 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,6 +1,6 @@ name: xpm description: Universal package manager for any unix-like distro including macOS. Also experimental Windows support. -version: 0.27.0 +version: 0.28.0 homepage: https://xpm.link repository: https://github.com/verseles/xpm executables: