What's Changed
With this version, you can now configure Harmony's comment when it requests review based on its heuristic. Previously, the comment was either enabled (with an at-mention to the requested user) or disabled. Now you can disable it, or enable it with an at-mention to the requested user or using the requested user's name. The new comment with name option may be preferable for some organizations because there is no notification tied to the comment itself like there would be with a mention.
harmony config commentOnRequest none
is the same as harmony config commentOnRequest no
used to be.
harmony config commentOnRequest at-mention
is the same as harmony config commentOnRequest yes
used to be.
harmony config commentOnRequest name
is the the new setting to comment and use the requested user's name instead of mentioning them.
This version also adds support for harmony contribute --list
which lists a number of PRs you may want to review instead of only operating on one PR at a time.
Non-breaking
Breaking
- Support for the deprecated
assign
command has been removed. Use the equivalentrequest
(orrq
) command instead. This command was renamed around the time of the previous major release. - Support for the following deprecated configuration options has been removed:
assignUsers
(renamedrequestUsers
)assignTeams
(renamedrequestTeams
)commentOnAssign
(renamedcommentOnRequest
).
If you are coming from a Harmony version prior to 4.0.0, the easiest way to update is to install Harmony 4.4.0, run harmony sync
, and then install Harmony 5.x. This will automatically migrate your configuration file(s). Alternatively, you can manually edit harmony.json
to rename the above configuration keys.
Full Changelog: 4.4.0...5.0.0
Install via npm
with npm install --global @mattpolzin/harmony
or by downloading the attached harmony-npm.tar.gz
file, extracting, and then running npm install -g
from the unzipped folder to install globally on your system. Use in a nix
shell (assuming flakes are enabled) with nix shell github:mattpolzin/harmony
.
You can build the source with Idris 2 v0.7.0
or the latest HEAD of the main Idris 2 branch.