Release Notes

Public

10.0.16.6656: Mar 03 2022

New

Windows - Visual Studio 2022 plugin: Show semantic information in CodeLens

This new release enhances the plugin for Visual Studio 2022 showing semantic information above every class, method or property in your Plastic SCM projects!

The CodeLens annotations above every class, method or property in files controlled by Plastic SCM will show semantic information about its last change. This includes the change type, user who modified it, and change date.

Keep in mind that this feature will only show up in semantic-available files (C#, C, C++) that are in a Plastic SCM Workspace.

See it for yourself!

This new feature will be installed as part of the Visual Studio 2022 Plastic SCM extension if you select the option during the Plastic SCM installation process. Once installed, the Plastic SCM CodeLens provider can be enable/disable from Tools > Options > Text Editor - All Languages - CodeLens > Show Plastic SCM

New

Windows - Visual Studio 2022 plugin: Show semantic history in CodeLens

This new release takes the CodeLens information in the plugin for Visual Studio 2022 a step further. When you create the Plastic SCM data point above a method, property or type, it will display a list of up to 10 of the last changes in that element. This leverages the semantic technologies in Plastic SCM, showing only changes in the file that affect the annotated element.

Keep in mind that this feature will only show up in semantic-available files (C#, C, C++) that are in a Plastic SCM Workspace.

Take a look here!

This new feature will be installed as part of the Visual Studio 2022 Plastic SCM extension if you select the option during the Plastic SCM installation process. Once installed, the Plastic SCM CodeLens provider can be enable/disable from Tools > Options > Text Editor - All Languages - CodeLens > Show Plastic SCM

New

Command-line client: Pagination/sorting added to 'cm find' command.

Every find object now complies with pagination, defining a 'limit' and an 'offset' to manage the result size and starting point. In addition, some objects (branch, changeset, label, review) will comply with 'order by' clause. Please, kindly refer to the 'cm find --help' and 'cm help showfindobjects' for further details.

For instance, the following command:

cm find label "where owner='me' limit 10 offset 20" 

Displays the 10 labels starting from the 21st where I am the owner.

Another example could be:

cm find branches "where owner='me' order by branchname desc limit 10"

Displays the first 10 branches I created, sorted by name in descendant order.

New

GitSync: Added '--gitpushchunk' parameter to export Plastic repositories to Git in smaller chunks.

This parameter allows to process the push operation (exporting changes from Plastic to Git) in chunks of a certain number of changesets instead of sending all the changes in one single package.

This is only useful for huge repos to avoid network or package size related issues or just for debugging purposes. It uses chunks of 1000 changesets if no value is specified.

cm sync myrepo@server:8087 git https://github.com/rubarax/repo.git --gitpushchunk
cm sync myrepo@server:8087 git https://github.com/rubarax/repo.git --gitpushchunk=100

Bug

Windows - Plastic: fixed Browse Repository view on case insensitive filesystems

Browsing the repository was not working correctly because we were failing to distinguish items where the name differed only in case. E.g., "FILE" and "file". This is because we were using the local filesystem path comparison rules, which on Windows meant we were doing a case insensitive comparison.

We fixed it to do a case sensitive comparison.

Bug

All clients: trigger environment variables are now properly set.

For before/after update triggers, PLASTIC_INITIAL_CHANGESET and PLASTIC_FINAL_CHANGESET environment variables were swapped, considering the final changeset as the origin and vice versa when using [console]cm ci --update[/console] command. It was also noticeable when clicking the "Update workspace" button on the Incoming Changes view.

Now it is fixed.

Bug

All platforms - Plastic, PlasticX, Gluon: fixed exception thrown when parsing help panel markup

Malformed release note markup was causing the GUI to throw an exception when showing the help panel. We protected against that.

Bug

All platforms - Plastic: Changed Plastic alpha version notification text

The notification text to try the new GUI has been improved.

Bug

Windows - PlasticFS: Fix 'The file is being used by another process' error.

We improved the ability of PlasticFS to work with antimalware software. Before, PlasticFS were unable to access some files from time to time, showing an error message like the following one:

Can't open locally stored file
There was an error opening file 'library.dll' from the local cache: The process cannot access the file 'C:\Users\john\AppData\Local\plastic4\plasticfs-storage\plasticfs-workspace-storage\plasticfs-wk-xxx\xxx\xxx' because it is being used by another process.

Bug

Cloud Server: Fixed deadlock requesting branches of a deleted repo.

The cloud server uses file & memory locks to handle concurrent access to the Jet files. If the file lock failed because the repository was deleted from disk, then the memory lock was acquired forever a no other thread could acquire it.

This was a corner scenario since it's very uncommon to run calls against a repo that was deleted from disk.

Alpha bug

All platforms - PlasticX: fixed the recycling in the pending changes tree

We fixed the recycling in the tree for the pending changes view. Now, each time you refresh the view, the cell controls for the expander column in the tree are recycled instead of creating them again.

Alpha bug

All platforms - PlasticX: Home icon now drawn on switch to branch with new changesets

We fixed the switch to branch functionality on the Branch Explorer view so that it correctly updates the Home icon in the case where changes were made on the target branch since the last time the view was refreshed.

Alpha bug

All platforms - PlasticX: Branch explorer search didn't focus branches properly.

There was an issue in the way branches rectangles were calculated, so when you search for a branch in the Branch Explorer, and the zoom level was big, the branch was not focused properly. Now it's fixed and the search was as expected.

Alpha bug

All platforms - PlasticX: Changed Switch workspace shortcut

The Switch workspace context menu shortcut has been changed from:

* Windows & Linux: Ctrl+W to Shift+Ctrl+W

* Mac: Cmd+W to Shift+Cmd+W

Alpha bug

Windows - PlasticX: Don't clear query history when using old GUI

We had a compatibility issue between the classic Plastic GUI and the new PlasticX GUI (alpha): when running a query from one of the GUIs, all the query history from the other GUI was removed. Now both applications are compatible, and the query history is kept when changing between them.

Alpha bug

All platforms - PlasticX: Fixed a memory leak in pending changes view.

Fixed a bug that caused the memory to grow every time the Pending Changes view was refreshed.

Alpha bug

macOS - PlasticX: Fix missing keyboard shortcut in the main menu

Actions -> "Switch To" keyboard shortcut was missing, this is now fixed

Alpha bug

All platforms - PlasticX: Fix keyboard shortcut not working in changesets view

We fixed a keyboard shortcut in changesets view: when trying to diff several changesets, keyboard shortcut was not working