Skip to content

Commit 3eb7be4

Browse files
committed
Release 4.0.0
1 parent 401079d commit 3eb7be4

5 files changed

Lines changed: 268 additions & 81 deletions

File tree

.github/workflows/cd.yml

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,21 +4,27 @@ on:
44
release:
55
types: [published]
66

7+
permissions:
8+
id-token: write # Required for Trusted Publishing on NPM
9+
710
jobs:
811
build:
9-
runs-on: ubuntu-22.04
12+
runs-on: ubuntu-24.04
1013

1114
steps:
1215
- name: Checkout code
13-
uses: actions/checkout@v4
16+
uses: actions/checkout@v6
1417

1518
- name: Use Node.js 20.x
16-
uses: actions/setup-node@v4
19+
uses: actions/setup-node@v6
1720
with:
1821
node-version: "20.x"
1922
registry-url: "https://registry.npmjs.org"
2023

24+
# Ensure npm 11.5.1 or later is installed
25+
- name: Update npm
26+
run: npm install -g npm@latest
27+
2128
- run: npm ci
29+
2230
- run: npm publish
23-
env:
24-
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

.github/workflows/ci.yml

Lines changed: 48 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -14,56 +14,65 @@ jobs:
1414
strategy:
1515
fail-fast: false
1616
matrix:
17-
os: [ubuntu-22.04, ubuntu-22.04-arm, ubuntu-24.04, ubuntu-24.04-arm, macos-14, macos-15, macos-15-intel]
17+
os:
18+
[
19+
ubuntu-22.04,
20+
ubuntu-22.04-arm,
21+
ubuntu-24.04,
22+
ubuntu-24.04-arm,
23+
macos-14,
24+
macos-15,
25+
macos-15-intel,
26+
]
1827
node: [20, 22, 24]
1928
runs-on: ${{ matrix.os }}
2029

2130
steps:
22-
- uses: actions/checkout@v4
31+
- uses: actions/checkout@v6
2332

24-
- name: Use Node.js ${{ matrix.node }}
25-
uses: actions/setup-node@v4
26-
with:
27-
node-version: ${{ matrix.node }}
33+
- name: Use Node.js ${{ matrix.node }}
34+
uses: actions/setup-node@v6
35+
with:
36+
node-version: ${{ matrix.node }}
2837

29-
- name: Update apt and install packages
30-
if: startsWith(matrix.os, 'ubuntu')
31-
run: |
32-
sudo apt-get update -y
33-
sudo apt-get install -y \
34-
gcc g++ python3-pip libbz2-dev ccache zlib1g-dev uuid-dev
38+
- name: Update apt and install packages
39+
if: startsWith(matrix.os, 'ubuntu')
40+
run: |
41+
sudo apt-get update -y
42+
sudo apt-get install -y \
43+
gcc g++ python3-pip libbz2-dev ccache zlib1g-dev uuid-dev
3544
36-
- name: Setup Python 3.11
37-
uses: actions/setup-python@v5
38-
with:
39-
python-version: '3.11'
45+
- name: Setup Python 3.11
46+
uses: actions/setup-python@v6
47+
with:
48+
python-version: "3.11"
4049

41-
- name: installing add on packages
42-
if: startsWith(matrix.os, 'macos')
43-
run: brew install ossp-uuid
50+
- name: installing add on packages
51+
if: startsWith(matrix.os, 'macos')
52+
run: brew install ossp-uuid
4453

45-
- name: setting path
46-
run: PATH=$PATH:$HOME/bin
54+
- name: setting path
55+
run: PATH=$PATH:$HOME/bin
4756

48-
- name: installing dependencies
49-
run: |
50-
npm install
51-
npm i -g eslint
52-
npm i -g codecov
53-
npm i -g typescript
57+
- name: installing dependencies
58+
run: |
59+
npm install
60+
npm i -g eslint
61+
npm i -g codecov
62+
npm i -g typescript
5463
55-
- name: running lint
56-
run: npm run lint
64+
- name: running lint
65+
run: npm run lint
5766

58-
- name: running test
59-
run: npm run test:dist
67+
- name: running test
68+
run: npm run test:dist
6069

61-
- name: running codecov
62-
if: ${{ matrix.node == '20' && matrix.os == 'ubuntu-22.04' }}
63-
run: npm run codecov
70+
- name: running codecov
71+
if: ${{ matrix.node == '20' && matrix.os == 'ubuntu-22.04' }}
72+
run: npm run codecov
6473

65-
- name: codecov action
66-
if: ${{ matrix.node == '20' && matrix.os == 'ubuntu-22.04' }}
67-
uses: codecov/codecov-action@v4
68-
with:
69-
token: ${{ secrets.CODECOV_TOKEN }}
74+
- name: codecov action
75+
if: ${{ matrix.node == '20' && matrix.os == 'ubuntu-22.04' }}
76+
uses: codecov/codecov-action@v5
77+
with:
78+
token: ${{ secrets.CODECOV_TOKEN }}

Changelog

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
1-
Unreleased
1+
4.0.0
2+
* NEW: Use libzim 9.4.0
3+
* FIX: Segmentation Fault issues
4+
* FIX: Ensure addItem operation is thread-safe / protected by a mutex
5+
* NEW: Use new Illustration APIs
6+
* FIX: Add prebuilt libzim for Linux aarch64
27

38
3.5.0
49
* NEW: Build now supports ARM64 (`aarch64`) and ARM (32‑bit)

0 commit comments

Comments
 (0)