release/M2k
Our last release was M2j. Here's a summary of what's new since then:
- New command:
docs.to-html
to generate HTML representations of docs in a namespace - New
getArgs
builtin [example] (Thanks @iamevn!) - Fuzzy find support via
fzf
forcd
,view
, andedit
when run without arguments - Globbing support with
?
as wild card [example] - List dependencies that don't have names within your namespace using
namespace.dependencies
[example] - Improve namespace autocompletion
- Vim plugin: Add completion
- ... aaand more! See the full list of PRs merged below.
See UI changes in https://github.com/unisonweb/codebase-ui/releases/tag/release%2FM2k
Upgrading
How to upgrade from an M1 series codebase
If you're already using an M2 series release (try ucm version
if unsure), you can skip this section.
If you still have a V1 codebase, ucm upgrade-codebase
can be used to upgrade it to the new format. We recommend that you push the converted codebase to a fresh Git repo.
$ ucm upgrade-codebase
... wait a while for this to finish
$ ucm
.> push https://github.com/myusername/myunisoncode2
Where myusername/myunisoncode2
is a fresh Git repo.
If your codebase isn't in the default location (of ~/.unison
), you can pass the --codebase
flag:
$ ucm --codebase /path/to/mycode upgrade-codebase
Let us know in Slack if you encounter any trouble with this.
Fetching the latest base library
.> pull https://github.com/unisonweb/base:.releases._M2k .base_m2k
You can then (optionally) delete.namespace
any old versions of base you have laying around. This will complain if you're still referencing definitions from the old version of base.
If you have definitions that depend on old definitions, you can find that out by doing:
.mycode> todo .base_m2k.patch
If you do have things todo, applying the patch to your namespace will replace the old versions with the new. We recommend forking a copy of your namespace before doing this:
.> fork mycode mycode2
.mycode2> patch .base_m2k.patch
.mycode2> todo .base_m2k.patch
Assuming that reports "Nothing to do", you can delete.namespace mycode
and then delete.namespace
your old version of base. If you encounter any trouble, stop by the Slack in #alphatesting and we can help.
Check out https://github.com/unisonweb/unison/issues?q=is%3Aissue+is%3Aopen+label:P1 to follow current high priority issues being worked on.
Acknowledgements
Thanks to everyone who helped with this release, either by writing code or docs or submitting bug reports. For unisonweb/unison, here's all the folks with commits in this release (alphabetically by first name):
» git shortlog -s --no-merges "release/M2j".."release/M2k" | cut -f 2- | sort -f
Arya Irani
Chris Penner
Cody Allen
Dan Doel
iamevn
Karthik Ravikanti
Mitchell Rosen
Paul Chiusano
Rúnar Bjarnason
satotake
sbachlet
Shawn Bachlet
Simon Højberg
ssbothwell
Also see the contributors for unisonweb.org and contributors for unisonweb/codebase-ui
A number of people contributed to the Unison base library. You can view author information for any definition using the links
command:
.> links base.List.filter Author
1. base.metadata.authors.pete_ts : Author
Tip: Try using `display 1` to display the first result or `view 1` to view its source.
PRs merged since last release
git log --oneline release/M2j..release/M2k | grep 'Merge pull request #'
- #2641 from unisonweb/cp/safer-connection-use
- #2645 from unisonweb/fix-anchors
- #2637 from unisonweb/fix/threadid-cmp
- #2607 from unisonweb/cp/namespace-dependencies
- #2644 from unisonweb/fix-folded-open
- #2643 from unisonweb/fix-paragraph-nesting
- #2634 from unisonweb/21-11-12-codebase-docs
- #2626 from unisonweb/doc-folding-inline-code
- #2633 from unisonweb/21-11-12-lookupWatchCache
- #2616 from unisonweb/21-11-08-deleted-names-in-dependents
- #2625 from unisonweb/topic/reexport-hash
- #2623 from unisonweb/fix/eta-reduction
- #2618 from unisonweb/21-11-09-branch-lenses
- #2619 from unisonweb/render-doc-emoji
- #2610 from unisonweb/21-11-08-ppe
- #2617 from unisonweb/doc-to-html-improvements
- #2600 from unisonweb/21-11-02-push-create
- #2613 from unisonweb/doc-to-html-improvements
- #2612 from unisonweb/fix/2567
- #2604 from solomon-b/trunk
- #2598 from unisonweb/21-11-04-unison-cli-modules
- #2602 from unisonweb/remove-unpack
- #2597 from unisonweb/21-11-05-move-beforeHash
- #1899 from unisonweb/topic/text
- #2595 from unisonweb/21-11-04-format
- #2596 from unisonweb/21-11-04-input-cleanup
- #2594 from unisonweb/fix/transcript-compilation
- #2540 from iamevn/run-with-args
- #2590 from satotake/measure-integraion-tests
- #2592 from ceedubs/vim-help
- #2584 from shawn-bachlet/trunk
- #2579 from ceedubs/vim-completion
- #2578 from unisonweb/cp/no-match-error
- #2581 from unisonweb/format-input-patterns
- #2586 from unisonweb/fix/universal-compare
- #2585 from unisonweb/fix-doc-links
- #2500 from unisonweb/fix/universal-compare
- #2563 from unisonweb/21-10-26-edit-cycle
- #2577 from unisonweb/doc-names-for-rendering-html
- #2576 from unisonweb/doc-names-for-html-files
- #2575 from unisonweb/ensure-folders-exist-for-doc-creation
- #2568 from unisonweb/render-doc-html-files
- #2561 from unisonweb/21-10-28-cons-isnt-monotonic
- #2550 from unisonweb/cp/fzf
- #2562 from unisonweb/work/type-equality
- #2560 from unisonweb/cp/fix-ui-name-scoping
- #2559 from unisonweb/ci-integration-tests
- #2549 from unisonweb/topic/sqlite-operations-exports
- #2554 from unisonweb/fix-doc-images
- #2556 from plumenator/trunk
- #2553 from unisonweb/fix/signature-links
- #2534 from unisonweb/cp/haddock-upload
- #2543 from satotake/add-integration-tests
- #2501 from plumenator/trunk
- #2552 from unisonweb/fix-type-reference-for-terms
- #2548 from unisonweb/21-10-26-delete-old-name
- #2488 from unisonweb/21-10-07-name-refactor
- #2538 from unisonweb/21-10-22-fix-dupe-index-entries
- #2541 from unisonweb/cp/abt-cleanup
- #2544 from unisonweb/topic/weed-hashing-modules
- #2542 from iamevn/trunk
- #2539 from iamevn/rename-package
- #2535 from iamevn/getCurrentDirectory
- #2521 from unisonweb/doc-html
- #2533 from unisonweb/topic/fix2271
- #2529 from unisonweb/21-10-20-base32
- #2525 from unisonweb/cp/git-fix
- #2524 from unisonweb/fix/mvar-read
- #2511 from unisonweb/cp/globbing
- #2523 from unisonweb/21-10-19-empty-add
- #2513 from unisonweb/21-10-18-relation-optimizations
- #2509 from unisonweb/cp/name-renaming
- #2504 from unisonweb/cp/better-namespace-completions
- #2498 from unisonweb/cp/catch-ctrl-c-haskeline
- #2499 from unisonweb/topic/v1-cleanup
- #2494 from unisonweb/topic/standalone-binaries
- #2477 from unisonweb/21-10-07-no-empty-names
- #2486 from unisonweb/cp/no-duplicate-builds
- #2485 from unisonweb/cp/split-cli
- #2484 from unisonweb/cp/add-relation-benchmarks
- #2478 from unisonweb/cp/add-relation-benchmarks
- #2475 from unisonweb/topic/lts-18.13
- #2470 from unisonweb/21-10-06-relation-difference
- #2469 from unisonweb/cp/2453-better-ambiguity-message