Skip to content

Commit feb3d96

Browse files
authored
Release files for 2.4.0 (#833)
* Release files for 2.4.0
1 parent 6f85d53 commit feb3d96

File tree

5 files changed

+40
-14
lines changed

5 files changed

+40
-14
lines changed

CHANGELOG.md

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

6+
## 2.4.0 - 2020-03-22
7+
### Fixed
8+
* Fixed how the application handles 429 response codes from OneDrive (critical update)
9+
* Fixed building on Alpine Linux under Docker
10+
* Fixed how the 'username' is determined from the running process for logfile naming
11+
* Fixed file handling when a failed download has occured due to exiting via CTRL-C
12+
* Fixed an unhandled exception when OneDrive throws an error response on initialising
13+
* Fixed the handling of moving files into a skipped .folder when skip_dotfiles = true
14+
* Fixed the regex parsing of response URI to avoid potentially generating a bad request to OneDrive, leading to a 'AADSTS9002313: Invalid request. Request is malformed or invalid.' response.
15+
16+
### Added
17+
* Added a Dockerfile for building on Rasberry Pi / ARM platforms
18+
* Implement Feature: warning on big deletes to safeguard data on OneDrive
19+
* Implement Feature: delete local files after sync
20+
* Implement Feature: perform skip_dir explicit match only
21+
* Implement Feature: provide config file option for specifying the Client Identifier
22+
23+
### Changed
24+
* Updated the 'Client Identifier' to a new Application ID
25+
26+
### Updated
27+
* Updated relevant documentation (README.md, USAGE.md) to add new feature details and clarify existing information
28+
* Update completions to include the --force-http-2 option
29+
* Update to always log when a file is skipped due to the item being invalid
30+
* Update application output when just authorising application to make information clearer
31+
* Update logging output when using sync_list to be clearer as to what is actually being processed and why
32+
633
## 2.3.13 - 2019-12-31
734
### Fixed
835
* Change the sync list override flag to false as default when not using sync_list

configure

Lines changed: 10 additions & 10 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.4.0-dev.
3+
# Generated by GNU Autoconf 2.69 for onedrive v2.4.0.
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.4.0-dev'
583-
PACKAGE_STRING='onedrive v2.4.0-dev'
582+
PACKAGE_VERSION='v2.4.0'
583+
PACKAGE_STRING='onedrive v2.4.0'
584584
PACKAGE_BUGREPORT='https://github.com/abraunegg/onedrive'
585585
PACKAGE_URL=''
586586

@@ -1217,7 +1217,7 @@ if test "$ac_init_help" = "long"; then
12171217
# Omit some internal or obsolete options to make the list less imposing.
12181218
# This message is too long to be a string in the A/UX 3.1 sh.
12191219
cat <<_ACEOF
1220-
\`configure' configures onedrive v2.4.0-dev to adapt to many kinds of systems.
1220+
\`configure' configures onedrive v2.4.0 to adapt to many kinds of systems.
12211221
12221222
Usage: $0 [OPTION]... [VAR=VALUE]...
12231223
@@ -1278,7 +1278,7 @@ fi
12781278

12791279
if test -n "$ac_init_help"; then
12801280
case $ac_init_help in
1281-
short | recursive ) echo "Configuration of onedrive v2.4.0-dev:";;
1281+
short | recursive ) echo "Configuration of onedrive v2.4.0:";;
12821282
esac
12831283
cat <<\_ACEOF
12841284
@@ -1389,7 +1389,7 @@ fi
13891389
test -n "$ac_init_help" && exit $ac_status
13901390
if $ac_init_version; then
13911391
cat <<\_ACEOF
1392-
onedrive configure v2.4.0-dev
1392+
onedrive configure v2.4.0
13931393
generated by GNU Autoconf 2.69
13941394
13951395
Copyright (C) 2012 Free Software Foundation, Inc.
@@ -1406,7 +1406,7 @@ cat >config.log <<_ACEOF
14061406
This file contains any messages produced by compilers while
14071407
running configure, to aid debugging if configure makes a mistake.
14081408
1409-
It was created by onedrive $as_me v2.4.0-dev, which was
1409+
It was created by onedrive $as_me v2.4.0, which was
14101410
generated by GNU Autoconf 2.69. Invocation command line was
14111411
14121412
$ $0 $@
@@ -2158,7 +2158,7 @@ fi
21582158
21592159
21602160
2161-
PACKAGE_DATE="December 2019"
2161+
PACKAGE_DATE="March 2020"
21622162
21632163
21642164
@@ -3138,7 +3138,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
31383138
# report actual input values of CONFIG_FILES etc. instead of their
31393139
# values after options handling.
31403140
ac_log="
3141-
This file was extended by onedrive $as_me v2.4.0-dev, which was
3141+
This file was extended by onedrive $as_me v2.4.0, which was
31423142
generated by GNU Autoconf 2.69. Invocation command line was
31433143
31443144
CONFIG_FILES = $CONFIG_FILES
@@ -3191,7 +3191,7 @@ _ACEOF
31913191
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
31923192
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
31933193
ac_cs_version="\\
3194-
onedrive config.status v2.4.0-dev
3194+
onedrive config.status v2.4.0
31953195
configured by $0, generated by GNU Autoconf 2.69,
31963196
with options \\"\$ac_cs_config\\"
31973197

configure.ac

Lines changed: 1 addition & 1 deletion
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.4.0-dev], [https://github.com/abraunegg/onedrive], [onedrive])
12+
AC_INIT([onedrive],[v2.4.0], [https://github.com/abraunegg/onedrive], [onedrive])
1313
AC_CONFIG_SRCDIR([src/main.d])
1414

1515

docs/INSTALL.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
## Linux Packages
44
This project has been packaged for the following Linux distributions:
55

6-
* Fedora, simply install with `sudo dnf install onedrive`
6+
* Fedora, available via package repositories as [onedrive](https://koji.fedoraproject.org/koji/packageinfo?packageID=26044)
77
* Arch Linux, available from AUR as [onedrive-abraunegg](https://aur.archlinux.org/packages/onedrive-abraunegg/)
88
* Debian, available from the package repository as [onedrive](https://packages.debian.org/sid/net/onedrive)
99
* Slackware, available from the slackbuilds.org repository as [onedrive](https://slackbuilds.org/repository/14.2/network/onedrive/)
@@ -14,7 +14,7 @@ This project has been packaged for the following Linux distributions:
1414
Distribution packages may be of an older release when compared to the latest release that is [available](https://github.com/abraunegg/onedrive/releases). If a package is out of date, please contact the package maintainer for resolution.
1515

1616
#### Important information for Ubuntu users:
17-
Whilst there are [onedrive](https://packages.ubuntu.com/search?keywords=onedrive&searchon=names&suite=all&section=all) packages available for Ubuntu, **DO NOT INSTALL 'onedrive' FROM THE AVAILABLE UBUNTU PACKAGES**. The packages are out of date and should never be used. Compile from source for all Ubuntu platforms. If you are passionate about changing this, consider publishing the up-to-date release on a PPA. Instructions [here](https://itsfoss.com/ppa-guide/) (or become the package manager for onedrive!)
17+
Whilst there are [onedrive](https://packages.ubuntu.com/search?keywords=onedrive&searchon=names&suite=all&section=all) packages available for Ubuntu, **DO NOT INSTALL 'onedrive' FROM THE AVAILABLE UBUNTU PACKAGES**. The packages are out of date and should not be used. Compile from source for all Ubuntu platforms. If you are passionate about changing this, consider publishing the up-to-date release on a PPA. Instructions [here](https://itsfoss.com/ppa-guide/) (or become the Ubuntu package manager for onedrive!)
1818

1919
## Build Requirements
2020
* Build environment must have at least 1GB of memory & 1GB swap space

src/onedrive.d

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -946,7 +946,6 @@ final class OneDriveApi
946946
// 400 - Bad Request
947947
case 400:
948948
// Bad Request .. how should we act?
949-
log.vlog("OneDrive returned a 'HTTP 400 - Bad Request' - gracefully handling error");
950949
// make sure this is thrown so that it is caught
951950
throw new OneDriveException(http.statusLine.code, http.statusLine.reason, response);
952951

0 commit comments

Comments
 (0)