Skip to content

Releases: abraunegg/onedrive

onedrive client version 2.5.0-rc1

10 Mar 00:38
Compare
Choose a tag to compare
Pre-release

Summary of Changes

Important

OneDrive Client for Linux v2.5.0 contains a database schema change to support the additional functionality and bug fixes in the v2.5.x branch. As such, on your first use of this client version, the database schema will be updated and the client will perform an entire re-validation of your data - both locally and online which will take an extended period of time.

Feature Requests

  • Implement Feature Request: Multi-threaded uploading/downloading of files FR-232
  • Implement Feature Request: Renaming/Relocation of OneDrive Business shared folders FR-1251
  • Implement Feature Request: Support the syncing of individual business shared files FR-1300
  • Implement Feature Request: Log when manual Authorization is required when using --auth-files FR-2475
  • Implement Feature Request: Add cmdline parameter to display (human readable) quota status FR-2359
  • Implement Feature Request: Ability to set --disable-download-validation from Docker environment variable FR-2559

Bug Fixes

  • Fix Bug: Business shared folders with same basename get merged BUG-2434
  • Fix Bug: --dry-run prevents authorization BUG-2451
  • Fix Bug: Log timestamps lacking trailing zeros, leading to poor log file output alignment BUG-2479
  • Fix Bug: Subscription ID already exists when using webhooks BUG-2501
  • Fix Bug: Not all files being downloaded when API data includes HTML ASCII Control Sequences BUG-2562
  • Fix Bug: vim backups when editing files cause edited file to be deleted rather than the edited file being uploaded BUG-2586
  • Fix Bug: skip_dir does not always work as intended for all directory entries BUG-2590
  • Fix Bug: Online date being changed in download-only mode BUG-2591
  • Fix Bug: Resolve that upload session are not canceled with resync option BUG-2624
  • Fix Bug: Local files should be safely backed up when the item is not in sync locally to prevent data loss when they are deleted online BUG-2625

Other Changes | Fixes

  • Implement buffered logging so that all logging from all upload & download activities are handled correctly
  • Replace polling monitor loop with blocking wait
  • Update how the application utilises curl to fix socket reuse
  • Various performance enhancements with many thanks to @JC-comp
  • Enforcement of operational conflicts
  • Enforcement of application configuration defaults and minimums
  • Implement application output to detail upload|download failures at the end of a sync process
  • Utilise threadsafe sqlite DB access methods
  • Various code cleanup and optimisations

Documentation

  • Most documentation has been totally overhauled

Documentation List

onedrive client version 2.4.25

