22 documented changes.

Version
11.0.16.10570
Product
Unity Version Control
Unity Version Control 11.x release notes

Unity Version Control 11.0.16.10570

Official notes

New

  1. Change

    All platforms - All clients: Token-based authentication for UPWorkingMode: Servers configured with UPWorkingMode ( `users.conf` and `groups.conf` ) answer the login with a token, as LDAP servers already do. The client keeps the user and the password in `client.conf` or in the connection profile and caches the token in `tokens.conf` , so the password hash is no longer sent on every call. The client renews an expired token automatically, and replaces a token that the server rejects with a new one from the stored password, without asking for credentials again.

  2. Change

    All platforms - All clients: Token-based authentication for UPWorkingMode: `cm configure` and `cm profile create` accept `--token` together with `--password` on UPWorkingMode: the password goes to the configuration and the token to `tokens.conf` .

  3. Change

    All platforms - All clients: Token-based authentication for UPWorkingMode: `cm passwd` discards the cached token and gets a new one for the new password. Older servers keep working as before: they answer with the password hash and the client uses it on every call.

  4. Change

    All platforms - All clients: Token-based authentication for UPWorkingMode: Refer to cm configure and cm passwd.

  5. Change

    All platforms - Desktop GUI: Toggle to turn off branch colors in the Branch Explorer: The Advanced filters & format options of the Branch Explorer now include an On/Off toggle for branch colors, in the same row as the Add inclusion, Add exclusion, and Add format buttons. When it's off, the Branch Explorer draws every branch in the default color, and keeps your format rules. Turning it on again brings the rule colors back. This helps when taking screenshots to share, since branch colors set for personal use can confuse other people.

  6. Change

    Windows, Linux - Desktop GUI: plastic:// links open in the running Desktop GUI: When the Desktop GUI is already running, opening a `plastic://` link, such as a diff or file link shared in a browser or a chat, now opens it in that running instance instead of starting a new one. A file link reuses the workspace window that is already open for its repository.

    • Windows
    • Linux
  7. Change

    All platforms - Command-line: cm patch no longer needs GNU Diff: `cm patch` now calculates the differences itself, so creating a patch no longer requires GNU Diff to be installed. Applying a patch with `cm patch --apply` still uses the Patch tool.

  8. Change

    All platforms - Command-line: cm patch no longer needs GNU Diff: Patches now use the git diff format, so moved files show up as renames instead of a full delete and add. Applying a patch that renames files needs GNU Patch 2.7 or later.

  9. Change

    All platforms - Command-line: cm patch no longer needs GNU Diff: Changed binary files are now only listed, as `Binary files a/ and b/ differ` , which keeps the patch small and readable. To include their content, so that applying the patch also restores the binary files, add `--include-binaries` :

  10. Change

    All platforms - Command-line: cm patch no longer needs GNU Diff: Refer to cm patch.

  11. Change

    All platforms - Command-line: cm status --format prints changes with a custom format: `cm status` accepts a `--format` option that prints one line for every pending change, with the placeholders of the template replaced. It lists the same changes and status codes as `--machinereadable` , and adds the size, the last modification date, the item type, and the file type, which no other compact output includes. This makes it easy to read the status of large workspaces from scripts and tools without parsing the much larger `--xml` output.

  12. Change

    All platforms - Command-line: cm status --format prints changes with a custom format: `--format` prints only the changes, without the workspace status, so it doesn't contact the server. Refer to cm status.

  13. Change

    All platforms - Server: Personal Access Tokens in UPWorkingMode: UPWorkingMode servers support personal access tokens (PATs). `cm accesstoken create` , `list` , `reveal` , and `revoke` , and the REST endpoints, work once the feature is enabled in `server.conf` :

  14. Change

    All platforms - Server: Personal Access Tokens in UPWorkingMode: From the client, you can use a PAT on its own as the credential, for example `cm repo list --workingmode=UPWorkingMode --token= --server=myserver:8087` . Git access over HTTP with a PAT isn't available yet on UPWorkingMode servers.

Bug

  1. Change

    All platforms - Desktop GUI: Task IDs now sort by number in the task lists: Sorting the ID column of the pending tasks list, in the Create branch dialog (From task tab) and in the Select issues from dialog, compared IDs as text, so task 192 appeared after task 1243. The column now sorts IDs by their numeric value in both directions, and lists IDs that aren't plain numbers after the numeric ones.

  2. Fix

    All platforms - Desktop GUI: Fixed diff view jumping back when scrolled horizontally: In the side-by-side diff, scrolling down while the view was scrolled horizontally could make it jump back several lines when a long line left the view. The left and right panels could also end up a few columns apart until the horizontal scrollbar was dragged again. Both panels now keep their vertical position and stay aligned horizontally.

  3. Change

    All platforms - Desktop GUI: Go to moved code now scrolls to the moved method: In the semantic diff, a method that moved within a file shows a moved icon in both panes. Choosing Go to moved code from the left pane scrolled both panes to the first line instead of to the method's new location on the right. It now scrolls to the moved method.

  4. Fix

    All platforms - Gluon: Fixed check-in failing after renaming a folder with changes inside: Checking in a folder rename together with changes to items inside that folder (renamed, modified, or added files) failed at the end of the operation with an error like "The given key '13566' was not present in the dictionary." The check-in was rolled back, and the only workaround was to split it into several check-ins. This affected both Gluon and `cm partial checkin` . These check-ins now complete successfully.

  5. Fix

    All platforms - Command-line: Fixed cm shell failing to write output to a file: When running `cm shell` with `--shelloutputfile` , commands that download many files, such as `switch` or `update` , could randomly fail with "Destination is too short", or make the whole `cm shell` exit with "Unable to translate Unicode character ... to specified code page". This no longer happens.

  6. Fix

    All platforms - Server: Fixed valid tokens refused while a repository is being deleted: While a repository was being deleted, the server could reject the authentication of a valid user or token for unrelated requests from other users of the same organization. This no longer happens.

  7. Change

    All platforms - TeamCity plugin: Checkout rules with path transformations now applied in agent-side checkout: With agent-side checkout (Always checkout files on agent), the plugin ignored checkout rules that mapped a repository path to a different location (for example, `+:src => code` ). These rules are now applied, so agent-side checkout produces the same directory structure as server-side checkout.

  8. Change

    All platforms - TeamCity plugin: The cloaked.conf file is no longer deleted from the agent's workspace: With agent-side checkout, the plugin deleted the `cloaked.conf` file from the agent's working directory when the build configuration had no checkout rules. The file is now preserved between builds.

Pick your Unity version

Unity Releases compares releases against the version your project is on. Picking it now keeps Compare versions focused on what changes between where you are and where you might be going.