Skip to main content

Changelog


Reviewpad v3.8.0

Improvements 🚀

  • Support escaped strings on reviewpad.yml file.

Example:

$comment("<a href=\"https://reviewpad.com/discord\">Join our Discord server</a>")

Bugs 🐛

  • Support for the schedule event.
  • Run Reviewpad on safe mode when changing reviewpad.yml file.

Reviewpad v3.7.0

New features 🔥

Aladino Built-ins

Functions

reviewers - Returns the list of GitHub user login that have reviewed the pull request.

totalCodeReviews - Returns the total number of code reviews made by the given GitHub user login.

Improvements 🚀

  • Update the label in the repository with the description defined in the reviewpad.yml if they are different.
  • Rename previous reviewers built-in to requestedReviewers.

Reviewpad v3.6.0

New features 🔥

Aladino Built-ins

Functions

any - Determines if any element of a slice satisfies a given predicate.

all - Determines if all elements of a slice satisfy a given predicate.

hasGitConflicts - Determines if the pull request has git conflicts.

Improvements 🚀

  • Do not re-request a review when the reviewer has already approved the review.

Reviewpad v3.5.0

Improvements 🚀

Reviewpad

  • Allow number sign in label color hex values.

Aladino Language

  • Restrict typed expressions to lambda parameters.

Example:

($dev: String => $isElementOf($dev, $team("security"))))

Aladino Built-ins

Functions

  • Add excluded patterns to size built-in.

Example:

rules:
- name: size-without-lock-files
spec: $size(["*.lock"]) < 50

Actions

  • close issue/pull request with comment.

Reviewpad v3.4.0

New features 🔥

Reviewpad

Aladino Language

Lambda expressions - Aladino now supports lambda functions.

Aladino Built-ins

Functions

addToProject - Adds a pull request to a project with a particular status. It is not supported for GitHub issues. issueCountBy - Returns the total number of issues created by the given GitHub user and issue state. pullRequestCountBy - Returns the total number of pull requests created by the given GitHub user and state.

Actions

titleLint - Checks if the pull request title follows the conventional commits specification.

Improvements 🚀

  • Fix issue_comment event handling to support GitHub issues and pull requests.

Reviewpad v3.3.1

New features 🔥

Reviewpad

  • Feature: Support for workflows on issues using the on field in the workflows. Check use case for workflow in issues here.

  • Feature: All built-ins are now open source.

Aladino Built-ins

Functions

lastEventAt - Returns the timestamp of the last event in the timeline.

Reviewpad v3.2.0

New features 🔥

Aladino Built-ins

Functions

hasUnaddressedThreads - Verifies whether the pull request has review threads that aren't either resolved or outdated.

Utilities

sprintf - Returns a formatted string.

Actions

addToProject - Adds a pull request to a project with a particular status.

Improvements 🚀

  • Report simplified to a list of triggered action.

Reviewpad v3.1.0

New features 🔥

Aladino Built-ins

Functions

reviewerStatus - Returns the status of a reviewer in the pull request.

hasUnaddressedReviewThreads - Verifies whether the pull request has review threads that are unaddressed.

isWaitingForReview - Verifies whether a pull request is waiting for review.

length - Returns the length of an array.

Actions

disableActions - Disables the list of Aladino actions passed as argument.

Improvements 🚀

  • Do not re-request a review when the reviewer has already approved the review.
  • Run reviewpad on dry-run when the configuration reviewpad.yml has been updated in the pull request.
  • Added reviewpad-cli to run reviewpad commands.

Bugs 🐛

  • Do not create labels when running on dry-run

Reviewpad v3.0.0 (Faro)

New features 🔥

This is a major version of the Reviewpad Action.

Action

  • Feature: Use GitHub event to react to more workflow run triggers beside pull_request and pull_request_target.
  • Feature: Allow file as input of the GitHub action.

Aladino Built-ins

Functions

workflowStatus - Returns the result of a GitHub workflow run.


Reviewpad v2.4.0

New features 🔥

Aladino Built-ins

Action

commitLint - Checks if the commits in the pull request follow the conventional commits specification.


Reviewpad v2.3.0

New features 🔥

Aladino Built-ins

Action

assignAssignees - Assigns up to 10 assignees to a pull request.

fail - Fails the action with a given fail message which will appear in the logs of the GitHub action.

Functions

commentCount - Returns the total number of comments made into the pull request.

comments - List comment bodies of the pull request.


Reviewpad v2.2.0

New features 🔥

YAML Specification

  • ignore-errors property - Specify if the GitHub action should ignore execution errors. The default value is false which means the action will fail if an error occurs.
  • labels now have a name property - Allow readable references to labels. For instance, a label can how have spaces or emojis.

Aladino Built-ins

Action

Improvements 🚀

YAML Processing

  • Fix labels section processing by creating the label in the repository whenever the defined label does not exist.

Aladino Built-ins

Action

  • assignRandomReviewer - Fetches assignees instead of collaborators. This is because GitHub API does not provide the correct list of reposittory collaborators when using GitHub Action token.
  • addLabel - Automatically creates the label if it does not exist and uses the labels section to retrieve name.
  • removeLabel - Uses the labels section to retrieve name.

New Contributors 🍻

Many thanks to our new contributors 👏


Reviewpad v2.1.0

New features 🔥

Aladino Built-ins

Action

Improvements 🚀

  • Fix report when on silent mode.

Reviewpad v2.0.0 (Lisbon)

New features 🔥

YAML Specification

  • Groups and rules are now lists instead of sets.

Improvements 🚀

  • Fix LICENSE in open source files
  • Fix 'hasLinearHistory' built-in
  • Improve linter for rules and groups
  • Fix dynamic groups

Reviewpad v1.2.0

Improvements 🚀

  • Add program to reviewpad run's output.

Reviewpad v1.1.0

New features 🔥

Aladino Built-ins

Functions

  • rule - Evaluates a rule.

Improvements 🚀

  • Fix bug in report information of a rule.

Reviewpad v1.0.0 (Porto)

New features 🔥

YAML Specification

  • Updated protectionGates syntax to workflows format.
  • Edition property

Aladino Language

  • Timestamps - RFC3339 timestamps or relative timestamps.

Aladino Built-ins

Actions

  • close - Closes a pull request.
  • comment - Adds a comment to the pull request.
  • error - Add a message to the errors section of the report.
  • info - Add a message to the info section of the report.
  • warn - Add a message to the warnings section of the report.

Functions

  • changed - Checks for correlations between file patterns.

Reviewpad v0.0.4

New features 🔥

Aladino Built-ins

Functions

  • team - Returns the members of a team (*)
(*) Requires GitHub token

Please note that this function requires the Reviewpad Action to be installed with a GitHub token


Reviewpad v0.0.3

Improvements 🚀

Revy

  • actions on protetionGates are now optional
  • Skips execution if revy.yml file does not exist in repository

Aladino Actions

  • assignReviewer by default assigns to all provided reviewers

Reviewpad v0.0.2

New features 🔥

Revy

  • Label specification

Aladino Built-ins

Functions

  • contains
  • description
  • hasLinkedIssues
  • title

Actions

  • removeLabel

Improvements 🚀

Revy

  • Stop execution if head branch does not exist.

Aladino Actions

  • assignReviewer accepts number of reviewers as argument
  • assignRandomReviewer skips run if there are reviewer assigned
  • addLabel returns error if label does not exist

Reviewpad v0.0.1

Reviewpad v0.0.1. Check out the initial Revy Specification