Skip to content

Commit 1c78078

Browse files
authored
Release files for 2.5.4 (#3098)
* Release files for 2.5.4
1 parent 7f2d981 commit 1c78078

File tree

5 files changed

+130
-85
lines changed

5 files changed

+130
-85
lines changed

changelog.md

Lines changed: 80 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -2,36 +2,83 @@
22
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
33
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
44

5+
## 2.5.4 - 2025-02-03
6+
7+
### Added
8+
* Implement Feature Request: Support Permanent Delete on OneDrive
9+
* Implement Feature Request: Support the moving of Shared Folder Links to other folders (Business Accounts only)
10+
* Enhancement: Added due to ongoing Ubuntu issues with 'curl' and 'libcurl', updated the documentation to include all relevant curl bugs and affected versions
11+
* Enhancement: Added quota status messages for nearing | critical | exceeded based on OneDrive Account API response
12+
* Enhancement: Added Docker variable to implement a sync once option
13+
* Enhancement: Added configuration option 'create_new_file_version' to force create new versions if that is the desire
14+
* Enhancement: Added support for adding SharePoint Libraries as Shared Folder Links
15+
* Enhancement: Added code and documentation changes to support FreeBSD
16+
* Enhancement: Added a check for the 'sea8cc6beffdb43d7976fbc7da445c639' string in the Microsoft OneDrive Personal Account Root ID response that denotes that the account cannot access Microsoft OneDrive at this point in time
17+
* Enhancement: Added './' sync_list rule check as this does not align to the documentation and these rules will not get matched correctly.
18+
19+
### Changed
20+
* Changed how debug logging outputs HTTP response headers and when this occurs
21+
* Changed when the check for no --sync | --monitor occurs so that this fails faster to avoid setting up all the other components
22+
* Changed isValidUTF8 function to use 'validate' rather than individual character checking and enhance checks including length constraints
23+
* Changed --dry-run authentication message to remove ambiguity that --dry-run cannot be used to authenticate the application
24+
25+
### Fixed
26+
* Fix Regression: Fixed regression that sync_list does not traverse shared directories
27+
* Fix Regression: Fixed regression of --display-config use after fast failing if --sync or --monitor has not been used
28+
* Fix Regression: Fixed regression from v2.4.x in handling uploading new and modified content to OneDrive Business and SharePoint to not create new versions of files post upload which adds to user quota
29+
* Fix Regression: Add back file transfer metrics which was available in v2.4.x
30+
* Fix Regression: Add code to support using 'display_processing_time' for functional performance which was available in v2.4.x
31+
* Fix Bug: Fixed build issue for OpenBSD (however support for OpenBSD itself is still a work-in-progress)
32+
* Fix Bug: Fixed issue regarding parsing OpenSSL and when unable to be parsed, do not force the application to exit
33+
* Fix Bug: Fixed the import of 'sync_list' rules due to OneDriveGUI creating a blank empty file by default
34+
* Fix Bug: Fixed the display of 'sync_list' rules due to OneDriveGUI creating a blank empty file by default
35+
* Fix Bug: Fixed that Business Shared Items shortcuts are skipped as being incorrectly detected as Microsoft OneNote Notebook items
36+
* Fix Bug: Fixed space calculations due to using ulong variable type to ensure that if calculation is negative, value is negative
37+
* Fix Bug: Fixed issue when downloading a file, and this fails due to an API error (400, 401, 5xx), online file is then not deleted
38+
* Fix Bug: Fixed skip_dir logic when reverse traversing folder structure
39+
* Fix Bug: Fixed issue that when using 'sync_list' if a file is moved to a newly created online folder, whilst the folder is created database wise, ensure this folder exists on local disk
40+
* Fix Bug: Fixed path got deleted in handling of move & close_write event when using 'vim'.
41+
* Fix Bug: Fixed that the root Personal Shared Folder is not handled due to missing API data European Data Centres
42+
* Fix Bug: Fixed the the local timestamp is not set when using --disable-download-validation
43+
* Fix Bug: Fixed Upload|Download Loop for AIP Protected File in Monitor Mode
44+
* Fix Bug: Fixed --single-directory Shared Folder DB entry creation
45+
* Fix Bug: Fixed API Bug to ensure that OneDrive Personal Drive ID and Remote Drive ID values are 16 characters, padded by leading zeros if the provided JSON data has dropped these leading zeros
46+
* Fix Bug: Fixed testInternetReachability function so that this always returns a boolean value and not throw an exception
47+
48+
### Updated
49+
* Updated documentation
50+
51+
552
## 2.5.3 - 2024-11-16
653

754
### Added
8-
* Implement Docker ENV variable for --cleanup-local-files
9-
* Setup a specific SIGPIPE Signal handler for curl/openssl generated signals
10-
* Add Check Spelling GitHub Action
11-
* Add passive database checkpoints to optimise database operations
12-
* Ensure application notifies user of curl versions that contain HTTP/2 bugs that impact the operation of this client
13-
* Add OpenSSL version warning
55+
* Implement Feature Request: Implement Docker ENV variable for --cleanup-local-files
56+
* Enhancement: Setup a specific SIGPIPE Signal handler for curl/openssl generated signals
57+
* Enhancement: Add Check Spelling GitHub Action
58+
* Enhancement: Add passive database checkpoints to optimise database operations
59+
* Enhancement: Ensure application notifies user of curl versions that contain HTTP/2 bugs that impact the operation of this client
60+
* Enhancement: Add OpenSSL version warning
61+
* Enhancement: Improve performance with reduced execution time and lower CPU/system resource usage
1462

1563
### Changed
1664
* Specifically use a 'mutex' to perform the lock on database actions
1765
* Update safeBackup to use a new filename format for easier identification: filename-hostname-safeBackup-number.file_extension
1866
* Allow no-sync operations to complete online account checks
1967

2068
### Fixed
21-
* Improve performance with reduced execution time and lower CPU/system resource usage
22-
* Fix that a 'sync_list' entry of '/' will cause a index [0] is out of bounds
23-
* Fix that when creating a new folder online the application generates an exception if it is in a Shared Online Folder
24-
* Fix application crash when session upload files contain zero data or are corrupt
25-
* Fix regression for Docker 'sync_dir' use
26-
* Fix that curl generates a SIGPIPE that causes application to exit due to upstream device killing idle TCP connection
27-
* Fix that skip_dir is not flagging directories correctly causing deletion if parental path structure needs to be created for sync_list handling
28-
* Fix application crash caused by unable to drop table
29-
* Fix that skip_file in config does not override defaults
30-
* Handle DB upgrades from v2.4.x without causing application crash
31-
* Fix a database statement execution error occurred: NOT NULL constraint failed: item.type due to Microsoft OneNote items
32-
* Fix Operation not permitted FileException Error when attempting to use setTimes() function
33-
* Fix that files with no mime type cause sync to crash
34-
* Fix that bypass_data_preservation operates as intended
69+
* Fix Regression: Fix regression for Docker 'sync_dir' use
70+
* Fix Bug: Fix that a 'sync_list' entry of '/' will cause a index [0] is out of bounds
71+
* Fix Bug: Fix that when creating a new folder online the application generates an exception if it is in a Shared Online Folder
72+
* Fix Bug: Fix application crash when session upload files contain zero data or are corrupt
73+
* Fix Bug: Fix that curl generates a SIGPIPE that causes application to exit due to upstream device killing idle TCP connection
74+
* Fix Bug: Fix that skip_dir is not flagging directories correctly causing deletion if parental path structure needs to be created for sync_list handling
75+
* Fix Bug: Fix application crash caused by unable to drop table
76+
* Fix Bug: Fix that skip_file in config does not override defaults
77+
* Fix Bug: Handle DB upgrades from v2.4.x without causing application crash
78+
* Fix Bug: Fix a database statement execution error occurred: NOT NULL constraint failed: item.type due to Microsoft OneNote items
79+
* Fix Bug: Fix Operation not permitted FileException Error when attempting to use setTimes() function
80+
* Fix Bug: Fix that files with no mime type cause sync to crash
81+
* Fix Bug: Fix that bypass_data_preservation operates as intended
3582

3683
### Updated
3784
* Fixed spelling errors across all documentation and code
@@ -99,7 +146,19 @@ A special thankyou to all those who helped with testing and providing feedback d
99146
* 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.
100147
* The application function --download-only no longer automatically deletes local files. Please read the new documentation regarding this feature.
101148

102-
### Changes
149+
### Added
150+
* Implement Feature Request: Multi-threaded uploading/downloading of files
151+
* Implement Feature Request: Renaming/Relocation of OneDrive Business shared folders
152+
* Implement Feature Request: Support the syncing of individual business shared files
153+
* Implement Feature Request: Implement application output to detail upload|download failures at the end of a sync process
154+
* Implement Feature Request: Log when manual Authorization is required when using --auth-files
155+
* Implement Feature Request: Add cmdline parameter to display (human readable) quota status
156+
* Implement Feature Request: Add capability to disable 'fullscan_frequency'
157+
* Implement Feature Request: Ability to set --disable-download-validation from Docker environment variable
158+
* Implement Feature Request: Ability to set --sync-shared-files from Docker environment variable
159+
* Implement Feature Request: file sync (upload/download/delete) notifications
160+
161+
### Changed
103162
* Renamed various documentation files to align with document content
104163
* Implement buffered logging so that all logging from all upload & download activities are handled correctly
105164
* Replace polling monitor loop with blocking wait
@@ -136,18 +195,6 @@ A special thankyou to all those who helped with testing and providing feedback d
136195
* Fix Bug: Fix that 'sync_list' does not include files that should be included, when specified just as *.ext_type
137196
* Fix Bug: Fix 'sync_list' processing so that '.folder_name' is excluded but 'folder_name' is included
138197

139-
### Added
140-
* Implement Feature Request: Multi-threaded uploading/downloading of files
141-
* Implement Feature Request: Renaming/Relocation of OneDrive Business shared folders
142-
* Implement Feature Request: Support the syncing of individual business shared files
143-
* Implement Feature Request: Implement application output to detail upload|download failures at the end of a sync process
144-
* Implement Feature Request: Log when manual Authorization is required when using --auth-files
145-
* Implement Feature Request: Add cmdline parameter to display (human readable) quota status
146-
* Implement Feature Request: Add capability to disable 'fullscan_frequency'
147-
* Implement Feature Request: Ability to set --disable-download-validation from Docker environment variable
148-
* Implement Feature Request: Ability to set --sync-shared-files from Docker environment variable
149-
* Implement Feature Request: file sync (upload/download/delete) notifications
150-
151198
### Updated
152199
* Overhauled all documentation
153200

configure

Lines changed: 35 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#! /bin/sh
22
# Guess values for system-dependent variables and create Makefiles.
3-
# Generated by GNU Autoconf 2.69 for onedrive v2.5.3.
3+
# Generated by GNU Autoconf 2.69 for onedrive v2.5.4.
44
#
55
# Report bugs to <https://github.com/abraunegg/onedrive>.
66
#
@@ -579,8 +579,8 @@ MAKEFLAGS=
579579
# Identity of this package.
580580
PACKAGE_NAME='onedrive'
581581
PACKAGE_TARNAME='onedrive'
582-
PACKAGE_VERSION='v2.5.3'
583-
PACKAGE_STRING='onedrive v2.5.3'
582+
PACKAGE_VERSION='v2.5.4'
583+
PACKAGE_STRING='onedrive v2.5.4'
584584
PACKAGE_BUGREPORT='https://github.com/abraunegg/onedrive'
585585
PACKAGE_URL=''
586586

@@ -593,10 +593,10 @@ ZSH_COMPLETION_DIR
593593
BASH_COMPLETION_DIR
594594
bashcompdir
595595
COMPLETIONS
596+
dynamic_linker_LIBS
597+
bsd_inotify_LIBS
596598
NOTIFICATIONS
597599
notify_LIBS
598-
bsd_inotify_LIBS
599-
dynamic_linker_LIBS
600600
notify_CFLAGS
601601
HAVE_SYSTEMD
602602
systemduserunitdir
@@ -680,8 +680,6 @@ sqlite_CFLAGS
680680
sqlite_LIBS
681681
notify_CFLAGS
682682
notify_LIBS
683-
bsd_inotify_LIBS
684-
dynamic_linker_LIBS
685683
bashcompdir'
686684

687685

@@ -1223,7 +1221,7 @@ if test "$ac_init_help" = "long"; then
12231221
# Omit some internal or obsolete options to make the list less imposing.
12241222
# This message is too long to be a string in the A/UX 3.1 sh.
12251223
cat <<_ACEOF
1226-
\`configure' configures onedrive v2.5.3 to adapt to many kinds of systems.
1224+
\`configure' configures onedrive v2.5.4 to adapt to many kinds of systems.
12271225
12281226
Usage: $0 [OPTION]... [VAR=VALUE]...
12291227
@@ -1284,7 +1282,7 @@ fi
12841282

12851283
if test -n "$ac_init_help"; then
12861284
case $ac_init_help in
1287-
short | recursive ) echo "Configuration of onedrive v2.5.3:";;
1285+
short | recursive ) echo "Configuration of onedrive v2.5.4:";;
12881286
esac
12891287
cat <<\_ACEOF
12901288
@@ -1313,23 +1311,23 @@ Optional Packages:
13131311
Directory for fish completion files
13141312
13151313
Some influential environment variables:
1316-
DC D compiler executable
1317-
DCFLAGS flags for D compiler
1318-
PKG_CONFIG path to pkg-config utility
1319-
PKG_CONFIG_PATH directories to add to pkg-config's search path
1314+
DC D compiler executable
1315+
DCFLAGS flags for D compiler
1316+
PKG_CONFIG path to pkg-config utility
1317+
PKG_CONFIG_PATH
1318+
directories to add to pkg-config's search path
13201319
PKG_CONFIG_LIBDIR
1321-
path overriding pkg-config's built-in search path
1322-
curl_CFLAGS C compiler flags for curl, overriding pkg-config
1323-
curl_LIBS linker flags for curl, overriding pkg-config
1324-
sqlite_CFLAGS C compiler flags for sqlite, overriding pkg-config
1325-
sqlite_LIBS linker flags for sqlite, overriding pkg-config
1326-
notify_CFLAGS C compiler flags for GUI notifications, overriding pkg-config
1327-
notify_LIBS linker flags for GUI notifications, overriding pkg-config
1328-
bsd_inotify_LIBS linker flags for inotify support on BSD
1329-
dynamic_linker_LIBS
1330-
dynamic linker flags for Linux
1331-
bashcompdir value of completionsdir for bash-completion, overriding
1332-
pkg-config
1320+
path overriding pkg-config's built-in search path
1321+
curl_CFLAGS C compiler flags for curl, overriding pkg-config
1322+
curl_LIBS linker flags for curl, overriding pkg-config
1323+
sqlite_CFLAGS
1324+
C compiler flags for sqlite, overriding pkg-config
1325+
sqlite_LIBS linker flags for sqlite, overriding pkg-config
1326+
notify_CFLAGS
1327+
C compiler flags for notify, overriding pkg-config
1328+
notify_LIBS linker flags for notify, overriding pkg-config
1329+
bashcompdir value of completionsdir for bash-completion, overriding
1330+
pkg-config
13331331
13341332
Use these variables to override the choices made by `configure' or to help
13351333
it to find libraries and programs with nonstandard names/locations.
@@ -1397,7 +1395,7 @@ fi
13971395
test -n "$ac_init_help" && exit $ac_status
13981396
if $ac_init_version; then
13991397
cat <<\_ACEOF
1400-
onedrive configure v2.5.3
1398+
onedrive configure v2.5.4
14011399
generated by GNU Autoconf 2.69
14021400
14031401
Copyright (C) 2012 Free Software Foundation, Inc.
@@ -1414,7 +1412,7 @@ cat >config.log <<_ACEOF
14141412
This file contains any messages produced by compilers while
14151413
running configure, to aid debugging if configure makes a mistake.
14161414
1417-
It was created by onedrive $as_me v2.5.3, which was
1415+
It was created by onedrive $as_me v2.5.4, which was
14181416
generated by GNU Autoconf 2.69. Invocation command line was
14191417
14201418
$ $0 $@
@@ -2166,7 +2164,7 @@ fi
21662164
21672165
21682166
2169-
PACKAGE_DATE="November 2024"
2167+
PACKAGE_DATE="February 2025"
21702168
21712169
21722170
@@ -2513,7 +2511,9 @@ else
25132511
fi
25142512
NOTIFICATIONS=$enable_notifications
25152513
2516-
# Check if Linux or BSD Platform to configure the inotify libraries
2514+
2515+
2516+
# Conditionally set bsd_inotify_LIBS based on the platform
25172517
case "$(uname -s)" in
25182518
Linux)
25192519
bsd_inotify_LIBS=""
@@ -2529,10 +2529,10 @@ case "$(uname -s)" in
25292529
;;
25302530
esac
25312531
2532-
# Export the variable for use in the script
2533-
export bsd_inotify_LIBS
25342532
2535-
# Check if Linux or BSD Platform to configure the dynamic linker libraries
2533+
2534+
2535+
# Conditionally set dynamic_linker_LIBS based on the platform
25362536
case "$(uname -s)" in
25372537
Linux)
25382538
dynamic_linker_LIBS="-ldl"
@@ -2542,8 +2542,7 @@ case "$(uname -s)" in
25422542
;;
25432543
esac
25442544
2545-
# Export the variable for use in the script
2546-
export dynamic_linker_LIBS
2545+
25472546
25482547
# Check whether --enable-completions was given.
25492548
if test "${enable_completions+set}" = set; then :
@@ -3194,7 +3193,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
31943193
# report actual input values of CONFIG_FILES etc. instead of their
31953194
# values after options handling.
31963195
ac_log="
3197-
This file was extended by onedrive $as_me v2.5.3, which was
3196+
This file was extended by onedrive $as_me v2.5.4, which was
31983197
generated by GNU Autoconf 2.69. Invocation command line was
31993198
32003199
CONFIG_FILES = $CONFIG_FILES
@@ -3247,7 +3246,7 @@ _ACEOF
32473246
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
32483247
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
32493248
ac_cs_version="\\
3250-
onedrive config.status v2.5.3
3249+
onedrive config.status v2.5.4
32513250
configured by $0, generated by GNU Autoconf 2.69,
32523251
with options \\"\$ac_cs_config\\"
32533252

