diff --git a/docs/changes.md b/docs/changes.md index ba160ca620..eb21f56bbf 100644 --- a/docs/changes.md +++ b/docs/changes.md @@ -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 diff --git a/docs/changes/5.1.2.md b/docs/changes/5.2.0.md similarity index 97% rename from docs/changes/5.1.2.md rename to docs/changes/5.2.0.md index 5d2bd8ac16..c8c4cbb15b 100644 --- a/docs/changes/5.1.2.md +++ b/docs/changes/5.2.0.md @@ -1,17 +1,17 @@ -# 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 @@ -19,7 +19,7 @@ Release date: `2021-xx-xx` - [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 @@ -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()` diff --git a/docs/configuration.md b/docs/configuration.md index 316a072ccd..7b439b1394 100644 --- a/docs/configuration.md +++ b/docs/configuration.md @@ -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. * * * @@ -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: diff --git a/nxdrive/__init__.py b/nxdrive/__init__.py index 8b3268246e..2dc33ad5d9 100644 --- a/nxdrive/__init__.py +++ b/nxdrive/__init__.py @@ -26,7 +26,7 @@ """ __author__ = "Nuxeo" -__version__ = "5.1.2" +__version__ = "5.2.0" __copyright__ = """ Copyright Nuxeo (https://www.nuxeo.com) and others. diff --git a/nxdrive/feature.py b/nxdrive/feature.py index b37eba0e3e..327f7611a5 100644 --- a/nxdrive/feature.py +++ b/nxdrive/feature.py @@ -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. """ diff --git a/nxdrive/manager.py b/nxdrive/manager.py index 59322fcfd1..439155889b 100644 --- a/nxdrive/manager.py +++ b/nxdrive/manager.py @@ -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 diff --git a/nxdrive/options.py b/nxdrive/options.py index 879ccc391f..0fab86097d 100644 --- a/nxdrive/options.py +++ b/nxdrive/options.py @@ -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)