Skip to content

Releases: partiallywritten/Gofile2

Gofile2-v2.1

06 Mar 19:41
3b6f5fa

Choose a tag to compare

What's Changed

  • Add all API methods to README code examples in #10
  • Add optional per-method token parameter with README documentation in #11

Full Changelog: Gofile2-v2.0.0...Gofile2-v2.1

v2 Release

06 Mar 18:14
b528e1d

Choose a tag to compare

  • Rewrite API to comply with new Gofile REST API spec (2025-05-16)
  • Switch authentication to Bearer token header
  • Upload directly to upload.gofile.io/uploadfile and remove getServer dependency
  • Add support for regional upload endpoints via optional server parameter
  • Update folder creation to POST /contents/createFolder with JSON body
  • Replace set_option with update_content using PUT /contents/{contentId}/update
  • Update delete_content to new API pattern using DELETE /contents with JSON body
  • Restore and implement content operations: get_content, search_content, copy_content, move_content, import_content
  • Add direct link management: create_direct_link, update_direct_link, delete_direct_link
  • Add account management: get_account_id, get_account, reset_token
  • Add domainsBlocked option for direct links
  • Add optional password support for copy_content and import_content
  • Add server validation using VALID_SERVERS with InvalidOption error
  • Add params support in _api_request for GET query parameters
  • Extract _build_direct_link_payload helper for cleaner payload handling
  • Add RateLimitError handling for HTTP 429 responses
  • Add context manager support (async with / with)
  • Improve performance with lazy session creation and streaming uploads
  • Remove aiofiles dependency and switch to synchronous file streaming
  • Improve Sync_Gofile wrapper and add all new API methods
  • Detect running event loop in Sync_Gofile and raise RuntimeError with guidance
  • Replace deprecated asyncio.get_event_loop usage with asyncio.new_event_loop
  • Add comprehensive aioresponses-based tests (75 total)
  • Improve README documentation and update contact information
  • Update .gitignore and remove Python cache files
  • Update project copyright headers

v1.5

05 Jan 09:08
c7e907e

Choose a tag to compare

  • added support for latest gofile api update
  • changed default Gofile class to async (sync version is just a wrapper around async version now)
  • added generated docs

Gofile2-v1.4.3

13 Dec 04:00

Choose a tag to compare

  • Fixed upload_folder (#3)
  • Renamed set_folder_options function to set_folder_option
  • Fixed wrong api endpoint in set_folder_option function
  • Updated docstrings

Gofile2-v1.4.1

22 Jun 10:13

Choose a tag to compare

  • Added upload_folder function
  • Initialize ClientSession on function call
  • Check option type in set_folder_options function
  • Sort imports
  • Ignore build files

Some minor fixes

Gofile2-v1.3.7

01 May 14:47

Choose a tag to compare

  • Improved and updated docstrings according to the 2022-03-25 update
  • Code formatted

Gofile2-v1.3.6

09 Dec 04:14

Choose a tag to compare

  • Added api methods of 2021-11-17 gofile's update (All these updates are available only for premium users)
  • Formatted setup file

Gofile2-v1.3

21 Sep 15:15
97cfbec

Choose a tag to compare

  • Better error handling
  • Fixed some bugs in async version
  • Removed some unnecessary codes

Gofile2-v1.2

20 Sep 10:01

Choose a tag to compare

  • Added Async version (Sometimes unstable)
  • Some error handling things (Not needed)

Gofile2-v1.1

19 Sep 14:08

Choose a tag to compare

Fixed Version -> v1.1