Skip to content

Commit 88b6bc3

Browse files
Mickaël SchoentgenBoboTiG
authored andcommitted
NXDRIVE-2616: Release 5.2.0
1 parent a7213a0 commit 88b6bc3

7 files changed

Lines changed: 14 additions & 14 deletions

File tree

docs/changes.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
- [5.0.0](changes/5.0.0.md) ([diff](https://github.com/nuxeo/nuxeo-drive/compare/release-4.5.1...release-5.0.0))
2626
- [5.1.0](changes/5.1.0.md) ([diff](https://github.com/nuxeo/nuxeo-drive/compare/release-5.0.0...release-5.1.0))
2727
- [5.1.1](changes/5.1.1.md) ([diff](https://github.com/nuxeo/nuxeo-drive/compare/release-5.1.0...release-5.1.1))
28-
- [5.1.2](changes/5.1.2.md) ([diff](https://github.com/nuxeo/nuxeo-drive/compare/release-5.1.1...master))
28+
- [5.2.0](changes/5.2.0.md) ([diff](https://github.com/nuxeo/nuxeo-drive/compare/release-5.1.1...release-5.2.0))
2929

3030
## 3.x
3131

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,25 @@
1-
# 5.1.2
1+
# 5.2.0
22

3-
Release date: `2021-xx-xx`
3+
Release date: `2021-05-14`
44

55
## Core
66

7-
- [NXDRIVE-826](https://jira.nuxeo.com/browse/NXDRIVE-826): Add OAuth2 capabilities
7+
- [NXDRIVE-826](https://jira.nuxeo.com/browse/NXDRIVE-826): Add OAuth 2 capabilities
88
- [NXDRIVE-2332](https://jira.nuxeo.com/browse/NXDRIVE-2332): Poll for the `batchId` on a regular basic to prevent its purgation from the transient store
99
- [NXDRIVE-2371](https://jira.nuxeo.com/browse/NXDRIVE-2371): Secure storage of the token in the database
1010
- [NXDRIVE-2403](https://jira.nuxeo.com/browse/NXDRIVE-2403): Add support for ADFS authentication
1111
- [NXDRIVE-2581](https://jira.nuxeo.com/browse/NXDRIVE-2581): Add the synchronization feature
1212
- [NXDRIVE-2606](https://jira.nuxeo.com/browse/NXDRIVE-2606): Catch `TypeError` in `RemoteFileInfo.from_dict()`
1313
- [NXDRIVE-2607](https://jira.nuxeo.com/browse/NXDRIVE-2607): Handle invalid data returned by the server when asking for a `batchId`
14-
- [NXDRIVE-2609](https://jira.nuxeo.com/browse/NXDRIVE-2609): Handle HTTP 504 errors (Gateway Time-out)
14+
- [NXDRIVE-2609](https://jira.nuxeo.com/browse/NXDRIVE-2609): Handle HTTP 504 (Gateway Time-out) errors
1515
- [NXDRIVE-2610](https://jira.nuxeo.com/browse/NXDRIVE-2610): Remove the `TRACE` logging level, obsolete since 4.1.0
1616
- [NXDRIVE-2612](https://jira.nuxeo.com/browse/NXDRIVE-2612): Save all features state in the local configuration file
1717
- [NXDRIVE-2617](https://jira.nuxeo.com/browse/NXDRIVE-2617): Move to `cryptography` module for cryptography stuff
1818
- [NXDRIVE-2619](https://jira.nuxeo.com/browse/NXDRIVE-2619): Remove `Engine` databases on failed account addition
1919
- [NXDRIVE-2620](https://jira.nuxeo.com/browse/NXDRIVE-2620): Ignore `RuntimeError: wrapped C/C++ object of type LinkingAction has been deleted` in `Action.finish()`
2020
- [NXDRIVE-2622](https://jira.nuxeo.com/browse/NXDRIVE-2622): Fix parsing of paths in local configuration file
2121
- [NXDRIVE-2623](https://jira.nuxeo.com/browse/NXDRIVE-2623): Ignore `RuntimeError: wrapped C/C++ object of type QueueManager has been deleted` in `QueueManager.push_error()`
22-
- [NXDRIVE-2624](https://jira.nuxeo.com/browse/NXDRIVE-2624): Handle HTTP 408 errors (Request Timeout)
22+
- [NXDRIVE-2624](https://jira.nuxeo.com/browse/NXDRIVE-2624): Handle HTTP 408 (Request Timeout) errors
2323
- [NXDRIVE-2627](https://jira.nuxeo.com/browse/NXDRIVE-2627): Add support for OpenID Connect Discovery
2424
- [NXDRIVE-2630](https://jira.nuxeo.com/browse/NXDRIVE-2630): [Windows] Cannot use UNC paths for the `nxdrive_home` parameter
2525
- [NXDRIVE-2631](https://jira.nuxeo.com/browse/NXDRIVE-2631): Refetch local configuration on `nxdrive_home` change
@@ -90,8 +90,8 @@ Release date: `2021-xx-xx`
9090
- Updated `Engine.uiChanged` signal signature from `()` to `(str)`
9191
- Updated `EngineModel.authChanged` signal signature from `()` to `(str)`
9292
- Updated `EngineModel.uiChanged` signal signature from `()` to `(str)`
93-
- Added `Feature.synchronization`
9493
- Added `restart_needed` keyword argument to `FeatureModel.__init__()`
94+
- Added `Feature.synchronization`
9595
- Added `FeatureModel.restart_needed` property.
9696
- Added `Manager.get_engine_db()`
9797
- Added `Manager.remove_engine_dbs()`

docs/configuration.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -527,9 +527,9 @@ If set to `False`, nothing will be downloaded/uploaded/synchronized but Direct E
527527

528528
- Default value (bool): `False`
529529
- Version added: 4.4.0
530-
- Version changed: 5.1.2, changed from `True` to `False`
530+
- Version changed: 5.2.0, changed from `True` to `False`
531531

532-
The option is deprecated since 5.1.2 and will be removed in a future release. Use `feature.synchronization` instead.
532+
The option is deprecated since 5.2.0 and will be removed in a future release. Use `feature.synchronization` instead.
533533

534534
* * *
535535

@@ -638,7 +638,7 @@ Available features:
638638
| `auto_updates` | true | 4.4.2 | Allow or disallow auto-updates.
639639
| `direct_edit` | true | 4.4.2 | Allow or disallow Direct Edit.
640640
| `direct_transfer` | true | 4.4.2 | Allow or disallow Direct Transfer.
641-
| `synchronization` | false | 5.1.2 | Enable or disable the synchronization features.
641+
| `synchronization` | false | 5.2.0 | Enable or disable the synchronization features.
642642
| `s3` | true | 4.4.2 | Allow or disallow using Amazon S3 direct uploads.
643643

644644
Here is how to tweak features via the local configuration file:

nxdrive/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
"""
2727

2828
__author__ = "Nuxeo"
29-
__version__ = "5.1.2"
29+
__version__ = "5.2.0"
3030
__copyright__ = """
3131
Copyright Nuxeo (https://www.nuxeo.com) and others.
3232

nxdrive/feature.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
- s3 (4.4.2)
1919
Allow or disallow using Amazon S3 direct uploads.
2020
21-
- synchronization (5.1.2)
21+
- synchronization (5.2.0)
2222
Enable or disable the synchronization features.
2323
2424
"""

nxdrive/manager.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ def __init__(self, home: Path, /) -> None:
141141
Options.locale = user_locale
142142

143143
# Backward-compatibility: handle synchronization state early
144-
if version_le(__version__, "5.1.2"):
144+
if version_le(__version__, "5.2.0"):
145145
sync_enabled = self.dao.get_config("synchronization_enabled")
146146
if sync_enabled is not None:
147147
# Note: no need to handle the case where the sync is disabled because it is the default behavior

nxdrive/options.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -621,7 +621,7 @@ def _validate_exec_profile(value: str, /) -> str:
621621

622622
def _callback_synchronization_enabled(new_value: bool) -> None:
623623
log.warning(
624-
"The option is deprecated since 5.1.2 and will be removed in a future release."
624+
"The option is deprecated since 5.2.0 and will be removed in a future release."
625625
" Use 'feature.synchronization' instead."
626626
)
627627
setattr(Options, "feature_synchronization", new_value)

0 commit comments

Comments
 (0)