Releases: TheCaduceus/tg-upload
v1.0.8
What's Changed
- All new download flags to download files from Telegram: [Learn here]
--dl - Enable download module of tg-upload.
--links - Telegram file links to be downloaded (separated with space).
--txt_file - .txt file path containing Telegram file links to be downloaded (1 link / line).
--range - Find and download messages in between of two given links of same chat.
--chat_id (common) - Identity of chat to download the file from? can be username, phone number (international format) or ID number, by default to Saved Messages.
--msg_id - Identity number of message which needs to be downloaded.
--filename (common) - To download data with custom name.
--replace (common) - Replace given character or keyword in filename. Requires two arguments including 'text to replace' 'text to replace from'.
--prefix (common) - Add given prefix text to each filename (prefix + filename).
--dl_dir - Change the download directory, by default 'downloads' in current working directory.
- Get flag values from system environment. [Learn here]
- New
--env
flag to display all environment variables, their current and default values in tabular format. - Memory control flags for hash (
--hash_memory_limit
) and combine (--combine_memory_limit
) tasks. - tg-upload will now remove any extra space from
chat_id
instead of raisingValueError
. - Fixed other minor bugs.
⛔NOTICE:
This release contains changes that can cause import errors for users upgrading from previous versions due to addition of prettytable library for displaying environment variables' values in tabular format, hence users upgrading from previous versions should download latest dependencies:
pip install -r requirements.txt
Full Changelog: v1.0.7...v1.0.8
v1.0.8.dev.2
What's Changed
- Memory control flags for hash (
--hash_memory_limit
) and combine (--combine_memory_limit
) tasks. - New
--env
flag to display all environment variables, their current and default values in tabular format. - Fixed several bugs.
v1.0.8.dev.1
What's Changed
- Get flag values from system environment.
v1.0.7
What's Changed
- Bump to v1.0.7
- Implemented new update checking system, requires httpx.
- Added new flag
--no_update
to disable checking for updates. - Upgrade pyrogram to v2.0.106
- Fixed some minor bugs.
⛔NOTICE:
This release contains changes that can cause import errors for users upgrading from previous versions due to addition of httpx library for update checking system, hence users upgrading from previous versions should download latest dependencies:
pip install -r requirements.txt
Full Changelog: v1.0.6...v1.0.7
v1.0.7.dev.1
What's Changed
- Bump pyrogram from v2.0.104 to v2.0.106
v1.0.6
What's Changed
- Bump to v1.0.6
- Now switch between different formatting modes. [Learn here]
- Added new variable for dynamic caption: [Learn here]
{path}
- Return exact path of file.{path.parts}
- A tuple giving access to the path’s various components.{path.drive}
- A string representing the drive letter or name, if any.{path.root}
- A string representing the (local or global) root, if any.{path.anchor}
- The concatenation of the drive and root.{path.parents}
- An immutable sequence providing access to the logical ancestors of the path.{path.parent}
- The logical parent of the path.{path.name}
- A string representing the final path component, excluding the drive and root, if any.{path.suffix}
- The file extension of the final component, if any.{path.suffixes}
- A list of the path’s file extensions.{path.stem}
- The final path component, without its suffix.
- New flag
--logout
to revoke current session & delete session file. - Combine flag
--combine
now also accepts custom name for output file using--filename
flag. - Client will not be imported while running utility flags to increase execution speed.
- Fix undefined filename error.
Full Changelog: v1.0.5...v1.0.6
v1.0.6.dev.1
v1.0.5
What's Changed
- Bump to v1.0.5.
- Added all new utility flags: [Learn here]
--file_info - Show basic file information.
--hash - Calculate & display hash of given file.
--split_file - Split file in given bytes, accepts only size & requires path using path flag.
--combine - Restore original file using part files produced by tg-upload. Accepts one or more paths.
--convert - Convert any image into JPEG format.
- New variables for dynamic caption: [Learn here]
{creation_time[indice]}
- File's creation time.{modification_time[indice]}
- File's last modification time.
- Added
--info
flag to get detailed information about your Telegram account as JSON. - Automatic conversion of any image format into JPEG, now use any image as thumbnail.
- Upgrade Pyrogram to v2.0.104
- Fix misalignment of error messages.
⛔NOTICE:
This release contains changes that can cause import errors for users upgrading from previous versions due to addition of Python Image Library (PIL) for image format conversion, hence users upgrading from previous versions should download latest dependencies:
pip install -r requirements.txt
Full Changelog: v1.0.4...v1.0.5
v1.0.4
What's Changed
- Bump to v1.0.4
- Now combine part files produced by tg-upload using
--combine
flag to restore original file. - Add progress for split.
- Setting duration (
--duration
) now also supports voice messages. - Fix inaccurate transfer speed.
- Fix undefined
start_time
error. - Removed some unwanted code.
Full Changelog: v1.0.3...v1.0.4
v1.0.4.dev.2
What's Changed
- Fix undefined
start_time
error.