21 Jun 05:30
b2bf6aa
Compare
Choose a tag to compare
  • Fixed that the application was reporting as v2.2.24 when in fact it was v2.4.24 (Release Tagging Issue) (#2427)
  • Fixed that the running version obsolete flag (due to above issue) was causing a false flagging as obsolete (#2428)
  • Fixed that zero-byte files do not have a hash as reported by the OneDrive API thus should not generate an error message (#2436)
  • Update to Debian Docker file to resolve Docker image Operating System reported vulnerabilities (#2438)
  • Update to Alpine Docker file to resolve Docker image Operating System reported vulnerabilities (#2438)
  • Update to Fedora Docker file to resolve Docker image Operating System reported vulnerabilities (#2438)
  • Updated documentation (various)

Known Issues:

Outstanding Issues:

Important:
This release has been necessitated by the deprecation of sha1 by Microsoft. This depreciation will occur in July 2023, thus requiring a new v2.4.x release before v2.5.0 is available. Refer to https://devblogs.microsoft.com/microsoft365dev/deprecation-of-sha1hash-on-onedrive-personal/ for details.

onedrive client version 2.4.24

20 Jun 05:15
25cc361
Compare
Choose a tag to compare
  • Added --get-file-link shell completion (#2308)
  • Added ONEDRIVE_SINGLE_DIRECTORY configuration capability to Docker (#2309)
  • Fix for extra encoded quotation marks surrounding Docker environment variables (#2319)
  • Fix webhook subscription creation for SharePoint Libraries (#2339)
  • Fix that a HTTP 504 - Gateway Timeout causes local files to be deleted when using --download-only & --cleanup-local-files mode (#2342)
  • Fix that folders are renamed despite using --dry-run (#2343)
  • Fix deprecation warnings with dmd 2.103.0 (#2364)
  • Updated cgi.d to commit 680003a - last upstream change before requiring core.d dependency requirement (#2364)
  • Update to Fedora Docker file to resolve Docker image Operating System reported vulnerabilities (#2383)
  • Update to Alpine Docker file to resolve Docker image Operating System reported vulnerabilities (#2384)
  • Update to Debian Docker file to resolve Docker image Operating System reported vulnerabilities (#2385)
  • Update Docker files to use gosu 1.16 (#2386)
  • Fix error that the application is unable to perform a database vacuum: out of memory when exiting (#2398)
  • Remove sha1 from being used by the client as this is being depreciated by Microsoft in July 2023 (#2424)
  • Complete the removal of crc32 elements (#2424)
  • Added configuration to allow HTTP session timeout(s) tuning via config (taken from v2.5.x) (#2425)
  • Updated documentation (various)

Known Issues:

Outstanding Issues:

Important:
This release has been necessitated by the deprecation of sha1 by Microsoft. This depreciation will occur in July 2023, thus requiring a new v2.4.x release before v2.5.0 is available. Refer to https://devblogs.microsoft.com/microsoft365dev/deprecation-of-sha1hash-on-onedrive-personal/ for details.

onedrive client version 2.4.23

05 Jan 22:01
b9a239a
Compare
Choose a tag to compare
  • Fixed RHEL7, RHEL8 and RHEL9 Makefile and SPEC file compatibility (#2254, #2256)
  • Disable systemd 'PrivateUsers' due to issues with systemd running processes when option is enabled, causes file deletes on RHEL based systems (#2265)
  • Update --get-O365-drive-id error handling to display a more a more appropriate error message if the API cannot be found (#2266)
  • Update the GitHub version check to utilise the date a release was done, to allow 1 month grace period before generating obsolete version message (#2267, #2269)
  • Update Alpine Dockerfile to use Alpine 3.17 and Golang 1.19 (#2277)
  • Update handling of --source-directory and --destination-directory if one is empty or missing and if used with --synchronize or --monitor (#2278)
  • Updated documentation (various)

Known Issues:

Outstanding Issues:

Important:
This release is the last release for v2.4.x series client, closing out the issues raised post the v2.4.22 release.

All development effort will now switch to v2.5.x.

onedrive client version 2.4.22

05 Dec 22:16
7289834
Compare
Choose a tag to compare
  • Switch Docker 'latest' to point at Debian builds rather than Fedora due to ongoing Fedora build failures (#2165)
  • Remove building Fedora ARMv7 builds due to ongoing build failures (#2165)
  • Align application logging events to actual application defaults for --monitor operations (#2170)
  • Added performance output details for key functions (#2180)
  • Disable non-working remaining sandboxing options within systemd service files (#2205)
  • Fix application crash when local file is changed to a symbolic link with non-existent target (#2211)
  • Performance Improvement: Only check 'sync_list' if this has been enabled and configured (#2213)
  • Performance Improvement: Avoid duplicate costly path calculations and DB operations if not required (#2212, #2214, #2215)
  • Fix build error with dmd-2.101.0 (#2219)
  • Fix build error with LDC 1.28.1 on Alpine (#2220)
  • Fix application crash due to access permissions on configured path for sync_dir (#2225)
  • Fix issue of silent exit when unable to delete local files when using --cleanup-local-files (#2227)
  • Display 'Sync with OneDrive is complete' when using --synchronize (#2229, #2239)
  • Change the order of processing between Microsoft OneDrive restrictions and limitations check and skip_file|skip_dir check (#2238)
  • Fix potential application crash when exiting due to failure state and unable to cleanly shutdown the database (#2244)
  • Fix creation of parent empty directories when parent is excluded by sync_list (#2245)
  • Update config change detection handling (#2246)
  • Updated documentation (various)

Known Issues:

Outstanding Issues:

Important:
This release is the last release for 2022. Unless there are major or urgent bugs identified in this release, anything else will be looked at within the v2.5.x stream.

onedrive client version 2.4.21

26 Sep 19:30
1f4e0e1
Compare
Choose a tag to compare
  • Fix that the download progress bar doesn't always reach 100% when rate_limit is set (#2056)
  • Fix --resync handling of database file removal (#2067, #2155)
  • Add option --display-running-config to display the running configuration as used at application startup (#2064)
  • Add 'config' option to request readonly access in oauth authorization step (#2065)
  • Add GitHub Action Test Build Workflow (replacing Travis CI) (#2069)
  • Fix Makefile to be consistent with permissions that are being used (#2075)
  • Updated --get-O365-drive-id implementation for data access (#2076)
  • Update what application options require an argument (#2082)
  • Fix that logging output for skipped uploaded files is missing (#2094)
  • Change the exit code of the application to 126 when a --resync is required (#2096)
  • Update application logging output for error messages to remove certain \n prefix when logging to a file (#2100)
  • Fix to resolve segfault when running 'onedrive --display-sync-status' when run as 2nd process (#2105)
  • Fix where --resync is enforced for non-sync operations (#2111)
  • Fix to allow non-sync tasks while sync is running (#2112)
  • Add option --cleanup-local-files to cleanup local files regardless of sync state when using --download-only (#2113)
  • Update onedrive.spec.in to fix error building RPM (#2145)
  • Update GUI notification handling for specific skipped scenarios (#2153)
  • Add option --with-editing-perms to create a read-write shareable link when used with --create-share-link (#2154)
  • Fix DMD 2.100.2 depreciation warning (#2156)
  • Updated documentation (various)

Known Issues:

Outstanding Issues:

onedrive client version 2.4.20

20 Jul 10:27
11361c8
Compare
Choose a tag to compare
  • Fix 'foreign key constraint failed' when using OneDrive Business Shared Folders due to change to using /delta query (#2017)
  • Update OneDrive API response handling for National Cloud Deployments (#2023)
  • Updated to switch to using curl defaults for HTTP/2 operations (#2026, #2028)
  • Added 'force_http_11' configuration option to allow forcing HTTP/1.1 operations (#2026)
  • Removed 'force_http_2' configuration option (#2026)
  • Fix various little spelling fixes (check with lintian during Debian packaging) (#2027)
  • Fix handling of a custom configuration directory when using --confdir (#2029)
  • Fix to ensure that any active http instance is shutdown before any application exit (#2035)
  • Increased thread sleep for better process I/O wait handling (#2046)
  • Fix to enforce that --confdir must be a directory (#2051)
  • Updated documentation (various)

Known Issues:

Outstanding Issues:

onedrive client version 2.4.19

15 Jun 02:10
dc8327e
Compare
Choose a tag to compare
  • Update Business Shared Folders to use a /delta query (#1989)
  • Added ONEDRIVE_UPLOADONLY flag for Docker (#2002)
  • Update when DB is updated by OneDrive API data and update when file hash is required to be generated to avoid excessive and constant disk activity (#2004)
  • Updated documentation (various)

Known Issues:

Outstanding Issues:

onedrive client version 2.4.18

02 Jun 08:25
22fda0a
Compare
Choose a tag to compare
  • Fixed various database related access issues steming from running multiple instances of the application at the same time using the same configuration data (#1944, #1955)
  • Updated all Docker build files to current distributions, using updated distribution LDC version (#1945,#1972,#1975,#1976)
  • Updated logging output to logfiles when an actual sync process is occuring (#1947)
  • Fixed --display-config being impacted by --resync flag (#1950)
  • Fixed installation permissions for onedrive man-pages file (#1953)
  • Updated output of --display-config to be more relevant (#1956)
  • Fixed that in some situations that users try --upload-only and --download-only together which is not possible (#1959)
  • Added Feature Request to add an override for skip_dir|skip_file through flag to force sync (#1960)
  • Updated manpage to align with application configuration (#1962)
  • Fixed application crash if unable to read required hash files (#1963)
  • Added a check to validate local filesystem available space before attempting file download (#1971)
  • Updated documentation and Docker files based on minimum compiler versions to dmd-2.088.0 and ldc-1.18.0 (#1972)
  • Added GitHub Actions to build Docker containers and push to DockerHub (#1977)
  • Updated documentation (various)

Known Issues:

Outstanding Issues:

onedrive client version 2.4.17

30 Apr 01:25
66a7b15
Compare
Choose a tag to compare
  • Fix logging output when download failed (#1894)
  • Fix docker build, by add missing git (#1895)
  • Update Internet connect disruption retry handling (#1909)
  • Fix crash when trying to sync broken symbolic link (#1917)
  • Update inotify logging output (#1930)
  • Update local folder creation timestamp with timestamp from OneDrive (#1934)
  • Remove ambiguity on how to access 'help' for the client (#1936)
  • Improve when the local database integrity check is performed and on what frequency (#1938)
  • Updated documentation (various)

Known Issues:

Outstanding Issues: