Release Notes

Public

11.0.16.8845: Sep 05 2024

New

All platforms - Command-line client, Desktop GUI: Improved Switch Experience with Pending Changes

Now you can seamlessly bring your pending changes with you when switching workspace configurations, both in the command line and in the Desktop GUI.

When using the Desktop GUI, a prompt will help you to enable this feature. You can also enable it within the Desktop GUI preferences dialog:

ScreenshotScreenshot

And also, by setting the following key and value in your client.conf configuration file:

<PendingChangesOnSwitchAction>Shelve</PendingChangesOnSwitchAction>

Bringing your changes works as follows: when switching your workspace configuration by either using the Desktop GUI or the cm switch and cm partial switch commands, your client will look for pending changes in your workspace. If it finds any, it will ask you what you want to do, and it will present you three options:

* To shelve your pending changes and leave them on the source for future use.

* To bring the changes with you, moving them seamlessly to the destination branch.

* To cancel the operation.

If you choose to shelve your pending changes and leave them on the source, the client will create a shelveset with the changes, then switch your workspace configuration. You can apply the shelveset later on, whenever you want to. If you are using the Desktop GUI, the notifications it provides will indicate you that there are shelved changes and guide you through each step to apply them back, making the process smoother and more intuitive.

If you choose to bring your pending changes, the client will create a shelveset with the changes, then switch your workspace configuration, and finally will try to automatically apply the shelveset, effectively bringing your pending changes with you. If merge conflicts arise, you can choose whether to resolve them or to cancel the operation. Don't worry! If you cannot apply the shelveset, it won't be deleted either, so you can still apply it later on.

ScreenshotScreenshot

Because of output compatibility, this new behavior gets disabled in the command line when using flags such as --machinereadable and --xml. If any of those flags are present, and PendingChangesOnSwitchAction is set to Shelve, the client will temporarily change the configuration value from Shelve to Fail, and you won't be able to change your workspace configuration with pending changes on your workspace. Bear in mind this if you have automated anything on top of the cm command-line client!

New

All Platforms - Desktop GUI: Rename sync view's 'delete src/dst repo' buttons

Some users reported that the 'delete src/dst repo' buttons in the Sync Repositories view were confusing, as they thought it would delete the entire repository instead of just removing it from the sync view. To address this, the button was renamed to 'remove src/dst repo', and additional tooltips were added to clarify the action performed by the buttons.

Bug

Command-line client: Unhandled exception when creating an Xlink outside a workspace directory

Creating an Xlink outside a workspace directory triggered an unhandled exception, printing an unhelpful error message.

> cd .. # exit the workspace directory
> cm xlink -w my_xlink / br:/main@my_repository
Error: Object reference not set to an instance of an object.

Now, the error is handled, and a more apt error message is shown instead:

> cm xlink -w my_xlink / br:/main@my_repository
c:\(...)\my_xlink is not in a workspace.

Bug

All platforms - Command line client: Authentication parameters work again wihout a valid client.conf file in place

Back in version 11.0.16.8782, we broke the possibility of authenticating against a given server using command-line authentication parameters without a valid client.conf file in place. This is now fixed: parameters such as --username and --password work again when the client is not correctly configured:

cm repo list --username=sergio --password="t0p_secret!" --workingmode=LDAPWorkingMode --server="my-organization@cloud"

Bug

All Platforms - Desktop GUI: Expanded/collapsed branches info was lost

When the Branches view was in Tree View mode, performing certain operations caused all child branches to auto-expand, ignoring the user's setup. Now it's fixed.

Bug

All Platforms - Desktop GUI: UI hangs with big minified files

The application previously froze in the pending changes/Diff view when handling minified files (JSON/JavaScript). Now it's fixed. Users can now display and edit these files without causing the UI to hang.

Bug

All platforms - Gluon: Fixed external tool option

When having a custom external tool defined in externaltools.conf, you may define @object as an argument to pass to the tool, and it will be replaced with the path of the selected object.

On Gluon, this path was relative to the workspace, so the custom tool couldn't process the file.

We fixed this behavior to use the absolute path, and now the tool can read the file as expected