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

1.3.0.0 Release #127

Draft
wants to merge 11 commits into
base: main
Choose a base branch
from
Draft

1.3.0.0 Release #127

wants to merge 11 commits into from

Conversation

fumiichan
Copy link
Owner

@fumiichan fumiichan commented Apr 6, 2024

This PR will contain the following changes:

  • Upgrade to .NET 9
  • Add support for developing custom providers
    • Migrate nh as custom provider
      • Added support for webp file format
    • Add support for koharu
      • Fetching by gallery
      • Download support
      • Searching
      • Random support
    • Add support for tsumino
    • Add support for hitomi
    • Add support for exh

This list of proposed changes is not yet final.

In this commit includes:
- Client
  - Implemetation of SDK for development of custom providers
  - Refactored downloader to support the new contracts/models from the SDK
  - Removed configuration in favour of provider based configuration in file
  - Refactored command parsing to use cocona instead
  - Implemented file based logging for diagnostics
  - Removed -r option in get in favour of info command to view gallery information
  - Added provider command to view installed providers
  - Removed series command (temporarily)
- Provider (asuka.Provider.Nhentai):
  - Use restsharp instead of refit due to the breaking change
  - Implemented reading from UA.txt and cookie.txt file for the cookies and
    user agent instead of configuration from the client.
  - Implemented support to read Netscape Navigator Cookie dump and JSON
    cookie dump
Rollback to  Refit. The performance in downloading while using restsharp is incredibly
slow and falling back to refit solves the performance issue.

I may wrongly use restsharp though.
This implementation only supports single provider. Future iteration within this branch
will allow support of using multiple providers.

This commit also bundles changes such as displaying the no provider found in search and
recreate provider folder if not found (which fixes an exception throwing when not found)
@fumiichan fumiichan changed the title 1.3.0.0 Release Part II 1.3.0.0 Release Nov 30, 2024
@fumiichan fumiichan self-assigned this Nov 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant