Releases: NonProjects/tgbox
tgbox v1.5.1
This is a TGBOX version 1.5.1. The v1.5.1
is a quick patch.
- Lock
cryptography
library version to< 43.0.0
Full Changelog: v1.5...v1.5.1
tgbox v1.5
This is a TGBOX version 1.5. The v1.5
presents a many important changes, bugfixes, new features and new modules!
- Protection against the Bit-flipping attack (HMAC) (c369805, 4eb8a7d, 2369697, a340cb9, 70bdac8, 57cb431, 3904f2e)
- The new
abstract
module!Box
,get_box
, etc! (597d8a9, 16126f7, 3955af5, aa02df2, a1d6ca0, a4413ed, 4fab4ca, 434b2d3, ce3ad2e, f2510bf!!) - The new
tgbox.api.sync
module! (a4fe63a, ad478d2, 98db439, fe902c6, 3f4bc95) - Bugfixes (178a479, a6b4dec, 9b8cf59, c3cf1aa, 7238400, 13937c2, 64c3761, 30e9b16, d2b6827, 4d2694e!!, ddfd659, e3fbe2d, feda523, fadb02e, 12e5e44!! + acc4f2d!!, 2cb71e9)
- New
fetch_count
kwarg ondlb.files
&dlb.search_file
(3d2d088) - Use scrypt from
cryptography
if it's not available inhashlib
(9e17689) - Rm
phone_number
ORsession
check inTelegramClient
(4932945) - Restrict changing
file_size
inupdate_metadata
(43f0574) - Update Examples in Docs to
v1.5
(0f2575c, b488971) - Update
API_ID
&API_HASH
inreplace_session()
(3872c0a) - New
minor_version
filter (7d2ad21) - Removing empty Dirs after upload is now Optional (8be0af8)
- New
updated_at_time
on RemoteBox File (3c3d7d8, 800cc59) - Enhancing CAttrs support (3a14edf, 1dd4bf8, 00479cf, 14c2c3d, 349bc30)
- Support Description in RemoteBox (e5f6a90)
- Enhance Metadata Updates support on Fast/Deep Sync (7e8a56f)
- Use
regex
module if it's installed (2c7e1ce) - Improve
make_general_path()
+ (0eb0b69) - Pass
dlb=self
todrb.files
in_deep_sync()
(d9e9d36) - Add
__eq__
toSalt
&IV
to fix bug in Deep Sync (5ba2b22)
NOTE: The Version 1.4 will not be able to decrypt & read files uploaded from Version 1.5!
If you share Box with someone else, then both of you should have the same Protocol ver.
~
The Version 1.5 is backward compatible with the files uploaded from v1.4.
See Full Changelog: v1.4...v1.5
P.S.
The TGBOX-CLI will be updated to support changes of v1.5 soonely!
Give it some love too (it even has basic Chat now :)
tgbox v1.4
This is a TGBOX version 1.4. The v1.4
include some improvements and new features
- Support file downloading from specified
offset
(c081297, b3396e7) - Add
__repr__
to all classes (9e64548) - Add
use_slow_upload
&use_slow_download switches
(d264297) - Minor docs update plus
sphinx-book-theme
(0d8b547)
Full Changelog: v1.3.1...v1.4
v1.4.0b1
Changelog: v1.3.1...v1.4.0b1
tgbox v1.3.1
This is a TGBOX version 1.3.1. The v1.3.1
include some patches to v1.3
- Fix
ppart_id_generator
with Windows-like Path on Linux (f6f3b5c) - Fix incorrect
DirectoryKey
gen on file from another OS (9fa286a) - Fix bug on changing Metadata of Remote File (d086363)
Full Changelog: v1.3...v1.3.1
tgbox v1.3
This is a TGBOX version 1.3. The v1.3
presents a number of important changes, bugfixes and new features
- Now
FileSalt
,BoxSalt
and AESIV
are classes (c89dd6b) - The new
DirectoryKey
that change how we generate File Keys & ability to share the whole Directory of files (64bb056 -> d84fa3e). This one is a big change, see more about it in the Documentation of 1.3 - Public Metadata now have a
minor_version
attribute (6cf681e) - Reverse in
*LocalBox.files()
;*RemoteBox.files()
now will return files from oldest to newest, just like in LocalBox (f71a887) - Slightly speed up iteration over
*LocalBoxDirectory.itedir()
(ebf8a73) - Allow to update (re-upload) files; some Sync problems was fixed (see bc02329)
- Add & use
make_file_fingerprint
function (ae4af4c) - Now we can directly access
MainKey
,FileKey
andDirectoryKey
from classes (6861efc) - Hey!!! Shh...! (b81cebd)
- The new
non_recursive_scope
filter (e94125f) is_encrypted
on classes, revisitedbox_path
&box_name
(see 63b6e2a)- Fix
DecryptedLocalBoxFile
always remove preview (ddc99d8) - Use
EncryptedRemoteBox
inEncryptedRemoteBoxFile
andDecryptedRemoteBox
inDecryptedRemoteBoxFile
instead ofTelegramClient
(13d5d3e) - Treat
scope
filter asfile_path
on RemoteBox search (4029553) - Extract preview data from STDOUT in
make_media_preview
(3aa2aa4) - Major Documentation update (see it on ReadTheDocs, 4797bdc)
NOTE: The Version 1.2 will not be able to decrypt & read a files uploaded from Version 1.3!
If you share Box with someone else, then both of you should have the same Protocol ver.
~
The Version 1.3 is backward compatible with the files uploaded from v1.2.
See Full Changelog: v1.2.1...v1.3
P.S.
Sorry for delay with this update. Got some procrastination alongside with abnormal heat in my region.
Redstone in Minecraft played its role too xD
The TGBOX-CLI will be updated to support changes of v1.3 soonely.
Don't forget to check it out, too!
tgbox v1.2.1
This release should fix #30 on big upload/download while v1.3 is still in development.
tgbox v1.2
This is a TGBOX version 1.2. The v1.2
presents a number of important changes, bugfixes and new features
- Logging was added (9f08a22, 79da7df, e99b95b, ...)
- Initialize ELBF and DLBF with ELB and DLB (884249e)
- New
delete_files(...)
coroutine on Local & Remote box (c5f013b) - Fast Box synchronization (ef8d0d5 ~ f03dc25), old Sync algo is fully rewrited and now called a Deep Sync
- Bumped third-party library versions (dd66d18)
- Much better handling Windows paths on Linux and vice versa (9327a71, e39052a, 9135610, dad91ca, 1adfca4, df29233, 9cc34a8, 460fe6a, ... [i really hate those Windows machines (854af41)])
- Metadata updating is not working fine (d4f16d1, e1fb84e, f8bcbc9, dd845a9, ...)
- The
regex
lib was removed from dependencies list (ffdf070) - The
tgbox
now is Python v3.8+ library (607cbb6, 0bbcece) - The default
tgbox.keys.Phrase
words count lowered from 12 to 6 (62dce63) - Adequate versioning (e7af21d, d0728ab, 5408dc0)
- The new
DecryptedLocalBox.get_directory(...)
method (e3d58b1) - The new (& the cool) scope filter (61b10e4, 61b10e4#commitcomment-111715524, 3e54435)
- Special class outside of the
DecryptedLocalBox.prepare_file
to wrap and upload file from the Telegram (32db533),DLB.prepare_file
is now doesn't accept the Telethon'sFile
/Document
object RequestKey
andShareKey
creation process was slightly changed, so now it's impossible to share your Box withtgbox < v1.2
user (see e44dc1c)- Fast fetching files from LocalBox with the ids (b27fef0)
- Make
DecryptedRemoteBox.files()
much faster (b71bcf5) - Heavily increase speed of the Deep Syncing (05ab68c) [like, now it's a lot faster (07baa20, 1e1a82e)]
- Fasten the
clone_remotebox
coro func (9515b36) get_files_count()
in DLB and DRB (41383df) ->get_files_count()
->get_files_total()
(524e8a4)- Allow to upload empty files (a9bae4b)
- Always close
TgboxDB
to prevent API freeze (1e9eb83, ...) - Explicit set and raise error on too big file size (28e8604)
- And many, many bugfixes!
See full Changelog: v1.1.1...v1.2
Can we call this release as stable? Plzzzzzzz...
tgbox v1.2.0 beta 2
v1.2.0b2 Fix bugs in Update Metadata, restore original PPATH_HEAD
tgbox v1.2.0 beta 1
v1.2.0b1 Update version to v1.2.0b1