configure.ac

Lines changed: 14 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ dnl - commit the changed files (configure.ac, configure)
99
dnl - tag the release
1010

1111
AC_PREREQ([2.69])
12-
AC_INIT([onedrive],[v2.5.3], [https://github.com/abraunegg/onedrive], [onedrive])
12+
AC_INIT([onedrive],[v2.5.4], [https://github.com/abraunegg/onedrive], [onedrive])
1313
AC_CONFIG_SRCDIR([src/main.d])
1414

1515

@@ -226,16 +226,18 @@ AC_SUBST([NOTIFICATIONS],$enable_notifications)
226226

227227
dnl
228228
dnl iNotify Support
229-
AC_CANONICAL_HOST
230229

231230
# Conditionally set bsd_inotify_LIBS based on the platform
232-
case "$host_os" in
233-
freebsd*)
234-
bsd_inotify_LIBS="-linotify"
231+
case "$(uname -s)" in
232+
Linux)
233+
bsd_inotify_LIBS=""
234+
;;
235+
FreeBSD)
236+
bsd_inotify_LIBS="-L/usr/local/lib -linotify"
237+
;;
238+
OpenBSD)
239+
bsd_inotify_LIBS="-L/usr/local/lib/inotify -linotify"
235240
;;
236-
openbsd*)
237-
bsd_inotify_LIBS="-linotify"
238-
;;
239241
*)
240242
bsd_inotify_LIBS=""
241243
;;
@@ -247,15 +249,12 @@ dnl
247249
dnl Dynamic Linker Support
248250

249251
# Conditionally set dynamic_linker_LIBS based on the platform
250-
case "$host_os" in
251-
freebsd*)
252-
dynamic_linker_LIBS=""
252+
case "$(uname -s)" in
253+
Linux)
254+
dynamic_linker_LIBS="-ldl"
253255
;;
254-
openbsd*)
255-
dynamic_linker_LIBS=""
256-
;;
257256
*)
258-
dynamic_linker_LIBS="-ldl"
257+
dynamic_linker_LIBS=""
259258
;;
260259
esac
261260

contrib/spec/onedrive.spec.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
%endif
1313

1414
Name: onedrive
15-
Version: 2.5.3
15+
Version: 2.5.4
1616
Release: 1%{?dist}
1717
Summary: OneDrive Client for Linux
1818
Group: System Environment/Network

0 commit comments

Comments
 (0)