fluxninja/openai-pr-reviewer (fluxninja/openai-pr-reviewer)
### [`v1.13.0`](https://togithub.com/coderabbitai/ai-pr-reviewer/releases/tag/1.13.0)
[Compare Source](https://togithub.com/fluxninja/openai-pr-reviewer/compare/1.12.0...1.13.0)
#### What's Changed
- sanitize entire response before parsing comments by [@harjotgill](https://togithub.com/harjotgill) in [https://github.com/coderabbitai/ai-pr-reviewer/pull/416](https://togithub.com/coderabbitai/ai-pr-reviewer/pull/416)
**Full Changelog**: https://github.com/coderabbitai/ai-pr-reviewer/compare/1.12.0...1.13.0
### [`v1.12.0`](https://togithub.com/coderabbitai/ai-pr-reviewer/releases/tag/1.12.0)
[Compare Source](https://togithub.com/fluxninja/openai-pr-reviewer/compare/1.11.0...1.12.0)
#### What's Changed
- single line comments by [@harjotgill](https://togithub.com/harjotgill) in [https://github.com/coderabbitai/ai-pr-reviewer/pull/411](https://togithub.com/coderabbitai/ai-pr-reviewer/pull/411)
- prompt updates by [@harjotgill](https://togithub.com/harjotgill) in [https://github.com/coderabbitai/ai-pr-reviewer/pull/412](https://togithub.com/coderabbitai/ai-pr-reviewer/pull/412)
- prompt updates by [@harjotgill](https://togithub.com/harjotgill) in [https://github.com/coderabbitai/ai-pr-reviewer/pull/413](https://togithub.com/coderabbitai/ai-pr-reviewer/pull/413)
- prompt updates by [@harjotgill](https://togithub.com/harjotgill) in [https://github.com/coderabbitai/ai-pr-reviewer/pull/414](https://togithub.com/coderabbitai/ai-pr-reviewer/pull/414)
**Full Changelog**: https://github.com/coderabbitai/ai-pr-reviewer/compare/1.11.0...1.12.0
### [`v1.11.0`](https://togithub.com/coderabbitai/ai-pr-reviewer/releases/tag/1.11.0)
[Compare Source](https://togithub.com/fluxninja/openai-pr-reviewer/compare/1.10.0...1.11.0)
#### What's Changed
- Update prompts by [@harjotgill](https://togithub.com/harjotgill) in [https://github.com/coderabbitai/ai-pr-reviewer/pull/408](https://togithub.com/coderabbitai/ai-pr-reviewer/pull/408)
- update prompts by [@harjotgill](https://togithub.com/harjotgill) in [https://github.com/coderabbitai/ai-pr-reviewer/pull/409](https://togithub.com/coderabbitai/ai-pr-reviewer/pull/409)
- remove file by [@harjotgill](https://togithub.com/harjotgill) in [https://github.com/coderabbitai/ai-pr-reviewer/pull/410](https://togithub.com/coderabbitai/ai-pr-reviewer/pull/410)
**Full Changelog**: https://github.com/coderabbitai/ai-pr-reviewer/compare/1.10.0...1.11.0
### [`v1.10.0`](https://togithub.com/coderabbitai/ai-pr-reviewer/releases/tag/1.10.0)
[Compare Source](https://togithub.com/fluxninja/openai-pr-reviewer/compare/1.9.0...1.10.0)
#### What's Changed
- Suggestions by [@harjotgill](https://togithub.com/harjotgill) in [https://github.com/coderabbitai/ai-pr-reviewer/pull/404](https://togithub.com/coderabbitai/ai-pr-reviewer/pull/404)
- update prompt by [@harjotgill](https://togithub.com/harjotgill) in [https://github.com/coderabbitai/ai-pr-reviewer/pull/405](https://togithub.com/coderabbitai/ai-pr-reviewer/pull/405)
**Full Changelog**: https://github.com/coderabbitai/ai-pr-reviewer/compare/1.9.0...1.10.0
### [`v1.9.0`](https://togithub.com/coderabbitai/ai-pr-reviewer/releases/tag/1.9.0)
[Compare Source](https://togithub.com/fluxninja/openai-pr-reviewer/compare/1.8.1...1.9.0)
#### What's Changed
- Add Pro version by [@guritfaq](https://togithub.com/guritfaq) in [https://github.com/coderabbitai/ai-pr-reviewer/pull/399](https://togithub.com/coderabbitai/ai-pr-reviewer/pull/399)
- Update README.md by [@guritfaq](https://togithub.com/guritfaq) in [https://github.com/coderabbitai/ai-pr-reviewer/pull/400](https://togithub.com/coderabbitai/ai-pr-reviewer/pull/400)
- update suggestion prompt by [@harjotgill](https://togithub.com/harjotgill) in [https://github.com/coderabbitai/ai-pr-reviewer/pull/402](https://togithub.com/coderabbitai/ai-pr-reviewer/pull/402)
**Full Changelog**: https://github.com/coderabbitai/ai-pr-reviewer/compare/1.8.1...1.9.0
prettier/prettier (prettier)
### [`v3.0.1`](https://togithub.com/prettier/prettier/blob/HEAD/CHANGELOG.md#301)
[Compare Source](https://togithub.com/prettier/prettier/compare/3.0.0...3.0.1)
[diff](https://togithub.com/prettier/prettier/compare/3.0.0...3.0.1)
##### Fix cursor positioning for a special case ([#14812](https://togithub.com/prettier/prettier/pull/14812) by [@fisker](https://togithub.com/fisker))
```js
// <|> is the cursor position
/* Input */
// All messages are represented in JSON.
// So, the prettier.py controls a subprocess which spawns "node {this_file}".
import {<|> } from "fs"
/* Prettier 3.0.0 */
// All messages are represented in JSON.
// So, the prettier.py <|>controls a subprocess which spawns "node {this_file}".
import {} from "fs"
/* Prettier 3.0.1 */
// All messages are represented in JSON.
// So, the prettier.py controls a subprocess which spawns "node {this_file}".
import {<|>} from "fs"
```
##### Fix plugins/estree.d.ts to make it a module ([#15018](https://togithub.com/prettier/prettier/pull/15018) by [@kingyue737](https://togithub.com/kingyue737))
Add `export {}` in `plugins/estree.d.ts` to fix the "File is not a module" error
##### Add parenthesis around leading multiline comment in return statement ([#15037](https://togithub.com/prettier/prettier/pull/15037) by [@auvred](https://togithub.com/auvred))
```jsx
// Input
function fn() {
return (
/**
* @type {...}
*/ expresssion
)
}
// Prettier 3.0.0
function fn() {
return /**
* @type {...}
*/ expresssion;
}
// Prettier 3.0.1
function fn() {
return (
/**
* @type {...}
*/ expresssion
);
}
```
##### Add support for Vue "Generic Components" ([#15066](https://togithub.com/prettier/prettier/pull/15066) by [@auvred](https://togithub.com/auvred))
https://blog.vuejs.org/posts/vue-3-3#generic-components
```vue
```
##### Fix comments print in `IfStatement` ([#15076](https://togithub.com/prettier/prettier/pull/15076) by [@fisker](https://togithub.com/fisker))
```js
function a(b) {
if (b) return 1; // comment
else return 2;
}
/* Prettier 3.0.0 */
Error: Comment "comment" was not printed. Please report this error!
/* Prettier 3.0.1 */
function a(b) {
if (b) return 1; // comment
else return 2;
}
```
##### Add missing type definition for `printer.preprocess` ([#15123](https://togithub.com/prettier/prettier/pull/15123) by [@so1ve](https://togithub.com/so1ve))
```diff
export interface Printer {
// ...
+ preprocess?:
+ | ((ast: T, options: ParserOptions) => T | Promise)
+ | undefined;
}
```
##### Add missing `getVisitorKeys` method type definition for `Printer` ([#15125](https://togithub.com/prettier/prettier/pull/15125) by [@auvred](https://togithub.com/auvred))
```tsx
const printer: Printer = {
print: () => [],
getVisitorKeys(node, nonTraversableKeys) {
return ["body"];
},
};
```
##### Add typing to support `readonly` array properties of AST Node ([#15127](https://togithub.com/prettier/prettier/pull/15127) by [@auvred](https://togithub.com/auvred))
```tsx
// Input
interface TestNode {
readonlyArray: readonly string[];
}
declare const path: AstPath;
path.map(() => "", "readonlyArray");
// Prettier 3.0.0
interface TestNode {
readonlyArray: readonly string[];
}
declare const path: AstPath;
path.map(() => "", "readonlyArray");
// ^ Argument of type '"readonlyArray"' is not assignable to parameter of type '"regularArray"'. ts(2345)
// Prettier 3.0.1
interface TestNode {
readonlyArray: readonly string[];
}
declare const path: AstPath;
path.map(() => "", "readonlyArray");
```
##### Add space before unary minus followed by a function call ([#15129](https://togithub.com/prettier/prettier/pull/15129) by [@pamelalozano](https://togithub.com/pamelalozano))
```less
// Input
div {
margin: - func();
}
// Prettier 3.0.0
div {
margin: -func();
}
// Prettier 3.0.1
div {
margin: - func();
}
```
Configuration
📅 Schedule: Branch creation - "before 4am" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
[ ] If you want to rebase/retry this PR, check this box
This PR has been generated by Mend Renovate. View repository job log here.
This PR contains the following updates:
1.8.1
->1.13.0
3.0.0
->3.0.1
Release Notes
fluxninja/openai-pr-reviewer (fluxninja/openai-pr-reviewer)
### [`v1.13.0`](https://togithub.com/coderabbitai/ai-pr-reviewer/releases/tag/1.13.0) [Compare Source](https://togithub.com/fluxninja/openai-pr-reviewer/compare/1.12.0...1.13.0) #### What's Changed - sanitize entire response before parsing comments by [@harjotgill](https://togithub.com/harjotgill) in [https://github.com/coderabbitai/ai-pr-reviewer/pull/416](https://togithub.com/coderabbitai/ai-pr-reviewer/pull/416) **Full Changelog**: https://github.com/coderabbitai/ai-pr-reviewer/compare/1.12.0...1.13.0 ### [`v1.12.0`](https://togithub.com/coderabbitai/ai-pr-reviewer/releases/tag/1.12.0) [Compare Source](https://togithub.com/fluxninja/openai-pr-reviewer/compare/1.11.0...1.12.0) #### What's Changed - single line comments by [@harjotgill](https://togithub.com/harjotgill) in [https://github.com/coderabbitai/ai-pr-reviewer/pull/411](https://togithub.com/coderabbitai/ai-pr-reviewer/pull/411) - prompt updates by [@harjotgill](https://togithub.com/harjotgill) in [https://github.com/coderabbitai/ai-pr-reviewer/pull/412](https://togithub.com/coderabbitai/ai-pr-reviewer/pull/412) - prompt updates by [@harjotgill](https://togithub.com/harjotgill) in [https://github.com/coderabbitai/ai-pr-reviewer/pull/413](https://togithub.com/coderabbitai/ai-pr-reviewer/pull/413) - prompt updates by [@harjotgill](https://togithub.com/harjotgill) in [https://github.com/coderabbitai/ai-pr-reviewer/pull/414](https://togithub.com/coderabbitai/ai-pr-reviewer/pull/414) **Full Changelog**: https://github.com/coderabbitai/ai-pr-reviewer/compare/1.11.0...1.12.0 ### [`v1.11.0`](https://togithub.com/coderabbitai/ai-pr-reviewer/releases/tag/1.11.0) [Compare Source](https://togithub.com/fluxninja/openai-pr-reviewer/compare/1.10.0...1.11.0) #### What's Changed - Update prompts by [@harjotgill](https://togithub.com/harjotgill) in [https://github.com/coderabbitai/ai-pr-reviewer/pull/408](https://togithub.com/coderabbitai/ai-pr-reviewer/pull/408) - update prompts by [@harjotgill](https://togithub.com/harjotgill) in [https://github.com/coderabbitai/ai-pr-reviewer/pull/409](https://togithub.com/coderabbitai/ai-pr-reviewer/pull/409) - remove file by [@harjotgill](https://togithub.com/harjotgill) in [https://github.com/coderabbitai/ai-pr-reviewer/pull/410](https://togithub.com/coderabbitai/ai-pr-reviewer/pull/410) **Full Changelog**: https://github.com/coderabbitai/ai-pr-reviewer/compare/1.10.0...1.11.0 ### [`v1.10.0`](https://togithub.com/coderabbitai/ai-pr-reviewer/releases/tag/1.10.0) [Compare Source](https://togithub.com/fluxninja/openai-pr-reviewer/compare/1.9.0...1.10.0) #### What's Changed - Suggestions by [@harjotgill](https://togithub.com/harjotgill) in [https://github.com/coderabbitai/ai-pr-reviewer/pull/404](https://togithub.com/coderabbitai/ai-pr-reviewer/pull/404) - update prompt by [@harjotgill](https://togithub.com/harjotgill) in [https://github.com/coderabbitai/ai-pr-reviewer/pull/405](https://togithub.com/coderabbitai/ai-pr-reviewer/pull/405) **Full Changelog**: https://github.com/coderabbitai/ai-pr-reviewer/compare/1.9.0...1.10.0 ### [`v1.9.0`](https://togithub.com/coderabbitai/ai-pr-reviewer/releases/tag/1.9.0) [Compare Source](https://togithub.com/fluxninja/openai-pr-reviewer/compare/1.8.1...1.9.0) #### What's Changed - Add Pro version by [@guritfaq](https://togithub.com/guritfaq) in [https://github.com/coderabbitai/ai-pr-reviewer/pull/399](https://togithub.com/coderabbitai/ai-pr-reviewer/pull/399) - Update README.md by [@guritfaq](https://togithub.com/guritfaq) in [https://github.com/coderabbitai/ai-pr-reviewer/pull/400](https://togithub.com/coderabbitai/ai-pr-reviewer/pull/400) - update suggestion prompt by [@harjotgill](https://togithub.com/harjotgill) in [https://github.com/coderabbitai/ai-pr-reviewer/pull/402](https://togithub.com/coderabbitai/ai-pr-reviewer/pull/402) **Full Changelog**: https://github.com/coderabbitai/ai-pr-reviewer/compare/1.8.1...1.9.0prettier/prettier (prettier)
### [`v3.0.1`](https://togithub.com/prettier/prettier/blob/HEAD/CHANGELOG.md#301) [Compare Source](https://togithub.com/prettier/prettier/compare/3.0.0...3.0.1) [diff](https://togithub.com/prettier/prettier/compare/3.0.0...3.0.1) ##### Fix cursor positioning for a special case ([#14812](https://togithub.com/prettier/prettier/pull/14812) by [@fisker](https://togithub.com/fisker)) ```js // <|> is the cursor position /* Input */ // All messages are represented in JSON. // So, the prettier.py controls a subprocess which spawns "node {this_file}". import {<|> } from "fs" /* Prettier 3.0.0 */ // All messages are represented in JSON. // So, the prettier.py <|>controls a subprocess which spawns "node {this_file}". import {} from "fs" /* Prettier 3.0.1 */ // All messages are represented in JSON. // So, the prettier.py controls a subprocess which spawns "node {this_file}". import {<|>} from "fs" ``` ##### Fix plugins/estree.d.ts to make it a module ([#15018](https://togithub.com/prettier/prettier/pull/15018) by [@kingyue737](https://togithub.com/kingyue737)) Add `export {}` in `plugins/estree.d.ts` to fix the "File is not a module" error ##### Add parenthesis around leading multiline comment in return statement ([#15037](https://togithub.com/prettier/prettier/pull/15037) by [@auvred](https://togithub.com/auvred)) ```jsx // Input function fn() { return ( /** * @type {...} */ expresssion ) } // Prettier 3.0.0 function fn() { return /** * @type {...} */ expresssion; } // Prettier 3.0.1 function fn() { return ( /** * @type {...} */ expresssion ); } ``` ##### Add support for Vue "Generic Components" ([#15066](https://togithub.com/prettier/prettier/pull/15066) by [@auvred](https://togithub.com/auvred)) https://blog.vuejs.org/posts/vue-3-3#generic-components ```vue ``` ##### Fix comments print in `IfStatement` ([#15076](https://togithub.com/prettier/prettier/pull/15076) by [@fisker](https://togithub.com/fisker)) ```js function a(b) { if (b) return 1; // comment else return 2; } /* Prettier 3.0.0 */ Error: Comment "comment" was not printed. Please report this error! /* Prettier 3.0.1 */ function a(b) { if (b) return 1; // comment else return 2; } ``` ##### Add missing type definition for `printer.preprocess` ([#15123](https://togithub.com/prettier/prettier/pull/15123) by [@so1ve](https://togithub.com/so1ve)) ```diff export interface PrinterConfiguration
📅 Schedule: Branch creation - "before 4am" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR has been generated by Mend Renovate. View repository job log here.