Skip to content

Releases: st1vms/unofficial-claude-api

v0.2.3

07 Dec 12:48
Compare
Choose a tag to compare

CHANGELOG

  • BUGFIXES:

    • Fixed 403 error by using curl_cffi with impersonate=chrome110 parameter.
    • Cookies are now used consistently across requests.
    • Fixed json payload length by setting indent=0, separators=(",", ":") in json.dumps().
  • PLATFORM UPDATE FIXES:

    • Updated headers to reflect Claude's platform changes/updates. ( Model was updated to claude-2.1)
    • File attachment size limit was decreased to 10MB for each file.
    • Implemented response decoding for (gzip, deflate, br).
  • MISCELLANOUS CHANGES:

    • Added timeout parameter to ClaudeAPIClient for setting requests timeout globally.
    • SendMessageResponse.error_response is now a str instead of a dict object.
    • Clarified the usage of ClaudeAPIClient.get_chat_data() in README.md
    • Updated README.md to reflect new features.
  • HOTFIX 0.2.3

    • session module now uses selgym library for auto session gathering ( fixed Firefox path retrieval on Windows ).

v0.1.9

20 Sep 09:55
Compare
Choose a tag to compare

CHANGELOG:

  • HTTP/S proxies implemented
  • Create HTTPProxy instance for ClaudeAPIClient constructor.

v0.1.7

31 Aug 07:52
Compare
Choose a tag to compare

CHANGELOG:

Update to 0.1.7

  • Added multiple file attachments, up to 5, 20MB each.
  • Added extra validations and error checks for when preparing files.
  • Separated client and session modules into their own files.
  • Clarified SessionData manual usage for faster loading.
  • Improved wildcard imports
  • Updated README.md

HOTFIX

  • Fixed UnicodeDecodeError on error_response parsing.

v0.1.5

25 Aug 16:16
Compare
Choose a tag to compare

CHANGELOG:

  • send_message now returns SendMessageResponse object, with answer, status_code and error_response fields, used for inspection purposes.

  • Better docs.

v0.1.4

24 Aug 09:35
Compare
Choose a tag to compare

Send message for all file attachments types with one function only -> send_message

Further stability improvements...

v0.1.1

23 Aug 10:37
Compare
Choose a tag to compare

First stable release!