Skip to content

Commit

Permalink
tdl v8.0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
eilvelia committed Dec 20, 2024
1 parent bbbedd0 commit 37c7107
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 10 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/publish-tdl.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-13, windows-2022]
os: [ubuntu-latest, macos-13, windows-latest]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
Expand All @@ -35,19 +35,19 @@ jobs:
if: runner.os == 'Linux'
run: |
CC="zig cc -target x86_64-linux-gnu.2.22" CXX="zig c++ -target x86_64-linux-gnu.2.22 -s" \
npm run make-prebuild -w tdl -- --arch x64 --tag-libc --strip
npm exec -w tdl -c 'prebuildify --napi -t 18.20.5 --arch x64 --tag-libc --strip'
CC="zig cc -target aarch64-linux-gnu.2.22" CXX="zig c++ -target aarch64-linux-gnu.2.22 -s" \
npm run make-prebuild -w tdl -- --arch arm64 --armv 8 --tag-armv --tag-libc
npm exec -w tdl -c 'prebuildify --napi -t 18.20.5 --arch arm64 --armv 8 --tag-armv --tag-libc'
ldd packages/tdl/prebuilds/*-x64/*.node
file packages/tdl/prebuilds/*/*.node
du -hsc packages/tdl/prebuilds/*/*.node
- name: Prebuildify (x86_64 only)
- name: Prebuildify (macOS x86_64 and Windows x86_64)
if: runner.os != 'Linux'
run: npm run make-prebuild -w tdl -- --arch x64 --strip
run: npm exec -w tdl -c 'prebuildify --napi -t 18.20.5 --arch x64 --strip'
- name: "Prebuildify: Crosscompile to arm64 Apple Silicon"
if: runner.os == 'macOS'
run: |
npm run make-prebuild -w tdl -- --arch arm64 --strip
npm exec -w tdl -c 'prebuildify --napi -t 18.20.5 --arch arm64 --strip'
file packages/tdl/prebuilds/*/*.node
du -hsc packages/tdl/prebuilds/*/*.node
- name: Run tests (unit tests + integration tests)
Expand Down
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<!-- Hi! -->

## tdl@8.0.2 (UNRELEASED)
## tdl@8.0.2 (2024-12-20)

- Fixed a possible `TypeError: null is not an object` error in `client.login()`
if called from a database with an incomplete login attempt.
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions packages/tdl/package.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
{
"name": "tdl",
"version": "8.0.1",
"version": "8.0.2",
"description": "Node.js bindings to TDLib (Telegram Database library)",
"main": "dist/index.js",
"types": "index.d.ts",
"scripts": {
"build:lib": "tsc",
"build:addon": "node-gyp rebuild",
"build": "tsc && node scripts/copy-readme.js && node scripts/generate-flow.js && node-gyp rebuild",
"make-prebuild": "prebuildify --napi -t 18.20.2",
"clean": "node-gyp clean",
"install": "node-gyp-build"
},
Expand Down

0 comments on commit 37c7107

Please sign in to comment.