Debian Codegraph @

NEWS

raw
1 megatools 1.11.5 - 2025-07-06
2 =============================
3
4 This release implements mega.nz X-Hashcash to handle 402 status responses
5 as suggested by a user.
6
7 This should handle 402 errors returned by mega.nz.
8
9
10 megatools 1.11.3 - 2025-02-03
11 =============================
12
13 This release changes the location of the project website, and email address
14 of the maintainer across documentation.
15
16
17 megatools 1.11.1 - 2023-02-12
18 =============================
19
20 This is just a bugfix release.
21
22 Fixes:
23
24 - fix folder downloads
25 - fix handling of = in mega URLs
26
27 megatools 1.11.0 - 2022-05-19
28 =============================
29
30 This release introduces new features.
31
32 Improvements:
33
34 - Megatools now install a single `megatools` executable, where former
35 `megaXYZ ...` commands now have to be executed as `megatools XYZ ...`.
36 - Implemented PKP (public key pinning for mega.nz's API server). Megatools
37 no longer use public certificate authorities to verify API server's
38 authenticity. If you use software that MITM's your web traffic, megatools
39 will not allow this anymore.
40 - Windows builds no longer need any special console setup to support UTF-8.
41 It just works out of the box.
42 - Support new public folder URLs in `dl`
43 - Build system moved to meson
44 - New `test` command for checking if file exists
45 - New `export` command for creating public links for private files
46 - Login v2 support
47 - Upload reliability improvements
48
49 Commit list:
50
51 9294db2 Improve support for UTF-8 on windows
52 82833a2 Use g_memdup2
53 4adc57f Try disabling TLS session ID cache (may fix #462)
54 3f59e27 add support for newstyle folders
55 8b759a3 Cleanup the dl range code
56 e299c43 Add range selection to the downloader
57 539ff6f Return status = 2 if uploaded file already exists
58 c0bd7ef Add file exists error type
59 8d91a61 Fix NULL pointer dereference when invoking megatools in some situations
60 57cddce Bump cache format version
61 1737c55 Cleanup login v2 support and fix session caching
62 bf886a4 Add contributed support for v2 login flow
63 e4e8495 dl: Support new link format for individual files inside folders
64 fe6d818 dl: Add support for new link formats
65 8296db8 Update README with new build information/git repository link
66 471a3cf Make doc generator programs optional
67 9e47ad4 Move to meson buildystem
68 eae38e9 Drop github issue template
69 a9af5d8 Update PGP fingerprint
70 1f52c9c We need to follow symlinks on local paths in megatools dl
71 8bbc21c Mark some functions as static
72 32bd83a Change e-mail/website addresses
73 2d9fe44 URL-decode links passed to the dl command #310
74 cc91968 Add --ip-proto and --netif options
75 f19cf39 Add export tool
76 d3e1d58 Add megatools test tool
77 f0bfefd Drop useless ;
78 7735dd2 Fix grammar: data are -> data is
79 99dfea8 Avoid new compiler warnings
80 2c7e2a3 No need to iterate from the beginning when checking for invalid filename
81 4e5ba97 Replace invalid filename characters with _ instead of a space
82 1aeb275 Merge branch 'master' of github.com:megous/megatools
83 956c11a Don't use alloca, avoid unbounded path construction
84 c94277f Merge pull request #428 from 64617/fix-filename
85 c91409c Don't immediately fail on invalid filename
86 2cc7019 Fixes: 'megatools get', Output to STDOUT not working #423
87 1012d6e Updated todo
88 0faba1c Fix megatools rm not removing the child nodes from the fs_nodes
89 65f8afd Don't free nodes too early #417
90 a1c945c dl: Download exported files even if root is not a folder #417
91 2ca921f Merge branch 'master' into x
92 f651ba0 Revert "Support ....?.... URL scheme for single file downloads"
93 d52d0ce Refactor update_pathmap_prune to make it clearer, fix memleaks
94 7f2dcae Merge pull request #417 from mdirik/file-url
95 c78d0d6 Support ....?.... URL scheme for single file downloads
96 8758b65 Sort order of downloads #401
97 8309767 Merge pull request #414 from taiyu-len/master
98 978e4be Show file sizes in pick_nodes
99 28a2fbe Drop libmega mentions #412
100 1ea525e Fix download speed limit not being applied by curl if handle is re-used #380
101 2b68a46 Fix implicitly declared function warnings in shell.c #406
102 3c24b71 Add link for the experimental windows builds
103 f218192 Optimize exported folder filesystem parsing #405
104 0e21e38 Fix megac doc
105 b04961d Fix parameter type to curl_easy_setopt
106 ac07641 Fix for "Hardcoded colors affects readability" #404
107 2255c5d Allow more retries during download (when over quota) #403
108 0346e76 Add git warning/build instructions to autogen.sh
109 548042e Add gc_tool_fini attribute
110 653ba6c Fix alignment of exported links
111 26a7a0d Add docbook-xml dependency #391
112 3459d1f Update issue template
113 1a7e3f4 Update README file for 1.11.0
114 70c624e Don't download data when file already exists when using megadl #386
115 5acf268 Add -std=c99 compiler flag
116 a6df742 Always retry the upload, on any server returned error
117 80e9767 Drop special handling of EAGAIN
118 7827235 Report possibly transient failures from curl as HTTP_ERROR_COMM_FAILURE
119 9c150b3 Bump version to 1.11.0-git
120 3637555 Drop AC_PROG_RANLIB (libtool is enough)
121 f6dcdf5 Don't be too silent
122 095d284 Fix contact information
123 d2c5c38 Improve build instructions #384
124 b304d5c Use libtool to fix static linking
125 d7b9037 Drop option groups
126 a4f638e Fix a couple of typos
127 b95ac5d Updated NEWS/TODO
128 63771cd Drop dead autoconf code
129 4437c0c Update megatools docs for the new command naming scheme
130 852852b Add option to install compat links
131 6cbd650 Build a single binary instead of a binary for each command
132 6736622 Drop accent
133 7ac9569 Bump the year
134 ff0f5f1 We don't use gnutls/glib-networking anymore, drop unnecessary code
135 07ba1f9 Implement public key pinning for the API server
136
137
138 megatools 1.10.2 - 2018-07-31
139 =============================
140
141 This is a bugfix release. This release was sponsored by donations to fix
142 large file downloads and improve download robustness after recent mega.nz
143 API change. Thank you!
144
145 Fixes:
146 - Actually fix connection dropping when downloading big files
147
148 Improvements:
149 - Add DNS resolution cache sharing accross all cURL handles
150 - Increase receive buffer size to 256kB
151
152 megatools 1.10.1 - 2018-07-27
153 =============================
154
155 This is a bugfix release + one feature addition by del1a.
156
157 New features:
158 - Allow to interactively choose which files to download from a public folder via
159 megadl --choose-files
160
161 Fixes:
162 - Connection dropping when downloading big files
163 - Compatibility with older libcurl releases
164 - Fix occasional crashes when starting transfer worker threads
165 - Fix clang compatibility
166
167 megatools 1.10.0 - 2018-07-22
168 =============================
169
170 This release contains new features and optimizaions.
171
172 New features/optimizations:
173 - Chunked upload using up to 16 concurrent connections. Remember, more is not
174 always better.
175 - Improved upload stability. When mega drops or hangs the data connection,
176 megatools will simply restart the upload of the chunk of data that got lost.
177 - 5x AES enryption/decryption speed increase for uploads and downloads. Now
178 it's possible to max out a gigabit connection on a cheap Intel based VPS.
179 - Improved progress reporting wih a summary of the average speed at the end.
180 - You can use --debug http to see all HTTP requests and connections, for
181 debugging connection isues.
182 - Error 509 is reported with explanation.
183 - Implemented automatic resume for interrupted downloads. Megatools now
184 writes data to a temporary file and renames it to the target name, when the
185 download is fully completed. This way you'll notice that download was
186 interrupted by CTRL+C and megatools will not leave half finished work behind.
187 - Add contributed bash auto-completion file by albaldi #368
188 - Add support for authenticated downloads of exported files using megadl #298
189 (So that your account download quota is used instead of public quota.)
190 - Add Upload section and CreatePreviews setting into rc file. Add --enable-previews
191 option.
192 - Add support for megals --print0|-0
193
194 Fixes:
195 - Upload hangs at 100% #366 #360 #365
196 - Don't send tetrminal escape sequences, when redirecting stdout.
197 - Fix comments syntax in megarc man page #359
198 - Use glib's variants of PRIu64, fixes #328
199 - megadl doesn't use account session when downloading folder links #304
200 - Skip symlinked folders when uploading in megacopy #262
201 - Turn on TCP keepalive probes in CURL #271
202 - Fix socks proxy support in megareg (it was not enabled correctly) #287
203 - Fix OpenSSL 1.1 compatibility #263
204 - Fix compiling against libressl
205 - Fix b64_aes128_cbc_encrypt_str string length handling #242
206 - Minor docummentation updates/fixes
207
208 Credits:
209 - Thanks to ERap320, megatools is also available on Chocolatey (see gihub issue
210 #347) (If you want to verify origin of the binaries, because they are not
211 distributed in the officialy signed zip file)
212 - Thanks to christarazi, megatools supports downloading specific sub-nodes of
213 a public folder. (#254)
214
215 Thanks also go to all other contributors for improving documentation, reporting
216 bugs and testing.
217
218 megatools 1.9.98 - 2016-11-03
219 =============================
220
221 Bugfix release with some UI imporvements.
222
223 New features:
224 - Support upload/download speed limit settings
225 - Support socks proxy
226 - Improved progress reporting
227 - Support for OpenSSL 1.1.x
228
229 Removals:
230 - Remove undocummented --abort-on-error option. Tools now always
231 report errors through exit status.
232 - Remove libmega.so public library support and a lot of unused code
233 that was planned to be used for 2.0
234 - Remove megamv (it was never implemented and confused users)
235 - Remove megafs (it was just an experiment and confused users)
236
237 Cleanups:
238 - Cleanup build system a bit
239 - Cleanup CLI option handling, improved --help output
240
241 Fixes:
242 - Enable automatic decompression (CURLOPT_ACCEPT_ENCODING) (by protomouse)
243 (This finally fixes the problem with HTTP compression.)
244 - Exit status from all the tools is now correctly reported
245 - Fix syncing of symlinked files
246 - Support very long passwords in the password prompt (up to 1024 chars)
247
248 megatools 1.9.97 - 2016-02-02
249 =============================
250
251 Bugfix release.
252
253 Fixes:
254 - Mega started compressing HTTP responses to API calls. Megatools now
255 uses libcurl to handle API requests, so HTTP compression is now
256 supproted.
257
258 megatools 1.9.96 - 2016-01-02
259 =============================
260
261 Bugfix release.
262
263 Fixes:
264 - Refer to mega.nz and use mega.nz links instead of deprecated mega.co.nz
265 - Fix various build issues
266
267 megatools 1.9.95 - 2015-04-15
268 =============================
269
270 Bugfix and optimization release.
271
272 Fixes:
273 - Improve compatibility wit older curl (whatever version is in centos 6.5)
274 - Fix regression in megadl: fails to download exported folders #90
275 - Remove megamv as it is not and will not be implemented in 1.9 branch
276 - Slow down progress reporting on windows to once per second #102
277 - Correct the default values in mega_session_load()
278
279 Improvements:
280 - Rename megasync to megacopy to avoid conflict with official mega sync client
281 - Optimize session loading - issue #100
282 - Optimize session loading - further optimization - issue #100
283 - There's no need to use dbus-launcher when running megatools outside running
284 desktop to avoid a warning message.
285
286 megatools 1.9.94 - 2015-01-02
287 =============================
288
289 Bugfix and optimization release.
290
291 Fixes:
292 - Force use of IPv4 addresses
293 - Fix path sanitization so that trailing slashes are ignored
294 - Document config file oddities in megarc manpage
295 - Add info on how to build/install megatools on various distros
296
297 Improvements:
298 - Optimize path handling code so that filesystems with many files are
299 usable. Previously, megatools would hang for quite some time when
300 updating it's path map.
301 - Use non-recursive makefile to build megatools
302
303 megatools 1.9.93 - 2014-10-24
304 =============================
305
306 Added OpenSSL exemption to the license.
307
308 Fixes:
309
310 - megadf now returns correct values
311 - fixed path sanitization in mega_session_stat
312 - raised safety limit os size of POST responses from 32 to 256 MiB
313 - show progress when downloading folder using megadl
314 - optimized buffer allocation during donwload and upload
315 - report details of errors when stream callback fails to read/write file
316 - fix detection of convert executeable for preview generation
317 - allow to disable file previews
318
319 megatools 1.9.92 - 2014-08-24
320 =============================
321
322 Created stable branch for bugfixes. This is the release from the stable
323 branch.
324
325 This release contains mostly small bug fixes. Most important change is
326 that Megatools now recognizes server busy errors as reported by mega.nz
327 via HTTP status 500 Server Is Busy, and retries the communication. This
328 reduces command failures by a lot, and you'll not see 500 Server Is Busy
329 errors anymore.
330
331 Another major news is update to the windows package. There are now two
332 packages for 32bit and 64bit windows platform, and all dlls were updated to
333 their latest versions.
334
335 Other news:
336
337 - Added 64bit windows package
338 - Unmask Megatools to Mega.nz (user Megatools/VERSION User-Agent)
339 - Check for a2x if --enable-docs-build=yes
340 - Megadl now reports file download errors
341 - Add megadl --print-names option
342 - Fix megasync error (issue #45 on github)
343 - Fix megadl used with pipe (--path -) on windows (issue #38)
344 - Installation instructions for Mac
345 - Add info about Gentoo ebuild to the README file (issue #26)
346 - Fix Megatools thumbnails for PDF (issue #5)
347 - Do repeated API calls after 500 Server Is Busy and increase retry delay
348 - Fix issue to download a file with accent with megaget (issue #22)
349
350 megatools 1.9.91 - 2013-04-14
351 =============================
352
353 Please note, that megatools is using GNOME release versioning. That means
354 that in MAJOR.MINOR.PATCH, odd MINOR number signifies development version
355 of the tools. PATCH version is increased on each public release.
356
357 By using odd MINOR versions of the software you are using an unstable
358 branch. That doesn't mean it will be crashing on you, but it may have
359 certain quirks, and oddities, missing or incomplete features, etc.
360
361 Next stable release is going to be 2.0.0.
362
363 To the news:
364
365 - Added man pages for all tools
366 - Removed megastream in favor of mega{dl,get} --path -
367 - Megadf - fix unsigned overflow when server reports 0 total space
368 - Implemented --debug option
369 - Win32: Drop requirement for manual setup of GIO_EXTRA_MODULES
370 - Load certificates from the binaries folder on windows
371 - Enable CA validation for TLS connections
372 - Fix compilation on FreeBSD by adding --enable-warnings
373 - Add note that on FreeBSD GNU make must be used to build the tools
374 - Fix typedef redefinitions (error on older gcc's)
375 - Fix megals --names logic
376 - megaput/megaget/megadl/megasync: --no-progress support
377 - Fix mega_session_dl streaming mode segfault
378 - megamkdir/megarm: Check for required arguments
379 - Pretty print JSON in debug output
380
381 AUR package is available at https://aur.archlinux.org/packages/megatools/
382
383 Ubunut PPA is availble at https://launchpad.net/~megous/+archive/ppa
384
385 If someone wants to take over packaging for Ubuntu or Debian, that would
386 be very appretiated, as my speciality is Arch Linux.
387
388
389 megatools 1.9.90 - 2013-04-11
390 =============================
391
392 Implemented much simpler and faster json parser than json-glib, which was
393 used before. Megatools now use sjson, which you can find at:
394
395 https://github.com/megous/sjson
396
397 Json-glib dependency was thus dropped.
398
399 Initial work on getting rid of dependency on libcurl.
400
401 Initial work on the new libmega library with support for gobject-introspection
402 based bindings to various languages: JavaScript, Python, Ruby, LUA,...
403
404 Experimental implementation of Mega API in JavaScript (gjs), this should help
405 people develop GNOME GUI for Mega in the future.
406
407 New command line tools:
408
409 megafs - mount mega.nz filesystem usong FUSE (Linux only)
410 megamv - move and rename remote files and directories
411
412
413 megatools 1.2.2 - 2013-04-11
414 ============================
415
416 Bugs fixed:
417
418 - Trash and Inbox paths are no longer mixed up (bug reported by Ovidiu)
419 - megadl segfault
420 - megaput --path /Root/nonexistent-file local-file (remote file would get
421 the name of the local file, instead of nonexistent-file)
422 - megals /Root/file-name would return nothing
423 - Segfault with password length over 15 chars
424 - Fix file size parsing to make it work with files over 2GB in size
425
426
427 megatools 1.2.1 - 2013-03-12
428 ============================
429
430 Added support for OpenSUSE 12.1 and newer versions.
431
432 Build libmega statically for binary distribution to ease installation
433 outside of /usr/local.
434
435
436 megatools 1.2.0 - 2013-03-12
437 ============================
438
439 Megatools now support download of shared files and folders.
440
441 Megatools support creating thumbnails for image and video files uploaded
442 to Mega. This is enabled only on Linux, as it requires ffmpegthumbnailer
443 and convert (from ImageMagick package).
444
445 You can now manage your contacts list via:
446
447 - mkdir /Contacts/[email protected]
448 - rm /Contacts/[email protected]
449
450 Exported folders can be downloaded using megadl.
451
452 All tools gained a few more options to help with scripting needs.
453
454 If you don't provide password on command-line or in config file you'll
455 be asked for it when the tool runs.
456
457 Megals tool gained many new options.
458
459 OpenSSL locks are now properly initialized.
460
461
462 megatools 1.1.1 - 2013-03-10
463 ============================
464
465 Binary packages for linux support more Linux distributions. Supported
466 distros include (both 32bit and 64bit editions):
467
468 - Ubuntu LTS 12.04.2 and later
469 - Fedora 17 and later
470 - Current Arch Linux
471 - Suse (with a package for ubuntu)
472 - ...and probably any recent distribution with all dependencies installed
473
474 Package structure was changed to allow easy installation to /usr/local.
475
476 To install, run:
477
478 sudo tar -x -f megatools-1.1.1-i686.tar.gz -C / --no-overwrite-dir
479
480 Tools now use shared library, which you can use to develop your own Mega
481 tools. For example:
482
483 export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig
484
485 gcc -o sample sample.c -Wl,-rpath,/usr/local/lib `pkg-config --cflags --libs libmega`
486
487 Sample source code sample.c can be found in /usr/local/share/doc/megatools/
488
489 To develop mega apps, you'll need to install development packages on
490 distros like Fedora or Ubuntu. For example on Fedora:
491
492 yum install openssl-devel json-glib-devel libcurl-devel glib2-devel
493
494 Or on Ubuntu:
495
496 apt-get install libssl-dev libjson-glib-dev libcurl4-openssl-dev gcc make pkg-config
497
498
499 megatools 1.1.0 - 2013-03-09
500 ============================
501
502 Megareg tool is now implemented, and can be used to register new
503 accounts without the need for Mega website. Unless you login to
504 Mega, Mega will never be able to get your password key.
505
506 Tools don't show version banner anymore, unless asked for via
507 --version option.
508
509 Megadl learned to handle SIGPIPE if server drops connection,
510 and megadl tries to write into a closed socket.
511
512
513 megatools 1.0.0 - 2013-03-08
514 ============================
515
516 This is initial public release of megatools. Current features are:
517
518 - Local caching of remote session/filesystem information
519 for faster execution. Cache is encrypted with your password
520 key.
521 - Support for configuration file to put login information in.
522 This is not wildly secure, but it's convenient.
523 - Initial set of tools to manipulate remote filesystem:
524
525 megadf Show your cloud storage space usage/quota
526 megals List all remote files
527 megamkdir Create remote directory
528 megarm Remove remote file or directory
529 megaput Upload individual files
530 megaget Download individual files
531 megadl Download file from a "public" Mega link
532 (doesn't require login)
533 megastream Streaming download of a file
534 (can be used to preview videos or music)
535 megasync Upload or download a directory tree
536
537 See TODO for features that are comming in the future releases.