Skip to content

Commit

Permalink
NXDRIVE-2616: Release 5.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Mickaël Schoentgen authored and BoboTiG committed May 14, 2021
1 parent a7213a0 commit 88b6bc3
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 14 deletions.
2 changes: 1 addition & 1 deletion docs/changes.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
- [5.0.0](changes/5.0.0.md) ([diff](https://github.com/nuxeo/nuxeo-drive/compare/release-4.5.1...release-5.0.0))
- [5.1.0](changes/5.1.0.md) ([diff](https://github.com/nuxeo/nuxeo-drive/compare/release-5.0.0...release-5.1.0))
- [5.1.1](changes/5.1.1.md) ([diff](https://github.com/nuxeo/nuxeo-drive/compare/release-5.1.0...release-5.1.1))
- [5.1.2](changes/5.1.2.md) ([diff](https://github.com/nuxeo/nuxeo-drive/compare/release-5.1.1...master))
- [5.2.0](changes/5.2.0.md) ([diff](https://github.com/nuxeo/nuxeo-drive/compare/release-5.1.1...release-5.2.0))

## 3.x

Expand Down
12 changes: 6 additions & 6 deletions docs/changes/5.1.2.md → docs/changes/5.2.0.md
Original file line number Diff line number Diff line change
@@ -1,25 +1,25 @@
# 5.1.2
# 5.2.0

Release date: `2021-xx-xx`
Release date: `2021-05-14`

## Core

- [NXDRIVE-826](https://jira.nuxeo.com/browse/NXDRIVE-826): Add OAuth2 capabilities
- [NXDRIVE-826](https://jira.nuxeo.com/browse/NXDRIVE-826): Add OAuth 2 capabilities
- [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
- [NXDRIVE-2371](https://jira.nuxeo.com/browse/NXDRIVE-2371): Secure storage of the token in the database
- [NXDRIVE-2403](https://jira.nuxeo.com/browse/NXDRIVE-2403): Add support for ADFS authentication
- [NXDRIVE-2581](https://jira.nuxeo.com/browse/NXDRIVE-2581): Add the synchronization feature
- [NXDRIVE-2606](https://jira.nuxeo.com/browse/NXDRIVE-2606): Catch `TypeError` in `RemoteFileInfo.from_dict()`
- [NXDRIVE-2607](https://jira.nuxeo.com/browse/NXDRIVE-2607): Handle invalid data returned by the server when asking for a `batchId`
- [NXDRIVE-2609](https://jira.nuxeo.com/browse/NXDRIVE-2609): Handle HTTP 504 errors (Gateway Time-out)
- [NXDRIVE-2609](https://jira.nuxeo.com/browse/NXDRIVE-2609): Handle HTTP 504 (Gateway Time-out) errors
- [NXDRIVE-2610](https://jira.nuxeo.com/browse/NXDRIVE-2610): Remove the `TRACE` logging level, obsolete since 4.1.0
- [NXDRIVE-2612](https://jira.nuxeo.com/browse/NXDRIVE-2612): Save all features state in the local configuration file
- [NXDRIVE-2617](https://jira.nuxeo.com/browse/NXDRIVE-2617): Move to `cryptography` module for cryptography stuff
- [NXDRIVE-2619](https://jira.nuxeo.com/browse/NXDRIVE-2619): Remove `Engine` databases on failed account addition
- [NXDRIVE-2620](https://jira.nuxeo.com/browse/NXDRIVE-2620): Ignore `RuntimeError: wrapped C/C++ object of type LinkingAction has been deleted` in `Action.finish()`
- [NXDRIVE-2622](https://jira.nuxeo.com/browse/NXDRIVE-2622): Fix parsing of paths in local configuration file
- [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()`
- [NXDRIVE-2624](https://jira.nuxeo.com/browse/NXDRIVE-2624): Handle HTTP 408 errors (Request Timeout)
- [NXDRIVE-2624](https://jira.nuxeo.com/browse/NXDRIVE-2624): Handle HTTP 408 (Request Timeout) errors
- [NXDRIVE-2627](https://jira.nuxeo.com/browse/NXDRIVE-2627): Add support for OpenID Connect Discovery
- [NXDRIVE-2630](https://jira.nuxeo.com/browse/NXDRIVE-2630): [Windows] Cannot use UNC paths for the `nxdrive_home` parameter
- [NXDRIVE-2631](https://jira.nuxeo.com/browse/NXDRIVE-2631): Refetch local configuration on `nxdrive_home` change
Expand Down Expand Up @@ -90,8 +90,8 @@ Release date: `2021-xx-xx`
- Updated `Engine.uiChanged` signal signature from `()` to `(str)`
- Updated `EngineModel.authChanged` signal signature from `()` to `(str)`
- Updated `EngineModel.uiChanged` signal signature from `()` to `(str)`
- Added `Feature.synchronization`
- Added `restart_needed` keyword argument to `FeatureModel.__init__()`
- Added `Feature.synchronization`
- Added `FeatureModel.restart_needed` property.
- Added `Manager.get_engine_db()`
- Added `Manager.remove_engine_dbs()`
Expand Down
6 changes: 3 additions & 3 deletions docs/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -527,9 +527,9 @@ If set to `False`, nothing will be downloaded/uploaded/synchronized but Direct E

- Default value (bool): `False`
- Version added: 4.4.0
- Version changed: 5.1.2, changed from `True` to `False`
- Version changed: 5.2.0, changed from `True` to `False`

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

* * *

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

Here is how to tweak features via the local configuration file:
Expand Down
2 changes: 1 addition & 1 deletion nxdrive/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"""

__author__ = "Nuxeo"
__version__ = "5.1.2"
__version__ = "5.2.0"
__copyright__ = """
Copyright Nuxeo (https://www.nuxeo.com) and others.
Expand Down
2 changes: 1 addition & 1 deletion nxdrive/feature.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
- s3 (4.4.2)
Allow or disallow using Amazon S3 direct uploads.
- synchronization (5.1.2)
- synchronization (5.2.0)
Enable or disable the synchronization features.
"""
Expand Down
2 changes: 1 addition & 1 deletion nxdrive/manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ def __init__(self, home: Path, /) -> None:
Options.locale = user_locale

# Backward-compatibility: handle synchronization state early
if version_le(__version__, "5.1.2"):
if version_le(__version__, "5.2.0"):
sync_enabled = self.dao.get_config("synchronization_enabled")
if sync_enabled is not None:
# Note: no need to handle the case where the sync is disabled because it is the default behavior
Expand Down
2 changes: 1 addition & 1 deletion nxdrive/options.py
Original file line number Diff line number Diff line change
Expand Up @@ -621,7 +621,7 @@ def _validate_exec_profile(value: str, /) -> str:

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

0 comments on commit 88b6bc3

Please sign in to comment.