repo
stringlengths
5
53
pr_number
int32
1
321k
task_type
stringclasses
2 values
issue_text
stringlengths
0
81.2k
pr_title
stringlengths
1
319
pr_body
stringlengths
0
105k
base_sha
stringlengths
40
40
head_sha
stringlengths
40
40
gold_diff
stringlengths
0
202M
changed_files
listlengths
0
100
review_threads
listlengths
0
100
test_patch
stringlengths
0
23.4M
merged
bool
1 class
zxing/zxing
2,048
issue_to_patch
Bump org.apache.maven.plugins:maven-surefire-plugin from 3.5.4 to 3.5.5
Bumps [org.apache.maven.plugins:maven-surefire-plugin](https://github.com/apache/maven-surefire) from 3.5.4 to 3.5.5. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/apache/maven-surefire/releases">org.apache.maven.plugins:maven-surefire-plugin's releases</a>.</em></p> <blockq...
46a068cc0bca1c405afb7f897b9d0f2315198fff
c6c477ef229c4a21792cd75915b73da4d63d5d8a
diff --git a/pom.xml b/pom.xml index d54b816f5a..6653842d86 100644 --- a/pom.xml +++ b/pom.xml @@ -298,7 +298,7 @@ <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> - <version>3.5.4</version> + <version>3.5.5</version> ...
[ "pom.xml" ]
[]
true
zxing/zxing
2,047
issue_to_patch
Bump org.apache.maven.plugins:maven-compiler-plugin from 3.14.1 to 3.15.0
Bumps [org.apache.maven.plugins:maven-compiler-plugin](https://github.com/apache/maven-compiler-plugin) from 3.14.1 to 3.15.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/apache/maven-compiler-plugin/releases">org.apache.maven.plugins:maven-compiler-plugin's releases</a>.<...
46a068cc0bca1c405afb7f897b9d0f2315198fff
9bcb85e1ce0bbd094940fccb10b0d6212b81ed4d
diff --git a/pom.xml b/pom.xml index d54b816f5a..85d36f0aa7 100644 --- a/pom.xml +++ b/pom.xml @@ -138,7 +138,7 @@ <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> - <version>3.14.1</version> + <version>3.15.0</version> ...
[ "pom.xml" ]
[]
true
zxing/zxing
2,046
issue_to_patch
Bump spring.version from 6.2.12 to 7.0.6
Bumps `spring.version` from 6.2.12 to 7.0.6. Updates `org.springframework:spring-test` from 6.2.12 to 7.0.6 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/spring-projects/spring-framework/releases">org.springframework:spring-test's releases</a>.</em></p> <blockquote> <h2>v7.0...
46a068cc0bca1c405afb7f897b9d0f2315198fff
88f9f44ca49d5dda3c13d0c311ea7b15e7411d8b
diff --git a/zxingorg/pom.xml b/zxingorg/pom.xml index 0040a8e568..9da430002f 100644 --- a/zxingorg/pom.xml +++ b/zxingorg/pom.xml @@ -67,7 +67,7 @@ </parent> <properties> - <spring.version>6.2.12</spring.version> + <spring.version>7.0.6</spring.version> </properties> <build>
[ "zxingorg/pom.xml" ]
[]
true
zxing/zxing
1,782
issue_to_patch
Fix container inefficiency in RSSExpandedReader.java
Hi, We find that there exist container inefficiency in RSSExpandedReader.java. In particular, the method `checkRows` implements a backtracking algorithm to construct a valid row sequence. However, the current implementation involves many redundant container clearing and copying operations. We have observed that b...
c77778ee03fd9f63a8b4a17304d3cdbb1f8d32de
e1390f1fc34b64c868cdd1541374c797a7edc0c7
diff --git a/core/src/main/java/com/google/zxing/oned/rss/expanded/RSSExpandedReader.java b/core/src/main/java/com/google/zxing/oned/rss/expanded/RSSExpandedReader.java index 61cab98c07..b73f2ac587 100644 --- a/core/src/main/java/com/google/zxing/oned/rss/expanded/RSSExpandedReader.java +++ b/core/src/main/java/com/goo...
[ "core/src/main/java/com/google/zxing/oned/rss/expanded/RSSExpandedReader.java" ]
[]
true
zxing/zxing
2,044
issue_to_patch
fix: add missing `ERRORS_CORRECTED` metadata in QRCodeMultiReader
Hi, thank you for maintaining this project for such a long time! I found what appears to be a missing implementation and have fixed it. I would appreciate it if you could merge this. # about It seems that the error correction count addition, which is implemented in [`QRCodeReader.java`](https://github.com/zxing/...
50799640d5c4d6cd85f75f047a3055d05485fae5
b22bb1a4b4647ff3a52afc2a3bfa835ef4d5c0d4
diff --git a/core/src/main/java/com/google/zxing/multi/qrcode/QRCodeMultiReader.java b/core/src/main/java/com/google/zxing/multi/qrcode/QRCodeMultiReader.java index e5699e4768..0f5719ee96 100644 --- a/core/src/main/java/com/google/zxing/multi/qrcode/QRCodeMultiReader.java +++ b/core/src/main/java/com/google/zxing/multi...
[ "core/src/main/java/com/google/zxing/multi/qrcode/QRCodeMultiReader.java" ]
[]
true
zxing/zxing
2,018
issue_to_patch
Bump org.apache.maven.plugins:maven-release-plugin from 3.1.1 to 3.2.0
Bumps [org.apache.maven.plugins:maven-release-plugin](https://github.com/apache/maven-release) from 3.1.1 to 3.2.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/apache/maven-release/releases">org.apache.maven.plugins:maven-release-plugin's releases</a>.</em></p> <blockquote...
802cc06562649ade69fafe562d2d8a70f9bd0864
7aa055348451a417e31ab42da31e186a995d1337
diff --git a/pom.xml b/pom.xml index d6afb71608..5787051b05 100644 --- a/pom.xml +++ b/pom.xml @@ -250,7 +250,7 @@ <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-release-plugin</artifactId> - <version>3.1.1</version> + <version>3.2.0</version> ...
[ "pom.xml" ]
[]
true
zxing/zxing
2,022
issue_to_patch
Bump actions/checkout from 5 to 6
Bumps [actions/checkout](https://github.com/actions/checkout) from 5 to 6. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/actions/checkout/releases">actions/checkout's releases</a>.</em></p> <blockquote> <h2>v6.0.0</h2> <h2>What's Changed</h2> <ul> <li>Update README to includ...
802cc06562649ade69fafe562d2d8a70f9bd0864
328cdb13e47c531c263f19d9bf474d404b1de6cf
diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 0bc6ce476f..f228191c35 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -36,7 +36,7 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v5 +...
[ ".github/workflows/codeql-analysis.yml", ".github/workflows/test_java_17.yml", ".github/workflows/test_java_21.yml", ".github/workflows/test_java_8.yml" ]
[]
diff --git a/.github/workflows/test_java_17.yml b/.github/workflows/test_java_17.yml index 2abdd409d7..c647a79af3 100644 --- a/.github/workflows/test_java_17.yml +++ b/.github/workflows/test_java_17.yml @@ -12,7 +12,7 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v5 + - uses: actio...
true
zxing/zxing
2,019
issue_to_patch
Bump org.apache.maven.plugins:maven-jar-plugin from 3.4.2 to 3.5.0
Bumps [org.apache.maven.plugins:maven-jar-plugin](https://github.com/apache/maven-jar-plugin) from 3.4.2 to 3.5.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/apache/maven-jar-plugin/releases">org.apache.maven.plugins:maven-jar-plugin's releases</a>.</em></p> <blockquote> ...
802cc06562649ade69fafe562d2d8a70f9bd0864
bbff63bb6b4836a32c615f977e4cda1a4218ba85
diff --git a/pom.xml b/pom.xml index d6afb71608..e5437b7c62 100644 --- a/pom.xml +++ b/pom.xml @@ -213,7 +213,7 @@ <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-jar-plugin</artifactId> - <version>3.4.2</version> + <version>3.5.0</version> ...
[ "pom.xml" ]
[]
true
zxing/zxing
2,014
issue_to_patch
Loosen ITF max variance for 3x module widths
ITF can use 2x or 3x wide bars, and it is natural for the 3x bars to have larger variances than the 2x wide bars. This change takes this into account, so that fewer 3x ITF symbols are rejected.
45b3a16e812cb08cd66d25b3bb4767f92b0833b3
08d3ffeca18433368cb7acab15ffb6f12061e45c
diff --git a/core/src/main/java/com/google/zxing/oned/ITFReader.java b/core/src/main/java/com/google/zxing/oned/ITFReader.java index a4e6ec318c..3f990b9c00 100644 --- a/core/src/main/java/com/google/zxing/oned/ITFReader.java +++ b/core/src/main/java/com/google/zxing/oned/ITFReader.java @@ -46,11 +46,12 @@ public final...
[ "core/src/main/java/com/google/zxing/oned/ITFReader.java", "core/src/test/java/com/google/zxing/oned/ITFBlackBox2TestCase.java", "core/src/test/resources/blackbox/itf-2/14.png", "core/src/test/resources/blackbox/itf-2/14.txt" ]
[]
diff --git a/core/src/test/java/com/google/zxing/oned/ITFBlackBox2TestCase.java b/core/src/test/java/com/google/zxing/oned/ITFBlackBox2TestCase.java index 5ef0212c1b..a95de2ac1b 100644 --- a/core/src/test/java/com/google/zxing/oned/ITFBlackBox2TestCase.java +++ b/core/src/test/java/com/google/zxing/oned/ITFBlackBox2Tes...
true
zxing/zxing
1,801
issue_to_patch
Promote renderResult method to public
This small commit makes public the "`renderResult`" method of the "`QRCodeWriter`" class. The reason to promote this method as public is that I'm facing business case where, besides of generating the QR code as a PNG image, I also need to print information about the QR code itself (specifically, the QR version). Nav...
2326dd4ff3adb9cd7ecd0d2937e37b4babe0a1fe
8e20b8c60e85482d38a719fc10e845f7e5b665ec
diff --git a/core/src/main/java/com/google/zxing/qrcode/QRCodeWriter.java b/core/src/main/java/com/google/zxing/qrcode/QRCodeWriter.java index ce7ee0736b..58c1eb11ca 100644 --- a/core/src/main/java/com/google/zxing/qrcode/QRCodeWriter.java +++ b/core/src/main/java/com/google/zxing/qrcode/QRCodeWriter.java @@ -79,9 +79,...
[ "core/src/main/java/com/google/zxing/qrcode/QRCodeWriter.java", "core/src/test/java/com/google/zxing/qrcode/QRCodeWriterTestCase.java" ]
[ { "comment": "Oh, this fails style checks. Just `expectedSize`", "path": "core/src/test/java/com/google/zxing/qrcode/QRCodeWriterTestCase.java", "hunk": "@@ -133,4 +136,55 @@ public void testRegressionTest() throws Exception {\n \"renderer-test-01.png\");\n }\n \n+ @Test\n+ public void rende...
diff --git a/core/src/test/java/com/google/zxing/qrcode/QRCodeWriterTestCase.java b/core/src/test/java/com/google/zxing/qrcode/QRCodeWriterTestCase.java index c16d2957c8..0b82430ffe 100644 --- a/core/src/test/java/com/google/zxing/qrcode/QRCodeWriterTestCase.java +++ b/core/src/test/java/com/google/zxing/qrcode/QRCodeW...
true
zxing/zxing
1,801
comment_to_fix
Promote renderResult method to public
Oh, this fails style checks. Just `expectedSize`
2326dd4ff3adb9cd7ecd0d2937e37b4babe0a1fe
8e20b8c60e85482d38a719fc10e845f7e5b665ec
diff --git a/core/src/test/java/com/google/zxing/qrcode/QRCodeWriterTestCase.java b/core/src/test/java/com/google/zxing/qrcode/QRCodeWriterTestCase.java index c16d2957c8..0b82430ffe 100644 --- a/core/src/test/java/com/google/zxing/qrcode/QRCodeWriterTestCase.java +++ b/core/src/test/java/com/google/zxing/qrcode/QRCodeW...
[ "core/src/test/java/com/google/zxing/qrcode/QRCodeWriterTestCase.java" ]
[ { "comment": "Oh, this fails style checks. Just `expectedSize`", "path": "core/src/test/java/com/google/zxing/qrcode/QRCodeWriterTestCase.java", "hunk": "@@ -133,4 +136,55 @@ public void testRegressionTest() throws Exception {\n \"renderer-test-01.png\");\n }\n \n+ @Test\n+ public void rende...
true
zxing/zxing
1,908
issue_to_patch
Fix distortion calculation for isosceles right triangles
Fix distortion calculation for isosceles right triangles as discussed in https://github.com/zxing/zxing/discussions/1906
6ae11863c7082cfeb62fa5075a488ec9588a01e6
bd2521cb8ef74f2ed566c2ca6643c5ffccdf30af
diff --git a/core/src/main/java/com/google/zxing/qrcode/detector/FinderPatternFinder.java b/core/src/main/java/com/google/zxing/qrcode/detector/FinderPatternFinder.java index 17ca88b8fc..951bd197fc 100755 --- a/core/src/main/java/com/google/zxing/qrcode/detector/FinderPatternFinder.java +++ b/core/src/main/java/com/goo...
[ "core/src/main/java/com/google/zxing/qrcode/detector/FinderPatternFinder.java" ]
[]
true
zxing/zxing
1,901
issue_to_patch
Add hint to correct wrong dimension
Adds a DecodeHintType to correct a wrong dimension to upper or lower value. If dimension is wrong only by 1 it is already corrected automatically. With this proposal also errors by 2 can be corrected (to lower or upper value). Old code remains unaffected as the new behavior has to be activated explicitly. Fix...
2dfb2054af1e1872ac5354e6d8218931fb88e021
2c5562db45249f2d8abf6823cd13d29733949375
diff --git a/core/src/main/java/com/google/zxing/qrcode/detector/Detector.java b/core/src/main/java/com/google/zxing/qrcode/detector/Detector.java index 9648883bb7..c284b61e75 100644 --- a/core/src/main/java/com/google/zxing/qrcode/detector/Detector.java +++ b/core/src/main/java/com/google/zxing/qrcode/detector/Detecto...
[ "core/src/main/java/com/google/zxing/qrcode/detector/Detector.java" ]
[ { "comment": "Total nit, but can you write:\r\n```\r\n dimension -= 2;\r\n break;\r\n```\r\nI think the logic is OK.", "path": "core/src/main/java/com/google/zxing/qrcode/detector/Detector.java", "hunk": "@@ -211,7 +211,7 @@ private static int computeDimension(ResultPoint topLeft,\n dimension-...
true
zxing/zxing
1,878
issue_to_patch
pdf417 encode error java.lang.ArrayIndexOutOfBoundsException when using CHARACTER_SET ISO-8859-15 Hello, I encountered an error while attempting to create a PDF417 barcode with character set ISO-8859-15. Here's the relevant code snippet: ```java String content = "€ 123,45"; Map<EncodeHintType, Object> hints = ...
PDF417: Check that input is made of 0...127 chars when using Compaction.TEXT, throw an explicit exception if not the case
- [x] when encoding a PDF417 with TEXT compaction, check if input is made of chars in the 0...127 range - [x] if not, throw an exception recommending the use of AUTO compaction instead - [x] add UT to test the above changes Fixes #1761
e750aca9e53d80eb7c2d7ffc3ccdb4e7cf6a7aca
434763d029094765b2000cd67b3b521dc9d62b5a
diff --git a/core/src/main/java/com/google/zxing/pdf417/encoder/PDF417HighLevelEncoder.java b/core/src/main/java/com/google/zxing/pdf417/encoder/PDF417HighLevelEncoder.java index 564d7c968c..8ac202b9db 100644 --- a/core/src/main/java/com/google/zxing/pdf417/encoder/PDF417HighLevelEncoder.java +++ b/core/src/main/java/c...
[ "core/src/main/java/com/google/zxing/pdf417/encoder/PDF417HighLevelEncoder.java", "core/src/test/java/com/google/zxing/pdf417/encoder/PDF417EncoderTestCase.java" ]
[ { "comment": "The logic looks OK; minor request though: everywhere in the change, follow a comma with a space for consistency", "path": "core/src/main/java/com/google/zxing/pdf417/encoder/PDF417HighLevelEncoder.java", "hunk": "@@ -174,16 +174,15 @@ static String encodeHighLevel(String msg, Compaction co...
diff --git a/core/src/test/java/com/google/zxing/pdf417/encoder/PDF417EncoderTestCase.java b/core/src/test/java/com/google/zxing/pdf417/encoder/PDF417EncoderTestCase.java index f0c9aa5abd..2f582b9019 100644 --- a/core/src/test/java/com/google/zxing/pdf417/encoder/PDF417EncoderTestCase.java +++ b/core/src/test/java/com/...
true
zxing/zxing
1,878
comment_to_fix
PDF417: Check that input is made of 0...127 chars when using Compaction.TEXT, throw an explicit exception if not the case
The logic looks OK; minor request though: everywhere in the change, follow a comma with a space for consistency
e750aca9e53d80eb7c2d7ffc3ccdb4e7cf6a7aca
434763d029094765b2000cd67b3b521dc9d62b5a
diff --git a/core/src/main/java/com/google/zxing/pdf417/encoder/PDF417HighLevelEncoder.java b/core/src/main/java/com/google/zxing/pdf417/encoder/PDF417HighLevelEncoder.java index 564d7c968c..8ac202b9db 100644 --- a/core/src/main/java/com/google/zxing/pdf417/encoder/PDF417HighLevelEncoder.java +++ b/core/src/main/java/c...
[ "core/src/main/java/com/google/zxing/pdf417/encoder/PDF417HighLevelEncoder.java" ]
[ { "comment": "The logic looks OK; minor request though: everywhere in the change, follow a comma with a space for consistency", "path": "core/src/main/java/com/google/zxing/pdf417/encoder/PDF417HighLevelEncoder.java", "hunk": "@@ -174,16 +174,15 @@ static String encodeHighLevel(String msg, Compaction co...
true
zxing/zxing
1,878
comment_to_fix
PDF417: Check that input is made of 0...127 chars when using Compaction.TEXT, throw an explicit exception if not the case
Nit: blank lines around this
e750aca9e53d80eb7c2d7ffc3ccdb4e7cf6a7aca
434763d029094765b2000cd67b3b521dc9d62b5a
diff --git a/core/src/test/java/com/google/zxing/pdf417/encoder/PDF417EncoderTestCase.java b/core/src/test/java/com/google/zxing/pdf417/encoder/PDF417EncoderTestCase.java index f0c9aa5abd..2f582b9019 100644 --- a/core/src/test/java/com/google/zxing/pdf417/encoder/PDF417EncoderTestCase.java +++ b/core/src/test/java/com/...
[ "core/src/test/java/com/google/zxing/pdf417/encoder/PDF417EncoderTestCase.java" ]
[ { "comment": "Nit: blank lines around this", "path": "core/src/test/java/com/google/zxing/pdf417/encoder/PDF417EncoderTestCase.java", "hunk": "@@ -27,19 +35,97 @@\n * Tests {@link PDF417HighLevelEncoder}.\n */\n public final class PDF417EncoderTestCase extends Assert {\n-\n+ private static final Stri...
true
zxing/zxing
2,013
issue_to_patch
Add GrayscaleLuminanceSource
Adds a new class `GrayscaleLuminanceSource`, which is like `RGBLuminanceSource`, but is for grayscale pixel data instead of ARGB pixel data. `RGBLuminanceSource` was already converting RGB data to grayscale data in the constructor, and then operating exclusively on grayscale data internally. This change moves all of...
2b1499246b11415889e4a02d65023b86201a0610
669d0c7c26b79b5e6d233ba5b817d4c85cda355d
diff --git a/core/src/main/java/com/google/zxing/GrayscaleLuminanceSource.java b/core/src/main/java/com/google/zxing/GrayscaleLuminanceSource.java new file mode 100644 index 0000000000..7941bad815 --- /dev/null +++ b/core/src/main/java/com/google/zxing/GrayscaleLuminanceSource.java @@ -0,0 +1,144 @@ +/* + * Copyright 2...
[ "core/src/main/java/com/google/zxing/GrayscaleLuminanceSource.java", "core/src/main/java/com/google/zxing/RGBLuminanceSource.java", "core/src/test/java/com/google/zxing/GrayscaleLuminanceSourceTestCase.java" ]
[]
diff --git a/core/src/test/java/com/google/zxing/GrayscaleLuminanceSourceTestCase.java b/core/src/test/java/com/google/zxing/GrayscaleLuminanceSourceTestCase.java new file mode 100644 index 0000000000..bd911f6d6c --- /dev/null +++ b/core/src/test/java/com/google/zxing/GrayscaleLuminanceSourceTestCase.java @@ -0,0 +1,12...
true
zxing/zxing
2,012
issue_to_patch
Add 90-degree rotation support to RGBLuminanceSource
Adds support for 90-degree rotation to `RGBLuminanceSource`, so that `OneDReader` can try harder, if asked to. Does not add support for 45-degree rotation to `RGBLuminanceSource` (this type of rotation doesn't seem to be used anywhere).
71b49acc53d311efc570a22cfdd694ba3dd95bc3
76360dfbc798f1e53d68134657e5f78db42ce334
diff --git a/core/src/main/java/com/google/zxing/RGBLuminanceSource.java b/core/src/main/java/com/google/zxing/RGBLuminanceSource.java index 3950ce8b81..4915f7f611 100644 --- a/core/src/main/java/com/google/zxing/RGBLuminanceSource.java +++ b/core/src/main/java/com/google/zxing/RGBLuminanceSource.java @@ -18,7 +18,7 @@...
[ "core/src/main/java/com/google/zxing/RGBLuminanceSource.java", "core/src/test/java/com/google/zxing/RGBLuminanceSourceTestCase.java" ]
[]
diff --git a/core/src/test/java/com/google/zxing/RGBLuminanceSourceTestCase.java b/core/src/test/java/com/google/zxing/RGBLuminanceSourceTestCase.java index 97f9794e1d..b756801b3d 100644 --- a/core/src/test/java/com/google/zxing/RGBLuminanceSourceTestCase.java +++ b/core/src/test/java/com/google/zxing/RGBLuminanceSourc...
true
zxing/zxing
1,961
issue_to_patch
Add input validation for pixel array length in RGBLuminanceSource to avoid ArrayIndexOutOfBoundsException
**Problem**: The constructor of RGBLuminanceSource does not validate the length of the pixels array. If the array is shorter than [width * height], it throws an ArrayIndexOutOfBoundsException during initialization: ``` for (int offset = 0; offset < size; offset++) { int pixel = pixels[offset]; // <-- can throw ...
90f503e0c255f55b2838c882a55fb754af15c315
c78ee07d2867e4c4102d8734bafa73542c9371ab
diff --git a/core/src/main/java/com/google/zxing/RGBLuminanceSource.java b/core/src/main/java/com/google/zxing/RGBLuminanceSource.java index 3950ce8b81..7e201620fd 100644 --- a/core/src/main/java/com/google/zxing/RGBLuminanceSource.java +++ b/core/src/main/java/com/google/zxing/RGBLuminanceSource.java @@ -44,6 +44,9 @@...
[ "core/src/main/java/com/google/zxing/RGBLuminanceSource.java", "core/src/test/java/com/google/zxing/RGBLuminanceSourceTestCase.java" ]
[]
diff --git a/core/src/test/java/com/google/zxing/RGBLuminanceSourceTestCase.java b/core/src/test/java/com/google/zxing/RGBLuminanceSourceTestCase.java index 97f9794e1d..c10ebc0ed9 100644 --- a/core/src/test/java/com/google/zxing/RGBLuminanceSourceTestCase.java +++ b/core/src/test/java/com/google/zxing/RGBLuminanceSourc...
true
zxing/zxing
1,879
issue_to_patch
Fixing issue #1831
- [x] fix issue #1831 - [x] make PDF417#determineDimensions static to enable finer UT - [x] add UT coverage to validate fix for #1831
3b189fc700c9c7c210f4b78fc66b01f4c13ae5d2
f5ad4b5a50e4212ce3d55e7aa9af76a506851350
diff --git a/core/src/main/java/com/google/zxing/pdf417/encoder/PDF417.java b/core/src/main/java/com/google/zxing/pdf417/encoder/PDF417.java index a9d63dc232..3402bb3d1e 100644 --- a/core/src/main/java/com/google/zxing/pdf417/encoder/PDF417.java +++ b/core/src/main/java/com/google/zxing/pdf417/encoder/PDF417.java @@ -6...
[ "core/src/main/java/com/google/zxing/pdf417/encoder/PDF417.java", "core/src/test/java/com/google/zxing/pdf417/encoder/PDF417EncoderTestCase.java" ]
[]
diff --git a/core/src/test/java/com/google/zxing/pdf417/encoder/PDF417EncoderTestCase.java b/core/src/test/java/com/google/zxing/pdf417/encoder/PDF417EncoderTestCase.java index 2f582b9019..6f99c42290 100644 --- a/core/src/test/java/com/google/zxing/pdf417/encoder/PDF417EncoderTestCase.java +++ b/core/src/test/java/com/...
true
zxing/zxing
2,009
issue_to_patch
Bump org.apache.maven.plugins:maven-war-plugin from 3.4.0 to 3.5.0
Bumps [org.apache.maven.plugins:maven-war-plugin](https://github.com/apache/maven-war-plugin) from 3.4.0 to 3.5.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/apache/maven-war-plugin/releases">org.apache.maven.plugins:maven-war-plugin's releases</a>.</em></p> <blockquote> ...
71b49acc53d311efc570a22cfdd694ba3dd95bc3
2fd431e54563e94921d5fc205dda65a263dd8465
diff --git a/pom.xml b/pom.xml index c52f695405..21110b9323 100644 --- a/pom.xml +++ b/pom.xml @@ -309,7 +309,7 @@ <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-war-plugin</artifactId> - <version>3.4.0</version> + <version>3.5.0</version> ...
[ "pom.xml" ]
[]
true
zxing/zxing
2,005
issue_to_patch
Bump spring.version from 6.2.11 to 6.2.12
Bumps `spring.version` from 6.2.11 to 6.2.12. Updates `org.springframework:spring-test` from 6.2.11 to 6.2.12 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/spring-projects/spring-framework/releases">org.springframework:spring-test's releases</a>.</em></p> <blockquote> <h2>v6...
71b49acc53d311efc570a22cfdd694ba3dd95bc3
60760f8a1bb9d76b6646204ecb6a4dc6ce5869d3
diff --git a/zxingorg/pom.xml b/zxingorg/pom.xml index 0d4b241d08..d1f4e0be0f 100644 --- a/zxingorg/pom.xml +++ b/zxingorg/pom.xml @@ -67,7 +67,7 @@ </parent> <properties> - <spring.version>6.2.11</spring.version> + <spring.version>6.2.12</spring.version> </properties> <build>
[ "zxingorg/pom.xml" ]
[]
true
zxing/zxing
2,000
issue_to_patch
Bump org.jacoco:jacoco-maven-plugin from 0.8.13 to 0.8.14
Bumps [org.jacoco:jacoco-maven-plugin](https://github.com/jacoco/jacoco) from 0.8.13 to 0.8.14. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/jacoco/jacoco/releases">org.jacoco:jacoco-maven-plugin's releases</a>.</em></p> <blockquote> <h2>0.8.14</h2> <h2>New Features</h2> <u...
71b49acc53d311efc570a22cfdd694ba3dd95bc3
424d6c2c26652d4046a2d4b658ddd29b681c9396
diff --git a/pom.xml b/pom.xml index c52f695405..d01ab97685 100644 --- a/pom.xml +++ b/pom.xml @@ -480,7 +480,7 @@ <plugin> <groupId>org.jacoco</groupId> <artifactId>jacoco-maven-plugin</artifactId> - <version>0.8.13</version> + <version>0.8.14</version> <exec...
[ "pom.xml" ]
[]
true
zxing/zxing
2,006
issue_to_patch
Bump org.apache.rat:apache-rat-plugin from 0.16.1 to 0.17
Bumps org.apache.rat:apache-rat-plugin from 0.16.1 to 0.17. [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=org.apache.rat:apache-rat-plugin&package-manager=maven&previous-version=0.16.1&new-version=0.17)](https://docs.github.com/en/github/managing...
71b49acc53d311efc570a22cfdd694ba3dd95bc3
a670bfe4a99fdd77738a819f59c0a1c04f66f1aa
diff --git a/pom.xml b/pom.xml index c52f695405..2cd9726e24 100644 --- a/pom.xml +++ b/pom.xml @@ -420,7 +420,7 @@ <plugin> <groupId>org.apache.rat</groupId> <artifactId>apache-rat-plugin</artifactId> - <version>0.16.1</version> + <version>0.17</version> <conf...
[ "pom.xml" ]
[]
true
zxing/zxing
2,001
issue_to_patch
Bump github/codeql-action from 3 to 4
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3 to 4. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/github/codeql-action/releases">github/codeql-action's releases</a>.</em></p> <blockquote> <h2>v3.30.8</h2> <h1>CodeQL Action Changelog</h1> <p>See...
71b49acc53d311efc570a22cfdd694ba3dd95bc3
16d1a02f58075fcb4e651350ef500f3ef2c0e931
diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index a7f5d321fc..0bc6ce476f 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -40,7 +40,7 @@ jobs: # Initializes the CodeQL tools for scanning. - name: Initialize CodeQ...
[ ".github/workflows/codeql-analysis.yml" ]
[]
true
zxing/zxing
1,975
issue_to_patch
Add "Barcode-Lib4J" to the list of third-party projects
Adding Barcode-Lib4J to the third-party projects list. This Java library extends ZXing's 2D barcode functionality with vector/raster exports, professional printing features, and comprehensive GS1 validation. The library maintains proper attribution to ZXing as documented in the credits section.
f2813890d84429d092611e5adb132882b3784d28
71df9d9f2c445479bdfee1d0c8421dc77c50cb75
diff --git a/README.md b/README.md index 85ddd02e78..759e397599 100644 --- a/README.md +++ b/README.md @@ -55,6 +55,7 @@ library implemented in Java, with ports to other languages. | Module | Description | ---------------------------...
[ "README.md" ]
[]
true
zxing/zxing
1,997
issue_to_patch
Bump com.google.guava:guava from 33.4.8-android to 33.5.0-android
Bumps [com.google.guava:guava](https://github.com/google/guava) from 33.4.8-android to 33.5.0-android. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/google/guava/releases">com.google.guava:guava's releases</a>.</em></p> <blockquote> <h2>33.5.0</h2> <h3>Maven</h3> <pre lang="...
d9b7814e8a8d90830ebe09af798c4530a2f8e444
2554c60135472c1f2fddbd18c595deb435952aa0
diff --git a/zxingorg/pom.xml b/zxingorg/pom.xml index 1995ea5ce1..0d4b241d08 100644 --- a/zxingorg/pom.xml +++ b/zxingorg/pom.xml @@ -39,7 +39,7 @@ <dependency> <groupId>com.google.guava</groupId> <artifactId>guava</artifactId> - <version>33.4.8-android</version> + <version>33.5.0-android<...
[ "zxingorg/pom.xml" ]
[]
true
zxing/zxing
1,996
issue_to_patch
Bump org.apache.maven.plugins:maven-enforcer-plugin from 3.6.1 to 3.6.2
Bumps [org.apache.maven.plugins:maven-enforcer-plugin](https://github.com/apache/maven-enforcer) from 3.6.1 to 3.6.2. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/apache/maven-enforcer/releases">org.apache.maven.plugins:maven-enforcer-plugin's releases</a>.</em></p> <blockq...
d9b7814e8a8d90830ebe09af798c4530a2f8e444
99969556c37938807350f8c2fb4f109f0864bba1
diff --git a/pom.xml b/pom.xml index 41a96057f8..56bbee857b 100644 --- a/pom.xml +++ b/pom.xml @@ -113,7 +113,7 @@ <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-enforcer-plugin</artifactId> - <version>3.6.1</version> + <version>3.6.2</version> ...
[ "pom.xml" ]
[]
true
zxing/zxing
1,994
issue_to_patch
Bump org.apache.maven.plugins:maven-dependency-plugin from 3.8.1 to 3.9.0
Bumps [org.apache.maven.plugins:maven-dependency-plugin](https://github.com/apache/maven-dependency-plugin) from 3.8.1 to 3.9.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/apache/maven-dependency-plugin/releases">org.apache.maven.plugins:maven-dependency-plugin's releases...
d9b7814e8a8d90830ebe09af798c4530a2f8e444
501805947cb92b8a5e8c74abb917c38431e3278f
diff --git a/pom.xml b/pom.xml index 41a96057f8..7b7ef3b213 100644 --- a/pom.xml +++ b/pom.xml @@ -271,7 +271,7 @@ <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-dependency-plugin</artifactId> - <version>3.8.1</version> + <version>3.9.0</version> ...
[ "pom.xml" ]
[]
true
zxing/zxing
1,993
issue_to_patch
Bump org.apache.maven.plugins:maven-scm-plugin from 2.1.0 to 2.2.1
Bumps [org.apache.maven.plugins:maven-scm-plugin](https://github.com/apache/maven-scm) from 2.1.0 to 2.2.1. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/apache/maven-scm/releases">org.apache.maven.plugins:maven-scm-plugin's releases</a>.</em></p> <blockquote> <h2>2.2.1</h2>...
d9b7814e8a8d90830ebe09af798c4530a2f8e444
585e05ef7eed96dcedacf22234c0878af7411dd2
diff --git a/pom.xml b/pom.xml index 41a96057f8..9b5d389b66 100644 --- a/pom.xml +++ b/pom.xml @@ -261,7 +261,7 @@ <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-scm-plugin</artifactId> - <version>2.1.0</version> + <version>2.2.1</version> ...
[ "pom.xml" ]
[]
true
zxing/zxing
1,989
issue_to_patch
Bump org.apache.maven.plugins:maven-javadoc-plugin from 3.11.3 to 3.12.0
Bumps [org.apache.maven.plugins:maven-javadoc-plugin](https://github.com/apache/maven-javadoc-plugin) from 3.11.3 to 3.12.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/apache/maven-javadoc-plugin/releases">org.apache.maven.plugins:maven-javadoc-plugin's releases</a>.</em>...
0a14de908a870e6013bd1ed9716d94d507256a4f
014d81858b71a2ee63d49f637dbf2b56e0351d9d
diff --git a/pom.xml b/pom.xml index 3ca8c97944..f2830a87d3 100644 --- a/pom.xml +++ b/pom.xml @@ -164,7 +164,7 @@ <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-javadoc-plugin</artifactId> - <version>3.11.3</version> + <version>3.12.0</version> ...
[ "pom.xml" ]
[]
true
zxing/zxing
1,988
issue_to_patch
Bump org.apache.maven.plugins:maven-compiler-plugin from 3.14.0 to 3.14.1
Bumps [org.apache.maven.plugins:maven-compiler-plugin](https://github.com/apache/maven-compiler-plugin) from 3.14.0 to 3.14.1. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/apache/maven-compiler-plugin/releases">org.apache.maven.plugins:maven-compiler-plugin's releases</a>.<...
0a14de908a870e6013bd1ed9716d94d507256a4f
eb691a718187496da1f8eb08aaea092a0feb3614
diff --git a/pom.xml b/pom.xml index 3ca8c97944..20f82d11e9 100644 --- a/pom.xml +++ b/pom.xml @@ -138,7 +138,7 @@ <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> - <version>3.14.0</version> + <version>3.14.1</version> ...
[ "pom.xml" ]
[]
true
zxing/zxing
1,984
issue_to_patch
Bump org.apache.maven.plugins:maven-surefire-plugin from 3.5.3 to 3.5.4
Bumps [org.apache.maven.plugins:maven-surefire-plugin](https://github.com/apache/maven-surefire) from 3.5.3 to 3.5.4. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/apache/maven-surefire/releases">org.apache.maven.plugins:maven-surefire-plugin's releases</a>.</em></p> <blockq...
0a14de908a870e6013bd1ed9716d94d507256a4f
808bc3a8db17212754dc22be110a472f04b05a9f
diff --git a/pom.xml b/pom.xml index 3ca8c97944..d11c89098a 100644 --- a/pom.xml +++ b/pom.xml @@ -298,7 +298,7 @@ <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> - <version>3.5.3</version> + <version>3.5.4</version> ...
[ "pom.xml" ]
[]
true
zxing/zxing
1,983
issue_to_patch
Bump spring.version from 6.2.10 to 6.2.11
Bumps `spring.version` from 6.2.10 to 6.2.11. Updates `org.springframework:spring-test` from 6.2.10 to 6.2.11 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/spring-projects/spring-framework/releases">org.springframework:spring-test's releases</a>.</em></p> <blockquote> <h2>v6...
0a14de908a870e6013bd1ed9716d94d507256a4f
910b691c49f0537aca6c72b59240322907e4c5c4
diff --git a/zxingorg/pom.xml b/zxingorg/pom.xml index 577605be27..1995ea5ce1 100644 --- a/zxingorg/pom.xml +++ b/zxingorg/pom.xml @@ -67,7 +67,7 @@ </parent> <properties> - <spring.version>6.2.10</spring.version> + <spring.version>6.2.11</spring.version> </properties> <build>
[ "zxingorg/pom.xml" ]
[]
true
zxing/zxing
1,973
issue_to_patch
Bump actions/checkout from 4 to 5
[//]: # (dependabot-start) ⚠️ **Dependabot is rebasing this PR** ⚠️ Rebasing might not happen immediately, so don't worry if this takes some time. Note: if you make any changes to this PR yourself, they will take precedence over the rebase. --- [//]: # (dependabot-end) Bumps [actions/checkout](https://github.com...
f1500100fed5fd775861ccee55cebb461931e3ed
a97a6a35ca42e75b3892d1bb0102e48284f80a90
diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index e94d571b1c..a7f5d321fc 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -36,7 +36,7 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v4 +...
[ ".github/workflows/codeql-analysis.yml", ".github/workflows/test_java_17.yml", ".github/workflows/test_java_21.yml", ".github/workflows/test_java_8.yml" ]
[]
diff --git a/.github/workflows/test_java_17.yml b/.github/workflows/test_java_17.yml index fbcea2a2c5..615922ffac 100644 --- a/.github/workflows/test_java_17.yml +++ b/.github/workflows/test_java_17.yml @@ -12,7 +12,7 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actio...
true
zylon-ai/private-gpt
2,266
issue_to_patch
fix: ensure that the publisher is ready to publish new messages
# Description When you run a celery worker, the callback messages were lost since the thread was closed. This PR ensure that the thread remains alive until it's deleted. ## Type of Change Please delete options that are not relevant. - [X] Bug fix (non-breaking change which fixes an issue) - [ ] New feature...
cfa12bb4c8d77290391d61c2d54051c8cc9d589b
2e5beca89cd65234e5219f7362f3461ad656c14b
diff --git a/Dockerfile b/Dockerfile index 22926587e..a225d2699 100644 --- a/Dockerfile +++ b/Dockerfile @@ -17,12 +17,10 @@ RUN --mount=type=cache,target=/var/cache/apt,sharing=locked \ ENABLE_WEB_SCRAPING=0; \ ENABLE_DATABASE=0; \ for extra in $EXTRAS; do \ - case "$extra" in \ - core|inges...
[ "Dockerfile", "private_gpt/__init__.py", "private_gpt/components/broker/blocking_publisher.py", "private_gpt/components/broker/broker_component.py", "private_gpt/components/engines/chat_loop/models/chat_loop_state.py" ]
[ { "comment": "Avoid creating the BrokerInstanceRegistry at import time using settings(); it captures whatever global injector/settings happen to exist at import, which can ignore later injector overrides (e.g., tests or runtime reconfiguration) and forces early global injector initialization. Make the registry ...
true
zylon-ai/private-gpt
2,266
comment_to_fix
fix: ensure that the publisher is ready to publish new messages
BrokerInstanceRegistry.get_or_create() uses dict.get(mode), which can’t distinguish between “no cached value” and “cached value is None”. If a provider can legitimately return None (e.g., mode="none"), this will recreate the instance on every call and defeat the registry. Use `if mode in self._instances` to treat a ca...
cfa12bb4c8d77290391d61c2d54051c8cc9d589b
2e5beca89cd65234e5219f7362f3461ad656c14b
diff --git a/private_gpt/components/broker/broker_component.py b/private_gpt/components/broker/broker_component.py index 05a277a7e..eb3d33609 100644 --- a/private_gpt/components/broker/broker_component.py +++ b/private_gpt/components/broker/broker_component.py @@ -1,11 +1,13 @@ +import atexit import logging +import th...
[ "private_gpt/components/broker/broker_component.py" ]
[ { "comment": "BrokerInstanceRegistry.get_or_create() uses dict.get(mode), which can’t distinguish between “no cached value” and “cached value is None”. If a provider can legitimately return None (e.g., mode=\"none\"), this will recreate the instance on every call and defeat the registry.\n\nUse `if mode in self...
true
zylon-ai/private-gpt
2,266
comment_to_fix
fix: ensure that the publisher is ready to publish new messages
This module forces the broker component logger to DEBUG unconditionally. That can create very noisy logs in production regardless of the application’s configured log level. Prefer inheriting the configured logging level (remove this) or gating DEBUG on the configured debug mode (similar to other modules).
cfa12bb4c8d77290391d61c2d54051c8cc9d589b
2e5beca89cd65234e5219f7362f3461ad656c14b
diff --git a/private_gpt/components/broker/broker_component.py b/private_gpt/components/broker/broker_component.py index 05a277a7e..eb3d33609 100644 --- a/private_gpt/components/broker/broker_component.py +++ b/private_gpt/components/broker/broker_component.py @@ -1,11 +1,13 @@ +import atexit import logging +import th...
[ "private_gpt/components/broker/broker_component.py" ]
[ { "comment": "This module forces the broker component logger to DEBUG unconditionally. That can create very noisy logs in production regardless of the application’s configured log level. Prefer inheriting the configured logging level (remove this) or gating DEBUG on the configured debug mode (similar to other m...
true
zylon-ai/private-gpt
2,266
comment_to_fix
fix: ensure that the publisher is ready to publish new messages
BlockingPublisher.drain() waits indefinitely on Queue.join(). In celery callbacks, BrokerComponent.join() is invoked after publishing the final message; if RabbitMQ is down or the publisher thread can’t make progress, this can hang the task forever. Consider adding an optional timeout to drain() (and handling it at th...
cfa12bb4c8d77290391d61c2d54051c8cc9d589b
2e5beca89cd65234e5219f7362f3461ad656c14b
diff --git a/private_gpt/components/broker/blocking_publisher.py b/private_gpt/components/broker/blocking_publisher.py index acce38307..dcb5878b6 100644 --- a/private_gpt/components/broker/blocking_publisher.py +++ b/private_gpt/components/broker/blocking_publisher.py @@ -115,7 +115,12 @@ def publish(self, exchange: st...
[ "private_gpt/components/broker/blocking_publisher.py" ]
[ { "comment": "BlockingPublisher.drain() waits indefinitely on Queue.join(). In celery callbacks, BrokerComponent.join() is invoked after publishing the final message; if RabbitMQ is down or the publisher thread can’t make progress, this can hang the task forever.\n\nConsider adding an optional timeout to drain(...
true
zylon-ai/private-gpt
2,268
issue_to_patch
chore(deps): bump astral-sh/setup-uv from 8.1.0 to 8.2.0
Bumps [astral-sh/setup-uv](https://github.com/astral-sh/setup-uv) from 8.1.0 to 8.2.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/astral-sh/setup-uv/releases">astral-sh/setup-uv's releases</a>.</em></p> <blockquote> <h2>v8.2.0 🌈 New inputs <code>quiet</code> and <code>do...
cfa12bb4c8d77290391d61c2d54051c8cc9d589b
18ba9848ad6414f8921697f7b5cfc769ec6fadf1
diff --git a/.github/workflows/generate-release.yml b/.github/workflows/generate-release.yml index 0ee0f85cb..83359afc0 100644 --- a/.github/workflows/generate-release.yml +++ b/.github/workflows/generate-release.yml @@ -30,7 +30,7 @@ jobs: uses: actions/checkout@v6 - name: Install UV and set Python v...
[ ".github/workflows/generate-release.yml", ".github/workflows/update-claude-specs.yml" ]
[]
true
zylon-ai/private-gpt
2,267
issue_to_patch
fix: use PGPT_HOME for local data, caches, and cleanup paths
# Description Store local data, caches, and databases under `PGPT_HOME` instead of the current working or executable directory, so running `private-gpt` from other locations uses a consistent user-scoped storage location. This also aligns `make test`, `make wipe`, and the ingestion documentation with the new `PGPT_HOM...
cfa12bb4c8d77290391d61c2d54051c8cc9d589b
acbbd7719894cee90b4eb75994dff1f02aa7c0ce
diff --git a/Dockerfile b/Dockerfile index 22926587e..9c98baf9e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -122,7 +122,8 @@ ARG PGPT_DOWNLOAD_PLAYWRIGHT COPY pyproject.toml uv.lock ./ -ENV HF_HOME=local_data +ENV PGPT_HOME=/home/worker/app +ENV HF_HOME=/home/worker/app/local_data ENV PLAYWRIGHT_BROWSERS_PATH=/ho...
[ "Dockerfile", "Makefile", "fern/docs/pages/api-guide/ingestion.mdx", "fern/docs/pages/installation/package.mdx", "fern/docs/pages/storage/storage.mdx", "fern/docs/pages/storage/vectordb.mdx", "private_gpt/__init__.py", "private_gpt/celery/backend_config.py", "private_gpt/celery/broker_config.py", ...
[ { "comment": "`resolve_data_path()` treats only paths starting with \"/\" or \"~\" as absolute. This will mis-handle valid absolute paths on Windows (e.g. `C:\\...` or UNC `\\\\server\\share\\...`) by incorrectly prefixing them with `PGPT_HOME`.", "path": "private_gpt/paths.py", "hunk": "@@ -1,21 +1,20 ...
true
zylon-ai/private-gpt
2,267
comment_to_fix
fix: use PGPT_HOME for local data, caches, and cleanup paths
`resolve_data_path()` treats only paths starting with "/" or "~" as absolute. This will mis-handle valid absolute paths on Windows (e.g. `C:\...` or UNC `\\server\share\...`) by incorrectly prefixing them with `PGPT_HOME`.
cfa12bb4c8d77290391d61c2d54051c8cc9d589b
acbbd7719894cee90b4eb75994dff1f02aa7c0ce
diff --git a/private_gpt/paths.py b/private_gpt/paths.py index 57ebff06b..1e7021e7b 100644 --- a/private_gpt/paths.py +++ b/private_gpt/paths.py @@ -1,21 +1,21 @@ from pathlib import Path -from private_gpt.constants import PROJECT_ROOT_PATH +from private_gpt.constants import PGPT_HOME, PROJECT_ROOT_PATH from privat...
[ "private_gpt/paths.py" ]
[ { "comment": "`resolve_data_path()` treats only paths starting with \"/\" or \"~\" as absolute. This will mis-handle valid absolute paths on Windows (e.g. `C:\\...` or UNC `\\\\server\\share\\...`) by incorrectly prefixing them with `PGPT_HOME`.", "path": "private_gpt/paths.py", "hunk": "@@ -1,21 +1,20 ...
true
zylon-ai/private-gpt
2,267
comment_to_fix
fix: use PGPT_HOME for local data, caches, and cleanup paths
This change makes `data.local_data_folder: local_data/tests` (from `settings-test.yaml`) resolve under `PGPT_HOME` instead of the repo root. As a result, `make test` / `make wipe` (which delete `./local_data/...`) will no longer clean the directories the test profile uses, and tests may write into the developer/CI home...
cfa12bb4c8d77290391d61c2d54051c8cc9d589b
acbbd7719894cee90b4eb75994dff1f02aa7c0ce
diff --git a/private_gpt/paths.py b/private_gpt/paths.py index 57ebff06b..1e7021e7b 100644 --- a/private_gpt/paths.py +++ b/private_gpt/paths.py @@ -1,21 +1,21 @@ from pathlib import Path -from private_gpt.constants import PROJECT_ROOT_PATH +from private_gpt.constants import PGPT_HOME, PROJECT_ROOT_PATH from privat...
[ "private_gpt/paths.py" ]
[ { "comment": "This change makes `data.local_data_folder: local_data/tests` (from `settings-test.yaml`) resolve under `PGPT_HOME` instead of the repo root. As a result, `make test` / `make wipe` (which delete `./local_data/...`) will no longer clean the directories the test profile uses, and tests may write into...
true
zylon-ai/private-gpt
2,267
comment_to_fix
fix: use PGPT_HOME for local data, caches, and cleanup paths
The SQLAlchemy SQLite URL is built from a `Path`. On Windows this will stringify with backslashes (e.g. `C:\Users\...`), which SQLAlchemy does not reliably accept in `sqlite:///...` URLs. Converting the path to POSIX form avoids Windows-specific URL parsing issues.
cfa12bb4c8d77290391d61c2d54051c8cc9d589b
acbbd7719894cee90b4eb75994dff1f02aa7c0ce
diff --git a/private_gpt/celery/backend_config.py b/private_gpt/celery/backend_config.py index cd00ded05..b7e3ab456 100644 --- a/private_gpt/celery/backend_config.py +++ b/private_gpt/celery/backend_config.py @@ -3,6 +3,7 @@ from pydantic import BaseModel, Field +from private_gpt.paths import local_data_path from...
[ "private_gpt/celery/backend_config.py" ]
[ { "comment": "The SQLAlchemy SQLite URL is built from a `Path`. On Windows this will stringify with backslashes (e.g. `C:\\Users\\...`), which SQLAlchemy does not reliably accept in `sqlite:///...` URLs. Converting the path to POSIX form avoids Windows-specific URL parsing issues.", "path": "private_gpt/cel...
true
zylon-ai/private-gpt
2,267
comment_to_fix
fix: use PGPT_HOME for local data, caches, and cleanup paths
`self._local_path` is now derived from `resolve_data_path()`, which can produce a Windows path. Using a `Path` directly in `sqlite:///...` URLs will stringify with backslashes on Windows, which SQLAlchemy does not reliably parse. Also, `self._local_path` is already a `Path`, so `Path(self._local_path)` is redundant.
cfa12bb4c8d77290391d61c2d54051c8cc9d589b
acbbd7719894cee90b4eb75994dff1f02aa7c0ce
diff --git a/private_gpt/components/sqlite/sqlite_client.py b/private_gpt/components/sqlite/sqlite_client.py index 4ac535dce..80f269abd 100644 --- a/private_gpt/components/sqlite/sqlite_client.py +++ b/private_gpt/components/sqlite/sqlite_client.py @@ -3,6 +3,7 @@ from importlib.util import find_spec from pathlib imp...
[ "private_gpt/components/sqlite/sqlite_client.py" ]
[ { "comment": "`self._local_path` is now derived from `resolve_data_path()`, which can produce a Windows path. Using a `Path` directly in `sqlite:///...` URLs will stringify with backslashes on Windows, which SQLAlchemy does not reliably parse. Also, `self._local_path` is already a `Path`, so `Path(self._local_p...
true
zylon-ai/private-gpt
2,267
comment_to_fix
fix: use PGPT_HOME for local data, caches, and cleanup paths
The warning claims `make wipe` deletes everything under `PGPT_HOME`, but the repository `Makefile` currently only deletes `./local_data/*` (relative to the repo). Unless `make wipe` is also updated to respect `PGPT_HOME`, this warning is misleading.
cfa12bb4c8d77290391d61c2d54051c8cc9d589b
acbbd7719894cee90b4eb75994dff1f02aa7c0ce
diff --git a/fern/docs/pages/api-guide/ingestion.mdx b/fern/docs/pages/api-guide/ingestion.mdx index 1fcd5d502..2065dac43 100644 --- a/fern/docs/pages/api-guide/ingestion.mdx +++ b/fern/docs/pages/api-guide/ingestion.mdx @@ -47,7 +47,7 @@ make wipe ``` <Warning> - This deletes everything in `local_data/` including...
[ "fern/docs/pages/api-guide/ingestion.mdx" ]
[ { "comment": "The warning claims `make wipe` deletes everything under `PGPT_HOME`, but the repository `Makefile` currently only deletes `./local_data/*` (relative to the repo). Unless `make wipe` is also updated to respect `PGPT_HOME`, this warning is misleading.", "path": "fern/docs/pages/api-guide/ingesti...
true
zylon-ai/private-gpt
2,262
issue_to_patch
chore(deps): update Claude specs and anthropic SDK
Automated update of: - `OPENAPI_SPEC_URL` in `tests/models/anthropic/test_openapi_schema.py` — fetched from [`anthropic-sdk-typescript/.stats.yml`](https://raw.githubusercontent.com/anthropics/anthropic-sdk-typescript/main/.stats.yml) - `anthropic` minimum version in `pyproject.toml` — fetched from [PyPI](https://p...
7595d25a4c9d71befe04882c93272efa19ebf97a
e6998e18004a29748f5848ecd4b86cfa0fd5980f
diff --git a/pyproject.toml b/pyproject.toml index 5423cccfc..7420cc709 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -50,7 +50,7 @@ llm-mistral = [ ] llm-anthropic = [ "langchain-anthropic>=1.4.3", - "anthropic>=0.105.2", + "anthropic>=0.107.1", ] # ----------------------------------------------...
[ "pyproject.toml", "tests/models/anthropic/test_openapi_schema.py", "uv.lock" ]
[]
diff --git a/tests/models/anthropic/test_openapi_schema.py b/tests/models/anthropic/test_openapi_schema.py index 13c9665e8..4c630ba92 100644 --- a/tests/models/anthropic/test_openapi_schema.py +++ b/tests/models/anthropic/test_openapi_schema.py @@ -8,7 +8,7 @@ from tests.models.anthropic.registry import ALL_MAPPINGS...
true
zylon-ai/private-gpt
2,264
issue_to_patch
fix: add missing docker database deps
# Description In the current version, we are not installing database deps. ## Type of Change Please delete options that are not relevant. - [X] Bug fix (non-breaking change which fixes an issue) - [ ] New feature (non-breaking change which adds functionality) - [ ] Breaking change (fix or feature that wou...
c120a90603f78bb28b19f758a9ba4b40c37480ff
a1e0db2e9a6fa0d5b931403b3d87c21bac6991e3
diff --git a/Dockerfile b/Dockerfile index 855c91d59..22926587e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -18,10 +18,10 @@ RUN --mount=type=cache,target=/var/cache/apt,sharing=locked \ ENABLE_DATABASE=0; \ for extra in $EXTRAS; do \ case "$extra" in \ - ingest|ingest-core|ingest-documents|inge...
[ "Dockerfile", "settings.yaml" ]
[ { "comment": "The current `case` patterns make `core` and `tools` match earlier branches and stop, so they won't consistently enable all expected flags (e.g., `tools` enables web scraping but not database; `core` only enables documents). This likely prevents database OS deps from being installed when building w...
true
zylon-ai/private-gpt
2,261
issue_to_patch
[QUESTION]: Ollama embedding error ### Question Hello, Thank you for updating PrivateGPT! I installed the update with the Local with uv option. I created Model configuration. I tried to upload documents. I got an error. Unsure if I have the settings correctly. Would you be so kind as to provide config for ollama spec...
fix: make embedding API key optional for local OpenAI-compatible engines
## Summary Ingesting documents with a local OpenAI-compatible embedding engine (Ollama, vLLM, ...) fails with: ``` openai.OpenAIError: Missing credentials. Please pass an `api_key` ... or set the `OPENAI_API_KEY` ... environment variable. ``` even though chat works fine against the same engine. This makes key-less l...
7595d25a4c9d71befe04882c93272efa19ebf97a
3c5f34a74b3bdd42acf78cc68acfb022962d1d8f
diff --git a/private_gpt/components/embedding/factories/openailike.py b/private_gpt/components/embedding/factories/openailike.py index 4c812f0ea..0e745c92d 100644 --- a/private_gpt/components/embedding/factories/openailike.py +++ b/private_gpt/components/embedding/factories/openailike.py @@ -27,7 +27,11 @@ def _create_...
[ "private_gpt/components/embedding/factories/openailike.py", "tests/components/embedding/test_openai_embedding_factory.py" ]
[]
diff --git a/tests/components/embedding/test_openai_embedding_factory.py b/tests/components/embedding/test_openai_embedding_factory.py new file mode 100644 index 000000000..e7e0e97c8 --- /dev/null +++ b/tests/components/embedding/test_openai_embedding_factory.py @@ -0,0 +1,65 @@ +from unittest.mock import patch + +from...
true
zylon-ai/private-gpt
2,231
issue_to_patch
chore(main): release 1.0.0
:robot: I have created a release *beep* *boop* --- ## [1.0.0](https://github.com/zylon-ai/private-gpt/compare/v0.6.2...v1.0.0) (2026-06-03) ### ⚠ BREAKING CHANGES * PrivateGPT revamp v1 ([#2230](https://github.com/zylon-ai/private-gpt/issues/2230)) ### Features * add markdown table renderer to the workbench ui (...
c438ba183f7e7528321f28b97a08922bba811c4d
099e23faee5c5a79220137e5de637e4933818061
diff --git a/.github/release_please/.release-please-manifest.json b/.github/release_please/.release-please-manifest.json index e3778b2c1..fea345409 100644 --- a/.github/release_please/.release-please-manifest.json +++ b/.github/release_please/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "0.6.2" + ".": "1.0...
[ ".github/release_please/.release-please-manifest.json", "CHANGELOG.md", "fern/openapi/openapi.json", "pyproject.toml", "uv.lock", "version.txt" ]
[]
true
zylon-ai/private-gpt
2,233
issue_to_patch
chore: main README update
# Description README content update
183cd038570d7e3138e9286463c74b7c7fc50a2a
9e3dcce41015575a1bc57cce678659cdb74c0aa5
diff --git a/README.md b/README.md index 4242a760f..cd4ddf95e 100644 --- a/README.md +++ b/README.md @@ -1,135 +1,161 @@ -# PrivateGPT +![Banner image](./fern/docs/assets/privategpt_banner.png) -<a href="https://trendshift.io/repositories/8691" target="_blank"><img src="https://trendshift.io/api/badge/repositories/86...
[ "README.md", "fern/docs/assets/claude_cowork_privategpt.png", "fern/docs/assets/ms_excel_claude_privategpt.png", "fern/docs/assets/ms_word_claude_privategpt.png", "fern/docs/assets/n8n_privategpt.png", "fern/docs/assets/opencode_privategpt.png", "fern/docs/assets/privategpt_banner.png", "fern/docs/ass...
[]
true
zylon-ai/private-gpt
2,258
issue_to_patch
style(ui): update favicon
80ff34b4230db2804b0d4f0249773af84dfc7866
e421b3d6fbe62416ed370d9a0059efd47aed082c
diff --git a/ui/favicon.ico b/ui/favicon.ico new file mode 100644 index 000000000..ab220adb2 Binary files /dev/null and b/ui/favicon.ico differ diff --git a/ui/index.html b/ui/index.html index 1a467496a..14d22dd50 100644 --- a/ui/index.html +++ b/ui/index.html @@ -3,8 +3,7 @@ <head> <meta charset="utf-8" /> <met...
[ "ui/favicon.ico", "ui/index.html" ]
[]
true
zylon-ai/private-gpt
2,257
issue_to_patch
fix: citation/thinking prompts
80ff34b4230db2804b0d4f0249773af84dfc7866
3d6c6a73dcba03758a06f2b6353499b774d01e54
diff --git a/private_gpt/components/prompts/prompt_builder.py b/private_gpt/components/prompts/prompt_builder.py index 7ca4bca23..f76658894 100644 --- a/private_gpt/components/prompts/prompt_builder.py +++ b/private_gpt/components/prompts/prompt_builder.py @@ -87,31 +87,6 @@ def create_context_prompt( ) ...
[ "private_gpt/components/prompts/prompt_builder.py", "private_gpt/components/prompts/templates/chat/guidelines/citations.j2", "private_gpt/components/prompts/templates/citations/citation.j2", "private_gpt/server/chat/interceptors/platform_guidelines_interceptor.py", "tests/components/prompts/test_prompt_buil...
[ { "comment": "_get_citation_guidelines_content caches the rendered citation guidelines in a `@singleton` interceptor, but the rendered content now depends on the per-request `documents`. This can cause cross-request leakage of citation identifiers (and incorrect citation instructions) between different chats/us...
diff --git a/tests/components/prompts/test_prompt_builder_service.py b/tests/components/prompts/test_prompt_builder_service.py index 2709dd26e..67e7ce8fd 100644 --- a/tests/components/prompts/test_prompt_builder_service.py +++ b/tests/components/prompts/test_prompt_builder_service.py @@ -176,14 +176,14 @@ def test_crea...
true
zylon-ai/private-gpt
2,257
comment_to_fix
fix: citation/thinking prompts
_get_citation_guidelines_content caches the rendered citation guidelines in a `@singleton` interceptor, but the rendered content now depends on the per-request `documents`. This can cause cross-request leakage of citation identifiers (and incorrect citation instructions) between different chats/users, because the first...
80ff34b4230db2804b0d4f0249773af84dfc7866
3d6c6a73dcba03758a06f2b6353499b774d01e54
diff --git a/private_gpt/server/chat/interceptors/platform_guidelines_interceptor.py b/private_gpt/server/chat/interceptors/platform_guidelines_interceptor.py index 2332f75e9..0a9d9acd0 100644 --- a/private_gpt/server/chat/interceptors/platform_guidelines_interceptor.py +++ b/private_gpt/server/chat/interceptors/platfo...
[ "private_gpt/server/chat/interceptors/platform_guidelines_interceptor.py" ]
[ { "comment": "_get_citation_guidelines_content caches the rendered citation guidelines in a `@singleton` interceptor, but the rendered content now depends on the per-request `documents`. This can cause cross-request leakage of citation identifiers (and incorrect citation instructions) between different chats/us...
true
zylon-ai/private-gpt
2,256
issue_to_patch
docs: add required libraries
f2e668595123426834e8c055d7ad4b8b8a0a77a9
2d8864d4888d463f4bd1cd77a9b72f1596e198f0
diff --git a/fern/docs/pages/getting-started/quickstart.mdx b/fern/docs/pages/getting-started/quickstart.mdx index 8c8369627..1d8ada252 100644 --- a/fern/docs/pages/getting-started/quickstart.mdx +++ b/fern/docs/pages/getting-started/quickstart.mdx @@ -12,17 +12,6 @@ PrivateGPT connects to any OpenAI-compatible LLM ser...
[ "fern/docs/pages/getting-started/quickstart.mdx", "fern/docs/pages/tools/database-tools.mdx" ]
[ { "comment": "This sentence implies *all* listed Python drivers require OS-level database client libraries, but at least some of the drivers in the table (e.g., `asyncpg`, `pymysql`) do not. Reword to avoid overstatement.", "path": "fern/docs/pages/tools/database-tools.mdx", "hunk": "@@ -53,6 +55,124 @@...
true
zylon-ai/private-gpt
2,255
issue_to_patch
feat: add markdown table renderer to the workbench ui
# Description Added simple table markdown renderer logic to index.html
f2e668595123426834e8c055d7ad4b8b8a0a77a9
953d2ec5ef556c8788755c22a2f8ccdc28f23bf5
diff --git a/ui/index.html b/ui/index.html index a614d2db2..1a467496a 100644 --- a/ui/index.html +++ b/ui/index.html @@ -1369,10 +1369,42 @@ .markdown p, .markdown ul, .markdown ol, + .markdown table, .markdown pre { margin: 0; } + .markdown-table-scroll { + max-width: 100%;...
[ "ui/index.html" ]
[]
true
zylon-ai/private-gpt
2,254
issue_to_patch
feat: change logo app
d257fbf22879fbdb32187a775b872db65e61a587
0b9495824cf99ae71ffe60156a3c15c468373222
diff --git a/ui/index.html b/ui/index.html index 38544e737..a614d2db2 100644 --- a/ui/index.html +++ b/ui/index.html @@ -276,23 +276,27 @@ display: flex; flex-direction: column; align-items: flex-start; - gap: 8px; margin: 0 10px 24px; } - .logo svg { + .logo img { d...
[ "ui/index.html", "ui/references/logo-privategpt-wordmark-dark-transparent.svg", "ui/references/logo-privategpt-wordmark-white-transparent.svg" ]
[ { "comment": "`brandLogo`'s accessible name is hard-coded to \"PrivateGPT\" via the `<img>` `alt`, but the UI supports a configurable `appearance.brandName` (used for `document.title` and `#brandNameText`). When users change the brand name, assistive tech will still announce \"PrivateGPT\". Update the logo alt ...
true
zylon-ai/private-gpt
2,251
issue_to_patch
chore(deps): bump actions/upload-artifact from 4 to 7
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 4 to 7. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/actions/upload-artifact/releases">actions/upload-artifact's releases</a>.</em></p> <blockquote> <h2>v7.0.0</h2> <h2>v7 What's new</h2> <h3>D...
64b25ef43bf9b12b2857fca7d0b67adef4b041c5
e2cfa3201c120f64c68de82079a397a1b7aa611d
diff --git a/.github/workflows/actions/install_dependencies/action.yml b/.github/workflows/actions/install_dependencies/action.yml index 7d03c90d4..dd77ca542 100644 --- a/.github/workflows/actions/install_dependencies/action.yml +++ b/.github/workflows/actions/install_dependencies/action.yml @@ -21,7 +21,7 @@ runs: ...
[ ".github/workflows/actions/install_dependencies/action.yml", ".github/workflows/generate-release.yml", ".github/workflows/tests.yml", ".github/workflows/update-claude-specs.yml" ]
[]
true
zylon-ai/private-gpt
2,250
issue_to_patch
chore(deps): bump actions/checkout from 4 to 6
Bumps [actions/checkout](https://github.com/actions/checkout) from 4 to 6. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/actions/checkout/releases">actions/checkout's releases</a>.</em></p> <blockquote> <h2>v6.0.0</h2> <h2>What's Changed</h2> <ul> <li>Update README to includ...
20cddb170c4839cf40f53d8ca16e89fbc37dc6e1
e780abf07b4798a4a06621bb88454da0fc53c76a
diff --git a/.github/workflows/fern-check.yml b/.github/workflows/fern-check.yml index 2fd86e12c..236321942 100644 --- a/.github/workflows/fern-check.yml +++ b/.github/workflows/fern-check.yml @@ -12,7 +12,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout repo - uses: actions/checkout@v4...
[ ".github/workflows/fern-check.yml", ".github/workflows/generate-release.yml", ".github/workflows/post-release-please.yml", ".github/workflows/preview-docs.yml", ".github/workflows/publish-docs.yml", ".github/workflows/tests.yml", ".github/workflows/update-claude-specs.yml" ]
[]
true
zylon-ai/private-gpt
2,253
issue_to_patch
chore(deps): bump actions/download-artifact from 4 to 8
Bumps [actions/download-artifact](https://github.com/actions/download-artifact) from 4 to 8. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/actions/download-artifact/releases">actions/download-artifact's releases</a>.</em></p> <blockquote> <h2>v8.0.0</h2> <h2>v8 - What's new<...
64b25ef43bf9b12b2857fca7d0b67adef4b041c5
c05eabee4ed87af8fd325e78dc82b26f46bf87a1
diff --git a/.github/workflows/generate-release.yml b/.github/workflows/generate-release.yml index ba520f028..12a4ef20f 100644 --- a/.github/workflows/generate-release.yml +++ b/.github/workflows/generate-release.yml @@ -103,7 +103,7 @@ jobs: python-version: "3.11" - name: Download built distributio...
[ ".github/workflows/generate-release.yml" ]
[]
true
zylon-ai/private-gpt
2,252
issue_to_patch
chore(deps): bump actions/setup-node from 4 to 6
Bumps [actions/setup-node](https://github.com/actions/setup-node) from 4 to 6. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/actions/setup-node/releases">actions/setup-node's releases</a>.</em></p> <blockquote> <h2>v6.0.0</h2> <h2>What's Changed</h2> <p><strong>Breaking Chan...
64b25ef43bf9b12b2857fca7d0b67adef4b041c5
2203b2be0b7167ce6e5515bb707ce8dfa4b4b2ab
diff --git a/.github/workflows/fern-check.yml b/.github/workflows/fern-check.yml index c04be4534..2fd86e12c 100644 --- a/.github/workflows/fern-check.yml +++ b/.github/workflows/fern-check.yml @@ -15,7 +15,7 @@ jobs: uses: actions/checkout@v4 - name: Setup Node.js - uses: actions/setup-node@v4 ...
[ ".github/workflows/fern-check.yml", ".github/workflows/preview-docs.yml", ".github/workflows/publish-docs.yml" ]
[]
true
zylon-ai/private-gpt
2,249
issue_to_patch
chore(deps): bump actions/setup-python from 5 to 6
Bumps [actions/setup-python](https://github.com/actions/setup-python) from 5 to 6. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/actions/setup-python/releases">actions/setup-python's releases</a>.</em></p> <blockquote> <h2>v6.0.0</h2> <h2>What's Changed</h2> <h3>Breaking Cha...
64b25ef43bf9b12b2857fca7d0b67adef4b041c5
33dd95a9a1b29b70c7530f7e22d87f0f08976739
diff --git a/.github/workflows/generate-release.yml b/.github/workflows/generate-release.yml index ba520f028..7034d9fff 100644 --- a/.github/workflows/generate-release.yml +++ b/.github/workflows/generate-release.yml @@ -98,7 +98,7 @@ jobs: uses: actions/checkout@v4 - name: Set up Python - uses...
[ ".github/workflows/generate-release.yml" ]
[]
true
zylon-ai/private-gpt
2,248
issue_to_patch
chore(deps): bump actions/github-script from 7 to 9
Bumps [actions/github-script](https://github.com/actions/github-script) from 7 to 9. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/actions/github-script/releases">actions/github-script's releases</a>.</em></p> <blockquote> <h2>v9.0.0</h2> <p><strong>New features:</strong></p...
64b25ef43bf9b12b2857fca7d0b67adef4b041c5
e003cfb5de571502ba9eae3dca88c357889c73a9
diff --git a/.github/workflows/preview-docs.yml b/.github/workflows/preview-docs.yml index aed1ed7d0..24631e640 100644 --- a/.github/workflows/preview-docs.yml +++ b/.github/workflows/preview-docs.yml @@ -41,7 +41,7 @@ jobs: # Set the output for the step echo "preview_url=$preview_url" >> "$GITHUB...
[ ".github/workflows/preview-docs.yml" ]
[]
true
zylon-ai/private-gpt
2,247
issue_to_patch
chore: update github actions
a6ab856c2b03fca4dfabdf20654d639f7d97b66d
9a48c0e91ce04867c7ce7391ebdf2f8f44b58798
diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 000000000..faafa24a9 --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,14 @@ +version: 2 +updates: + - package-ecosystem: "github-actions" + directory: "/" + schedule: + interval: "weekly" + - package-ecosystem: "uv...
[ ".github/dependabot.yml", ".github/workflows/actions/install_dependencies/action.yml", ".github/workflows/generate-release.yml", ".github/workflows/post-release-please.yml", ".github/workflows/preview-docs.yml", ".github/workflows/release-please.yml", ".github/workflows/stale.yml", ".github/workflows/...
[ { "comment": "`workflow_dispatch` runs will have an empty `github.head_ref`, so this job-level `if` makes the job a no-op when manually dispatched (even if you select the `release-please--branches--main` branch). If manual dispatch should remain supported, include `github.ref_name` in the condition (as previous...
true
zylon-ai/private-gpt
2,247
comment_to_fix
chore: update github actions
`workflow_dispatch` runs will have an empty `github.head_ref`, so this job-level `if` makes the job a no-op when manually dispatched (even if you select the `release-please--branches--main` branch). If manual dispatch should remain supported, include `github.ref_name` in the condition (as previously) or remove `workflo...
a6ab856c2b03fca4dfabdf20654d639f7d97b66d
9a48c0e91ce04867c7ce7391ebdf2f8f44b58798
diff --git a/.github/workflows/post-release-please.yml b/.github/workflows/post-release-please.yml index edb39fd33..8749cac1c 100644 --- a/.github/workflows/post-release-please.yml +++ b/.github/workflows/post-release-please.yml @@ -20,7 +20,7 @@ jobs: uses: actions/checkout@v4 with: ref: $...
[ ".github/workflows/post-release-please.yml" ]
[ { "comment": "`workflow_dispatch` runs will have an empty `github.head_ref`, so this job-level `if` makes the job a no-op when manually dispatched (even if you select the `release-please--branches--main` branch). If manual dispatch should remain supported, include `github.ref_name` in the condition (as previous...
true
zylon-ai/private-gpt
2,247
comment_to_fix
chore: update github actions
Checking out `ref: ${{ github.head_ref }}` will fail on `workflow_dispatch` because `github.head_ref` is empty for that event. Use a fallback to `github.ref_name` if manual dispatch should work.
a6ab856c2b03fca4dfabdf20654d639f7d97b66d
9a48c0e91ce04867c7ce7391ebdf2f8f44b58798
diff --git a/.github/workflows/post-release-please.yml b/.github/workflows/post-release-please.yml index edb39fd33..8749cac1c 100644 --- a/.github/workflows/post-release-please.yml +++ b/.github/workflows/post-release-please.yml @@ -20,7 +20,7 @@ jobs: uses: actions/checkout@v4 with: ref: $...
[ ".github/workflows/post-release-please.yml" ]
[ { "comment": "Checking out `ref: ${{ github.head_ref }}` will fail on `workflow_dispatch` because `github.head_ref` is empty for that event. Use a fallback to `github.ref_name` if manual dispatch should work.", "path": ".github/workflows/post-release-please.yml", "hunk": "@@ -14,13 +14,13 @@ permissions...
true
zylon-ai/private-gpt
2,247
comment_to_fix
chore: update github actions
Same as above: on `workflow_dispatch`, `github.head_ref` is empty, so this `if` prevents the job from running even when manually dispatched on the target branch. Include `github.ref_name` in the condition (or remove `workflow_dispatch` if manual dispatch isn't intended).
a6ab856c2b03fca4dfabdf20654d639f7d97b66d
9a48c0e91ce04867c7ce7391ebdf2f8f44b58798
diff --git a/.github/workflows/post-release-please.yml b/.github/workflows/post-release-please.yml index edb39fd33..8749cac1c 100644 --- a/.github/workflows/post-release-please.yml +++ b/.github/workflows/post-release-please.yml @@ -20,7 +20,7 @@ jobs: uses: actions/checkout@v4 with: ref: $...
[ ".github/workflows/post-release-please.yml" ]
[ { "comment": "Same as above: on `workflow_dispatch`, `github.head_ref` is empty, so this `if` prevents the job from running even when manually dispatched on the target branch. Include `github.ref_name` in the condition (or remove `workflow_dispatch` if manual dispatch isn't intended).", "path": ".github/wor...
true
zylon-ai/private-gpt
2,247
comment_to_fix
chore: update github actions
Checking out `ref: ${{ github.head_ref }}` will fail on `workflow_dispatch` because `github.head_ref` is empty for that event. Use a fallback to `github.ref_name` if manual dispatch should work.
a6ab856c2b03fca4dfabdf20654d639f7d97b66d
9a48c0e91ce04867c7ce7391ebdf2f8f44b58798
diff --git a/.github/workflows/post-release-please.yml b/.github/workflows/post-release-please.yml index edb39fd33..8749cac1c 100644 --- a/.github/workflows/post-release-please.yml +++ b/.github/workflows/post-release-please.yml @@ -20,7 +20,7 @@ jobs: uses: actions/checkout@v4 with: ref: $...
[ ".github/workflows/post-release-please.yml" ]
[ { "comment": "Checking out `ref: ${{ github.head_ref }}` will fail on `workflow_dispatch` because `github.head_ref` is empty for that event. Use a fallback to `github.ref_name` if manual dispatch should work.", "path": ".github/workflows/post-release-please.yml", "hunk": "@@ -42,13 +42,13 @@ jobs:\n \n ...
true
zylon-ai/private-gpt
2,245
issue_to_patch
fix: claude desktop after changes yesterday
feb11e45cb67ce5f9c2e9d39fdf84e8771cb7ed0
ba5f9bd4b0caa5c2fbeb9eecd33b8fc02cdad676
diff --git a/fern/docs/pages/integrations/claude-desktop.mdx b/fern/docs/pages/integrations/claude-desktop.mdx index 505a64902..d0211dc96 100644 --- a/fern/docs/pages/integrations/claude-desktop.mdx +++ b/fern/docs/pages/integrations/claude-desktop.mdx @@ -4,7 +4,7 @@ description: "Connect Claude Desktop (Cowork) to yo...
[ "fern/docs/pages/integrations/claude-desktop.mdx", "private_gpt/chat/input_models.py", "tests/server/chat/test_chat_routes.py" ]
[ { "comment": "`extract_system_messages` appends new `System(...)` blocks with default config. Because `ChatBody.merged_system()` merges system blocks and uses the *last* block’s `blob_visibility` (and also re-materializes `System` during merge), a request that sets `system` options (e.g. `blob_visibility=INTERN...
diff --git a/tests/server/chat/test_chat_routes.py b/tests/server/chat/test_chat_routes.py index 6a50d52c9..1fda6e592 100644 --- a/tests/server/chat/test_chat_routes.py +++ b/tests/server/chat/test_chat_routes.py @@ -892,7 +892,7 @@ async def test_chat_body_validation_duplicate_tools( [ {"...
true
zylon-ai/private-gpt
2,245
comment_to_fix
fix: claude desktop after changes yesterday
`extract_system_messages` appends new `System(...)` blocks with default config. Because `ChatBody.merged_system()` merges system blocks and uses the *last* block’s `blob_visibility` (and also re-materializes `System` during merge), a request that sets `system` options (e.g. `blob_visibility=INTERNAL` or prompt flags) a...
feb11e45cb67ce5f9c2e9d39fdf84e8771cb7ed0
ba5f9bd4b0caa5c2fbeb9eecd33b8fc02cdad676
diff --git a/private_gpt/chat/input_models.py b/private_gpt/chat/input_models.py index 62cf6e6ac..ccf5f8bab 100644 --- a/private_gpt/chat/input_models.py +++ b/private_gpt/chat/input_models.py @@ -340,7 +340,7 @@ class OutputConfigInput(BaseModel): class MessageInput(BaseModel): """Input message for AI conversati...
[ "private_gpt/chat/input_models.py" ]
[ { "comment": "`extract_system_messages` appends new `System(...)` blocks with default config. Because `ChatBody.merged_system()` merges system blocks and uses the *last* block’s `blob_visibility` (and also re-materializes `System` during merge), a request that sets `system` options (e.g. `blob_visibility=INTERN...
true
zylon-ai/private-gpt
2,245
comment_to_fix
fix: claude desktop after changes yesterday
The table row for **Display Name** says “see warning below”, but the warnings below are about **Model ID** only. This is confusing for readers following the setup steps. Either remove the “see warning below” clause or add a warning that actually pertains to the display name.
feb11e45cb67ce5f9c2e9d39fdf84e8771cb7ed0
ba5f9bd4b0caa5c2fbeb9eecd33b8fc02cdad676
diff --git a/fern/docs/pages/integrations/claude-desktop.mdx b/fern/docs/pages/integrations/claude-desktop.mdx index 505a64902..d0211dc96 100644 --- a/fern/docs/pages/integrations/claude-desktop.mdx +++ b/fern/docs/pages/integrations/claude-desktop.mdx @@ -4,7 +4,7 @@ description: "Connect Claude Desktop (Cowork) to yo...
[ "fern/docs/pages/integrations/claude-desktop.mdx" ]
[ { "comment": "The table row for **Display Name** says “see warning below”, but the warnings below are about **Model ID** only. This is confusing for readers following the setup steps.\n\nEither remove the “see warning below” clause or add a warning that actually pertains to the display name.", "path": "fern...
true
zylon-ai/private-gpt
2,246
issue_to_patch
fix: update claude api spec
3dbadc0b328b7baad1b6991e8e29434a3846958d
ff2e7ba2f7cff73ec5506481887bfc5e52c5fc0b
diff --git a/.github/workflows/update-claude-specs.yml b/.github/workflows/update-claude-specs.yml new file mode 100644 index 000000000..c85444ce1 --- /dev/null +++ b/.github/workflows/update-claude-specs.yml @@ -0,0 +1,41 @@ +name: update-claude-specs + +on: + schedule: + - cron: "0 3 * * *" # daily at 03:00 UTC ...
[ ".github/workflows/update-claude-specs.yml", "Makefile", "private_gpt/chat/input_models.py", "private_gpt/components/chat/models/chat_config_models.py", "private_gpt/components/llm/custom/openai.py", "private_gpt/components/llm/decorators/reasoning_budget.py", "private_gpt/components/llm/models.py", "...
[ { "comment": "`make update-openapi-spec` currently invokes `scripts/update_claude_openapi.py`, but this file doesn’t exist in the repo (the new script added in this PR is `scripts/update_claude_specs.py`). As-is, the Make target will fail with a file-not-found error.", "path": "Makefile", "hunk": "@@ -4...
diff --git a/tests/models/anthropic/openapi_drift_whitelist.json b/tests/models/anthropic/openapi_drift_whitelist.json index 3b0c990a6..10f208992 100644 --- a/tests/models/anthropic/openapi_drift_whitelist.json +++ b/tests/models/anthropic/openapi_drift_whitelist.json @@ -114,7 +114,11 @@ "CountTokensInput.prope...
true
zylon-ai/private-gpt
2,244
issue_to_patch
fix: code agents
e4d69a7efc1d90d87e100098c293fbf7db9d8c69
81d41df7d8caa08b8a6012e01932ab457569a7a3
diff --git a/private_gpt/cli/commands/run.py b/private_gpt/cli/commands/run.py index 84c66a8fd..fc82ec534 100644 --- a/private_gpt/cli/commands/run.py +++ b/private_gpt/cli/commands/run.py @@ -50,13 +50,31 @@ def _wait_for_server(base_url: str, timeout: float = _HEALTH_TIMEOUT) -> bool: return False +def _serv...
[ "private_gpt/cli/commands/run.py", "private_gpt/cli/commands/serve.py", "private_gpt/settings/settings_loader.py" ]
[ { "comment": "`/v1/models` is protected by the server's `authenticated` dependency, which expects the `Authorization` header to match `settings().server.auth.secret` exactly (no `Bearer` prefix). Sending `Authorization: Bearer <secret>` will 401 when auth is enabled, causing model discovery / selection to silen...
true
zylon-ai/private-gpt
2,242
issue_to_patch
fix: ui auth header
e4d69a7efc1d90d87e100098c293fbf7db9d8c69
bbffb95640964471651e4c2ee819760b8ac6779f
diff --git a/private_gpt/launcher.py b/private_gpt/launcher.py index 287a4f67b..14273a692 100644 --- a/private_gpt/launcher.py +++ b/private_gpt/launcher.py @@ -11,7 +11,7 @@ from fastapi import FastAPI, Request from fastapi.exceptions import RequestValidationError from fastapi.middleware.cors import CORSMiddleware ...
[ "private_gpt/launcher.py", "private_gpt/settings/settings.py", "ui/index.html" ]
[ { "comment": "The injected DEFAULT_BASE_URL is currently hardcoded to a computed http://{host}:{port} URL for *all* cases. This breaks deployments where the UI is accessed from another machine or via HTTPS (it forces clients to call 127.0.0.1/http), and it also drops the original behavior of using window.locati...
true
zylon-ai/private-gpt
2,243
issue_to_patch
chore: don't allow to run worker without celery
e4d69a7efc1d90d87e100098c293fbf7db9d8c69
a7932a64a39918a0160a051cbd41bb62d58895c1
diff --git a/private_gpt/cli/main.py b/private_gpt/cli/main.py index e07304b1b..37d69d5f1 100644 --- a/private_gpt/cli/main.py +++ b/private_gpt/cli/main.py @@ -5,7 +5,15 @@ from private_gpt.cli.commands.run import run_command from private_gpt.cli.commands.serve import serve_command -from private_gpt.cli.commands.w...
[ "private_gpt/cli/main.py" ]
[ { "comment": "The `try/except ImportError` wraps both `import celery` and `from ...worker import worker_command`, so *any* ImportError inside `private_gpt.cli.commands.worker` (or its dependencies) will be treated as “Celery not available” and silently hide a real packaging/runtime problem. It’s safer to only t...
true
zylon-ai/private-gpt
2,240
issue_to_patch
chore: ignore issue
e8d4ea3e366b1f8bf5d88b80713ca38da2cb79e3
41f21f6f86225757c08e37c5d63634349dba09ef
diff --git a/.gitignore b/.gitignore index 55cc911ae..91f711905 100644 --- a/.gitignore +++ b/.gitignore @@ -3,9 +3,9 @@ .uv-cache .dist -models/ -tiktoken_cache/ -local_data/ +/models/ +/tiktoken_cache/ +/local_data/ settings-me.yaml diff --git a/scripts/set_version.py b/scripts/set_version.py new file mode 1...
[ ".gitignore", "scripts/set_version.py" ]
[ { "comment": "`subprocess.run([\"uv\", \"lock\"])` will raise FileNotFoundError when `uv` is not installed, which currently escapes the RuntimeError handler and results in a traceback. Since this script already supports `--no-lock`, it should fail with a clear, actionable message when `uv` is missing (and also ...
true
zylon-ai/private-gpt
2,241
issue_to_patch
docs: add python version
e8d4ea3e366b1f8bf5d88b80713ca38da2cb79e3
1dbcc48b80aefb4c8b6dc689466a9d47622a7ea8
diff --git a/fern/docs/pages/installation/package.mdx b/fern/docs/pages/installation/package.mdx index ed902cda9..6e81c86b5 100644 --- a/fern/docs/pages/installation/package.mdx +++ b/fern/docs/pages/installation/package.mdx @@ -30,7 +30,7 @@ This is the recommended installation method for developers who want to run Pr...
[ "fern/docs/pages/installation/package.mdx" ]
[]
true
zylon-ai/private-gpt
2,239
issue_to_patch
chore: remove empty folders
e19cd87b24f95c56c6f55dbdd129d0bde4736069
47cb006fa853f5761fdad93bbb3426adbd3d65ae
diff --git a/.gitignore b/.gitignore index 2f466f2ed9..55cc911ae7 100644 --- a/.gitignore +++ b/.gitignore @@ -3,8 +3,8 @@ .uv-cache .dist -./models/** -tiktoken_cache +models/ +tiktoken_cache/ local_data/ settings-me.yaml @@ -47,4 +47,4 @@ celery.pidbox.exchange .coverage.* # Websearch cache -.cache/ \ No ...
[ ".gitignore", "local_data/.gitignore", "models/.gitignore", "tiktoken_cache/.gitignore" ]
[]
true
zylon-ai/private-gpt
2,238
issue_to_patch
docs: fix index url
e19cd87b24f95c56c6f55dbdd129d0bde4736069
1945531179ca983aafe215f0244cd01af243154a
diff --git a/.github/workflows/generate-release.yml b/.github/workflows/generate-release.yml index 43dead61d..aec99680b 100644 --- a/.github/workflows/generate-release.yml +++ b/.github/workflows/generate-release.yml @@ -11,7 +11,7 @@ env: HOMEBREW_TAP_REPOSITORY: zylon-ai/homebrew-tap RELEASE_PACKAGE_EXTRA: "cor...
[ ".github/workflows/generate-release.yml", "fern/docs/pages/getting-started/quickstart.mdx", "fern/docs/pages/installation/package.mdx", "scripts/build_pip_index.py" ]
[]
true
zylon-ai/private-gpt
2,237
issue_to_patch
ci: not run tests when no src changes
0475e69e5ea390c5ba79123cd45a4782ff53bfca
a6b11d9b732ffcaa7ed22414a9cca4464e2425b0
diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 82f2b8a1b..5ce6b9b7d 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -5,20 +5,22 @@ on: branches: - main pull_request: + paths: + - 'private_gpt/**' + - 'tests/**' + - 'scripts/**'...
[ ".github/workflows/tests.yml" ]
[ { "comment": "The paths filter controls whether CI runs on pull requests, but it doesn't include the local composite action used by `setup`/`checks`/`test` (`.github/workflows/actions/install_dependencies`). Changes to that action would currently skip CI, even though they can affect dependency installation and ...
true
zylon-ai/private-gpt
2,237
comment_to_fix
ci: not run tests when no src changes
The paths filter controls whether CI runs on pull requests, but it doesn't include the local composite action used by `setup`/`checks`/`test` (`.github/workflows/actions/install_dependencies`). Changes to that action would currently skip CI, even though they can affect dependency installation and test behavior.
0475e69e5ea390c5ba79123cd45a4782ff53bfca
a6b11d9b732ffcaa7ed22414a9cca4464e2425b0
diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 82f2b8a1b..5ce6b9b7d 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -5,20 +5,22 @@ on: branches: - main pull_request: + paths: + - 'private_gpt/**' + - 'tests/**' + - 'scripts/**'...
[ ".github/workflows/tests.yml" ]
[ { "comment": "The paths filter controls whether CI runs on pull requests, but it doesn't include the local composite action used by `setup`/`checks`/`test` (`.github/workflows/actions/install_dependencies`). Changes to that action would currently skip CI, even though they can affect dependency installation and ...
true
zylon-ai/private-gpt
2,237
comment_to_fix
ci: not run tests when no src changes
`all_checks_passed` now runs with `if: always()` and always exits successfully, even if `checks` or `test` failed. If this job is used as the required status check, it can incorrectly allow merges when CI actually failed. The job should explicitly fail when CI was supposed to run and any dependency job did not succeed.
0475e69e5ea390c5ba79123cd45a4782ff53bfca
a6b11d9b732ffcaa7ed22414a9cca4464e2425b0
diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 82f2b8a1b..5ce6b9b7d 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -5,20 +5,22 @@ on: branches: - main pull_request: + paths: + - 'private_gpt/**' + - 'tests/**' + - 'scripts/**'...
[ ".github/workflows/tests.yml" ]
[ { "comment": "`all_checks_passed` now runs with `if: always()` and always exits successfully, even if `checks` or `test` failed. If this job is used as the required status check, it can incorrectly allow merges when CI actually failed. The job should explicitly fail when CI was supposed to run and any dependenc...
true
zylon-ai/private-gpt
2,236
issue_to_patch
docs: fix broken links
183cd038570d7e3138e9286463c74b7c7fc50a2a
834b00247d04354400cf79060738da5e1cea1a0c
diff --git a/.github/workflows/generate-release.yml b/.github/workflows/generate-release.yml index 3d8152d4e..43dead61d 100644 --- a/.github/workflows/generate-release.yml +++ b/.github/workflows/generate-release.yml @@ -11,7 +11,7 @@ env: HOMEBREW_TAP_REPOSITORY: zylon-ai/homebrew-tap RELEASE_PACKAGE_EXTRA: "cor...
[ ".github/workflows/generate-release.yml", "fern/docs.yml", "fern/docs/pages/api-guide/tools.mdx", "fern/docs/pages/configuration/advanced.mdx", "fern/docs/pages/getting-started/how-it-works.mdx", "fern/docs/pages/getting-started/quickstart.mdx", "fern/docs/pages/index.mdx", "fern/docs/pages/installati...
[ { "comment": "`window.location.origin` is the string \"null\" when the workbench is opened from a local `file://` URL, which makes the default API base URL become `null` and breaks all fetch calls until the user edits settings. Provide a fallback default for non-HTTP(S) origins (keeping the previous localhost d...
true
zylon-ai/private-gpt
2,236
comment_to_fix
docs: fix broken links
`window.location.origin` is the string "null" when the workbench is opened from a local `file://` URL, which makes the default API base URL become `null` and breaks all fetch calls until the user edits settings. Provide a fallback default for non-HTTP(S) origins (keeping the previous localhost default works).
183cd038570d7e3138e9286463c74b7c7fc50a2a
834b00247d04354400cf79060738da5e1cea1a0c
diff --git a/ui/index.html b/ui/index.html index 8736e37c4..e3614e049 100644 --- a/ui/index.html +++ b/ui/index.html @@ -3114,7 +3114,7 @@ <h2>Connection</h2> <div class="form-grid"> <div class="field"> <label for="onboardingBaseUrl">PrivateGPT base URL</label> - ...
[ "ui/index.html" ]
[ { "comment": "`window.location.origin` is the string \"null\" when the workbench is opened from a local `file://` URL, which makes the default API base URL become `null` and breaks all fetch calls until the user edits settings. Provide a fallback default for non-HTTP(S) origins (keeping the previous localhost d...
true
zylon-ai/private-gpt
2,236
comment_to_fix
docs: fix broken links
The PR title indicates a docs-only change ("docs: fix broken links"), but this hunk changes workbench runtime behavior (default base URL). Please either update the PR title/description to reflect the UI behavior change, or split the UI change into a separate PR to keep scope clear for reviewers and release notes.
183cd038570d7e3138e9286463c74b7c7fc50a2a
834b00247d04354400cf79060738da5e1cea1a0c
diff --git a/ui/index.html b/ui/index.html index 8736e37c4..e3614e049 100644 --- a/ui/index.html +++ b/ui/index.html @@ -3114,7 +3114,7 @@ <h2>Connection</h2> <div class="form-grid"> <div class="field"> <label for="onboardingBaseUrl">PrivateGPT base URL</label> - ...
[ "ui/index.html" ]
[ { "comment": "The PR title indicates a docs-only change (\"docs: fix broken links\"), but this hunk changes workbench runtime behavior (default base URL). Please either update the PR title/description to reflect the UI behavior change, or split the UI change into a separate PR to keep scope clear for reviewers ...
true
zylon-ai/private-gpt
2,232
issue_to_patch
fix: upgrade litellm to 1.83.0 (CVE-2026-35030)
## Summary Upgrade litellm from 1.80.0 to 1.83.0 to fix CVE-2026-35030. ## Vulnerability | Field | Value | |-------|-------| | **ID** | CVE-2026-35030 | | **Severity** | CRITICAL | | **Scanner** | trivy | | **Rule** | `CVE-2026-35030` | | **File** | `uv.lock` | | **Assessment** | Likely exploitable | **Description**:...
183cd038570d7e3138e9286463c74b7c7fc50a2a
70b9370cded722f56b4e7aef76e07edfca8d5811
diff --git a/uv.lock b/uv.lock index 689508d2c..c21c0108c 100644 --- a/uv.lock +++ b/uv.lock @@ -1746,7 +1746,7 @@ wheels = [ [[package]] name = "litellm" -version = "1.80.0" +version = "1.87.0" source = { registry = "https://pypi.org/simple" } dependencies = [ { name = "aiohttp" }, @@ -1762,9 +1762,9 @@ dep...
[ "uv.lock" ]
[]
true
zylon-ai/private-gpt
2,234
issue_to_patch
chore: update dockerfile
183cd038570d7e3138e9286463c74b7c7fc50a2a
7e9378b75b375193317d7a9a5fd41e53c7fa0461
diff --git a/Dockerfile b/Dockerfile index 4a8a6249a..855c91d59 100644 --- a/Dockerfile +++ b/Dockerfile @@ -122,12 +122,16 @@ ARG PGPT_DOWNLOAD_PLAYWRIGHT COPY pyproject.toml uv.lock ./ -RUN mkdir -p models/nltk_cache .local-browsers tiktoken_cache encodings +ENV HF_HOME=local_data +ENV PLAYWRIGHT_BROWSERS_PATH=/...
[ "Dockerfile" ]
[ { "comment": "The NLTK download step ignores download failures (nltk.download() returns a boolean by default) and opens zip files without closing them. This can allow the Docker build to succeed with missing corpora and can leak file handles during the step.\n\nConsider failing fast with raise_on_error=True and...
true
zylon-ai/private-gpt
2,234
comment_to_fix
chore: update dockerfile
The NLTK download step ignores download failures (nltk.download() returns a boolean by default) and opens zip files without closing them. This can allow the Docker build to succeed with missing corpora and can leak file handles during the step. Consider failing fast with raise_on_error=True and explicitly closing each...
183cd038570d7e3138e9286463c74b7c7fc50a2a
7e9378b75b375193317d7a9a5fd41e53c7fa0461
diff --git a/Dockerfile b/Dockerfile index 4a8a6249a..855c91d59 100644 --- a/Dockerfile +++ b/Dockerfile @@ -122,12 +122,16 @@ ARG PGPT_DOWNLOAD_PLAYWRIGHT COPY pyproject.toml uv.lock ./ -RUN mkdir -p models/nltk_cache .local-browsers tiktoken_cache encodings +ENV HF_HOME=local_data +ENV PLAYWRIGHT_BROWSERS_PATH=/...
[ "Dockerfile" ]
[ { "comment": "The NLTK download step ignores download failures (nltk.download() returns a boolean by default) and opens zip files without closing them. This can allow the Docker build to succeed with missing corpora and can leak file handles during the step.\n\nConsider failing fast with raise_on_error=True and...
true
zylon-ai/private-gpt
2,234
comment_to_fix
chore: update dockerfile
In the downloads stage, `playwright install chromium --with-deps` installs OS packages into an intermediate image layer that is not used in the final image (only the downloaded browser directory is copied). This increases build time and network usage without benefiting the resulting runtime image, since OS deps are alr...
183cd038570d7e3138e9286463c74b7c7fc50a2a
7e9378b75b375193317d7a9a5fd41e53c7fa0461
diff --git a/Dockerfile b/Dockerfile index 4a8a6249a..855c91d59 100644 --- a/Dockerfile +++ b/Dockerfile @@ -122,12 +122,16 @@ ARG PGPT_DOWNLOAD_PLAYWRIGHT COPY pyproject.toml uv.lock ./ -RUN mkdir -p models/nltk_cache .local-browsers tiktoken_cache encodings +ENV HF_HOME=local_data +ENV PLAYWRIGHT_BROWSERS_PATH=/...
[ "Dockerfile" ]
[ { "comment": "In the downloads stage, `playwright install chromium --with-deps` installs OS packages into an intermediate image layer that is not used in the final image (only the downloaded browser directory is copied). This increases build time and network usage without benefiting the resulting runtime image,...
true
zylon-ai/private-gpt
2,234
comment_to_fix
chore: update dockerfile
This `uv pip install` step doesn't use the existing BuildKit cache mount for `/root/.cache/uv`, so build-backend / wheel build artifacts may be re-downloaded/rebuilt on each Docker build even when dependencies are unchanged. Adding the cache mount here should improve build performance and reduce network usage.
183cd038570d7e3138e9286463c74b7c7fc50a2a
7e9378b75b375193317d7a9a5fd41e53c7fa0461
diff --git a/Dockerfile b/Dockerfile index 4a8a6249a..855c91d59 100644 --- a/Dockerfile +++ b/Dockerfile @@ -122,12 +122,16 @@ ARG PGPT_DOWNLOAD_PLAYWRIGHT COPY pyproject.toml uv.lock ./ -RUN mkdir -p models/nltk_cache .local-browsers tiktoken_cache encodings +ENV HF_HOME=local_data +ENV PLAYWRIGHT_BROWSERS_PATH=/...
[ "Dockerfile" ]
[ { "comment": "This `uv pip install` step doesn't use the existing BuildKit cache mount for `/root/.cache/uv`, so build-backend / wheel build artifacts may be re-downloaded/rebuilt on each Docker build even when dependencies are unchanged. Adding the cache mount here should improve build performance and reduce n...
true
zylon-ai/private-gpt
2,235
issue_to_patch
chore: update post update release
183cd038570d7e3138e9286463c74b7c7fc50a2a
b5dcc197d1e52ca8fbb7c174fb90e4208ceaf6a5
diff --git a/.github/workflows/fern-check.yml b/.github/workflows/fern-check.yml index 6b021abc7..c04be4534 100644 --- a/.github/workflows/fern-check.yml +++ b/.github/workflows/fern-check.yml @@ -14,6 +14,11 @@ jobs: - name: Checkout repo uses: actions/checkout@v4 + - name: Setup Node.js + ...
[ ".github/workflows/fern-check.yml", ".github/workflows/post-release-please.yml", ".github/workflows/preview-docs.yml", ".github/workflows/publish-docs.yml", "private_gpt/utils/runner.py", "pyproject.toml" ]
[ { "comment": "`update-openapi` and `update-uv-lock` both create commits and `git push` to the same PR branch, but jobs run in parallel by default. This can lead to non-fast-forward push failures (whichever job pushes second) and make the workflow flaky. Serializing the jobs avoids this race.", "path": ".git...
true
zylon-ai/private-gpt
2,235
comment_to_fix
chore: update post update release
`update-openapi` and `update-uv-lock` both create commits and `git push` to the same PR branch, but jobs run in parallel by default. This can lead to non-fast-forward push failures (whichever job pushes second) and make the workflow flaky. Serializing the jobs avoids this race.
183cd038570d7e3138e9286463c74b7c7fc50a2a
b5dcc197d1e52ca8fbb7c174fb90e4208ceaf6a5
diff --git a/.github/workflows/post-release-please.yml b/.github/workflows/post-release-please.yml index 17637f603..edb39fd33 100644 --- a/.github/workflows/post-release-please.yml +++ b/.github/workflows/post-release-please.yml @@ -36,6 +36,34 @@ jobs: run: | git config user.email "ci@zylon.ai" ...
[ ".github/workflows/post-release-please.yml" ]
[ { "comment": "`update-openapi` and `update-uv-lock` both create commits and `git push` to the same PR branch, but jobs run in parallel by default. This can lead to non-fast-forward push failures (whichever job pushes second) and make the workflow flaky. Serializing the jobs avoids this race.", "path": ".git...
true
zylon-ai/private-gpt
2,235
comment_to_fix
chore: update post update release
`Install dependencies` already runs `uv sync` with many `--extra` flags, which will update `uv.lock` as needed. Running `uv lock` again here is redundant and can rewrite `uv.lock` differently (e.g., without the same extra set), causing lockfile churn or the next `uv sync --extra ...` to re-update/fail. Prefer relying o...
183cd038570d7e3138e9286463c74b7c7fc50a2a
b5dcc197d1e52ca8fbb7c174fb90e4208ceaf6a5
diff --git a/.github/workflows/post-release-please.yml b/.github/workflows/post-release-please.yml index 17637f603..edb39fd33 100644 --- a/.github/workflows/post-release-please.yml +++ b/.github/workflows/post-release-please.yml @@ -36,6 +36,34 @@ jobs: run: | git config user.email "ci@zylon.ai" ...
[ ".github/workflows/post-release-please.yml" ]
[ { "comment": "`Install dependencies` already runs `uv sync` with many `--extra` flags, which will update `uv.lock` as needed. Running `uv lock` again here is redundant and can rewrite `uv.lock` differently (e.g., without the same extra set), causing lockfile churn or the next `uv sync --extra ...` to re-update/...
true
zylon-ai/private-gpt
957
issue_to_patch
Adding support to ingest files with extensions in uppercase
Files in the source_directory where ignored if their extensions where in uppercase like (*.PDF). This change supports ingestion of files that match either lowercase or uppercase extensions like *.pdf or *.PDF. This can be enhanced further to support camelcase like *.Pdf at a later stage. The assumption is that this ...
8b9f7589c3951b153af244a79b8967fb9dee14d9
6dc494d30fbabba72e4c0fa96094c2295a7dd1bf
diff --git a/ingest.py b/ingest.py index 0ca80743f3..62e3963bb7 100755 --- a/ingest.py +++ b/ingest.py @@ -82,7 +82,7 @@ def load(self) -> List[Document]: def load_single_document(file_path: str) -> List[Document]: - ext = "." + file_path.rsplit(".", 1)[-1] + ext = "." + file_path.rsplit(".", 1)[-1].lower() ...
[ "ingest.py" ]
[]
true
zylon-ai/private-gpt
2,104
issue_to_patch
Fix 503 when Private GPT calls Ollama API on startup (Docker Compose ollama-api profile)
Fix for #2066 # Description When running private gpt with external ollama API, ollama service returns 503 on startup because ollama service (traefik) might not be ready. - Add healthcheck to ollama service to test for connection to external ollama - private-gpt-ollama service depends on ollama being service_...
5851b02378313f3dba315e0251cfd421af79dae6
aeace47057bac4d418850ac0c167d48a80c1332c
diff --git a/docker-compose.yaml b/docker-compose.yaml index e1e8b88d24..d81286d84e 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -29,7 +29,8 @@ services: - ollama-cuda - ollama-api depends_on: - - ollama + ollama: + condition: service_healthy # Private-GPT servi...
[ "docker-compose.yaml" ]
[]
true
zylon-ai/private-gpt
2,092
issue_to_patch
feat: update llama-index + dependencies
5fbb402477c41e09f56a3e5adc32f316341772bf
847f48dd63a747c89ca393b870fbe2c1bd7c8bca
diff --git a/docker-compose.yaml b/docker-compose.yaml index 2d6dff2e0a..e1e8b88d24 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -61,7 +61,7 @@ services: ollama: image: traefik:v2.10 ports: - - "11434:11434" + - "8080:8080" command: - "--providers.file.filename=/etc/r...
[ "docker-compose.yaml", "poetry.lock", "private_gpt/components/ingest/ingest_component.py", "private_gpt/components/llm/llm_component.py", "private_gpt/components/llm/prompt_helper.py", "private_gpt/components/node_store/node_store_component.py", "private_gpt/components/vector_store/batched_chroma.py", ...
[]
diff --git a/tests/fixtures/fast_api_test_client.py b/tests/fixtures/fast_api_test_client.py index 77d6037c78..17525412f7 100644 --- a/tests/fixtures/fast_api_test_client.py +++ b/tests/fixtures/fast_api_test_client.py @@ -5,7 +5,7 @@ from tests.fixtures.mock_injector import MockInjector -@pytest.fixture() +@pytes...
true
zylon-ai/private-gpt
2,090
issue_to_patch
Sanitize null bytes before ingestion
# Description When ingesting documents using Postgres some PDF documents could cause `ValueError: A string literal cannot contain NUL (0x00) characters.`. This PR replaces all null bytes before ingesting the documents to make sure this error doesn't happen. ## Type of Change - [x] Bug fix (non-breaking change wh...
77461b96cf2e18b88b592fff441206a49826db97
fcaf07005911c2986571aa2e622c1360c35dbe4c
diff --git a/private_gpt/components/ingest/ingest_helper.py b/private_gpt/components/ingest/ingest_helper.py index a110907022..da62568bcb 100644 --- a/private_gpt/components/ingest/ingest_helper.py +++ b/private_gpt/components/ingest/ingest_helper.py @@ -92,7 +92,13 @@ def _load_file_to_documents(file_name: str, file_d...
[ "private_gpt/components/ingest/ingest_helper.py" ]
[]
true
zylon-ai/private-gpt
2,078
issue_to_patch
Add default mode option to settings
# Description Add default mode to settings files ## Type of Change - [*] New feature (non-breaking change which adds functionality) ## How Has This Been Tested? - [*] I stared at the code and made sure it makes sense - [*] Tested functionality within UI **Test Configuration**: Python: 3.11.9 ## C...
42628596b28efccaef9d1b39fa94e6d47ba397be
f89be62e2c159228b0d29bcb876d600c2f430b51
diff --git a/private_gpt/settings/settings.py b/private_gpt/settings/settings.py index 4cf192a3e0..0dbef9e2ca 100644 --- a/private_gpt/settings/settings.py +++ b/private_gpt/settings/settings.py @@ -350,6 +350,10 @@ class AzureOpenAISettings(BaseModel): class UISettings(BaseModel): enabled: bool path: str + ...
[ "private_gpt/settings/settings.py", "private_gpt/ui/ui.py", "settings.yaml" ]
[ { "comment": "It's better idea configure like literal (enum)", "path": "private_gpt/settings/settings.py", "hunk": "@@ -350,6 +350,10 @@ class AzureOpenAISettings(BaseModel):\n class UISettings(BaseModel):\n enabled: bool\n path: str\n+ default_mode: str = Field(\n+ \"RAG\",\n+ ...
true
zylon-ai/private-gpt
2,078
comment_to_fix
Add default mode option to settings
It's better idea configure like literal (enum)
42628596b28efccaef9d1b39fa94e6d47ba397be
f89be62e2c159228b0d29bcb876d600c2f430b51
diff --git a/private_gpt/settings/settings.py b/private_gpt/settings/settings.py index 4cf192a3e0..0dbef9e2ca 100644 --- a/private_gpt/settings/settings.py +++ b/private_gpt/settings/settings.py @@ -350,6 +350,10 @@ class AzureOpenAISettings(BaseModel): class UISettings(BaseModel): enabled: bool path: str + ...
[ "private_gpt/settings/settings.py" ]
[ { "comment": "It's better idea configure like literal (enum)", "path": "private_gpt/settings/settings.py", "hunk": "@@ -350,6 +350,10 @@ class AzureOpenAISettings(BaseModel):\n class UISettings(BaseModel):\n enabled: bool\n path: str\n+ default_mode: str = Field(\n+ \"RAG\",\n+ ...
true
zylon-ai/private-gpt
2,078
comment_to_fix
Add default mode option to settings
By default, RAG please :)
42628596b28efccaef9d1b39fa94e6d47ba397be
f89be62e2c159228b0d29bcb876d600c2f430b51
diff --git a/settings.yaml b/settings.yaml index f030604a30..eda1af8601 100644 --- a/settings.yaml +++ b/settings.yaml @@ -25,21 +25,23 @@ data: ui: enabled: true path: / + # "RAG", "Search", "Basic", or "Summarize" + default_mode: "RAG" default_chat_system_prompt: > - You are a helpful, respectful and h...
[ "settings.yaml" ]
[ { "comment": "By default, RAG please :)", "path": "settings.yaml", "hunk": "@@ -25,21 +25,23 @@ data:\n ui:\n enabled: true\n path: /\n+ # \"RAG\", \"Search\", \"Basic\", or \"Summarize\"\n+ default_mode: \"Summarize\"", "resolving_sha": "f89be62e2c159228b0d29bcb876d600c2f430b51", "resolvi...
true