github unisonweb/unison release/0.5.14

latest releases: trunk-build, release/0.5.47, release/0.5.46...
19 months ago

What's changed:

  • We've implemented the first stage of getting rid of “metadata”.
    • link, links, and unlink commands go away.
    • “default metadata” is no longer applied from your config file on add, nor copied on update.
    • diff.namespace doesn’t report anything about metadata. Note that we used to rely on metadata to exclude uninteresting changes from a diff. That already doesn’t work with the new update process, but we will fix this again eventually.
  • Types are now unique by default, if neither unique nor structural is specified. unique is also left off when viewing the code for a unique type (reported by @ceedubs and others)
  • fork now lets you refer to paths in other branches using project/branch:path syntax. Other commands will support this soon, at which point you hopefully won’t need to go outside of projects for scratch space anymore.
  • UCM no longer searches the global namespace for names not present in or below your current namespace. The upshot is that many commands will complete much more quickly, but you will now see hashes where you would currently see a crazy out-of-scope name. But you wanted to fix that name anyway.
    • This situation is particularly likely when you are cded deeper into your project, into a subnamespace that isn’t completely self-contained, we’re looking into solutions to this. view.global, names.global, and namespace.dependencies will still do a global search. view and display will use the global names if provided an absolute argument.
  • upgrade command now tells you what file to edit (reported by @stew)
  • edit and other commands which modify your scratch file now uniformly produce output in transcript output.md files. It will show up in an ```unison:added-by-ucm <filename.u> code block.
  • Fixed an issue where numbered args unexpectedly got cleared (reported by @ceedubs)
  • Fixed an issue where sub-types of Doc and [Test.Result] showed up on Share as Docs and Tests when they shouldn’t have.
  • Fixed an issue where update/upgrade produced a scratch file that ambiguously referred to aliases in a way that couldn’t typecheck.
  • Globbing (view foo.?) went away; you probably won’t notice. The improved fzf support introduced in 0.5.13 is nicer anyway.

All PRs since last release

Full Changelog: release/0.5.13...release/0.5.14

Don't miss a new unison release

NewReleases is sending notifications on new releases.