- #274
018af5e06cc5f82a3b07a9f44b48b097530fdeac
Thanks @depfu! - Upgrade Playwright to 1.40.1
-
8a7bd14
Thanks @rmehner! - Allow to usePORT
instead ofSERVER_PORT
as environment variable to set the listening port.This is to be more in line with most hosting providers.
PORT
takes precedence overSERVER_PORT
. Default is 8000.
-
5e11653
Thanks @rmehner! - Update schemas to allow new origin option for HTTPCredentials in playwright.
-
567b753
Thanks @rmehner! - Upgrade to Playwright 1.13 and Node 18This includes new browser versions too!
- 57d032f: Don't close browser if it's currently creating a PDF. We've added smoke tests, so this shouldn't happen again. Sorry!
-
b4ebed6: Allow more options for pdf, context and goto to be passed. Also working validations.
We allow way more options now to be given in the payload:
pdfOptions
are the options for thepdf
call in Playwright: https://playwright.dev/docs/api/class-page#page-pdf.gotoOptions
are the options for thegoto
method in Playwright: https://playwright.dev/docs/api/class-page#page-goto- if you don't pass anything, we default to a timeout of 60000 and wait for
networkidle
- if you don't pass anything, we default to a timeout of 60000 and wait for
browserContextOptions
are the options for the browser context in Playwright: https://playwright.dev/docs/api/class-browser#browser-new-context- if you don't pass anything, we default to set
ignoreHTTPSErrors
totrue
- if you don't pass anything, we default to set
We finally added tests too! ✌️
- We don't allow
options
in the payload anymore. Those arepdfOptions
now. To adapt your code, renameoptions
topdfOptions
and you should be good to go. This change was needed to allow more options for other methods we're using (liketimeout
forgoto
). - We have stricter validation now and don't allow unknown keys in the option objects now. Previously we've ignored them, but we've now opted to bail out with an validation error so the user gets notified on typos and such.
-
484b197: Return an error if page could not be loaded
Previously we've ignored if the page could not be loaded and tried to create a PDF anyway. However, this lead to PDFs with random error messages on them, instead of a proper error in logging or similar.
To provide an better experience, we've opted to change this, so errors are caught earlier.
- c7e554e: Update to Playwright 1.30.0
- 8b2ed78: Merge passed options with default options
- fcfa9be: Update to Playwright 1.29.2
- aaef816: Update Playwright to 1.29.x
- 1a0f800: Upgrade Playwright to 1.28.1
- b56a29c: Update fastify to 4.10.2 to mitigate security bug
- b91b9ca: Upgrade to Playwright 1.28.0
- 235d3b6: Update to Playwright 1.27.1
- 1d9b58f: Update to Playwright 1.27.0
- f9ebcf7: Update Playwright to 1.26.1
- 58d1ddc: Update to Playwright 1.26.0 (new major browser versions)
- e943b30: Update to Playwright 1.25.1
- aa60fb0: Upgrade to Ubuntu Jammy instead of Focal
- a8bd6fa: Update to Playwright 1.25.0 (new browser versions again!)
- 86a275d: Fix server crash due to missing schema
- 029ce39: Fix server crash due to pretty print on development
- cd71c2f: Update playwright to 1.23.2 (new browser versions)
-
eccf614: Remove TypeScript, use vanilla JS with JSDoc types.
This actually improves DX by not having that extra build step, while still having good support in your IDE, since we still have the types as JSDoc.
This is the v1.0. This has been very stable and it's unlikely that the API will change a lot. Nothing should break for users with this release.
- 7ef95e5: Update playwright to 1.21.1
- d651f7a: Update playwright to 1.21.0
- a3c12a4: Wait for network idle event before creating pdf
- df332b7: Go back to automatic release, but use PAT
- ddb70f5: Update eslint
- 5176013: Add CI setup
- 67dc4a4: Manual release process for now
- e37239b: Add repository to package.json
- e272ea9: 🤡
- 7a28fc8: Last attempt to fix the docker pipeline for today
- fae9c4e: Another try to get automatic Docker builds running
- ea597c1: More pipeline fixes (at least I hope so)
- c323966: Move docker build into own job
- b7574f0: Fix release pipeline for Docker image
- bcd03db: Add automatic publish of docker images
- 0bd2a32: Initial release 🚀