Changelog

Learn about the latest updates and bug fixes in CodeRabbit.

Jan 17, 2024

Integration with self-hosted GitLab is now available.


CodeRabbit now offers integration for self-hosted GitLab. Refer the documentation for the setup - https://docs.coderabbit.ai/integrations/self-hosted-gitlab

Jan 2, 2024

Deep Insights feature is out of beta


Working as recursive autonomous agent, CodeRabbit uses shell scripts to perform complex operations on the entire codebase, verifying changes and providing deeper insights.

Here are some uses cases :

  • Want to defer implementing the CodeRabbit suggestion to a later time? Ask the bot the create an issue.

  • Generate unit tests - comment @coderabbitai generate unit tests for the src/utils.ts

  • In PR comments, ask the bot to gather insights on your repository including latest commits, frequently changed files, recent contributors etc

  • When the CodeRabbit review comment is addressed, let the bot know and it can validate with the latest commit.

Really excited to see how this feature gets used, especially with access to the CLI commands. There are some suggestions in the pull request tips but we are looking forward to seeing additional use cases of how developers use this feature. Please consider sharing your experiences.

Dec 18, 2023

Request Changes Workflow


Enable Request Changes review workflow for CodeRabbit reviews via .coderabbit.yaml Yaml field request_changes_workflow (default: false). When enabled, review comments are posted as request changes and CodeRabbit review will be marked approved once all the review comments are resolved.

Dec 5, 2023

Learnings


CodeRabbit can now learn from your conversations to fine-tune your reviews. If you encounter inaccurate feedback or something not relevant to your codebase, just let the bot know, and it will remember the context for the future. We understand that coding practices and standards evolve over time. Using the chat, you can inform the bot, and it will remove any existing learnings that are no longer relevant. This feature does not work, if you have opted out of data storage.


Dec 5, 2023

Codebase Verification


Verifies the reference of the changes on the overall codebase and identifies missing changes.


Dec 5, 2023

Jira and Linear Integrations


You can now integrate Jira and Linear into CodeRabbit. This would be used for additional context while reviewing pull requests. If you use any of these systems, we recommend you integrate CodeRabbit. We will be adding more integrations over time.

Dec 5, 2023

Related Issues


Identifies all issues affected by the code changes. This helps understand the impact on the overall product. It also assists in identifying duplicate issues or the impact on any other existing issues. This feature does not work, if you have opted out of data.


Nov 5, 2023

Issue Validation


Issue Validation:

  • CodeRabbit review can now assess the pull request changes against the linked GitHub or GitLab issue. Integration with other workflow systems including Jira and Linear is under development.


Nov 1, 2023

Committable suggestions


Code review comments:

  • Review comments can now post committable suggestions that can be committed within the pull request with a single click.

Oct 28, 2023

Resolve Command


Resolve Command:

  • Use @coderabbitai resolve to mark all the CodeRabbit review comments as resolved all at once.

Oct 23, 2023

CodeRabbit Commands


Introducing additional CodeRabbit commands for managing code reviews.

  • Pause Reviews:

    • Use @coderabbitai pause in a PR comment to halt ongoing reviews.

  • Resume Reviews:

    • Enter @coderabbitai resume in a PR comment to continue paused reviews.

  • On-Demand Reviews:

    • Disable automatic reviews for your repository to switch to on-demand reviews.

    • Use @coderabbitai review in a PR comment. This command will override all review filters that might be set up in the repository settings and will initiate a one-time review.

  • Help Command:

    • You can at any time post @coderabbitai help in a PR comment to get the list of all valid commands.

Oct 12, 2023

Customization CodeRabbit with YML File


CodeRabbit customizations made easy! You can now customize CodeRabbit using a YML file from your repository. To learn more, refer to our comprehensive documentation on customizing CodeRabbit.

Sep 21, 2023

Path-Based Review Instructions in CodeRabbit


Path based instructions

This section explains how to add custom code review instructions for the entire project or specific file paths in your project using glob patterns. Developers can provide tailored review guidelines based on the file paths. These instructions are needed only if you want the reviewer to follow specific instructions besides the standard review.

Overview

Adding file path prompts allows developers to specify custom instructions for different parts of the codebase. For example, you may want to enforce style guide by file types or directories.

Sample Usage

path: **/*.js

instructions: Review the javascript code against the google javascript style guide and point out any mismatches

path: tests/**.*

instructions: Review the following unit test code written using the Mocha test library. Ensure that: The code adheres to best practices associated with Mocha. Descriptive test names are used to clearly convey the intent of each test.

Notes

  • Paths accept glob patterns.

  • Instructions generally work well for specific additional instructions. However, they are not that effective if you are instructing AI not to do something.

  • Test the review feedback on pull requests and tailor as necessary.

Sep 19, 2023

Introducing CodeRabbit for GitLab Integration


CodeRabbit is now available for GitLab! We know many of you have been waiting for this integration. Thank you for your patience. Sign up for the free trial!

CodeRabbit is an innovative, AI-driven platform that transforms the way code reviews are done. Its automated reviews elevate the code quality while significantly reducing the time and effort tied to extensive manual code reviews.


The platform offers insightful, line-by-line feedback on code changes, suggesting improvements and corrections that can enhance the efficiency and robustness of the code.

Sign up for our newsletter!

CodeRabbit © 2024.

CodeRabbit is an innovative, AI-driven platform that transforms the way code reviews are done. Its automated reviews elevate the code quality while significantly reducing the time and effort tied to extensive manual code reviews.


The platform offers insightful, line-by-line feedback on code changes, suggesting improvements and corrections that can enhance the efficiency and robustness of the code.

Sign up for our newsletter!

CodeRabbit © 2024.

CodeRabbit is an innovative, AI-driven platform that transforms the way code reviews are done. Its automated reviews elevate the code quality while significantly reducing the time and effort tied to extensive manual code reviews.


The platform offers insightful, line-by-line feedback on code changes, suggesting improvements and corrections that can enhance the efficiency and robustness of the code.

Sign up for our newsletter!

CodeRabbit © 2024.