Releases: partiallywritten/Gofile2
Releases · partiallywritten/Gofile2
Gofile2-v2.1
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
- 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
- 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
- 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
- Added
upload_folderfunction - Initialize ClientSession on function call
- Check option type in
set_folder_optionsfunction - Sort imports
- Ignore build files
Some minor fixes
Gofile2-v1.3.7
- Improved and updated docstrings according to the 2022-03-25 update
- Code formatted
Gofile2-v1.3.6
- 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
- Better error handling
- Fixed some bugs in async version
- Removed some unnecessary codes
Gofile2-v1.2
- Added Async version (Sometimes unstable)
- Some error handling things (Not needed)
Gofile2-v1.1
Fixed Version -> v1.1