Repository navigation
PHP 8.6 is now supported on every platform. This release also upgrades ext-php-rs to 0.16.5, fixes fonts added to a World after a Compiler or Inspector was created, and moves the macOS builds to the macOS 15 runner.
✨ Features
Build
- PHP 8.6 support: builds, tests, and publishes prebuilt binaries for PHP 8.6 on Linux glibc (NTS, ZTS), Linux musl, and macOS (NTS, ZTS). (2a15cfa)
Distribution
- PHP 8.6 musl builds are ZTS: the official PHP 8.6 Alpine Docker images ship ZTS only, so the 8.6 musl archives are ZTS and end with
-zts, for examplephp_typst-0.5.0_php8.6-x86_64-linux-musl-zts.zip. PHP 8.3, 8.4, and 8.5 musl builds stay NTS. (5af0fea) - Composer constraints:
carthage-software/ext-typstandcarthage-software/ext-typst-stubsnow allow PHP 8.6. (2a15cfa)
🐛 Bug Fixes
- Fonts added after creating a compiler:
CompilerandInspectornow share theWorld's fonts instead of copying them. A font added to theWorldlater now reachescompileInBackground()andgetWorld()->getFontFamilies(), not justcompile(). (ae4d72a) - Package directory error: the error for a missing package directory now tells you to pass
package_dirtoTypst\World, instead of naming the removedSourceResolverclass. (ab14cd8)
📖 Documentation
- Supported platforms: lists PHP 8.6 and notes that the PHP 8.6 musl builds are ZTS. (2a15cfa, eeced99)
🏗️ Internal
- ext-php-rs: upgrades from 0.15.6 to 0.16.5, the first line that builds against PHP 8.6. The enum smoke test and the full test suite pass on the new version. (fd3c855)
- CI: points libclang and clang at the same LLVM on Linux runners, working around a bindgen header mismatch in ext-php-rs 0.16.5. (7fd37a0)
- CI: moves macOS jobs from the retired
macos-14arm64 runner tomacos-15. (3b38991) - Clippy: fixes a
map_unwrap_orlint raised by newer clippy. (1e5b24b)
Full Changelog: 0.4.0...0.5.0