Releases: abraunegg/onedrive
onedrive client version 2.5.2
Summary of Changes
Important
OneDrive Client for Linux v2.5.x 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 any v2.5.x 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 may take an extended period of time.
Caution
OneDrive Client for Linux v2.5.x introduces significant changes and is not backwards compatible with v2.4.x. Please ensure that you do not use both v2.5.x and v2.4.x clients with the same Microsoft OneDrive account simultaneously - whether on the same or different systems. If you upgrade to v2.5.x, all your clients must be updated to this version. However, you can revert to v2.4.x at any time if necessary, but do not run different versions at the same time on any system.
Caution
The application has been completely re-written in version 2.5.x, leading to changes in how many features and functions operate compared to version 2.4.x. OneDrive Business Shared Folder Sync is one of the features that has been fully revamped. If you are using this feature, it is crucial to read the updated documentation thoroughly.
Additionally, when using the --download-only function, this no longer automatically deletes local files by default. Please ensure you review the new documentation carefully to understand how all application options now operate as there may be both major and subtle changes to the options that you currently utilise.
Feature Requests
- Enhancement: Added 15 second sleep to systemd services to allow d-bus daemon to start and be available if present (#2762)
Bug Fixes
- Fix Bug: Application crash unable to correctly process a timestamp that has fractional seconds (#2852)
- Fix Bug: Fixed application logging output of Personal Shared Folder incorrectly advising there is no free space
Other Changes | Fixes
- Updated documentation
Known Issues:
- Refer to known-issues.md
Outstanding Issues:
- Refer to Open Issues
onedrive client version 2.5.1
Caution
DO NOT USE .. CONTAINS A MAJOR TIMESTAMP ISSUE BUG
Summary of Changes
Feature Requests
- Enhancement: Add --enable-debug to Docker files when building client application (#2811)
- Enhancement: Update Debian Dockerfile to use 'curl' from backports so a more modern curl version is used (#2831)
- Enhancement: Don't print the d-bus WARNING if disable_notifications is set on cmd line or in config (#2840)
Bug Fixes
- Fix Regression of extra quotation marks when using ONEDRIVE_SINGLE_DIRECTORY with Docker (#2823)
- Fix Regression that --remove-source-files doesn’t work (#2830)
- Fix Regression that real-time synchronization is not occurring when using --monitor and sync_list (#2832)
- Fix Bug: Application crash when run synchronize due to negative free space online (#2806)
- Fix Bug: Application crash when attempting to read timestamp from database as invalid data was written (#2810, #2813, #2822, #2829)
- Fix Bug: Application crash when performing a URL dedocde (#2815)
- Fix Bug: Application crash when using sync_list and Personal Shared Folders the root folder fails to present the item id (#2835)
Other Changes | Fixes
- Updated documentation (various)
Known Issues:
- Refer to known-issues.md
Outstanding Issues:
- Refer to Open Issues
onedrive client version 2.5.0
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 may take an extended period of time.
Caution
OneDrive Client for Linux v2.5.0 introduces significant changes and is not backwards compatible with v2.4.x. Please ensure that you do not use both v2.5.0 and v2.4.x clients with the same Microsoft OneDrive account simultaneously - whether on the same or different systems. If you upgrade to v2.5.0, all your clients must be updated to this version. However, you can revert to v2.4.x at any time if necessary, but do not run different versions at the same time on any system.
Caution
The application has been completely re-written in version 2.5.0, leading to changes in how many features and functions operate compared to version 2.4.x. OneDrive Business Shared Folder Sync is one of the features that has been fully revamped. If you are using this feature, it is crucial to read the updated documentation thoroughly.
Additionally, when using the --download-only function, this no longer automatically deletes local files by default. Please ensure you review the new documentation carefully to understand how all application options now operate as there may be both major and subtle changes to the options that you currently utilise.
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: Implement application output to detail upload|download failures at the end of a sync process FR-2457
- 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: Add capability to disable 'fullscan_frequency' FR-2313
- Implement Feature Request: Ability to set --disable-download-validation from Docker environment variable FR-2559
- Implement Feature Request: Ability to set --sync-shared-files from Docker environment variable FR-2680
- Implement Feature Request: file sync (upload/download/delete) notifications FR-2760
Bug Fixes
- Fix Bug: Upload only not working with Business shared folders BUG-2379
- 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: --display-sync-status does not work when OneNote sections (.one files) are in your OneDrive. BUG-2578
- 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 download_only = "true" and cleanup_local_files = "true" also deletes files present online BUG-2612
- 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
- Fix Bug: Files with newer timestamp are not chosen as version to be kept BUG-2626
- Fix Bug: Synced file is removed when updated on the remote while being processed by onedrive BUG-2699
- Fix Bug: Cannot select/filter within Personal Shared Folders BUG-2731
- Fix Bug: HTML encoding requires to add filter entries twice BUG-2740
- Fix Bug: Uploading files using fragments stuck at 0% BUG-2747
- Fix Bug: Implement safeguard when sync_dir is missing and is re-created data is not deleted online BUG-2755
- Fix Bug: Fix that --get-sharepoint-drive-id does not handle a SharePoint site with more than 200 entries BUG-2771
- Fix Bug: Fix that 'sync_list' does not include files that should be included, when specified just as *.ext_type BUG-2784
- Fix Bug: Fix that 'sync_list' does not allow to exclude '.folder_name' and include 'folder_name' BUG-2796
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
- Implement refactored OneDrive API logic with many thanks to @JC-comp
- Enforcement of operational conflicts
- Enforcement of application configuration defaults and minimums
- Utilise threadsafe sqlite DB access methods
- Various code cleanup and optimisations
Documentation
- Most documentation has been totally overhauled
onedrive client version 2.5.0-rc3
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.
Caution
OneDrive Client for Linux v2.5.0 introduces significant changes and is not backwards compatible with v2.4.x. Please ensure that you do not use both v2.5.0 and v2.4.x clients with the same Microsoft OneDrive account simultaneously - whether on the same or different systems. If you upgrade to v2.5.0, all your clients must be updated to this version. However, you can revert to v2.4.x at any time if necessary, but do not run different versions at the same time on any system.
Caution
OneDrive Business Shared Folder Sync has been 100% re-written in v2.5.0. If you are using this feature, please read the new documentation carefully.
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: Implement application output to detail upload|download failures at the end of a sync process FR-2457
- 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: Add capability to disable 'fullscan_frequency' FR-2313
- Implement Feature Request: Ability to set --disable-download-validation from Docker environment variable FR-2559
- Implement Feature Request: Ability to set --sync-shared-files from Docker environment variable FR-2680
Bug Fixes
- Fix Bug: Upload only not working with Business shared folders BUG-2379
- 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: --display-sync-status does not work when OneNote sections (.one files) are in your OneDrive. BUG-2578
- 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 download_only = "true" and cleanup_local_files = "true" also deletes files present online BUG-2612
- 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
- Fix Bug: Files with newer timestamp are not chosen as version to be kept BUG-2626
- Fix Bug: Synced file is removed when updated on the remote while being processed by onedrive BUG-2699
- Fix Bug: Cannot select/filter within Personal Shared Folders BUG-2731
- Fix Bug: HTML encoding requires to add filter entries twice BUG-2740
- Fix Bug: Uploading files using fragments stuck at 0% BUG-2747
- Fix Bug: Fix that --get-sharepoint-drive-id does not handle a SharePoint site with more than 200 entries BUG-2771
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
- Implement refactored OneDrive API logic with many thanks to @JC-comp
- Enforcement of operational conflicts
- Enforcement of application configuration defaults and minimums
- Utilise threadsafe sqlite DB access methods
- Various code cleanup and optimisations
Documentation
- Most documentation has been totally overhauled
Documentation List
- Advanced Usage
- Application Config Options
- Application Security
- Build RPM How-To
- Business Shared Items
- Client Architecture
- Code Contributions
- Docker Installation
- Install
- Known Issues
- National Cloud Deployments
- Podman Installation
- Privacy Policy
- SharePoint Libraries
- Terms of Service
- Ubuntu Package Install
- Usage
onedrive client version 2.5.0-rc2
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.
Caution
OneDrive Client for Linux v2.5.0 is not backwards compatible. Do not use v2.5.0 and v2.4.x applications at the same time against the same Microsoft OneDrive account. If using v2.5.0, you must upgrade all your clients to v2.5.0
Caution
OneDrive Business Shared Folder Sync has been 100% re-written in v2.5.0. If you are using this feature, please read the new documentation carefully.
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
- Implement Feature Request: Ability to set --sync-shared-files from Docker environment variable FR-2680
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
- Implement refactored OneDrive API logic 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.5.0-rc1
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.
Caution
OneDrive Client for Linux v2.5.0 is not backwards compatible. Do not use v2.5.0 and v2.4.x applications at the same time against the same Microsoft OneDrive account. If using v2.5.0, you must upgrade all your clients to v2.5.0
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
- Implement Feature Request: Ability to set --sync-shared-files from Docker environment variable FR-2680
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
- 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:
- Refer to known-issues.md
Outstanding Issues:
- Refer to Open 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
- 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:
- Refer to known-issues.md
Outstanding Issues:
- Refer to Open 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
- 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:
- Refer to known-issues.md
Outstanding Issues:
- Refer to Open 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
- 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:
- Refer to known-issues.md
Outstanding Issues:
- Refer to Open 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.