Closed thomasdavis closed 1 month ago
Latest commit: b3712d74e74fe175c209c4339efd88309ef15767
Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.
Click here to learn what changesets are, and how to add one.
Click here if you're a maintainer who wants to add a changeset to this PR
The recent updates involve various modifications across the project, focusing on enhancing functionality, updating configurations, and refining documentation. Key changes include port adjustments for server commands and URLs, updates to the README for better clarity, introduction of new modules and functions for error handling and resume formatting, and upgrades to dependencies and configurations. Additionally, there are updates to the use of the ChatGPTAPI model and ESLint configuration, all aimed at improving overall project robustness and usability.
File Path | Change Summary |
---|---|
.github/workflows/ci.yml |
Adjusted the port number from 3002 to 3000 and removed Ruby bundler cache setup. |
README.md |
Updated project descriptions, paths, environment variables, and URLs. |
apps/registry/lib/error/buildError.js |
Introduced error code constants, messages, and a function to construct error objects. |
apps/registry/lib/formatters/formatters.js |
Added a module exporting various formatter functions. |
apps/registry/lib/formatters/template.js |
Removed the stackoverflowed theme from the THEMES export. |
apps/registry/lib/generateResume.js |
Introduced a function to generate resumes based on user input and validate schema. |
apps/registry/lib/getResumeGist.js |
Added a function to retrieve a user's resume gist from GitHub. |
apps/registry/lib/schema.js |
Introduced a JSON schema for structuring resume data. |
apps/registry/pages/api/[payload].js |
Refactored file type handling, resume generation logic, and response handling. |
apps/registry/pages/api/letter.js |
Updated the ChatGPTAPI model to 'gpt-4o' with a temperature setting of 0.85. |
apps/registry/pages/api/suggestions.js |
Updated the ChatGPTAPI model to 'gpt-4o' with a temperature setting of 0.9. |
apps/registry/pages/api/theme/[theme].js |
Updated the import path for the template module. |
apps/registry/pages/api/themes.js |
Updated the import path for the THEMES constant. |
apps/registry/playwright.config.js |
Changed the webServer URL from 'http://localhost:3002' to 'http://localhost:3000'. |
apps/registry/src/ui/Layout.js |
Changed the data-id attribute value in a <script> tag. |
apps/registry/tests/render.spec.js |
Updated a test URL from 'http://localhost:3002/thomasdavis' to 'http://localhost:3000/thomasdavis'. |
themes/papirus/.eslintrc |
Modified ESLint configuration to use "custom/react" instead of "custom" . |
[!TIP]
New Features and Improvements
## Review Settings Introduced new personality profiles for code reviews. Users can now select between "Chill" and "Assertive" review tones to tailor feedback styles according to their preferences. The "Assertive" profile posts more comments and nitpicks the code more aggressively, while the "Chill" profile is more relaxed and posts fewer comments. ## AST-based Instructions CodeRabbit offers customizing reviews based on the Abstract Syntax Tree (AST) pattern matching. Read more about AST-based instructions in the [documentation](https://docs.coderabbit.ai/guides/review-instructions#ast-based). ## Community-driven AST-based Rules We are kicking off a community-driven initiative to create and share AST-based rules. Users can now contribute their AST-based rules to detect security vulnerabilities, code smells, and anti-patterns. Please see the [ast-grep-essentials](https://github.com/coderabbitai/ast-grep-essentials) repository for more information. ## New Static Analysis Tools We are continually expanding our support for static analysis tools. We have added support for `biome`, `hadolint`, and `ast-grep`. Update the settings in your `.coderabbit.yaml` file or head over to the settings page to enable or disable the tools you want to use. ## Tone Settings Users can now customize CodeRabbit to review code in the style of their favorite characters or personalities. Here are some of our favorite examples: - Mr. T: "You must talk like Mr. T in all your code reviews. I pity the fool who doesn't!" - Pirate: "Arr, matey! Ye must talk like a pirate in all yer code reviews. Yarrr!" - Snarky: "You must be snarky in all your code reviews. Snark, snark, snark!" ## Revamped Settings Page We have redesigned the settings page for a more intuitive layout, enabling users to find and adjust settings quickly. This change was long overdue; it not only improves the user experience but also allows our development team to add more settings in the future with ease. Going forward, the changes to `.coderabbit.yaml` will be reflected in the settings page, and vice versa. ## Miscellaneous - Turn off free summarization: You can switch off free summarization of PRs opened by users not on a paid plan using the `enable_free_tier` setting. - Knowledge-base scope: You can now set the scope of the knowledge base to either the repository (`local`) or the organization (`global`) level using the `knowledge_base` setting. In addition, you can specify Jira project keys and Linear team keys to limit the knowledge base scope for those integrations. - High-level summary placement: You can now customize the location of the high-level summary in the PR description using the `high_level_summary_placeholder` setting (default `@coderabbitai summary`). - Revamped request changes workflow: You can now configure CodeRabbit to auto-approve or request changes on PRs based on the review feedback using the `request_changes_workflow` setting.
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
The latest updates on your projects. Learn more about Vercel for Git ↗︎