Daniel Moran
3220ca4140
feat(chromium): add waitForSelector option to Chromium conversions ( #1446 )
...
* Add `waitForSelector` option to Chromium conversions
Closes #960
As an alternative to waiting on an expression, this allows users to wait
for a specific node matching a selector to become visible in the HTML /
at the remote URL before converting to PDF.
* Fix style / prettify
2026-01-17 14:57:10 +01:00
markfrost
0b211c39eb
feat(chromium): add IgnoreResourceHttpStatusDomains option to filter out resources based on their hostnames ( #1434 )
...
* Introduced `IgnoreResourceHttpStatusDomains` option to filter out resources based on their hostnames
- Introduced `IgnoreResourceHttpStatusDomains` option to filter out resources based on their hostnames during HTTP status code checks.
- Updated relevant functions to handle domain normalization and matching.
- Enhanced the form data handling to include the new option.
- Added integration test scenario to verify the functionality of ignoring specified domains.
* Updated the `normalizeDomains` function to initialize the `normalized` slice with a predefined capacity based on the input `domains` slice length, improving memory allocation efficiency.
2025-12-25 15:36:45 +01:00
Julien Neuhart
b2c3187690
fix(chromium): better native errors handling
2025-11-15 15:10:09 +01:00
Julien Neuhart
c7ccabc6cb
fix(chromium): mark the flag --chromium-incognito as deprecated and ignore its value
2025-10-24 14:03:17 +00:00
Julien Neuhart
db8f0ad9ee
fix(chromium): hypen-data now work everytime
2025-08-12 20:54:53 +02:00
Julien Neuhart
1d8630810b
fix(godoc): typo
2025-05-20 11:50:18 +02:00
Julien Neuhart
ce155fb43e
feat(chromium): add generateTaggedPdf to form fields - closes #1210
2025-05-20 11:49:10 +02:00
Julien Neuhart
3cbf772acf
docs(godoc): fix a bunch of typos
2025-04-17 11:15:52 +02:00
Julien Neuhart
a1596f7c62
feat(api): add debug route
2025-02-04 10:20:29 +01:00
Julien Neuhart
a6f4c5651c
feat(chromium): set the default value of the flag --chromium-restart-after to 10
2025-01-11 11:08:19 +01:00
Tam Nguyen
79f396f6ff
feat(chromium): add GenerateDocumentOutline option
2024-11-18 08:58:26 +01:00
Julien Neuhart
711b43070d
feat(chromium): add failOnResourceLoadingFailed and failOnResourceHttpStatusCodes form fields
2024-11-05 11:44:01 +01:00
Julien Neuhart
8ff9d3bcf1
feat(chromium): add scope to extraHttpHeaders
2024-10-11 13:45:07 +02:00
Julien Neuhart
1252ea076b
feat(chromium): skipNetworkIdleEvent is now true by default
2024-09-29 18:04:37 +02:00
Julien Neuhart
a3647fea8a
fix(chromium): increase the scope of loading failed errors ( #962 )
2024-09-07 15:54:01 +02:00
Julien Neuhart
f87362ec1b
feat(chromium): HTTP Bad Request on net::ERR_CONNECTION_REFUSED
2024-07-01 13:40:12 +02:00
Julien Neuhart
50304dbefe
chore(chromium): remove some 'Optional' comments
2024-06-27 11:53:18 +02:00
Julien Neuhart
b1d94a3845
feat(chromium): add user agent override
2024-06-12 20:51:10 +02:00
Julien Neuhart
0f0a6ce042
feat(chromium): add clip options to screenshot routes
2024-04-25 17:24:23 +02:00
Julien Neuhart
1d66b43da1
feat(chromium): set cookies
2024-04-10 13:43:31 +02:00
Julien Neuhart
bf5056f8fe
feat(chromium): single page PDF
2024-02-23 21:27:18 +01:00
Julien Neuhart
f906ed741d
fix(flags): typos
2024-02-18 17:52:51 +01:00
Julien Neuhart
ad152e62e5
fix(chromium): better default deny list regexp
2024-02-18 17:18:40 +01:00
Julien Neuhart
b1f3d6d4c0
feat: handling more ErrMaximumQueueSizeExceeded scenarios
2024-02-18 13:05:48 +01:00
timgrohmann
770208024d
feat: enable max queue size for chromium and libreoffice
...
fix gotenberg/gotenberg#463
2024-02-18 11:35:49 +01:00
Julien Neuhart
1123af15c9
chore: upgrade to v8 ( #767 )
2024-01-04 19:30:03 +01:00
Julien Neuhart
b2f6e865a7
feat(chromium): capture screenshot ( #765 )
2024-01-04 19:14:38 +01:00
Julien Neuhart
93b9ac2d13
feat(chromium): flags for clearing cache/cookies between each conversion ( #756 )
2023-12-14 22:06:13 +01:00
Julien Neuhart
64af65b0e7
feat(chromium): return 409 Conflict if HTTP status code from main page is not acceptable ( #755 )
2023-12-14 21:39:36 +01:00
Julien Neuhart
cc65ca9b6a
fix(api): wait for modules readiness before starting server ( #752 )
2023-12-13 14:37:35 +01:00
Julien Neuhart
92e2f7f8b7
feat(chromium): skip networkIdle event
2023-12-12 18:40:55 +01:00
Julien Neuhart
21c47f60f2
feat: remove deprecated stuff ( #726 )
2023-12-01 09:45:07 +01:00
Julien Neuhart
143b7ce678
feat(pdfengines): add PDF/UA ( #714 )
2023-11-05 20:14:36 +01:00
Julien Neuhart
052448c59a
chore(libreoffice): switch to supervisor ( #708 )
2023-10-28 17:55:53 +02:00
Julien Neuhart
54daac329e
fix: chromium memory leaks ( #705 )
2023-10-23 17:52:30 +02:00
Julien Neuhart
258876d13f
fix: LibreOffice newer versions stability ( #697 )
2023-10-23 17:05:10 +02:00
Julien Neuhart
84334ace6a
feat(chromium): add health check ( closes #633 )
2023-04-24 11:46:26 +02:00
Julien Neuhart
f89726752f
feat(chromium): add new omitBackground form field ( closes #226 )
2022-10-21 11:51:06 +02:00
Julien Neuhart
b73207f29a
fix: websocket timeout reached ( fixes #524 )
2022-10-17 10:50:55 +02:00
Julien Neuhart
b76990ec16
feat(chromium): new flags chromium-allow-insecure-localhost and chromium-host-resolver-rules
2022-09-01 18:04:00 +02:00
Julien Neuhart
1d8ae79f84
feat(chromium): add ReturnAsStream support
2022-09-01 18:04:00 +02:00
Julien Neuhart
d8f3f85fb7
fix: replace depracted io/ioutil package with os package
2022-08-19 15:01:31 +02:00
Julien Neuhart
08408ae005
chore: update Go dependencies
2022-06-07 15:08:04 +02:00
Julien Neuhart
8260458f8f
Revert "fix(chromium): regex only accepts tmp folder by default ( #429 )"
...
This reverts commit 27018fa8e2 .
2022-03-22 10:48:01 +01:00
Gabor Szabad
27018fa8e2
fix(chromium): regex only accepts tmp folder by default ( #429 )
2022-02-25 13:52:27 +01:00
Julien Neuhart
206d7b6ca9
fix(chromium): typo in godoc <link> -> <script>
2021-12-27 17:49:06 +01:00
Julien Neuhart
f376cd5ab1
feat: improve 'logger' field from logger
2021-12-08 15:41:08 +01:00
Julien Neuhart
285c43dab7
fix(chromium): form field 'failOnConsoleException' does not work if JavaScript is disabled
2021-11-24 17:33:55 +01:00
Julien Neuhart
415e2ff265
feat(chromium): add 'extraLinkTags' and 'extraScriptTags' form fields, add auto-detection of files for URL endpoint, disable some functionalities if JavaScript is disabled
2021-11-24 17:33:55 +01:00
Julien Neuhart
df98e7512b
feat(chromium): add new form field 'failOnConsoleExceptions' ( fixes #262 )
2021-11-24 17:33:55 +01:00