Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
158 commits
Select commit Hold shift + click to select a range
2809190
Guide updated
bmblb May 12, 2023
fa35180
Merge pull request #12 from bryntum/doc-update
bmblb May 12, 2023
a059e7a
different way to get chromium revision from puppeteer package
rostacik Dec 29, 2023
bb83295
Merge pull request #19 from rostacik/main
bmblb Mar 11, 2024
d5412e1
update readme
bmblb Nov 20, 2024
7641b4c
upgdrade node, puppeteer and muhammara
bmblb Jan 15, 2025
31b5e60
2.0.0
bmblb Jan 16, 2025
676c1e5
upgrade packages
bmblb Jan 16, 2025
4e1de77
cleanup
bmblb Jan 16, 2025
811976d
docker updated
bmblb Jan 16, 2025
e5a0813
disable sandbox
bmblb Jan 16, 2025
88ebc8f
Merge pull request #26 from bryntum/upgrading-packages
bmblb Jan 16, 2025
a95ee2a
compatibility note
bmblb Jan 16, 2025
23d7cc0
Merge pull request #27 from bryntum/upgrading-packages
bmblb Jan 16, 2025
30c2107
upgrade workflow
bmblb Jan 16, 2025
a5aecdf
upgrade workflow
bmblb Jan 16, 2025
48f7641
upgrade workflow
bmblb Jan 16, 2025
74773df
upgrade workflow
bmblb Jan 16, 2025
6220b2e
upgrade workflow
bmblb Jan 16, 2025
35aa8fd
upgrade workflow
bmblb Jan 16, 2025
a424e9f
add supported node versions to readme
bmblb Mar 11, 2025
93e28d9
readme update
bmblb Mar 11, 2025
9259342
WIP
bmblb Apr 17, 2025
c8b6a70
WIP
bmblb Apr 18, 2025
5d2fad7
2.0.1
bmblb Apr 18, 2025
d5d6bb7
WIP
bmblb Apr 18, 2025
f9bbab1
update package-lock
bmblb Apr 18, 2025
603fd34
fixing test
bmblb Apr 18, 2025
0564894
fixing test
bmblb Apr 18, 2025
f842e88
fixing test
bmblb Apr 18, 2025
9fd99f0
Merge pull request #30 from bryntum/feature/websocket
bmblb Apr 22, 2025
3620f1d
support custom paper format
bmblb Jun 3, 2025
568d1e5
Merge pull request #32 from bryntum/feature/custom-paper-size
bmblb Jun 3, 2025
8418533
2.1.0
bmblb Jun 3, 2025
8be5875
Merge pull request #33 from bryntum/feature/custom-paper-size
bmblb Jun 3, 2025
dfc5efe
update dependencies
bmblb Aug 8, 2025
8a9daad
update gitignore
bmblb Aug 8, 2025
e29d8f0
fix relative paths
bmblb Aug 8, 2025
e55a0ab
rename build script
bmblb Aug 8, 2025
c7d82ee
docs
bmblb Aug 10, 2025
cdddbad
fix build script for windows
bmblb Aug 11, 2025
0a85bfa
2.1.1
bmblb Aug 11, 2025
1b02c06
Apply suggestions from code review
bmblb Aug 11, 2025
ee30967
remove unused code
bmblb Aug 11, 2025
2740f59
more log points
bmblb Aug 13, 2025
e00ac8c
update build script
bmblb Aug 13, 2025
a24264f
update doc
bmblb Aug 13, 2025
3b3b37e
review
bmblb Aug 13, 2025
7fe35b1
fix vulnerabilities
bmblb Aug 13, 2025
db3ca56
Merge pull request #35 from bryntum/34-update-buildingmd-guide-to-pro…
bmblb Aug 15, 2025
5765b80
fix websocket file url
bmblb Sep 11, 2025
f91c1c9
2.1.2
bmblb Sep 11, 2025
4c02bfb
review
bmblb Sep 11, 2025
e819fcc
Merge pull request #37 from bryntum/fix-websocket-file-url
bmblb Sep 11, 2025
95800a4
update docker base image
bmblb Oct 1, 2025
46bc195
2.2.0
bmblb Oct 1, 2025
941e2a2
Merge pull request #38 from bryntum/update-docker-base-image
bmblb Oct 1, 2025
2c5046b
fix workflow
bmblb Nov 18, 2025
c937ee3
upgrade packages
bmblb Nov 20, 2025
077a4f8
2.2.1
bmblb Nov 20, 2025
f2348d4
Merge pull request #39 from bryntum/fix-vulnerabilities
bmblb Nov 20, 2025
2c45f8a
update base image
bmblb Jan 28, 2026
5f5bb17
2.3.0
bmblb Jan 28, 2026
0ade983
Merge pull request #41 from bryntum/fix/cve-issues
bmblb Jan 28, 2026
ca57aae
update tar package version to 7.5.7
bmblb Feb 2, 2026
ddcc288
Merge pull request #42 from bryntum/fix/cve
bmblb Feb 2, 2026
d342767
2.3.1
bmblb Feb 2, 2026
925b42c
Merge pull request #44
bmblb Feb 2, 2026
26a8586
update packages
bmblb Feb 6, 2026
7c0eb35
2.3.2
bmblb Feb 6, 2026
11a06a1
Merge pull request #46 from bryntum/fix-cve
bmblb Feb 6, 2026
28d301b
add FAQ section for common questions and answers
bmblb Feb 23, 2026
840443a
Merge pull request #48 from bryntum/faq-section
bmblb Feb 23, 2026
93ccf6c
Bump glob and tar
maartenraes Feb 23, 2026
40b3cb3
2.3.3
maartenraes Feb 23, 2026
9c43ab6
Merge pull request #49 from bryntum/chore/cve-dependencies
bmblb Feb 25, 2026
05ad643
fix cve
bmblb Feb 25, 2026
8e1da29
2.3.4
bmblb Feb 25, 2026
60488ea
Merge pull request #50 from bryntum/fix-cve
bmblb Feb 25, 2026
8a8edc1
fix version
bmblb Feb 25, 2026
f0591bb
Merge pull request #51 from bryntum/fix-cve
bmblb Feb 25, 2026
b6cd46e
fix esmodules error
bmblb Feb 26, 2026
9849e92
cleanup packages
bmblb Feb 26, 2026
c3117ac
websocket connection test
bmblb Feb 26, 2026
cb2e3db
replace websocket with ws
bmblb Feb 26, 2026
b5d13c8
update pdf for smoke test
bmblb Feb 26, 2026
309514a
refactor smoke test
bmblb Feb 26, 2026
3f5dfb8
utility script to send local html file to server for printing
bmblb Feb 26, 2026
0ed18b7
continue test refactoring
bmblb Feb 26, 2026
6e12f47
fix websocket connection
bmblb Feb 26, 2026
fc3983a
fix failing_workers test
bmblb Feb 26, 2026
20c768c
get rid of noisy expected exceptions
bmblb Feb 26, 2026
744eeaa
use port allocator
bmblb Feb 26, 2026
69d652a
refactor tests to e2e and unit
bmblb Feb 26, 2026
5498a4b
add more node versions
bmblb Feb 26, 2026
3feb9e9
skip node 25
bmblb Feb 26, 2026
6c857e8
Merge pull request #52 from bryntum/test-suite-refactor
bmblb Feb 26, 2026
5b22e66
add favicon
bmblb Feb 27, 2026
d463f41
add building docker image to test run
bmblb Feb 27, 2026
e6525b8
update docker file
bmblb Feb 27, 2026
da09e6e
Potential fix for code scanning alert no. 9: Workflow does not contai…
bmblb Feb 27, 2026
6457b1e
update lock file
bmblb Feb 27, 2026
d95c162
Merge pull request #53 from bryntum/use-puppeteer
bmblb Feb 27, 2026
c600bbc
release action
bmblb Feb 27, 2026
fa8acf7
Merge pull request #54 from bryntum/release-action
bmblb Feb 27, 2026
5bf1c70
chore: bump version to 2.3.4
github-actions[bot] Feb 27, 2026
329e92f
update packages
bmblb Mar 19, 2026
6d9233b
Merge pull request #55 from bryntum/fix-cve
bmblb Mar 19, 2026
76867ff
chore: bump version to 2.3.5
github-actions[bot] Mar 19, 2026
5604600
fix cve
bmblb Mar 27, 2026
ab6efeb
Merge pull request #57 from bryntum/fix-cve
bmblb Mar 30, 2026
fe53c92
chore: bump version to 2.4.0
github-actions[bot] Mar 30, 2026
3bedf5c
Bump path-to-regexp in the npm_and_yarn group across 1 directory
dependabot[bot] Mar 30, 2026
1c54d69
Merge pull request #58 from bryntum/dependabot/npm_and_yarn/npm_and_y…
bmblb Mar 30, 2026
1f2a5da
fix base image cves
bmblb Apr 17, 2026
7137562
Merge pull request #60 from bryntum/fix-cve
bmblb Apr 17, 2026
ddab9eb
chore: bump version to 2.4.1
github-actions[bot] Apr 17, 2026
a924f42
github workflow update
bmblb May 4, 2026
3fb5bd5
update packages
bmblb May 4, 2026
1bcd7cf
fix cves
bmblb May 4, 2026
62179eb
Merge pull request #62 from bryntum/fix-cve
bmblb May 4, 2026
ab85a69
chore(release): v2.4.2
github-actions[bot] May 4, 2026
dcf0dd5
fix cves
bmblb May 15, 2026
f04e29c
Merge pull request #65 from bryntum/fix-cves
bmblb May 17, 2026
37b2fc9
Bump the actions group across 1 directory with 5 updates
dependabot[bot] May 17, 2026
378597a
chore(release): v2.4.3
github-actions[bot] May 19, 2026
7b9c8f0
Bump ws in the npm_and_yarn group across 1 directory
dependabot[bot] May 19, 2026
e9480ea
Merge pull request #67
bmblb May 19, 2026
ca62e78
Merge pull request #66
bmblb May 19, 2026
a9bdf88
fix cves
bmblb May 19, 2026
f9e5b1d
Merge pull request #68 from bryntum/cve/may-19-2026
bmblb May 19, 2026
425ae3e
chore(release): v2.4.4
github-actions[bot] May 19, 2026
c90741d
Revert "Bump the actions group across 1 directory with 5 updates"
bmblb May 19, 2026
dd77755
revert action update
bmblb May 19, 2026
a5356f2
Merge pull request #69 from bryntum/cve/may-19-2026
bmblb May 19, 2026
40930a9
chore(release): v2.4.5
github-actions[bot] May 19, 2026
9607b45
update to debian trixie
bmblb Jun 1, 2026
9b37d0d
Merge pull request #72 from bryntum/cve/june-1-2026
bmblb Jun 1, 2026
816a39d
chore(release): v2.4.6
github-actions[bot] Jun 1, 2026
5a71558
Merge pull request #73
bmblb Jun 18, 2026
6fe0e1f
cve/2026-06-18 (#74)
bmblb Jun 18, 2026
8c44a48
chore(release): v2.4.7
github-actions[bot] Jun 18, 2026
37de399
update code to await the promise with executable path (#75)
bmblb Jun 25, 2026
e6198be
chore(release): v2.4.8
github-actions[bot] Jun 25, 2026
24e8bb9
upgrade pacote version (#76)
bmblb Jun 25, 2026
bc2222e
Bump the actions group across 1 directory with 6 updates (#70)
dependabot[bot] Jun 25, 2026
2c09739
chore(release): v2.4.9
github-actions[bot] Jun 25, 2026
e3569a1
fix cves (#77)
bmblb Jun 30, 2026
e659a11
chore(release): v2.4.10
github-actions[bot] Jun 30, 2026
d2da61b
disable caching
bmblb Jun 30, 2026
e6c3c68
fix CVE (#80)
bmblb Jul 14, 2026
8578e4a
chore(release): v2.4.11
github-actions[bot] Jul 14, 2026
63c53c3
Merge pull request #82
bmblb Jul 27, 2026
0ca580e
chore(release): v2.4.12
github-actions[bot] Jul 27, 2026
fad3893
fix cve (#83)
bmblb Aug 10, 2026
9ee1612
chore(release): v2.4.13
github-actions[bot] Aug 10, 2026
033a7e3
fix cve (#84)
bmblb Aug 19, 2026
b0950c3
chore(release): v2.4.14
github-actions[bot] Aug 19, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
version: 2
updates:
- package-ecosystem: github-actions
directory: /
schedule:
interval: weekly
labels:
- dependencies
groups:
actions:
patterns:
- "*"
30 changes: 23 additions & 7 deletions .github/release.yml
Original file line number Diff line number Diff line change
@@ -1,20 +1,36 @@
# .github/release.yml
# Configures GitHub's auto-generated release notes.
# https://docs.github.com/en/repositories/releasing-projects-on-github/automatically-generated-release-notes

changelog:
exclude:
labels:
- ignore-for-release
- skip-changelog
authors:
- octocat
- dependabot
- dependabot[bot]
categories:
- title: Breaking Changes
- title: Breaking changes
labels:
- Semver-Major
- breaking
- breaking-change
- title: Exciting New Features
- title: Features
labels:
- Semver-Minor
- feature
- enhancement
- title: Changes
- title: Bug fixes
labels:
- bug
- fix
- title: Documentation
labels:
- documentation
- docs
- title: Maintenance
labels:
- chore
- refactor
- dependencies
- title: Other changes
labels:
- "*"
56 changes: 56 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
name: CI

on:
push:
branches: [main]
pull_request:
branches: [main]

# Cancel in-progress runs for the same ref when a new commit lands.
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

permissions:
contents: read

jobs:
test:
name: Test (Node ${{ matrix.node-version }})
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
# MuhammaraJS does not ship prebuilt binaries for the very latest Node;
# docker uses its own bundled Node, so we test on the supported LTS pair.
node-version: [20.x, 24.x]
steps:
- uses: actions/checkout@v7

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v6
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'

- run: npm ci

- run: npm test

docker-build:
name: Docker build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v7

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v4

- name: Build image
uses: docker/build-push-action@v7
with:
context: .
push: false
load: false
cache-from: type=gha
cache-to: type=gha,mode=max
88 changes: 65 additions & 23 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
@@ -1,34 +1,76 @@
name: Build Docker Image
name: Docker Image

# Manually triggered from the GitHub UI (Actions → Docker Image → Run workflow).
# Rebuilds the Docker image from the current source and pushes it to DockerHub.
# No version bump, no git commit/tag, no GitHub Release — the image is tagged with
# the version already present in package.json (plus `latest`).
on:
release:
types:
- published
workflow_dispatch:
inputs:
latest:
description: 'Also push the `latest` tag'
required: false
type: boolean
default: true
dry-run:
description: 'Dry run (build only, no push)'
required: false
type: boolean
default: false

permissions:
contents: read

jobs:
docker:
name: Build and push image
runs-on: ubuntu-latest
steps:
-
name: Set up labels
id: meta
uses: docker/metadata-action@v4
with:
tags: |
bryntum/pdf-export-server:${{ github.event.release.tag_name }}
bryntum/pdf-export-server:latest
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
-
name: Login to DockerHub
uses: docker/login-action@v2
- uses: actions/checkout@v7

- name: Read version from package.json
id: version
run: |
VERSION=$(node -p "require('./package.json').version")
echo "version=${VERSION}" >> "$GITHUB_OUTPUT"

- name: Compute image tags
id: tags
run: |
{
echo 'value<<EOF'
echo "bryntum/pdf-export-server:${{ steps.version.outputs.version }}"
if [ "${{ inputs.latest }}" = "true" ]; then
echo "bryntum/pdf-export-server:latest"
fi
echo 'EOF'
} >> "$GITHUB_OUTPUT"

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v4

- name: Login to DockerHub
if: ${{ !inputs.dry-run }}
uses: docker/login-action@v4
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
-
name: Build and push
uses: docker/build-push-action@v3

- name: Build and push Docker image
uses: docker/build-push-action@v7
with:
push: true
tags: ${{ steps.meta.output.tags }}
context: .
push: ${{ !inputs.dry-run }}
tags: ${{ steps.tags.outputs.value }}

- name: Summary
if: ${{ always() }}
run: |
{
echo "## Docker Image Summary"
echo ""
echo "- **Version:** ${{ steps.version.outputs.version }}"
echo "- **Pushed \`latest\`:** ${{ inputs.latest }}"
echo "- **Dry run:** ${{ inputs.dry-run }}"
echo "- **Image:** bryntum/pdf-export-server:${{ steps.version.outputs.version }}"
} >> "$GITHUB_STEP_SUMMARY"
21 changes: 0 additions & 21 deletions .github/workflows/generic.js.yml

This file was deleted.

38 changes: 0 additions & 38 deletions .github/workflows/node.js.yml

This file was deleted.

Loading